All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.apidom-ns-openapi-3-1.browser.min.js Maven / Gradle / Ivy

The newest version!
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.apidomNsOpenApi3_1=t():e.apidomNsOpenApi3_1=t()}(self,(()=>(()=>{var e={3103:(e,t,s)=>{var n=s(4715)(s(8942),"DataView");e.exports=n},5098:(e,t,s)=>{var n=s(3305),r=s(9361),i=s(1112),o=s(5276),c=s(5071);function a(e){var t=-1,s=null==e?0:e.length;for(this.clear();++t{var n=s(2393),r=s(2049),i=s(7144),o=s(7452),c=s(3964);function a(e){var t=-1,s=null==e?0:e.length;for(this.clear();++t{var n=s(4715)(s(8942),"Map");e.exports=n},8250:(e,t,s)=>{var n=s(9753),r=s(5681),i=s(88),o=s(4732),c=s(9068);function a(e){var t=-1,s=null==e?0:e.length;for(this.clear();++t{var n=s(4715)(s(8942),"Promise");e.exports=n},4512:(e,t,s)=>{var n=s(4715)(s(8942),"Set");e.exports=n},3212:(e,t,s)=>{var n=s(8250),r=s(1877),i=s(8006);function o(e){var t=-1,s=null==e?0:e.length;for(this.__data__=new n;++t{var n=s(1386),r=s(4103),i=s(1779),o=s(4162),c=s(7462),a=s(6638);function l(e){var t=this.__data__=new n(e);this.size=t.size}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=c,l.prototype.set=a,e.exports=l},5650:(e,t,s)=>{var n=s(8942).Symbol;e.exports=n},1623:(e,t,s)=>{var n=s(8942).Uint8Array;e.exports=n},9270:(e,t,s)=>{var n=s(4715)(s(8942),"WeakMap");e.exports=n},9847:e=>{e.exports=function(e,t){for(var s=-1,n=null==e?0:e.length,r=0,i=[];++s{var n=s(6137),r=s(3283),i=s(3142),o=s(5853),c=s(9632),a=s(8666),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var s=i(e),u=!s&&r(e),p=!s&&!u&&o(e),m=!s&&!u&&!p&&a(e),h=s||u||p||m,d=h?n(e.length,String):[],f=d.length;for(var v in e)!t&&!l.call(e,v)||h&&("length"==v||p&&("offset"==v||"parent"==v)||m&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||c(v,f))||d.push(v);return d}},1129:e=>{e.exports=function(e,t){for(var s=-1,n=t.length,r=e.length;++s{e.exports=function(e,t){for(var s=-1,n=null==e?0:e.length;++s{var n=s(6285);e.exports=function(e,t){for(var s=e.length;s--;)if(n(e[s][0],t))return s;return-1}},8244:(e,t,s)=>{var n=s(1129),r=s(3142);e.exports=function(e,t,s){var i=t(e);return r(e)?i:n(i,s(e))}},7379:(e,t,s)=>{var n=s(5650),r=s(8870),i=s(9005),o=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?r(e):i(e)}},6027:(e,t,s)=>{var n=s(7379),r=s(547);e.exports=function(e){return r(e)&&"[object Arguments]"==n(e)}},4687:(e,t,s)=>{var n=s(353),r=s(547);e.exports=function e(t,s,i,o,c){return t===s||(null==t||null==s||!r(t)&&!r(s)?t!=t&&s!=s:n(t,s,i,o,e,c))}},353:(e,t,s)=>{var n=s(1340),r=s(3934),i=s(8861),o=s(1182),c=s(8486),a=s(3142),l=s(5853),u=s(8666),p="[object Arguments]",m="[object Array]",h="[object Object]",d=Object.prototype.hasOwnProperty;e.exports=function(e,t,s,f,v,y){var g=a(e),b=a(t),E=g?m:c(e),x=b?m:c(t),j=(E=E==p?h:E)==h,w=(x=x==p?h:x)==h,S=E==x;if(S&&l(e)){if(!l(t))return!1;g=!0,j=!1}if(S&&!j)return y||(y=new n),g||u(e)?r(e,t,s,f,v,y):i(e,t,E,s,f,v,y);if(!(1&s)){var O=j&&d.call(e,"__wrapped__"),P=w&&d.call(t,"__wrapped__");if(O||P){var $=O?e.value():e,A=P?t.value():t;return y||(y=new n),v($,A,s,f,y)}}return!!S&&(y||(y=new n),o(e,t,s,f,v,y))}},9624:(e,t,s)=>{var n=s(3655),r=s(4759),i=s(1580),o=s(4066),c=/^\[object .+?Constructor\]$/,a=Function.prototype,l=Object.prototype,u=a.toString,p=l.hasOwnProperty,m=RegExp("^"+u.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||r(e))&&(n(e)?m:c).test(o(e))}},674:(e,t,s)=>{var n=s(7379),r=s(5387),i=s(547),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)&&r(e.length)&&!!o[n(e)]}},195:(e,t,s)=>{var n=s(4882),r=s(8121),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return r(e);var t=[];for(var s in Object(e))i.call(e,s)&&"constructor"!=s&&t.push(s);return t}},6137:e=>{e.exports=function(e,t){for(var s=-1,n=Array(e);++s{e.exports=function(e){return function(t){return e(t)}}},5568:e=>{e.exports=function(e,t){return e.has(t)}},1950:(e,t,s)=>{var n=s(8942)["__core-js_shared__"];e.exports=n},3934:(e,t,s)=>{var n=s(3212),r=s(6465),i=s(5568);e.exports=function(e,t,s,o,c,a){var l=1&s,u=e.length,p=t.length;if(u!=p&&!(l&&p>u))return!1;var m=a.get(e),h=a.get(t);if(m&&h)return m==t&&h==e;var d=-1,f=!0,v=2&s?new n:void 0;for(a.set(e,t),a.set(t,e);++d{var n=s(5650),r=s(1623),i=s(6285),o=s(3934),c=s(5894),a=s(9828),l=n?n.prototype:void 0,u=l?l.valueOf:void 0;e.exports=function(e,t,s,n,l,p,m){switch(s){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 r(e),new r(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=c;case"[object Set]":var d=1&n;if(h||(h=a),e.size!=t.size&&!d)return!1;var f=m.get(e);if(f)return f==t;n|=2,m.set(e,t);var v=o(h(e),h(t),n,l,p,m);return m.delete(e),v;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},1182:(e,t,s)=>{var n=s(393),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,s,i,o,c){var a=1&s,l=n(e),u=l.length;if(u!=n(t).length&&!a)return!1;for(var p=u;p--;){var m=l[p];if(!(a?m in t:r.call(t,m)))return!1}var h=c.get(e),d=c.get(t);if(h&&d)return h==t&&d==e;var f=!0;c.set(e,t),c.set(t,e);for(var v=a;++p{var n="object"==typeof s.g&&s.g&&s.g.Object===Object&&s.g;e.exports=n},393:(e,t,s)=>{var n=s(8244),r=s(7979),i=s(1211);e.exports=function(e){return n(e,i,r)}},4700:(e,t,s)=>{var n=s(9067);e.exports=function(e,t){var s=e.__data__;return n(t)?s["string"==typeof t?"string":"hash"]:s.map}},4715:(e,t,s)=>{var n=s(9624),r=s(155);e.exports=function(e,t){var s=r(e,t);return n(s)?s:void 0}},8870:(e,t,s)=>{var n=s(5650),r=Object.prototype,i=r.hasOwnProperty,o=r.toString,c=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,c),s=e[c];try{e[c]=void 0;var n=!0}catch(e){}var r=o.call(e);return n&&(t?e[c]=s:delete e[c]),r}},7979:(e,t,s)=>{var n=s(9847),r=s(9306),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,c=o?function(e){return null==e?[]:(e=Object(e),n(o(e),(function(t){return i.call(e,t)})))}:r;e.exports=c},8486:(e,t,s)=>{var n=s(3103),r=s(9770),i=s(9413),o=s(4512),c=s(9270),a=s(7379),l=s(4066),u="[object Map]",p="[object Promise]",m="[object Set]",h="[object WeakMap]",d="[object DataView]",f=l(n),v=l(r),y=l(i),g=l(o),b=l(c),E=a;(n&&E(new n(new ArrayBuffer(1)))!=d||r&&E(new r)!=u||i&&E(i.resolve())!=p||o&&E(new o)!=m||c&&E(new c)!=h)&&(E=function(e){var t=a(e),s="[object Object]"==t?e.constructor:void 0,n=s?l(s):"";if(n)switch(n){case f:return d;case v:return u;case y:return p;case g:return m;case b:return h}return t}),e.exports=E},155:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},3305:(e,t,s)=>{var n=s(4497);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},9361:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},1112:(e,t,s)=>{var n=s(4497),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var s=t[e];return"__lodash_hash_undefined__"===s?void 0:s}return r.call(t,e)?t[e]:void 0}},5276:(e,t,s)=>{var n=s(4497),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:r.call(t,e)}},5071:(e,t,s)=>{var n=s(4497);e.exports=function(e,t){var s=this.__data__;return this.size+=this.has(e)?0:1,s[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},9632:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,s){var n=typeof e;return!!(s=null==s?9007199254740991:s)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},4759:(e,t,s)=>{var n,r=s(1950),i=(n=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!i&&i in e}},4882:e=>{var t=Object.prototype;e.exports=function(e){var s=e&&e.constructor;return e===("function"==typeof s&&s.prototype||t)}},2393:e=>{e.exports=function(){this.__data__=[],this.size=0}},2049:(e,t,s)=>{var n=s(7034),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,s=n(t,e);return!(s<0)&&(s==t.length-1?t.pop():r.call(t,s,1),--this.size,!0)}},7144:(e,t,s)=>{var n=s(7034);e.exports=function(e){var t=this.__data__,s=n(t,e);return s<0?void 0:t[s][1]}},7452:(e,t,s)=>{var n=s(7034);e.exports=function(e){return n(this.__data__,e)>-1}},3964:(e,t,s)=>{var n=s(7034);e.exports=function(e,t){var s=this.__data__,r=n(s,e);return r<0?(++this.size,s.push([e,t])):s[r][1]=t,this}},9753:(e,t,s)=>{var n=s(5098),r=s(1386),i=s(9770);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||r),string:new n}}},5681:(e,t,s)=>{var n=s(4700);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},88:(e,t,s)=>{var n=s(4700);e.exports=function(e){return n(this,e).get(e)}},4732:(e,t,s)=>{var n=s(4700);e.exports=function(e){return n(this,e).has(e)}},9068:(e,t,s)=>{var n=s(4700);e.exports=function(e,t){var s=n(this,e),r=s.size;return s.set(e,t),this.size+=s.size==r?0:1,this}},5894:e=>{e.exports=function(e){var t=-1,s=Array(e.size);return e.forEach((function(e,n){s[++t]=[n,e]})),s}},4497:(e,t,s)=>{var n=s(4715)(Object,"create");e.exports=n},8121:(e,t,s)=>{var n=s(3766)(Object.keys,Object);e.exports=n},2306:(e,t,s)=>{e=s.nmd(e);var n=s(4967),r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,o=i&&i.exports===r&&n.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},9005:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},3766:e=>{e.exports=function(e,t){return function(s){return e(t(s))}}},8942:(e,t,s)=>{var n=s(4967),r="object"==typeof self&&self&&self.Object===Object&&self,i=n||r||Function("return this")();e.exports=i},1877:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},8006:e=>{e.exports=function(e){return this.__data__.has(e)}},9828:e=>{e.exports=function(e){var t=-1,s=Array(e.size);return e.forEach((function(e){s[++t]=e})),s}},4103:(e,t,s)=>{var n=s(1386);e.exports=function(){this.__data__=new n,this.size=0}},1779:e=>{e.exports=function(e){var t=this.__data__,s=t.delete(e);return this.size=t.size,s}},4162:e=>{e.exports=function(e){return this.__data__.get(e)}},7462:e=>{e.exports=function(e){return this.__data__.has(e)}},6638:(e,t,s)=>{var n=s(1386),r=s(9770),i=s(8250);e.exports=function(e,t){var s=this.__data__;if(s instanceof n){var o=s.__data__;if(!r||o.length<199)return o.push([e,t]),this.size=++s.size,this;s=this.__data__=new i(o)}return s.set(e,t),this.size=s.size,this}},4066: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""}},6285:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},3283:(e,t,s)=>{var n=s(6027),r=s(547),i=Object.prototype,o=i.hasOwnProperty,c=i.propertyIsEnumerable,a=n(function(){return arguments}())?n:function(e){return r(e)&&o.call(e,"callee")&&!c.call(e,"callee")};e.exports=a},3142:e=>{var t=Array.isArray;e.exports=t},6529:(e,t,s)=>{var n=s(3655),r=s(5387);e.exports=function(e){return null!=e&&r(e.length)&&!n(e)}},2563:(e,t,s)=>{var n=s(7379),r=s(547);e.exports=function(e){return!0===e||!1===e||r(e)&&"[object Boolean]"==n(e)}},5853:(e,t,s)=>{e=s.nmd(e);var n=s(8942),r=s(4772),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,c=o&&o.exports===i?n.Buffer:void 0,a=(c?c.isBuffer:void 0)||r;e.exports=a},6343:(e,t,s)=>{var n=s(4687);e.exports=function(e,t){return n(e,t)}},3655:(e,t,s)=>{var n=s(7379),r=s(1580);e.exports=function(e){if(!r(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},5387:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},9310:e=>{e.exports=function(e){return null===e}},986:(e,t,s)=>{var n=s(7379),r=s(547);e.exports=function(e){return"number"==typeof e||r(e)&&"[object Number]"==n(e)}},1580:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},547:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},8138:(e,t,s)=>{var n=s(7379),r=s(3142),i=s(547);e.exports=function(e){return"string"==typeof e||!r(e)&&i(e)&&"[object String]"==n(e)}},8666:(e,t,s)=>{var n=s(674),r=s(9460),i=s(2306),o=i&&i.isTypedArray,c=o?r(o):n;e.exports=c},1211:(e,t,s)=>{var n=s(358),r=s(195),i=s(6529);e.exports=function(e){return i(e)?n(e):r(e)}},1517: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)}}},9306:e=>{e.exports=function(){return[]}},4772:e=>{e.exports=function(){return!1}},4123:(e,t,s)=>{const n=s(1517);function r(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 s=[];return this.forEach((n=>{const r=e.bind(t)(n);r&&s.push(r)})),s}filter(e,t){return e=r(e),new i(this.elements.filter(e,t))}reject(e,t){return e=r(e),new i(this.elements.filter(n(e),t))}find(e,t){return e=r(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},2322: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},5735:(e,t,s)=>{const n=s(9310),r=s(8138),i=s(986),o=s(2563),c=s(1580),a=s(394),l=s(7547);class u{constructor(e){this.elementMap={},this.elementDetection=[],this.Element=l.Element,this.KeyValuePair=l.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",l.NullElement).register("string",l.StringElement).register("number",l.NumberElement).register("boolean",l.BooleanElement).register("array",l.ArrayElement).register("object",l.ObjectElement).register("member",l.MemberElement).register("ref",l.RefElement).register("link",l.LinkElement),this.detect(n,l.NullElement,!1).detect(r,l.StringElement,!1).detect(i,l.NumberElement,!1).detect(o,l.BooleanElement,!1).detect(Array.isArray,l.ArrayElement,!1).detect(c,l.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,s){return void 0===s||s?this.elementDetection.unshift([e,t]):this.elementDetection.push([e,t]),this}toElement(e){if(e instanceof this.Element)return e;let t;for(let s=0;s{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=u,e.exports=u},3311:(e,t,s)=>{const n=s(1517),r=s(4123);class i extends r{map(e,t){return this.elements.map((s=>e.bind(t)(s.value,s.key,s)))}filter(e,t){return new i(this.elements.filter((s=>e.bind(t)(s.value,s.key,s))))}reject(e,t){return this.filter(n(e.bind(t)))}forEach(e,t){return this.elements.forEach(((s,n)=>{e.bind(t)(s.value,s.key,s,n)}))}keys(){return this.map(((e,t)=>t.toValue()))}values(){return this.map((e=>e.toValue()))}}e.exports=i},7547:(e,t,s)=>{const n=s(8631),r=s(3004),i=s(8712),o=s(2536),c=s(2555),a=s(9796),l=s(7309),u=s(5642),p=s(9620),m=s(593),h=s(4123),d=s(3311),f=s(2322);function v(e){if(e instanceof n)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 r;if(Array.isArray(e))return new a(e.map(v));if("object"==typeof e){return new u(e)}return e}n.prototype.ObjectElement=u,n.prototype.RefElement=m,n.prototype.MemberElement=l,n.prototype.refract=v,h.prototype.refract=v,e.exports={Element:n,NullElement:r,StringElement:i,NumberElement:o,BooleanElement:c,ArrayElement:a,MemberElement:l,ObjectElement:u,LinkElement:p,RefElement:m,refract:v,ArraySlice:h,ObjectSlice:d,KeyValuePair:f}},9620:(e,t,s)=>{const n=s(8631);e.exports=class extends n{constructor(e,t,s){super(e||[],t,s),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)}}},593:(e,t,s)=>{const n=s(8631);e.exports=class extends n{constructor(e,t,s){super(e||[],t,s),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(e){this.attributes.set("path",e)}}},8326:(e,t,s)=>{const n=s(5735),r=s(7547);t.g$=n,t.KeyValuePair=s(2322),t.G6=r.ArraySlice,t.ot=r.ObjectSlice,t.Hg=r.Element,t.Om=r.StringElement,t.kT=r.NumberElement,t.bd=r.BooleanElement,t.Os=r.NullElement,t.wE=r.ArrayElement,t.Sh=r.ObjectElement,t.Pr=r.MemberElement,t.sI=r.RefElement,t.Ft=r.LinkElement,t.e=r.refract,s(394),s(3148)},9796:(e,t,s)=>{const n=s(1517),r=s(8631),i=s(4123);class o extends r{constructor(e,t,s){super(e||[],t,s),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 s=[];return this.forEach((n=>{const r=e.bind(t)(n);r&&s.push(r)})),s}filter(e,t){return new i(this.content.filter(e,t))}reject(e,t){return this.filter(n(e),t)}reduce(e,t){let s,n;void 0!==t?(s=0,n=this.refract(t)):(s=1,n="object"===this.primitive()?this.first.value:this.first);for(let t=s;t{e.bind(t)(s,this.refract(n))}))}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 s=t||{},n=!!s.recursive,r=void 0===s.results?[]:s.results;return this.forEach(((t,s,i)=>{n&&void 0!==t.findElements&&t.findElements(e,{results:r,recursive:n}),e(t,s,i)&&r.push(t)})),r}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},2555:(e,t,s)=>{const n=s(8631);e.exports=class extends n{constructor(e,t,s){super(e,t,s),this.element="boolean"}primitive(){return"boolean"}}},8631:(e,t,s)=>{const n=s(6343),r=s(2322),i=s(4123);class o{constructor(e,t,s){t&&(this.meta=t),s&&(this.attributes=s),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 r?{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 s=new i;const n=(e,t)=>(e.push(t),e),o=(e,s)=>{s.element===t&&e.push(s);const i=s.findRecursive(t);return i&&i.reduce(n,e),s.content instanceof r&&(s.content.key&&o(e,s.content.key),s.content.value&&o(e,s.content.value)),e};return this.content&&(this.content.element&&o(s,this.content),Array.isArray(this.content)&&this.content.reduce(o,s)),e.isEmpty||(s=s.filter((t=>{let s=t.parents.map((e=>e.element));for(const t in e){const n=e[t],r=s.indexOf(n);if(-1===r)return!1;s=s.splice(0,r)}return!0}))),s}set(e){return this.content=e,this}equals(e){return n(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 r)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 r){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},7309:(e,t,s)=>{const n=s(2322),r=s(8631);e.exports=class extends r{constructor(e,t,s,r){super(new n,s,r),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)}}},3004:(e,t,s)=>{const n=s(8631);e.exports=class extends n{constructor(e,t,s){super(e||null,t,s),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},2536:(e,t,s)=>{const n=s(8631);e.exports=class extends n{constructor(e,t,s){super(e,t,s),this.element="number"}primitive(){return"number"}}},5642:(e,t,s)=>{const n=s(1517),r=s(1580),i=s(9796),o=s(7309),c=s(3311);e.exports=class extends i{constructor(e,t,s){super(e||[],t,s),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((s=>s.key.toValue()!==e||(t=s,!1))),t}getKey(e){const t=this.getMember(e);if(t)return t.key}set(e,t){if(r(e))return Object.keys(e).forEach((t=>{this.set(t,e[t])})),this;const s=e,n=this.getMember(s);return n?n.value=t:this.content.push(new o(s,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((s=>e.bind(t)(s.value,s.key,s)))}compactMap(e,t){const s=[];return this.forEach(((n,r,i)=>{const o=e.bind(t)(n,r,i);o&&s.push(o)})),s}filter(e,t){return new c(this.content).filter(e,t)}reject(e,t){return this.filter(n(e),t)}forEach(e,t){return this.content.forEach((s=>e.bind(t)(s.value,s.key,s)))}}},8712:(e,t,s)=>{const n=s(8631);e.exports=class extends n{constructor(e,t,s){super(e,t,s),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},3148:(e,t,s)=>{const n=s(394);e.exports=class extends n{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 s={element:e.element};e._meta&&e._meta.length>0&&(s.meta=this.serialiseObject(e.meta));const n="enum"===e.element||-1!==e.attributes.keys().indexOf("enumerations");if(n){const t=this.enumSerialiseAttributes(e);t&&(s.attributes=t)}else if(e._attributes&&e._attributes.length>0){let{attributes:n}=e;n.get("metadata")&&(n=n.clone(),n.set("meta",n.get("metadata")),n.remove("metadata")),"member"===e.element&&t&&(n=n.clone(),n.remove("variable")),n.length>0&&(s.attributes=this.serialiseObject(n))}if(n)s.content=this.enumSerialiseContent(e,s);else if(this[`${e.element}SerialiseContent`])s.content=this[`${e.element}SerialiseContent`](e,s);else if(void 0!==e.content){let n;t&&e.content.key?(n=e.content.clone(),n.key.attributes.set("variable",t),n=this.serialiseContent(n)):n=this.serialiseContent(e.content),this.shouldSerialiseContent(e,n)&&(s.content=n)}else this.shouldSerialiseContent(e,e.content)&&e instanceof this.namespace.elements.Array&&(s.content=[]);return s}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(),s=t.remove("enumerations")||new this.namespace.elements.Array([]),n=t.get("default");let r=t.get("samples")||new this.namespace.elements.Array([]);if(n&&n.content&&(n.content.attributes&&n.content.attributes.remove("typeAttributes"),t.set("default",new this.namespace.elements.Array([n.content]))),r.forEach((e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")})),e.content&&0!==s.length&&r.unshift(e.content),r=r.map((e=>e instanceof this.namespace.elements.Array?[e]:new this.namespace.elements.Array([e.content]))),r.length&&t.set("samples",r),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),s=new t;s.element!==e.element&&(s.element=e.element),e.meta&&this.deserialiseObject(e.meta,s.meta),e.attributes&&this.deserialiseObject(e.attributes,s.attributes);const n=this.deserialiseContent(e.content);if(void 0===n&&null!==s.content||(s.content=n),"enum"===s.element){s.content&&s.attributes.set("enumerations",s.content);let e=s.attributes.get("samples");if(s.attributes.remove("samples"),e){const n=e;e=new this.namespace.elements.Array,n.forEach((n=>{n.forEach((n=>{const r=new t(n);r.element=s.element,e.push(r)}))}));const r=e.shift();s.content=r?r.content:void 0,s.attributes.set("samples",e)}else s.content=void 0;let n=s.attributes.get("default");if(n&&n.length>0){n=n.get(0);const e=new t(n);e.element=s.element,s.attributes.set("default",e)}}else if("dataStructure"===s.element&&Array.isArray(s.content))[s.content]=s.content;else if("category"===s.element){const e=s.attributes.get("meta");e&&(s.attributes.set("metadata",e),s.attributes.remove("meta"))}else"member"===s.element&&s.key&&s.key._attributes&&s.key._attributes.getValue("variable")&&(s.attributes.set("variable",s.key.attributes.get("variable")),s.key.attributes.remove("variable"));return s}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,s)=>{if(e){const n=s.toValue();t[n]=this.convertKeyToRefract(n,e)}})),t}deserialiseObject(e,t){Object.keys(e).forEach((s=>{t.set(s,this.deserialise(e[s]))}))}}},394: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 s=this.serialiseContent(e.content);return void 0!==s&&(t.content=s),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 s=this.deserialiseContent(e.content);return void 0===s&&null!==t.content||(t.content=s),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,s)=>{e&&(t[s.toValue()]=this.serialise(e))})),0!==Object.keys(t).length)return t}deserialiseObject(e,t){Object.keys(e).forEach((s=>{t.set(s,this.deserialise(e[s]))}))}}},1212:(e,t,s)=>{e.exports=s(8411)},7202:(e,t,s)=>{"use strict";var n=s(239);e.exports=n},6656:(e,t,s)=>{"use strict";s(484),s(5695),s(6138),s(7447),s(3832);var n=s(8099);e.exports=n.AggregateError},8411:(e,t,s)=>{"use strict";e.exports=s(8337)},8337:(e,t,s)=>{"use strict";s(5442);var n=s(7202);e.exports=n},814:(e,t,s)=>{"use strict";var n=s(2769),r=s(459),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(r(e)+" is not a function")}},1966:(e,t,s)=>{"use strict";var n=s(2937),r=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i("Can't set "+r(e)+" as a prototype")}},8137:e=>{"use strict";e.exports=function(){}},7235:(e,t,s)=>{"use strict";var n=s(262),r=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(r(e)+" is not an object")}},1005:(e,t,s)=>{"use strict";var n=s(3273),r=s(4574),i=s(8130),o=function(e){return function(t,s,o){var c,a=n(t),l=i(a),u=r(o,l);if(e&&s!=s){for(;l>u;)if((c=a[u++])!=c)return!0}else for(;l>u;u++)if((e||u in a)&&a[u]===s)return e||u||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},9932:(e,t,s)=>{"use strict";var n=s(6100),r=n({}.toString),i=n("".slice);e.exports=function(e){return i(r(e),8,-1)}},8407:(e,t,s)=>{"use strict";var n=s(4904),r=s(2769),i=s(9932),o=s(8655)("toStringTag"),c=Object,a="Arguments"===i(function(){return arguments}());e.exports=n?i:function(e){var t,s,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(s=function(e,t){try{return e[t]}catch(e){}}(t=c(e),o))?s:a?i(t):"Object"===(n=i(t))&&r(t.callee)?"Arguments":n}},7464:(e,t,s)=>{"use strict";var n=s(701),r=s(5691),i=s(4543),o=s(9989);e.exports=function(e,t,s){for(var c=r(t),a=o.f,l=i.f,u=0;u{"use strict";var n=s(1203);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},877:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},3999:(e,t,s)=>{"use strict";var n=s(5024),r=s(9989),i=s(480);e.exports=n?function(e,t,s){return r.f(e,t,i(1,s))}:function(e,t,s){return e[t]=s,e}},480:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},3508:(e,t,s)=>{"use strict";var n=s(3999);e.exports=function(e,t,s,r){return r&&r.enumerable?e[t]=s:n(e,t,s),e}},7525:(e,t,s)=>{"use strict";var n=s(1063),r=Object.defineProperty;e.exports=function(e,t){try{r(n,e,{value:t,configurable:!0,writable:!0})}catch(s){n[e]=t}return t}},5024:(e,t,s)=>{"use strict";var n=s(1203);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},9619:(e,t,s)=>{"use strict";var n=s(1063),r=s(262),i=n.document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},1100: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}},7868:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},4432:(e,t,s)=>{"use strict";var n,r,i=s(1063),o=s(7868),c=i.process,a=i.Deno,l=c&&c.versions||a&&a.version,u=l&&l.v8;u&&(r=(n=u.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!r&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(r=+n[1]),e.exports=r},9683:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3885:(e,t,s)=>{"use strict";var n=s(6100),r=Error,i=n("".replace),o=String(new r("zxcasd").stack),c=/\n\s*at [^:]*:[^\n]*/,a=c.test(o);e.exports=function(e,t){if(a&&"string"==typeof e&&!r.prepareStackTrace)for(;t--;)e=i(e,c,"");return e}},4279:(e,t,s)=>{"use strict";var n=s(3999),r=s(3885),i=s(5791),o=Error.captureStackTrace;e.exports=function(e,t,s,c){i&&(o?o(e,t):n(e,"stack",r(s,c)))}},5791:(e,t,s)=>{"use strict";var n=s(1203),r=s(480);e.exports=!n((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",r(1,7)),7!==e.stack)}))},9098:(e,t,s)=>{"use strict";var n=s(1063),r=s(7013),i=s(9344),o=s(2769),c=s(4543).f,a=s(8696),l=s(8099),u=s(4572),p=s(3999),m=s(701),h=function(e){var t=function(s,n,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(s);case 2:return new e(s,n)}return new e(s,n,i)}return r(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var s,r,d,f,v,y,g,b,E,x=e.target,j=e.global,w=e.stat,S=e.proto,O=j?n:w?n[x]:n[x]&&n[x].prototype,P=j?l:l[x]||p(l,x,{})[x],$=P.prototype;for(f in t)r=!(s=a(j?f:x+(w?".":"#")+f,e.forced))&&O&&m(O,f),y=P[f],r&&(g=e.dontCallGetSet?(E=c(O,f))&&E.value:O[f]),v=r&&g?g:t[f],(s||S||typeof y!=typeof v)&&(b=e.bind&&r?u(v,n):e.wrap&&r?h(v):S&&o(v)?i(v):v,(e.sham||v&&v.sham||y&&y.sham)&&p(b,"sham",!0),p(P,f,b),S&&(m(l,d=x+"Prototype")||p(l,d,{}),p(l[d],f,v),e.real&&$&&(s||!$[f])&&p($,f,v)))}},1203:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},7013:(e,t,s)=>{"use strict";var n=s(1780),r=Function.prototype,i=r.apply,o=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(i):function(){return o.apply(i,arguments)})},4572:(e,t,s)=>{"use strict";var n=s(9344),r=s(814),i=s(1780),o=n(n.bind);e.exports=function(e,t){return r(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}},1780:(e,t,s)=>{"use strict";var n=s(1203);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},4713:(e,t,s)=>{"use strict";var n=s(1780),r=Function.prototype.call;e.exports=n?r.bind(r):function(){return r.apply(r,arguments)}},3410:(e,t,s)=>{"use strict";var n=s(5024),r=s(701),i=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,c=r(i,"name"),a=c&&"something"===function(){}.name,l=c&&(!n||n&&o(i,"name").configurable);e.exports={EXISTS:c,PROPER:a,CONFIGURABLE:l}},3574:(e,t,s)=>{"use strict";var n=s(6100),r=s(814);e.exports=function(e,t,s){try{return n(r(Object.getOwnPropertyDescriptor(e,t)[s]))}catch(e){}}},9344:(e,t,s)=>{"use strict";var n=s(9932),r=s(6100);e.exports=function(e){if("Function"===n(e))return r(e)}},6100:(e,t,s)=>{"use strict";var n=s(1780),r=Function.prototype,i=r.call,o=n&&r.bind.bind(i,i);e.exports=n?o:function(e){return function(){return i.apply(e,arguments)}}},1003:(e,t,s)=>{"use strict";var n=s(8099),r=s(1063),i=s(2769),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e])||o(r[e]):n[e]&&n[e][t]||r[e]&&r[e][t]}},967:(e,t,s)=>{"use strict";var n=s(8407),r=s(4674),i=s(3057),o=s(6625),c=s(8655)("iterator");e.exports=function(e){if(!i(e))return r(e,c)||r(e,"@@iterator")||o[n(e)]}},1613:(e,t,s)=>{"use strict";var n=s(4713),r=s(814),i=s(7235),o=s(459),c=s(967),a=TypeError;e.exports=function(e,t){var s=arguments.length<2?c(e):t;if(r(s))return i(n(s,e));throw new a(o(e)+" is not iterable")}},4674:(e,t,s)=>{"use strict";var n=s(814),r=s(3057);e.exports=function(e,t){var s=e[t];return r(s)?void 0:n(s)}},1063:function(e,t,s){"use strict";var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof s.g&&s.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},701:(e,t,s)=>{"use strict";var n=s(6100),r=s(2137),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(r(e),t)}},5241:e=>{"use strict";e.exports={}},3489:(e,t,s)=>{"use strict";var n=s(1003);e.exports=n("document","documentElement")},9665:(e,t,s)=>{"use strict";var n=s(5024),r=s(1203),i=s(9619);e.exports=!n&&!r((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},1395:(e,t,s)=>{"use strict";var n=s(6100),r=s(1203),i=s(9932),o=Object,c=n("".split);e.exports=r((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?c(e,""):o(e)}:o},3507:(e,t,s)=>{"use strict";var n=s(2769),r=s(262),i=s(3491);e.exports=function(e,t,s){var o,c;return i&&n(o=t.constructor)&&o!==s&&r(c=o.prototype)&&c!==s.prototype&&i(e,c),e}},8148:(e,t,s)=>{"use strict";var n=s(262),r=s(3999);e.exports=function(e,t){n(t)&&"cause"in t&&r(e,"cause",t.cause)}},8417:(e,t,s)=>{"use strict";var n,r,i,o=s(1314),c=s(1063),a=s(262),l=s(3999),u=s(701),p=s(3753),m=s(4275),h=s(5241),d="Object already initialized",f=c.TypeError,v=c.WeakMap;if(o||p.state){var y=p.state||(p.state=new v);y.get=y.get,y.has=y.has,y.set=y.set,n=function(e,t){if(y.has(e))throw new f(d);return t.facade=e,y.set(e,t),t},r=function(e){return y.get(e)||{}},i=function(e){return y.has(e)}}else{var g=m("state");h[g]=!0,n=function(e,t){if(u(e,g))throw new f(d);return t.facade=e,l(e,g,t),t},r=function(e){return u(e,g)?e[g]:{}},i=function(e){return u(e,g)}}e.exports={set:n,get:r,has:i,enforce:function(e){return i(e)?r(e):n(e,{})},getterFor:function(e){return function(t){var s;if(!a(t)||(s=r(t)).type!==e)throw new f("Incompatible receiver, "+e+" required");return s}}}},2877:(e,t,s)=>{"use strict";var n=s(8655),r=s(6625),i=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},2769: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}},8696:(e,t,s)=>{"use strict";var n=s(1203),r=s(2769),i=/#|\.prototype\./,o=function(e,t){var s=a[c(e)];return s===u||s!==l&&(r(t)?n(t):!!t)},c=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},a=o.data={},l=o.NATIVE="N",u=o.POLYFILL="P";e.exports=o},3057:e=>{"use strict";e.exports=function(e){return null==e}},262:(e,t,s)=>{"use strict";var n=s(2769);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},2937:(e,t,s)=>{"use strict";var n=s(262);e.exports=function(e){return n(e)||null===e}},4871:e=>{"use strict";e.exports=!0},6281:(e,t,s)=>{"use strict";var n=s(1003),r=s(2769),i=s(4317),o=s(7460),c=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return r(t)&&i(t.prototype,c(e))}},208:(e,t,s)=>{"use strict";var n=s(4572),r=s(4713),i=s(7235),o=s(459),c=s(2877),a=s(8130),l=s(4317),u=s(1613),p=s(967),m=s(1743),h=TypeError,d=function(e,t){this.stopped=e,this.result=t},f=d.prototype;e.exports=function(e,t,s){var v,y,g,b,E,x,j,w=s&&s.that,S=!(!s||!s.AS_ENTRIES),O=!(!s||!s.IS_RECORD),P=!(!s||!s.IS_ITERATOR),$=!(!s||!s.INTERRUPTED),A=n(t,w),F=function(e){return v&&m(v,"normal",e),new d(!0,e)},k=function(e){return S?(i(e),$?A(e[0],e[1],F):A(e[0],e[1])):$?A(e,F):A(e)};if(O)v=e.iterator;else if(P)v=e;else{if(!(y=p(e)))throw new h(o(e)+" is not iterable");if(c(y)){for(g=0,b=a(e);b>g;g++)if((E=k(e[g]))&&l(f,E))return E;return new d(!1)}v=u(e,y)}for(x=O?e.next:v.next;!(j=r(x,v)).done;){try{E=k(j.value)}catch(e){m(v,"throw",e)}if("object"==typeof E&&E&&l(f,E))return E}return new d(!1)}},1743:(e,t,s)=>{"use strict";var n=s(4713),r=s(7235),i=s(4674);e.exports=function(e,t,s){var o,c;r(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw s;return s}o=n(o,e)}catch(e){c=!0,o=e}if("throw"===t)throw s;if(c)throw o;return r(o),s}},1926:(e,t,s)=>{"use strict";var n=s(2621).IteratorPrototype,r=s(5780),i=s(480),o=s(1811),c=s(6625),a=function(){return this};e.exports=function(e,t,s,l){var u=t+" Iterator";return e.prototype=r(n,{next:i(+!l,s)}),o(e,u,!1,!0),c[u]=a,e}},164:(e,t,s)=>{"use strict";var n=s(9098),r=s(4713),i=s(4871),o=s(3410),c=s(2769),a=s(1926),l=s(3671),u=s(3491),p=s(1811),m=s(3999),h=s(3508),d=s(8655),f=s(6625),v=s(2621),y=o.PROPER,g=o.CONFIGURABLE,b=v.IteratorPrototype,E=v.BUGGY_SAFARI_ITERATORS,x=d("iterator"),j="keys",w="values",S="entries",O=function(){return this};e.exports=function(e,t,s,o,d,v,P){a(s,t,o);var $,A,F,k=function(e){if(e===d&&_)return _;if(!E&&e&&e in R)return R[e];switch(e){case j:case w:case S:return function(){return new s(this,e)}}return function(){return new s(this)}},C=t+" Iterator",M=!1,R=e.prototype,T=R[x]||R["@@iterator"]||d&&R[d],_=!E&&T||k(d),I="Array"===t&&R.entries||T;if(I&&($=l(I.call(new e)))!==Object.prototype&&$.next&&(i||l($)===b||(u?u($,b):c($[x])||h($,x,O)),p($,C,!0,!0),i&&(f[C]=O)),y&&d===w&&T&&T.name!==w&&(!i&&g?m(R,"name",w):(M=!0,_=function(){return r(T,this)})),d)if(A={values:k(w),keys:v?_:k(j),entries:k(S)},P)for(F in A)(E||M||!(F in R))&&h(R,F,A[F]);else n({target:t,proto:!0,forced:E||M},A);return i&&!P||R[x]===_||h(R,x,_,{name:d}),f[t]=_,A}},2621:(e,t,s)=>{"use strict";var n,r,i,o=s(1203),c=s(2769),a=s(262),l=s(5780),u=s(3671),p=s(3508),m=s(8655),h=s(4871),d=m("iterator"),f=!1;[].keys&&("next"in(i=[].keys())?(r=u(u(i)))!==Object.prototype&&(n=r):f=!0),!a(n)||o((function(){var e={};return n[d].call(e)!==e}))?n={}:h&&(n=l(n)),c(n[d])||p(n,d,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:f}},6625:e=>{"use strict";e.exports={}},8130:(e,t,s)=>{"use strict";var n=s(8146);e.exports=function(e){return n(e.length)}},5777:e=>{"use strict";var t=Math.ceil,s=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?s:t)(n)}},4879:(e,t,s)=>{"use strict";var n=s(1139);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},5780:(e,t,s)=>{"use strict";var n,r=s(7235),i=s(7389),o=s(9683),c=s(5241),a=s(3489),l=s(9619),u=s(4275),p="prototype",m="script",h=u("IE_PROTO"),d=function(){},f=function(e){return"<"+m+">"+e+""},v=function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,s;y="undefined"!=typeof document?document.domain&&n?v(n):(t=l("iframe"),s="java"+m+":",t.style.display="none",a.appendChild(t),t.src=String(s),(e=t.contentWindow.document).open(),e.write(f("document.F=Object")),e.close(),e.F):v(n);for(var r=o.length;r--;)delete y[p][o[r]];return y()};c[h]=!0,e.exports=Object.create||function(e,t){var s;return null!==e?(d[p]=r(e),s=new d,d[p]=null,s[h]=e):s=y(),void 0===t?s:i.f(s,t)}},7389:(e,t,s)=>{"use strict";var n=s(5024),r=s(1330),i=s(9989),o=s(7235),c=s(3273),a=s(8364);t.f=n&&!r?Object.defineProperties:function(e,t){o(e);for(var s,n=c(t),r=a(t),l=r.length,u=0;l>u;)i.f(e,s=r[u++],n[s]);return e}},9989:(e,t,s)=>{"use strict";var n=s(5024),r=s(9665),i=s(1330),o=s(7235),c=s(5341),a=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,p="enumerable",m="configurable",h="writable";t.f=n?i?function(e,t,s){if(o(e),t=c(t),o(s),"function"==typeof e&&"prototype"===t&&"value"in s&&h in s&&!s[h]){var n=u(e,t);n&&n[h]&&(e[t]=s.value,s={configurable:m in s?s[m]:n[m],enumerable:p in s?s[p]:n[p],writable:!1})}return l(e,t,s)}:l:function(e,t,s){if(o(e),t=c(t),o(s),r)try{return l(e,t,s)}catch(e){}if("get"in s||"set"in s)throw new a("Accessors not supported");return"value"in s&&(e[t]=s.value),e}},4543:(e,t,s)=>{"use strict";var n=s(5024),r=s(4713),i=s(7161),o=s(480),c=s(3273),a=s(5341),l=s(701),u=s(9665),p=Object.getOwnPropertyDescriptor;t.f=n?p:function(e,t){if(e=c(e),t=a(t),u)try{return p(e,t)}catch(e){}if(l(e,t))return o(!r(i.f,e,t),e[t])}},5116:(e,t,s)=>{"use strict";var n=s(8600),r=s(9683).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,r)}},7313:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},3671:(e,t,s)=>{"use strict";var n=s(701),r=s(2769),i=s(2137),o=s(4275),c=s(2871),a=o("IE_PROTO"),l=Object,u=l.prototype;e.exports=c?l.getPrototypeOf:function(e){var t=i(e);if(n(t,a))return t[a];var s=t.constructor;return r(s)&&t instanceof s?s.prototype:t instanceof l?u:null}},4317:(e,t,s)=>{"use strict";var n=s(6100);e.exports=n({}.isPrototypeOf)},8600:(e,t,s)=>{"use strict";var n=s(6100),r=s(701),i=s(3273),o=s(1005).indexOf,c=s(5241),a=n([].push);e.exports=function(e,t){var s,n=i(e),l=0,u=[];for(s in n)!r(c,s)&&r(n,s)&&a(u,s);for(;t.length>l;)r(n,s=t[l++])&&(~o(u,s)||a(u,s));return u}},8364:(e,t,s)=>{"use strict";var n=s(8600),r=s(9683);e.exports=Object.keys||function(e){return n(e,r)}},7161:(e,t)=>{"use strict";var s={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!s.call({1:2},1);t.f=r?function(e){var t=n(this,e);return!!t&&t.enumerable}:s},3491:(e,t,s)=>{"use strict";var n=s(3574),r=s(7235),i=s(1966);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,s={};try{(e=n(Object.prototype,"__proto__","set"))(s,[]),t=s instanceof Array}catch(e){}return function(s,n){return r(s),i(n),t?e(s,n):s.__proto__=n,s}}():void 0)},9559:(e,t,s)=>{"use strict";var n=s(4904),r=s(8407);e.exports=n?{}.toString:function(){return"[object "+r(this)+"]"}},9258:(e,t,s)=>{"use strict";var n=s(4713),r=s(2769),i=s(262),o=TypeError;e.exports=function(e,t){var s,c;if("string"===t&&r(s=e.toString)&&!i(c=n(s,e)))return c;if(r(s=e.valueOf)&&!i(c=n(s,e)))return c;if("string"!==t&&r(s=e.toString)&&!i(c=n(s,e)))return c;throw new o("Can't convert object to primitive value")}},5691:(e,t,s)=>{"use strict";var n=s(1003),r=s(6100),i=s(5116),o=s(7313),c=s(7235),a=r([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(c(e)),s=o.f;return s?a(t,s(e)):t}},8099:e=>{"use strict";e.exports={}},5516:(e,t,s)=>{"use strict";var n=s(9989).f;e.exports=function(e,t,s){s in e||n(e,s,{configurable:!0,get:function(){return t[s]},set:function(e){t[s]=e}})}},5426:(e,t,s)=>{"use strict";var n=s(3057),r=TypeError;e.exports=function(e){if(n(e))throw new r("Can't call method on "+e);return e}},1811:(e,t,s)=>{"use strict";var n=s(4904),r=s(9989).f,i=s(3999),o=s(701),c=s(9559),a=s(8655)("toStringTag");e.exports=function(e,t,s,l){var u=s?e:e&&e.prototype;u&&(o(u,a)||r(u,a,{configurable:!0,value:t}),l&&!n&&i(u,"toString",c))}},4275:(e,t,s)=>{"use strict";var n=s(8141),r=s(1268),i=n("keys");e.exports=function(e){return i[e]||(i[e]=r(e))}},3753:(e,t,s)=>{"use strict";var n=s(1063),r=s(7525),i="__core-js_shared__",o=n[i]||r(i,{});e.exports=o},8141:(e,t,s)=>{"use strict";var n=s(4871),r=s(3753);(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.35.1",mode:n?"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"})},5571:(e,t,s)=>{"use strict";var n=s(6100),r=s(9903),i=s(1139),o=s(5426),c=n("".charAt),a=n("".charCodeAt),l=n("".slice),u=function(e){return function(t,s){var n,u,p=i(o(t)),m=r(s),h=p.length;return m<0||m>=h?e?"":void 0:(n=a(p,m))<55296||n>56319||m+1===h||(u=a(p,m+1))<56320||u>57343?e?c(p,m):n:e?l(p,m,m+2):u-56320+(n-55296<<10)+65536}};e.exports={codeAt:u(!1),charAt:u(!0)}},4603:(e,t,s)=>{"use strict";var n=s(4432),r=s(1203),i=s(1063).String;e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},4574:(e,t,s)=>{"use strict";var n=s(9903),r=Math.max,i=Math.min;e.exports=function(e,t){var s=n(e);return s<0?r(s+t,0):i(s,t)}},3273:(e,t,s)=>{"use strict";var n=s(1395),r=s(5426);e.exports=function(e){return n(r(e))}},9903:(e,t,s)=>{"use strict";var n=s(5777);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},8146:(e,t,s)=>{"use strict";var n=s(9903),r=Math.min;e.exports=function(e){var t=n(e);return t>0?r(t,9007199254740991):0}},2137:(e,t,s)=>{"use strict";var n=s(5426),r=Object;e.exports=function(e){return r(n(e))}},493:(e,t,s)=>{"use strict";var n=s(4713),r=s(262),i=s(6281),o=s(4674),c=s(9258),a=s(8655),l=TypeError,u=a("toPrimitive");e.exports=function(e,t){if(!r(e)||i(e))return e;var s,a=o(e,u);if(a){if(void 0===t&&(t="default"),s=n(a,e,t),!r(s)||i(s))return s;throw new l("Can't convert object to primitive value")}return void 0===t&&(t="number"),c(e,t)}},5341:(e,t,s)=>{"use strict";var n=s(493),r=s(6281);e.exports=function(e){var t=n(e,"string");return r(t)?t:t+""}},4904:(e,t,s)=>{"use strict";var n={};n[s(8655)("toStringTag")]="z",e.exports="[object z]"===String(n)},1139:(e,t,s)=>{"use strict";var n=s(8407),r=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return r(e)}},459:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},1268:(e,t,s)=>{"use strict";var n=s(6100),r=0,i=Math.random(),o=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++r+i,36)}},7460:(e,t,s)=>{"use strict";var n=s(4603);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},1330:(e,t,s)=>{"use strict";var n=s(5024),r=s(1203);e.exports=n&&r((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},1314:(e,t,s)=>{"use strict";var n=s(1063),r=s(2769),i=n.WeakMap;e.exports=r(i)&&/native code/.test(String(i))},8655:(e,t,s)=>{"use strict";var n=s(1063),r=s(8141),i=s(701),o=s(1268),c=s(4603),a=s(7460),l=n.Symbol,u=r("wks"),p=a?l.for||l:l&&l.withoutSetter||o;e.exports=function(e){return i(u,e)||(u[e]=c&&i(l,e)?l[e]:p("Symbol."+e)),u[e]}},6453:(e,t,s)=>{"use strict";var n=s(1003),r=s(701),i=s(3999),o=s(4317),c=s(3491),a=s(7464),l=s(5516),u=s(3507),p=s(4879),m=s(8148),h=s(4279),d=s(5024),f=s(4871);e.exports=function(e,t,s,v){var y="stackTraceLimit",g=v?2:1,b=e.split("."),E=b[b.length-1],x=n.apply(null,b);if(x){var j=x.prototype;if(!f&&r(j,"cause")&&delete j.cause,!s)return x;var w=n("Error"),S=t((function(e,t){var s=p(v?t:e,void 0),n=v?new x(e):new x;return void 0!==s&&i(n,"message",s),h(n,S,n.stack,2),this&&o(j,this)&&u(n,this,S),arguments.length>g&&m(n,arguments[g]),n}));if(S.prototype=j,"Error"!==E?c?c(S,w):a(S,w,{name:!0}):d&&y in x&&(l(S,x,y),l(S,x,"prepareStackTrace")),a(S,x),!f)try{j.name!==E&&i(j,"name",E),j.constructor=S}catch(e){}return S}}},6138:(e,t,s)=>{"use strict";var n=s(9098),r=s(1003),i=s(7013),o=s(1203),c=s(6453),a="AggregateError",l=r(a),u=!o((function(){return 1!==l([1]).errors[0]}))&&o((function(){return 7!==l([1],a,{cause:7}).cause}));n({global:!0,constructor:!0,arity:2,forced:u},{AggregateError:c(a,(function(e){return function(t,s){return i(e,this,arguments)}}),u,!0)})},3085:(e,t,s)=>{"use strict";var n=s(9098),r=s(4317),i=s(3671),o=s(3491),c=s(7464),a=s(5780),l=s(3999),u=s(480),p=s(8148),m=s(4279),h=s(208),d=s(4879),f=s(8655)("toStringTag"),v=Error,y=[].push,g=function(e,t){var s,n=r(b,this);o?s=o(new v,n?i(this):b):(s=n?this:a(b),l(s,f,"Error")),void 0!==t&&l(s,"message",d(t)),m(s,g,s.stack,1),arguments.length>2&&p(s,arguments[2]);var c=[];return h(e,y,{that:c}),l(s,"errors",c),s};o?o(g,v):c(g,v,{name:!0});var b=g.prototype=a(v.prototype,{constructor:u(1,g),message:u(1,""),name:u(1,"AggregateError")});n({global:!0,constructor:!0,arity:2},{AggregateError:g})},5695:(e,t,s)=>{"use strict";s(3085)},7447:(e,t,s)=>{"use strict";var n=s(3273),r=s(8137),i=s(6625),o=s(8417),c=s(9989).f,a=s(164),l=s(877),u=s(4871),p=s(5024),m="Array Iterator",h=o.set,d=o.getterFor(m);e.exports=a(Array,"Array",(function(e,t){h(this,{type:m,target:n(e),index:0,kind:t})}),(function(){var e=d(this),t=e.target,s=e.index++;if(!t||s>=t.length)return e.target=void 0,l(void 0,!0);switch(e.kind){case"keys":return l(s,!1);case"values":return l(t[s],!1)}return l([s,t[s]],!1)}),"values");var f=i.Arguments=i.Array;if(r("keys"),r("values"),r("entries"),!u&&p&&"values"!==f.name)try{c(f,"name",{value:"values"})}catch(e){}},484:(e,t,s)=>{"use strict";var n=s(9098),r=s(1063),i=s(7013),o=s(6453),c="WebAssembly",a=r[c],l=7!==new Error("e",{cause:7}).cause,u=function(e,t){var s={};s[e]=o(e,t,l),n({global:!0,constructor:!0,arity:1,forced:l},s)},p=function(e,t){if(a&&a[e]){var s={};s[e]=o(c+"."+e,t,l),n({target:c,stat:!0,constructor:!0,arity:1,forced:l},s)}};u("Error",(function(e){return function(t){return i(e,this,arguments)}})),u("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),u("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),u("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),u("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),u("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),u("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)}}))},3832:(e,t,s)=>{"use strict";var n=s(5571).charAt,r=s(1139),i=s(8417),o=s(164),c=s(877),a="String Iterator",l=i.set,u=i.getterFor(a);o(String,"String",(function(e){l(this,{type:a,string:r(e),index:0})}),(function(){var e,t=u(this),s=t.string,r=t.index;return r>=s.length?c(void 0,!0):(e=n(s,r),t.index+=e.length,c(e,!1))}))},5442:(e,t,s)=>{"use strict";s(5695)},85:(e,t,s)=>{"use strict";s(7447);var n=s(1100),r=s(1063),i=s(1811),o=s(6625);for(var c in n)i(r[c],c),o[c]=o.Array},239:(e,t,s)=>{"use strict";s(5442);var n=s(6656);s(85),e.exports=n}},t={};function s(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(i.exports,i,i.exports,s),i.loaded=!0,i.exports}s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var n={};return(()=>{"use strict";s.r(n),s.d(n,{AlternatingVisitor:()=>sc,CallbackElement:()=>yp,ComponentsCallbacksElement:()=>Ol,ComponentsElement:()=>gp,ComponentsExamplesElement:()=>il,ComponentsHeadersElement:()=>hl,ComponentsLinksElement:()=>xl,ComponentsParametersElement:()=>tl,ComponentsPathItemsElement:()=>tm,ComponentsRequestBodiesElement:()=>ll,ComponentsResponsesElement:()=>Ya,ComponentsSchemasElement:()=>Ha,ComponentsSecuritySchemesElement:()=>yl,ContactElement:()=>bp,DiscriminatorElement:()=>Ep,DiscriminatorMappingElement:()=>_a,EncodingElement:()=>xp,EncodingHeadersElement:()=>Il,ExampleElement:()=>jp,ExternalDocumentationElement:()=>wp,FallbackVisitor:()=>co,FixedFieldsVisitor:()=>go,HeaderContentElement:()=>da,HeaderElement:()=>Sp,HeaderExamplesElement:()=>la,InfoElement:()=>Op,JsonSchemaDialectElement:()=>$p,LicenseElement:()=>Ap,LinkElement:()=>Fp,LinkParametersElement:()=>Bo,MapVisitor:()=>Io,MediaTypeElement:()=>kp,MediaTypeEncodingElement:()=>Bc,MediaTypeExamplesElement:()=>_c,MixedFieldsVisitor:()=>hu,OAuthFlowElement:()=>Cp,OAuthFlowScopesElement:()=>sp,OAuthFlowsElement:()=>Mp,OpenAPIMediaTypes:()=>Ce,OpenApi3_1Element:()=>_p,OpenapiElement:()=>Rp,OperationCallbacksElement:()=>ku,OperationElement:()=>Ip,OperationParametersElement:()=>Su,OperationSecurityElement:()=>Tu,OperationServersElement:()=>Bu,OperationTagsElement:()=>xu,ParameterContentElement:()=>Ua,ParameterElement:()=>qp,ParameterExamplesElement:()=>La,PathItemElement:()=>Bp,PathItemParametersElement:()=>Hu,PathItemServersElement:()=>Uu,PathsElement:()=>Np,PatternedFieldsVisitor:()=>_o,ReferenceElement:()=>Lp,RequestBodyContentElement:()=>Ul,RequestBodyElement:()=>Vp,ResponseContentElement:()=>tu,ResponseElement:()=>zp,ResponseHeadersElement:()=>Yl,ResponseLinksElement:()=>ru,ResponsesElement:()=>Up,SchemaElement:()=>Gp,SecurityElement:()=>Uc,SecurityRequirementElement:()=>Hp,SecuritySchemeElement:()=>Kp,ServerElement:()=>Wp,ServerVariableElement:()=>Xp,ServerVariablesElement:()=>Yo,ServersElement:()=>Jo,SpecificationExtensionVisitor:()=>wo,SpecificationVisitor:()=>ao,TagElement:()=>Yp,TagsElement:()=>op,Visitor:()=>oo,WebhooksElement:()=>nm,XmlElement:()=>Zp,createToolbox:()=>lh,default:()=>Qp,getNodeType:()=>rm,isArrayElement:()=>le,isBooleanElement:()=>ce,isBooleanJsonSchemaElement:()=>sh,isCallbackElement:()=>Rm,isComponentsElement:()=>Tm,isContactElement:()=>_m,isElement:()=>ne,isExampleElement:()=>Im,isExternalDocumentationElement:()=>qm,isInfoElement:()=>Nm,isJsonSchemaDialectElement:()=>Dm,isLicenseElement:()=>Lm,isLinkElement:()=>Vm,isLinkPrimitiveElement:()=>pe,isMediaTypeElement:()=>ch,isMemberElement:()=>ue,isNullElement:()=>oe,isNumberElement:()=>ie,isObjectElement:()=>ae,isOpenApi3_1Element:()=>Um,isOpenApiExtension:()=>yo,isOpenapiElement:()=>zm,isOperationElement:()=>Jm,isParameterElement:()=>Gm,isPathItemElement:()=>Hm,isPathItemElementExternal:()=>Km,isPathsElement:()=>Wm,isRefElement:()=>me,isReferenceElement:()=>Xm,isReferenceElementExternal:()=>Ym,isReferenceLikeElement:()=>ho,isRequestBodyElement:()=>Zm,isResponseElement:()=>Qm,isResponsesElement:()=>eh,isSchemaElement:()=>th,isSecurityRequirementElement:()=>nh,isSecuritySchemeElement:()=>rh,isServerElement:()=>ih,isServerLikeElement:()=>fo,isServerVariableElement:()=>oh,isServersElement:()=>Fc,isStringElement:()=>re,keyMap:()=>im,mediaTypes:()=>Me,refractorPluginNormalizeHeaderExamples:()=>$m,refractorPluginNormalizeOperationIds:()=>Om,refractorPluginNormalizeParameterExamples:()=>Pm,refractorPluginNormalizeParameters:()=>dm,refractorPluginNormalizeSecurityRequirements:()=>fm,refractorPluginNormalizeServers:()=>vm,refractorPluginReplaceEmptyElement:()=>am,specificationObj:()=>Hd});var e={};s.r(e),s.d(e,{hasElementSourceMap:()=>ge,includesClasses:()=>Ee,includesSymbols:()=>be,isAnnotationElement:()=>he,isArrayElement:()=>le,isBooleanElement:()=>ce,isCommentElement:()=>de,isElement:()=>ne,isLinkElement:()=>pe,isMemberElement:()=>ue,isNullElement:()=>oe,isNumberElement:()=>ie,isObjectElement:()=>ae,isParseResultElement:()=>fe,isPrimitiveElement:()=>ye,isRefElement:()=>me,isSourceMapElement:()=>ve,isStringElement:()=>re});var t={};s.r(t),s.d(t,{isJSONReferenceElement:()=>Di,isJSONSchemaElement:()=>Ni,isLinkDescriptionElement:()=>Vi,isMediaElement:()=>Li});var r={};s.r(r),s.d(r,{isBooleanJsonSchemaElement:()=>wc,isCallbackElement:()=>nc,isComponentsElement:()=>rc,isContactElement:()=>ic,isExampleElement:()=>oc,isExternalDocumentationElement:()=>cc,isHeaderElement:()=>ac,isInfoElement:()=>lc,isLicenseElement:()=>uc,isLinkElement:()=>pc,isMediaTypeElement:()=>Ac,isOpenApi3_0Element:()=>hc,isOpenapiElement:()=>mc,isOperationElement:()=>dc,isParameterElement:()=>fc,isPathItemElement:()=>vc,isPathsElement:()=>yc,isReferenceElement:()=>gc,isRequestBodyElement:()=>bc,isResponseElement:()=>Ec,isResponsesElement:()=>xc,isSchemaElement:()=>jc,isSecurityRequirementElement:()=>Sc,isSecuritySchemeElement:()=>Oc,isServerElement:()=>Pc,isServerVariableElement:()=>$c,isServersElement:()=>Fc});var i={};s.r(i),s.d(i,{isBooleanJsonSchemaElement:()=>sh,isCallbackElement:()=>Rm,isComponentsElement:()=>Tm,isContactElement:()=>_m,isExampleElement:()=>Im,isExternalDocumentationElement:()=>qm,isHeaderElement:()=>Bm,isInfoElement:()=>Nm,isJsonSchemaDialectElement:()=>Dm,isLicenseElement:()=>Lm,isLinkElement:()=>Vm,isMediaTypeElement:()=>ch,isOpenApi3_1Element:()=>Um,isOpenapiElement:()=>zm,isOperationElement:()=>Jm,isParameterElement:()=>Gm,isPathItemElement:()=>Hm,isPathItemElementExternal:()=>Km,isPathsElement:()=>Wm,isReferenceElement:()=>Xm,isReferenceElementExternal:()=>Ym,isRequestBodyElement:()=>Zm,isResponseElement:()=>Qm,isResponsesElement:()=>eh,isSchemaElement:()=>th,isSecurityRequirementElement:()=>nh,isSecuritySchemeElement:()=>rh,isServerElement:()=>ih,isServerVariableElement:()=>oh});var o=s(8326);function c(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function a(e){return function t(s){return 0===arguments.length||c(s)?t:e.apply(this,arguments)}}function l(e){return function t(s,n){switch(arguments.length){case 0:return t;case 1:return c(s)?t:a((function(t){return e(s,t)}));default:return c(s)&&c(n)?t:c(s)?a((function(t){return e(t,n)})):c(n)?a((function(t){return e(s,t)})):e(s,n)}}}const u=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function p(e,t,s){return function(){if(0===arguments.length)return s();var n=arguments[arguments.length-1];if(!u(n)){for(var r=0;r=arguments.length)?l=t[o]:(l=arguments[r],r+=1),n[o]=l,c(l)?a=!0:i-=1,o+=1}return!a&&i<=0?s.apply(this,n):g(Math.max(0,i),b(e,n,s))}}const E=l((function(e,t){return 1===e?a(t):g(e,b(e,[],t))}));const x=a((function(e){return E(e.length,(function(t,s){var n=Array.prototype.slice.call(arguments,0);return n[0]=s,n[1]=t,e.apply(this,n)}))}));function j(e){for(var t,s=[];!(t=e.next()).done;)s.push(t.value);return s}function w(e,t,s){for(var n=0,r=s.length;n=0;)S(t=F[s],e)&&!C(n,t)&&(n[n.length]=t),s-=1;return n})):a((function(e){return Object(e)!==e?[]:Object.keys(e)}));const R=M;const T=a((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function _(e,t,s,n){var r=j(e);function i(e,t){return I(e,t,s.slice(),n.slice())}return!w((function(e,t){return!w(i,t,e)}),j(t),r)}function I(e,t,s,n){if(O(e,t))return!0;var r,i,o=T(e);if(o!==T(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"===(r=e.constructor,null==(i=String(r).match(/^function (\w*)/))?"":i[1]))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!O(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!O(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=s.length-1;c>=0;){if(s[c]===e)return n[c]===t;c-=1}switch(o){case"Map":return e.size===t.size&&_(e.entries(),t.entries(),s.concat([e]),n.concat([t]));case"Set":return e.size===t.size&&_(e.values(),t.values(),s.concat([e]),n.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=R(e);if(a.length!==R(t).length)return!1;var l=s.concat([e]),u=n.concat([t]);for(c=a.length-1;c>=0;){var p=a[c];if(!S(p,t)||!I(t[p],e[p],l,u))return!1;c-=1}return!0}const q=l((function(e,t){return I(e,t,[],[])}));function B(e,t){return function(e,t,s){var n,r;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(n=1/t;s=0}const N=x(l(B));class D extends o.Om{constructor(e,t,s){super(e,t,s),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const L=D;class V extends o.Om{constructor(e,t,s){super(e,t,s),this.element="comment"}}const z=V;const U=a((function(e){return function(){return e}}));const J=U(void 0);const G=q(J());class H extends o.wE{constructor(e,t,s){super(e,t,s),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(G(t))return!1;const s=this.content.findIndex((e=>e===t));return-1!==s&&(this.content[s]=e,!0)}}const K=H;class W extends o.wE{constructor(e,t,s){super(e,t,s),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.wE([e.start.row,e.start.column,e.start.char]),s=new o.wE([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),s.classes.push("position"),this.push(t).push(s)}}const X=W,Y=(e,t)=>"object"==typeof t&&null!==t&&e in t&&"function"==typeof t[e],Z=e=>"object"==typeof e&&null!=e&&"_storedElement"in e&&"string"==typeof e._storedElement&&"_content"in e,Q=(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.wE)&&t.classes.includes(e),te=(e,t)=>"object"==typeof t&&null!==t&&"element"in t&&t.element===e,se=e=>e({hasMethod:Y,hasBasicElementProps:Z,primitiveEq:Q,isElementType:te,hasClass:ee}),ne=se((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof o.Hg||e(s)&&t(void 0,s))),re=se((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof o.Om||e(s)&&t("string",s))),ie=se((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof o.kT||e(s)&&t("number",s))),oe=se((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof o.Os||e(s)&&t("null",s))),ce=se((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof o.bd||e(s)&&t("boolean",s))),ae=se((({hasBasicElementProps:e,primitiveEq:t,hasMethod:s})=>n=>n instanceof o.Sh||e(n)&&t("object",n)&&s("keys",n)&&s("values",n)&&s("items",n))),le=se((({hasBasicElementProps:e,primitiveEq:t,hasMethod:s})=>n=>n instanceof o.wE&&!(n instanceof o.Sh)||e(n)&&t("array",n)&&s("push",n)&&s("unshift",n)&&s("map",n)&&s("reduce",n))),ue=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof o.Pr||e(n)&&t("member",n)&&s(void 0,n))),pe=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof o.Ft||e(n)&&t("link",n)&&s(void 0,n))),me=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof o.sI||e(n)&&t("ref",n)&&s(void 0,n))),he=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof L||e(n)&&t("annotation",n)&&s("array",n))),de=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof z||e(n)&&t("comment",n)&&s("string",n))),fe=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof K||e(n)&&t("parseResult",n)&&s("array",n))),ve=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof X||e(n)&&t("sourceMap",n)&&s("array",n))),ye=e=>te("object",e)||te("array",e)||te("boolean",e)||te("number",e)||te("string",e)||te("null",e)||te("member",e),ge=e=>ve(e.meta.get("sourceMap")),be=(e,t)=>{if(0===e.length)return!0;const s=t.attributes.get("symbols");return!!le(s)&&y(N(s.toValue()),e)},Ee=(e,t)=>0===e.length||y(N(t.classes.toValue()),e);function xe(e){return"[object String]"===Object.prototype.toString.call(e)}function je(e,t){var s=e<0?t.length+e:e;return xe(t)?t.charAt(s):t[s]}const we=a((function(e){return je(-1,e)}));var Se=s(1212);const Oe=class extends Se{constructor(e,t,s){if(super(e,t,s),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!=s&&"object"==typeof s&&Object.hasOwn(s,"cause")&&!("cause"in this)){const{cause:e}=s;this.cause=e,e instanceof Error&&"stack"in e&&(this.stack=`${this.stack}\nCAUSE: ${e.stack}`)}}};class Pe extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(Oe,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 $e=Pe;const Ae=class extends $e{};const Fe=class extends Ae{};const ke=class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new Fe("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new Fe("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new Fe("latest method in MediaTypes class is not yet implemented.")}};class Ce extends ke{filterByFormat(e="generic"){const t="generic"===e?"openapi;version":e;return this.filter((e=>e.includes(t)))}findBy(e="3.1.0",t="generic"){const s="generic"===t?`vnd.oai.openapi;version=${e}`:`vnd.oai.openapi+${t};version=${e}`;return this.find((e=>e.includes(s)))||this.unknownMediaType}latest(e="generic"){return we(this.filterByFormat(e))}}const Me=new Ce("application/vnd.oai.openapi;version=3.1.0","application/vnd.oai.openapi+json;version=3.1.0","application/vnd.oai.openapi+yaml;version=3.1.0");function Re(e){return function t(s,n,r){switch(arguments.length){case 0:return t;case 1:return c(s)?t:l((function(t,n){return e(s,t,n)}));case 2:return c(s)&&c(n)?t:c(s)?l((function(t,s){return e(t,n,s)})):c(n)?l((function(t,n){return e(s,t,n)})):a((function(t){return e(s,n,t)}));default:return c(s)&&c(n)&&c(r)?t:c(s)&&c(n)?l((function(t,s){return e(t,s,r)})):c(s)&&c(r)?l((function(t,s){return e(t,n,s)})):c(n)&&c(r)?l((function(t,n){return e(s,t,n)})):c(s)?a((function(t){return e(t,n,r)})):c(n)?a((function(t){return e(s,t,r)})):c(r)?a((function(t){return e(s,n,t)})):e(s,n,r)}}}function Te(e){return"[object Object]"===Object.prototype.toString.call(e)}const _e=Re((function(e,t,s){var n,r={};for(n in s=s||{},t=t||{})S(n,t)&&(r[n]=S(n,s)?e(n,t[n],s[n]):t[n]);for(n in s)S(n,s)&&!S(n,r)&&(r[n]=s[n]);return r}));const Ie=Re((function e(t,s,n){return _e((function(s,n,r){return Te(n)&&Te(r)?e(t,n,r):t(s,n,r)}),s,n)}));const qe=l((function(e,t){return Ie((function(e,t,s){return s}),e,t)}));const Be=l((function(e,t){return null==t||t!=t?e:t})),Ne=Number.isInteger||function(e){return e<<0===e};const De=l((function(e,t){if(null!=t)return Ne(e)?je(e,t):t[e]}));const Le=Re((function(e,t,s){return Be(e,De(t,s))}));function Ve(e,t){for(var s=t,n=0;n0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var Ye="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function Ze(e,t,s){return function(n,r,i){if(Xe(i))return e(n,r,i);if(null==i)return r;if("function"==typeof i["fantasy-land/reduce"])return t(n,r,i,"fantasy-land/reduce");if(null!=i[Ye])return s(n,r,i[Ye]());if("function"==typeof i.next)return s(n,r,i);if("function"==typeof i.reduce)return t(n,r,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function Qe(e,t,s){for(var n=s.next();!n.done;)t=e(t,n.value),n=s.next();return t}function et(e,t,s,n){return s[n](e,t)}const tt=Ze(We,et,Qe);function st(e,t){for(var s=0,n=t.length,r=Array(n);s":vt(s,n)},n=function(e,t){return st((function(t){return lt(t)+": "+s(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+st(s,e).join(", ")+"))";case"[object Array]":return"["+st(s,e).concat(n(e,ft((function(e){return/^\d+$/.test(e)}),R(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+s(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?s(NaN):lt(pt(e)))+")";case"[object Map]":return"new Map("+s(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+s(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+s(Array.from(e).sort())+")";case"[object String]":return"object"==typeof e?"new String("+s(e.valueOf())+")":lt(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var r=e.toString();if("[object Object]"!==r)return r}return"{"+n(e,R(e)).join(", ")+"}"}}const yt=a((function(e){return vt(e,[])}));const gt=l((function(e,t){if(e===t)return t;function s(e,t){if(e>t!=t>e)return t>e?t:e}var n=s(e,t);if(void 0!==n)return n;var r=s(typeof e,typeof t);if(void 0!==r)return r===typeof e?e:t;var i=yt(e),o=s(i,yt(t));return void 0!==o&&o===i?e:t}));const bt=l((function(e,t){return rt(De(e),t)}));function Et(e,t,s){for(var n=0,r=s.length;n{const t=new ss;return ts(e)&&t.use(e),t},is=ns,os=()=>({predicates:{...e},namespace:is});const cs=E(1,kt(T,Mt("String")));const as=class extends $e{constructor(e,t){if(super(e,t),null!=t&&"object"==typeof t){const{cause:e,...s}=t;Object.assign(this,s)}}},ls=(e,t,s)=>{const n=e[t];if(null!=n){if(!s&&"function"==typeof n)return n;const e=s?n.leave:n.enter;if("function"==typeof e)return e}else{const n=s?e.leave:e.enter;if(null!=n){if("function"==typeof n)return n;const e=n[t];if("function"==typeof e)return e}}return null},us={},ps=e=>null==e?void 0:e.type,ms=e=>"string"==typeof ps(e),hs=e=>Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)),ds=(e,{visitFnGetter:t=ls,nodeTypeGetter:s=ps,breakSymbol:n=us,deleteNodeSymbol:r=null,skipVisitingNodeSymbol:i=!1,exposeEdits:o=!1}={})=>{const c=Symbol("skip"),a=new Array(e.length).fill(c);return{enter(l,u,p,m,h,d){let f=l,v=!1;const y={...d,replaceWith(e,t){d.replaceWith(e,t),f=e}};for(let l=0;l{const c=Symbol("skip"),a=new Array(e.length).fill(c);return{async enter(l,u,p,m,h,d){let f=l,v=!1;const y={...d,replaceWith(e,t){d.replaceWith(e,t),f=e}};for(let l=0;l{const m=s||{};let h,d,f=Array.isArray(e),v=[e],y=-1,g=[],b=e;const E=[],x=[];do{y+=1;const e=y===v.length;let s;const S=e&&0!==g.length;if(e){if(s=0===x.length?void 0:E.pop(),b=d,d=x.pop(),S)if(f){b=b.slice();let e=0;for(const[t,s]of g){const n=t-e;s===i?(b.splice(n,1),e+=1):b[n]=s}}else{b=u(b);for(const[e,t]of g)b[e]=t}y=h.index,v=h.keys,g=h.edits,f=h.inArray,h=h.prev}else if(d!==i&&void 0!==d){if(s=f?y:v[y],b=d[s],b===i||void 0===b)continue;E.push(s)}let O;if(!Array.isArray(b)){var j;if(!l(b))throw new as(`Invalid AST Node:  ${String(b)}`,{node:b});if(p&&x.includes(b)){E.pop();continue}const i=c(t,a(b),e);if(i){for(const[e,s]of Object.entries(n))t[e]=s;const r={replaceWith(t,n){"function"==typeof n?n(t,b,s,d,E,x):d&&(d[s]=t),e||(b=t)}};O=i.call(t,b,s,d,E,x,r)}if("function"==typeof(null===(j=O)||void 0===j?void 0:j.then))throw new as("Async visitor not supported in sync mode",{visitor:t,visitFn:i});if(O===r)break;if(O===o){if(!e){E.pop();continue}}else if(void 0!==O&&(g.push([s,O]),!e)){if(!l(O)){E.pop();continue}b=O}}var w;if(void 0===O&&S&&g.push([s,b]),!e)h={inArray:f,index:y,keys:v,edits:g,prev:h},f=Array.isArray(b),v=f?b:null!==(w=m[a(b)])&&void 0!==w?w:[],y=-1,g=[],d!==i&&void 0!==d&&x.push(d),d=b}while(void 0!==h);return 0!==g.length?g[g.length-1][1]:e};fs[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:s=null,state:n={},breakSymbol:r=us,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:c=ls,nodeTypeGetter:a=ps,nodePredicate:l=ms,nodeCloneFn:u=hs,detectCycles:p=!0}={})=>{const m=s||{};let h,d,f=Array.isArray(e),v=[e],y=-1,g=[],b=e;const E=[],x=[];do{y+=1;const e=y===v.length;let s;const w=e&&0!==g.length;if(e){if(s=0===x.length?void 0:E.pop(),b=d,d=x.pop(),w)if(f){b=b.slice();let e=0;for(const[t,s]of g){const n=t-e;s===i?(b.splice(n,1),e+=1):b[n]=s}}else{b=u(b);for(const[e,t]of g)b[e]=t}y=h.index,v=h.keys,g=h.edits,f=h.inArray,h=h.prev}else if(d!==i&&void 0!==d){if(s=f?y:v[y],b=d[s],b===i||void 0===b)continue;E.push(s)}let S;if(!Array.isArray(b)){if(!l(b))throw new as(`Invalid AST Node: ${String(b)}`,{node:b});if(p&&x.includes(b)){E.pop();continue}const i=c(t,a(b),e);if(i){for(const[e,s]of Object.entries(n))t[e]=s;const r={replaceWith(t,n){"function"==typeof n?n(t,b,s,d,E,x):d&&(d[s]=t),e||(b=t)}};S=await i.call(t,b,s,d,E,x,r)}if(S===r)break;if(S===o){if(!e){E.pop();continue}}else if(void 0!==S&&(g.push([s,S]),!e)){if(!l(S)){E.pop();continue}b=S}}var j;if(void 0===S&&w&&g.push([s,b]),!e)h={inArray:f,index:y,keys:v,edits:g,prev:h},f=Array.isArray(b),v=f?b:null!==(j=m[a(b)])&&void 0!==j?j:[],y=-1,g=[],d!==i&&void 0!==d&&x.push(d),d=b}while(void 0!==h);return 0!==g.length?g[g.length-1][1]:e};const vs=class extends as{value;constructor(e,t){super(e,t),void 0!==t&&(this.value=t.value)}};const ys=class extends vs{};const gs=class extends vs{},bs=(e,t={})=>{const{visited:s=new WeakMap}=t,n={...t,visited:s};if(s.has(e))return s.get(e);if(e instanceof o.KeyValuePair){const{key:t,value:r}=e,i=ne(t)?bs(t,n):t,c=ne(r)?bs(r,n):r,a=new o.KeyValuePair(i,c);return s.set(e,a),a}if(e instanceof o.ot){const t=e=>bs(e,n),r=[...e].map(t),i=new o.ot(r);return s.set(e,i),i}if(e instanceof o.G6){const t=e=>bs(e,n),r=[...e].map(t),i=new o.G6(r);return s.set(e,i),i}if(ne(e)){const t=js(e);if(s.set(e,t),e.content)if(ne(e.content))t.content=bs(e.content,n);else if(e.content instanceof o.KeyValuePair)t.content=bs(e.content,n);else if(Array.isArray(e.content)){const s=e=>bs(e,n);t.content=e.content.map(s)}else t.content=e.content;else t.content=e.content;return t}throw new ys("Value provided to cloneDeep function couldn't be cloned",{value:e})};bs.safe=e=>{try{return bs(e)}catch{return e}};const Es=e=>{const{key:t,value:s}=e;return new o.KeyValuePair(t,s)},xs=e=>{const t=new e.constructor;if(t.element=e.element,e.meta.length>0&&(t._meta=bs(e.meta)),e.attributes.length>0&&(t._attributes=bs(e.attributes)),ne(e.content)){const s=e.content;t.content=xs(s)}else Array.isArray(e.content)?t.content=[...e.content]:e.content instanceof o.KeyValuePair?t.content=Es(e.content):t.content=e.content;return t},js=e=>{if(e instanceof o.KeyValuePair)return Es(e);if(e instanceof o.ot)return(e=>{const t=[...e];return new o.ot(t)})(e);if(e instanceof o.G6)return(e=>{const t=[...e];return new o.G6(t)})(e);if(ne(e))return xs(e);throw new gs("Value provided to cloneShallow function couldn't be cloned",{value:e})};js.safe=e=>{try{return js(e)}catch{return e}};const ws=e=>ae(e)?"ObjectElement":le(e)?"ArrayElement":ue(e)?"MemberElement":re(e)?"StringElement":ce(e)?"BooleanElement":ie(e)?"NumberElement":oe(e)?"NullElement":pe(e)?"LinkElement":me(e)?"RefElement":void 0,Ss=e=>ne(e)?js(e):hs(e),Os=kt(ws,cs),Ps={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]};const $s=(e,t,{keyMap:s=Ps,...n}={})=>fs(e,t,{keyMap:s,nodeTypeGetter:ws,nodePredicate:Os,nodeCloneFn:Ss,...n});$s[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:s=Ps,...n}={})=>fs[Symbol.for("nodejs.util.promisify.custom")](e,t,{keyMap:s,nodeTypeGetter:ws,nodePredicate:Os,nodeCloneFn:Ss,...n});const As={toolboxCreator:os,visitorOptions:{nodeTypeGetter:ws,exposeEdits:!0}},Fs=(e,t,s={})=>{if(0===t.length)return e;const n=qe(As,s),{toolboxCreator:r,visitorOptions:i}=n,o=r(),c=t.map((e=>e(o))),a=ds(c.map(Le({},"visitor")),{...i});c.forEach(Jt(["pre"],[]));const l=$s(e,a,i);return c.forEach(Jt(["post"],[])),l};Fs[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,s={})=>{if(0===t.length)return e;const n=qe(As,s),{toolboxCreator:r,visitorOptions:i}=n,o=r(),c=t.map((e=>e(o))),a=ds[Symbol.for("nodejs.util.promisify.custom")],l=$s[Symbol.for("nodejs.util.promisify.custom")],u=a(c.map(Le({},"visitor")),{...i});await Promise.allSettled(c.map(Jt(["pre"],[])));const p=await l(e,u,i);return await Promise.allSettled(c.map(Jt(["post"],[]))),p};const ks=(e,{Type:t,plugins:s=[]})=>{const n=new t(e);return ne(e)&&(e.meta.length>0&&(n.meta=bs(e.meta)),e.attributes.length>0&&(n.attributes=bs(e.attributes))),Fs(n,s,{toolboxCreator:os,visitorOptions:{nodeTypeGetter:ws}})},Cs=e=>(t,s={})=>ks(t,{...s,Type:e});o.Sh.refract=Cs(o.Sh),o.wE.refract=Cs(o.wE),o.Om.refract=Cs(o.Om),o.bd.refract=Cs(o.bd),o.Os.refract=Cs(o.Os),o.kT.refract=Cs(o.kT),o.Ft.refract=Cs(o.Ft),o.sI.refract=Cs(o.sI),L.refract=Cs(L),z.refract=Cs(z),K.refract=Cs(K),X.refract=Cs(X);class Ms extends o.Sh{constructor(e,t,s){super(e,t,s),this.element="callback"}}const Rs=Ms;class Ts extends o.Sh{constructor(e,t,s){super(e,t,s),this.element="components"}get schemas(){return this.get("schemas")}set schemas(e){this.set("schemas",e)}get responses(){return this.get("responses")}set responses(e){this.set("responses",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get requestBodies(){return this.get("requestBodies")}set requestBodies(e){this.set("requestBodies",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get securitySchemes(){return this.get("securitySchemes")}set securitySchemes(e){this.set("securitySchemes",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get callbacks(){return this.get("callbacks")}set callbacks(e){this.set("callbacks",e)}}const _s=Ts;class Is extends o.Sh{constructor(e,t,s){super(e,t,s),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 qs=Is;class Bs extends o.Sh{constructor(e,t,s){super(e,t,s),this.element="discriminator"}get propertyName(){return this.get("propertyName")}set propertyName(e){this.set("propertyName",e)}get mapping(){return this.get("mapping")}set mapping(e){this.set("mapping",e)}}const Ns=Bs;class Ds extends o.Sh{constructor(e,t,s){super(e,t,s),this.element="encoding"}get contentType(){return this.get("contentType")}set contentType(e){this.set("contentType",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowedReserved(){return this.get("allowedReserved")}set allowedReserved(e){this.set("allowedReserved",e)}}const Ls=Ds;class Vs extends o.Sh{constructor(e,t,s){super(e,t,s),this.element="example"}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)}get value(){return this.get("value")}set value(e){this.set("value",e)}get externalValue(){return this.get("externalValue")}set externalValue(e){this.set("externalValue",e)}}const zs=Vs;class Us extends o.Sh{constructor(e,t,s){super(e,t,s),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 Js=Us;class Gs extends o.Sh{constructor(e,t,s){super(e,t,s),this.element="header"}get required(){return this.hasKey("required")?this.get("required"):new o.bd(!1)}set required(e){this.set("required",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new o.bd(!1)}set deprecated(e){this.set("deprecated",e)}get allowEmptyValue(){return this.get("allowEmptyValue")}set allowEmptyValue(e){this.set("allowEmptyValue",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowReserved(){return this.get("allowReserved")}set allowReserved(e){this.set("allowReserved",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}}Object.defineProperty(Gs.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0});const Hs=Gs;class Ks extends o.Sh{constructor(e,t,s){super(e,t,s),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 Ws=Ks;class Xs extends o.Sh{constructor(e,t,s){super(e,t,s),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 Ys=Xs;class Zs extends o.Sh{constructor(e,t,s){super(e,t,s),this.element="link"}get operationRef(){return this.get("operationRef")}set operationRef(e){this.set("operationRef",e)}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get operation(){var e,t;return re(this.operationRef)?null===(e=this.operationRef)||void 0===e?void 0:e.meta.get("operation"):re(this.operationId)?null===(t=this.operationId)||void 0===t?void 0:t.meta.get("operation"):void 0}set operation(e){this.set("operation",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get server(){return this.get("server")}set server(e){this.set("server",e)}}const Qs=Zs;class en extends o.Sh{constructor(e,t,s){super(e,t,s),this.element="mediaType"}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get encoding(){return this.get("encoding")}set encoding(e){this.set("encoding",e)}}const tn=en;class sn extends o.Sh{constructor(e,t,s){super(e,t,s),this.element="oAuthFlow"}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 refreshUrl(){return this.get("refreshUrl")}set refreshUrl(e){this.set("refreshUrl",e)}get scopes(){return this.get("scopes")}set scopes(e){this.set("scopes",e)}}const nn=sn;class rn extends o.Sh{constructor(e,t,s){super(e,t,s),this.element="oAuthFlows"}get implicit(){return this.get("implicit")}set implicit(e){this.set("implicit",e)}get password(){return this.get("password")}set password(e){this.set("password",e)}get clientCredentials(){return this.get("clientCredentials")}set clientCredentials(e){this.set("clientCredentials",e)}get authorizationCode(){return this.get("authorizationCode")}set authorizationCode(e){this.set("authorizationCode",e)}}const on=rn;class cn extends o.Om{constructor(e,t,s){super(e,t,s),this.element="openapi",this.classes.push("spec-version"),this.classes.push("version")}}const an=cn;class ln extends o.Sh{constructor(e,t,s){super(e,t,s),this.element="openApi3_0",this.classes.push("api")}get openapi(){return this.get("openapi")}set openapi(e){this.set("openapi",e)}get info(){return this.get("info")}set info(e){this.set("info",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get paths(){return this.get("paths")}set paths(e){this.set("paths",e)}get components(){return this.get("components")}set components(e){this.set("components",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 un=ln;class pn extends o.Sh{constructor(e,t,s){super(e,t,s),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 requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}get responses(){return this.get("responses")}set responses(e){this.set("responses",e)}get callbacks(){return this.get("callbacks")}set callbacks(e){this.set("callbacks",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new o.bd(!1)}set deprecated(e){this.set("deprecated",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get servers(){return this.get("severs")}set servers(e){this.set("servers",e)}}const mn=pn;class hn extends o.Sh{constructor(e,t,s){super(e,t,s),this.element="parameter"}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 required(){return this.hasKey("required")?this.get("required"):new o.bd(!1)}set required(e){this.set("required",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new o.bd(!1)}set deprecated(e){this.set("deprecated",e)}get allowEmptyValue(){return this.get("allowEmptyValue")}set allowEmptyValue(e){this.set("allowEmptyValue",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowReserved(){return this.get("allowReserved")}set allowReserved(e){this.set("allowReserved",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}}Object.defineProperty(hn.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0});const dn=hn;class fn extends o.Sh{constructor(e,t,s){super(e,t,s),this.element="pathItem"}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",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)}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 TRACE(){return this.get("trace")}set TRACE(e){this.set("TRACE",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}}const vn=fn;class yn extends o.Sh{constructor(e,t,s){super(e,t,s),this.element="paths"}}const gn=yn;class bn extends o.Sh{constructor(e,t,s){super(e,t,s),this.element="reference",this.classes.push("openapi-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const En=bn;class xn extends o.Sh{constructor(e,t,s){super(e,t,s),this.element="requestBody"}get description(){return this.get("description")}set description(e){this.set("description",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}get required(){return this.hasKey("required")?this.get("required"):new o.bd(!1)}set required(e){this.set("required",e)}}const jn=xn;class wn extends o.Sh{constructor(e,t,s){super(e,t,s),this.element="response"}get description(){return this.get("description")}set description(e){this.set("description",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}}const Sn=wn;class On extends o.Sh{constructor(e,t,s){super(e,t,s),this.element="responses"}get default(){return this.get("default")}set default(e){this.set("default",e)}}const Pn=On;class $n extends o.Sh{constructor(e,t,s){super(e,t,s),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 An=$n;class Fn extends o.Sh{constructor(e,t,s){super(e,t,s),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const kn=Fn;class Cn extends o.Sh{constructor(e,t,s){super(e,t,s),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 Mn=Cn;class Rn extends o.Sh{constructor(e,t,s){super(e,t,s),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=Rn;const _n=l((function(e,t){return We((function(s,n){return s[n]=e(t[n],n,t),s}),{},R(t))}));const In=a((function(e){return null==e}));var qn=l((function(e,t){if(0===e.length||In(t))return!1;for(var s=t,n=0;n{const s=Be(e,t);return _n((e=>{if(ts(e)&&Dn("$ref",e)&&Ln(cs,"$ref",e)){const t=ze(["$ref"],e),n=Wn("#/",t);return ze(n.split("/"),s)}return ts(e)?Xn(e,s):e}),e)};const Yn=function(){return!0},Zn=e=>"string"==typeof(null==e?void 0:e.type)?e.type:ws(e),Qn={EphemeralObject:["content"],EphemeralArray:["content"],...Ps},er=(e,t,{keyMap:s=Qn,...n}={})=>$s(e,t,{keyMap:s,nodeTypeGetter:Zn,nodePredicate:Yn,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});er[Symbol.for("nodejs.util.promisify.custom")]=async(e,{keyMap:t=Qn,...s}={})=>$s[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,nodeTypeGetter:Zn,nodePredicate:Yn,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...s});const tr=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 sr=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 nr{ObjectElement={enter:e=>{if(this.references.has(e))return this.references.get(e).toReference();const t=new sr(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 tr(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}RefElement(e,...t){var s;const n=t[3];return"EphemeralObject"===(null===(s=n[n.length-1])||void 0===s?void 0:s.type)?Symbol.for("delete-node"):String(e.toValue())}LinkElement(e){return re(e.href)?e.href.toValue():""}}const rr=e=>ne(e)?re(e)||ie(e)||ce(e)||oe(e)?e.toValue():er(e,new nr):e,ir=e=>{const t=e.meta.length>0?bs(e.meta):void 0,s=e.attributes.length>0?bs(e.attributes):void 0;return new e.constructor(void 0,t,s)},or=(e,t)=>t.clone&&t.isMergeableElement(e)?ur(ir(e),e,t):e,cr=e=>"function"!=typeof e.customMetaMerge?e=>bs(e):e.customMetaMerge,ar=e=>"function"!=typeof e.customAttributesMerge?e=>bs(e):e.customAttributesMerge,lr={clone:!0,isMergeableElement:e=>ae(e)||le(e),arrayElementMerge:(e,t,s)=>e.concat(t)["fantasy-land/map"]((e=>or(e,s))),objectElementMerge:(e,t,s)=>{const n=ae(e)?ir(e):ir(t);return ae(e)&&e.forEach(((e,t,r)=>{const i=js(r);i.value=or(e,s),n.content.push(i)})),t.forEach(((t,r,i)=>{const o=rr(r);let c;if(ae(e)&&e.hasKey(o)&&s.isMergeableElement(t)){const n=e.get(o);c=js(i),c.value=((e,t)=>{if("function"!=typeof t.customMerge)return ur;const s=t.customMerge(e,t);return"function"==typeof s?s:ur})(r,s)(n,t)}else c=js(i),c.value=or(t,s);n.remove(o),n.content.push(c)})),n},customMerge:void 0,customMetaMerge:void 0,customAttributesMerge:void 0};function ur(e,t,s){var n,r,i;const o={...lr,...s};o.isMergeableElement=null!==(n=o.isMergeableElement)&&void 0!==n?n:lr.isMergeableElement,o.arrayElementMerge=null!==(r=o.arrayElementMerge)&&void 0!==r?r:lr.arrayElementMerge,o.objectElementMerge=null!==(i=o.objectElementMerge)&&void 0!==i?i:lr.objectElementMerge;const c=le(t);if(!(c===le(e)))return or(t,o);const a=c&&"function"==typeof o.arrayElementMerge?o.arrayElementMerge(e,t,o):o.objectElementMerge(e,t,o);return a.meta=cr(o)(e.meta,t.meta),a.attributes=ar(o)(e.attributes,t.attributes),a}ur.all=(e,t)=>{if(!Array.isArray(e))throw new TypeError("First argument of deepmerge should be an array.");return 0===e.length?new o.Sh:e.reduce(((e,s)=>ur(e,s,t)),ir(e[0]))};const pr=class{element;constructor(e){Object.assign(this,e)}copyMetaAndAttributes(e,t){(e.meta.length>0||t.meta.length>0)&&(t.meta=ur(t.meta,e.meta),ge(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))),(e.attributes.length>0||e.meta.length>0)&&(t.attributes=ur(t.attributes,e.attributes))}};const mr=class extends pr{enter(e){return this.element=bs(e),us}},hr=(e,t,s=[])=>{const n=Object.getOwnPropertyDescriptors(t);for(let e of s)delete n[e];Object.defineProperties(e,n)},dr=(e,t=[e])=>{const s=Object.getPrototypeOf(e);return null===s?t:dr(s,[...t,s])},fr=(e,t,s=[])=>{var n;const r=null!==(n=((...e)=>{if(0===e.length)return;let t;const s=e.map((e=>dr(e)));for(;s.every((e=>e.length>0));){const e=s.map((e=>e.pop())),n=e[0];if(!e.every((e=>e===n)))break;t=n}return t})(...e))&&void 0!==n?n:Object.prototype,i=Object.create(r),o=dr(r);for(let t of e){let e=dr(t);for(let t=e.length-1;t>=0;t--){let n=e[t];-1===o.indexOf(n)&&(hr(i,n,["constructor",...s]),o.push(n))}}return i.constructor=t,i},vr=e=>e.filter(((t,s)=>e.indexOf(t)==s)),yr=(e,t)=>{const s=t.map((e=>dr(e)));let n=0,r=!0;for(;r;){r=!1;for(let i=t.length-1;i>=0;i--){const t=s[i][n];if(null!=t&&(r=!0,null!=Object.getOwnPropertyDescriptor(t,e)))return s[i][0]}n++}},gr=(e,t=Object.prototype)=>new Proxy({},{getPrototypeOf:()=>t,setPrototypeOf(){throw Error("Cannot set prototype of Proxies created by ts-mixer")},getOwnPropertyDescriptor:(t,s)=>Object.getOwnPropertyDescriptor(yr(s,e)||{},s),defineProperty(){throw new Error("Cannot define new properties on Proxies created by ts-mixer")},has:(s,n)=>void 0!==yr(n,e)||void 0!==t[n],get:(s,n)=>(yr(n,e)||t)[n],set(t,s,n){const r=yr(s,e);if(void 0===r)throw new Error("Cannot set new properties on Proxies created by ts-mixer");return r[s]=n,!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)))))}),br=null,Er="copy",xr="copy",jr="deep",wr=new WeakMap,Sr=e=>wr.get(e),Or=(e,t)=>{var s,n;const r=vr([...Object.getOwnPropertyNames(e),...Object.getOwnPropertyNames(t)]),i={};for(let o of r)i[o]=vr([...null!==(s=null==e?void 0:e[o])&&void 0!==s?s:[],...null!==(n=null==t?void 0:t[o])&&void 0!==n?n:[]]);return i},Pr=(e,t)=>{var s,n,r,i;return{property:Or(null!==(s=null==e?void 0:e.property)&&void 0!==s?s:{},null!==(n=null==t?void 0:t.property)&&void 0!==n?n:{}),method:Or(null!==(r=null==e?void 0:e.method)&&void 0!==r?r:{},null!==(i=null==t?void 0:t.method)&&void 0!==i?i:{})}},$r=(e,t)=>{var s,n,r,i,o,c;return{class:vr([...null!==(s=null==e?void 0:e.class)&&void 0!==s?s:[],...null!==(n=null==t?void 0:t.class)&&void 0!==n?n:[]]),static:Pr(null!==(r=null==e?void 0:e.static)&&void 0!==r?r:{},null!==(i=null==t?void 0:t.static)&&void 0!==i?i:{}),instance:Pr(null!==(o=null==e?void 0:e.instance)&&void 0!==o?o:{},null!==(c=null==t?void 0:t.instance)&&void 0!==c?c:{})}},Ar=new Map,Fr=(...e)=>{const t=((...e)=>{var t;const s=new Set,n=new Set([...e]);for(;n.size>0;)for(let e of n){const r=[...dr(e.prototype).map((e=>e.constructor)),...null!==(t=Sr(e))&&void 0!==t?t:[]].filter((e=>!s.has(e)));for(let e of r)n.add(e);s.add(e),n.delete(e)}return[...s]})(...e).map((e=>Ar.get(e))).filter((e=>!!e));return 0==t.length?{}:1==t.length?t[0]:t.reduce(((e,t)=>$r(e,t)))},kr=e=>{let t=Ar.get(e);return t||(t={},Ar.set(e,t)),t};function Cr(...e){var t,s,n;const r=e.map((e=>e.prototype)),i=br;if(null!==i){const e=r.map((e=>e[i])).filter((e=>"function"==typeof e)),t={[i]:function(...t){for(let s of e)s.apply(this,t)}};r.push(t)}function o(...t){for(const s of e)hr(this,new s(...t));null!==i&&"function"==typeof this[i]&&this[i].apply(this,t)}var c,a;o.prototype="copy"===xr?fr(r,o):(c=r,a=o,gr([...c,{constructor:a}])),Object.setPrototypeOf(o,"copy"===Er?fr(e,null,["prototype"]):gr(e,Function.prototype));let l=o;if("none"!==jr){const r="deep"===jr?Fr(...e):((...e)=>{const t=e.map((e=>kr(e)));return 0===t.length?{}:1===t.length?t[0]:t.reduce(((e,t)=>$r(e,t)))})(...e);for(let e of null!==(t=null==r?void 0:r.class)&&void 0!==t?t:[]){const t=e(l);t&&(l=t)}Mr(null!==(s=null==r?void 0:r.static)&&void 0!==s?s:{},l),Mr(null!==(n=null==r?void 0:r.instance)&&void 0!==n?n:{},l.prototype)}var u,p;return u=l,p=e,wr.set(u,p),l}const Mr=(e,t)=>{const s=e.property,n=e.method;if(s)for(let e in s)for(let n of s[e])n(t,e);if(n)for(let e in n)for(let s of n[e])s(t,e,Object.getOwnPropertyDescriptor(t,e))};const Rr=l((function(e,t){for(var s={},n=0;n{if(re(n)&&s.includes(rr(n))&&!this.ignoredFields.includes(rr(n))){const s=this.toRefractedElement([...t,"fixedFields",rr(n)],e),i=new o.Pr(bs(n),s);this.copyMetaAndAttributes(r,i),i.classes.push("fixed-field"),this.element.content.push(i)}else this.ignoredFields.includes(rr(n))||this.element.content.push(bs(r))})),this.copyMetaAndAttributes(e,this.element),us}};class Ir extends(Cr(_r,mr)){constructor(e){super(e),this.element=new An,this.specPath=U(["document","objects","JSONSchema"])}}const qr=Ir;const Br=class{parent;constructor({parent:e}){this.parent=e}},Nr=e=>ae(e)&&e.hasKey("$ref");class Dr extends(Cr(Tr,Br,mr)){ObjectElement(e){const t=Nr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),us}ArrayElement(e){return this.element=new o.wE,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=Nr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),us}}const Lr=Dr;const Vr=class extends mr{ArrayElement(e){const t=this.enter(e);return this.element.classes.push("json-schema-required"),t}};const zr=a((function(e){return E(Pt(gt,0,bt("length",e)),(function(){for(var t=0,s=e.length;t{if(!this.ignoredFields.includes(rr(t))&&this.fieldPatternPredicate(rr(t))){const n=this.specPath(e),r=this.toRefractedElement(n,e),i=new o.Pr(bs(t),r);this.copyMetaAndAttributes(s,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(rr(t))||this.element.content.push(bs(s))})),this.copyMetaAndAttributes(e,this.element),us}};const Xr=class extends Wr{constructor(e){super(e),this.fieldPatternPredicate=Hr}};class Yr extends(Cr(Xr,Br,mr)){constructor(e){super(e),this.element=new o.Sh,this.element.classes.push("json-schema-properties"),this.specPath=e=>Nr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const Zr=Yr;class Qr extends(Cr(Xr,Br,mr)){constructor(e){super(e),this.element=new o.Sh,this.element.classes.push("json-schema-patternProperties"),this.specPath=e=>Nr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const ei=Qr;class ti extends(Cr(Xr,Br,mr)){constructor(e){super(e),this.element=new o.Sh,this.element.classes.push("json-schema-dependencies"),this.specPath=e=>Nr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const si=ti;const ni=class extends mr{ArrayElement(e){const t=this.enter(e);return this.element.classes.push("json-schema-enum"),t}};const ri=class extends mr{StringElement(e){const t=this.enter(e);return this.element.classes.push("json-schema-type"),t}ArrayElement(e){const t=this.enter(e);return this.element.classes.push("json-schema-type"),t}};class ii extends(Cr(Tr,Br,mr)){constructor(e){super(e),this.element=new o.wE,this.element.classes.push("json-schema-allOf")}ArrayElement(e){return e.forEach((e=>{const t=Nr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),us}}const oi=ii;class ci extends(Cr(Tr,Br,mr)){constructor(e){super(e),this.element=new o.wE,this.element.classes.push("json-schema-anyOf")}ArrayElement(e){return e.forEach((e=>{const t=Nr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),us}}const ai=ci;class li extends(Cr(Tr,Br,mr)){constructor(e){super(e),this.element=new o.wE,this.element.classes.push("json-schema-oneOf")}ArrayElement(e){return e.forEach((e=>{const t=Nr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),us}}const ui=li;class pi extends(Cr(Xr,Br,mr)){constructor(e){super(e),this.element=new o.Sh,this.element.classes.push("json-schema-definitions"),this.specPath=e=>Nr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const mi=pi;class hi extends(Cr(Tr,Br,mr)){constructor(e){super(e),this.element=new o.wE,this.element.classes.push("json-schema-links")}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","LinkDescription"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),us}}const di=hi;class fi extends(Cr(_r,mr)){constructor(e){super(e),this.element=new kn,this.specPath=U(["document","objects","JSONReference"])}ObjectElement(e){const t=_r.prototype.ObjectElement.call(this,e);return re(this.element.$ref)&&this.element.classes.push("reference-element"),t}}const vi=fi;const yi=class extends mr{StringElement(e){const t=this.enter(e);return this.element.classes.push("reference-value"),t}};const gi=Re((function(e,t,s){return E(Math.max(e.length,t.length,s.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):s.apply(this,arguments)}))}));const bi=a((function(e){return function(t,s){return e(t,s)?-1:e(s,t)?1:0}}));var Ei=l((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const xi=Ei;const ji=a((function(e){return je(0,e)}));const wi=a(m);const Si=at(In);const Oi=Nt(zt,Ur);function Pi(e){return function(e){if(Array.isArray(e))return $i(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){if("string"==typeof e)return $i(e,t);var s={}.toString.call(e).slice(8,-1);return"Object"===s&&e.constructor&&(s=e.constructor.name),"Map"===s||"Set"===s?Array.from(e):"Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?$i(e,t):void 0}}(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 $i(e,t){(null==t||t>e.length)&&(t=e.length);for(var s=0,n=Array(t);st.length}))),ji,De("length")),Fi=Vn((function(e,t,s){var n=s.apply(void 0,Pi(e));return Si(n)?wi(n):t}));const ki=gi(Oi,(function(e){var t=Ai(e);return E(t,(function(){for(var t=arguments.length,s=new Array(t),n=0;ngi(e,U(t),J))),s=ki(t)(e);return this.element=this.toRefractedElement(s,e),us}};const Mi=class extends Ci{constructor(e){super(e),this.alternator=[{predicate:Nr,specPath:["document","objects","JSONReference"]},{predicate:Yn,specPath:["document","objects","JSONSchema"]}]}};class Ri extends(Cr(_r,mr)){constructor(e){super(e),this.element=new Mn,this.specPath=U(["document","objects","Media"])}}const Ti=Ri;class _i extends(Cr(_r,mr)){constructor(e){super(e),this.element=new Tn,this.specPath=U(["document","objects","LinkDescription"])}}const Ii={visitors:{value:mr,JSONSchemaOrJSONReferenceVisitor:Mi,document:{objects:{JSONSchema:{$visitor:qr,fixedFields:{id:{$ref:"#/visitors/value"},$schema:{$ref:"#/visitors/value"},multipleOf:{$ref:"#/visitors/value"},maximum:{$ref:"#/visitors/value"},exclusiveMaximum:{$ref:"#/visitors/value"},minimum:{$ref:"#/visitors/value"},exclusiveMinimum:{$ref:"#/visitors/value"},maxLength:{$ref:"#/visitors/value"},minLength:{$ref:"#/visitors/value"},pattern:{$ref:"#/visitors/value"},additionalItems:Mi,items:Lr,maxItems:{$ref:"#/visitors/value"},minItems:{$ref:"#/visitors/value"},uniqueItems:{$ref:"#/visitors/value"},maxProperties:{$ref:"#/visitors/value"},minProperties:{$ref:"#/visitors/value"},required:Vr,properties:Zr,additionalProperties:Mi,patternProperties:ei,dependencies:si,enum:ni,type:ri,allOf:oi,anyOf:ai,oneOf:ui,not:Mi,definitions:mi,title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},format:{$ref:"#/visitors/value"},base:{$ref:"#/visitors/value"},links:di,media:{$ref:"#/visitors/document/objects/Media"},readOnly:{$ref:"#/visitors/value"}}},JSONReference:{$visitor:vi,fixedFields:{$ref:yi}},Media:{$visitor:Ti,fixedFields:{binaryEncoding:{$ref:"#/visitors/value"},type:{$ref:"#/visitors/value"}}},LinkDescription:{$visitor:_i,fixedFields:{href:{$ref:"#/visitors/value"},rel:{$ref:"#/visitors/value"},title:{$ref:"#/visitors/value"},targetSchema:Mi,mediaType:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},encType:{$ref:"#/visitors/value"},schema:Mi}}}}}},qi=e=>{if(ne(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Bi={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...Ps},Ni=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof An||e(n)&&t("JSONSchemaDraft4",n)&&s("object",n))),Di=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof kn||e(n)&&t("JSONReference",n)&&s("object",n))),Li=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Mn||e(n)&&t("media",n)&&s("object",n))),Vi=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Tn||e(n)&&t("linkDescription",n)&&s("object",n))),zi={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",An),t.register("jSONReference",kn),t.register("media",Mn),t.register("linkDescription",Tn),t}},Ui=()=>{const e=rs(zi);return{predicates:{...t,isStringElement:re},namespace:e}},Ji=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:s=[],specificationObj:n=Ii}={})=>{const r=(0,o.e)(e),i=Xn(n),c=new(ze(t,i))({specObj:i});return $s(r,c),Fs(c.element,s,{toolboxCreator:Ui,visitorOptions:{keyMap:Bi,nodeTypeGetter:qi}})},Gi=e=>(t,s={})=>Ji(t,{specPath:e,...s});An.refract=Gi(["visitors","document","objects","JSONSchema","$visitor"]),kn.refract=Gi(["visitors","document","objects","JSONReference","$visitor"]),Mn.refract=Gi(["visitors","document","objects","Media","$visitor"]),Tn.refract=Gi(["visitors","document","objects","LinkDescription","$visitor"]);const Hi=class extends An{constructor(e,t,s){super(e,t,s),this.element="schema",this.classes.push("json-schema-draft-4")}get idProp(){throw new Ae("idProp getter in Schema class is not not supported.")}set idProp(e){throw new Ae("idProp setter in Schema class is not not supported.")}get $schema(){throw new Ae("$schema getter in Schema class is not not supported.")}set $schema(e){throw new Ae("$schema setter in Schema class is not not supported.")}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 additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){throw new Ae("patternProperties getter in Schema class is not not supported.")}set patternProperties(e){throw new Ae("patternProperties setter in Schema class is not not supported.")}get dependencies(){throw new Ae("dependencies getter in Schema class is not not supported.")}set dependencies(e){throw new Ae("dependencies setter in Schema class is not not supported.")}get type(){return this.get("type")}set type(e){this.set("type",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){throw new Ae("definitions getter in Schema class is not not supported.")}set definitions(e){throw new Ae("definitions setter in Schema class is not not supported.")}get base(){throw new Ae("base getter in Schema class is not not supported.")}set base(e){throw new Ae("base setter in Schema class is not not supported.")}get links(){throw new Ae("links getter in Schema class is not not supported.")}set links(e){throw new Ae("links setter in Schema class is not not supported.")}get media(){throw new Ae("media getter in Schema class is not not supported.")}set media(e){throw new Ae("media setter in Schema class is not not supported.")}get nullable(){return this.get("nullable")}set nullable(e){this.set("nullable",e)}get discriminator(){return this.get("discriminator")}set discriminator(e){this.set("discriminator",e)}get writeOnly(){return this.get("writeOnly")}set writeOnly(e){this.set("writeOnly",e)}get xml(){return this.get("xml")}set xml(e){this.set("xml",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get deprecated(){return this.get("deprecated")}set deprecated(e){this.set("deprecated",e)}};class Ki extends o.Sh{constructor(e,t,s){super(e,t,s),this.element="securityRequirement"}}const Wi=Ki;class Xi extends o.Sh{constructor(e,t,s){super(e,t,s),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 scheme(){return this.get("scheme")}set scheme(e){this.set("scheme",e)}get bearerFormat(){return this.get("bearerFormat")}set bearerFormat(e){this.set("bearerFormat",e)}get flows(){return this.get("flows")}set flows(e){this.set("flows",e)}get openIdConnectUrl(){return this.get("openIdConnectUrl")}set openIdConnectUrl(e){this.set("openIdConnectUrl",e)}}const Yi=Xi;class Zi extends o.Sh{constructor(e,t,s){super(e,t,s),this.element="server"}get url(){return this.get("url")}set url(e){this.set("url",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get variables(){return this.get("variables")}set variables(e){this.set("variables",e)}}const Qi=Zi;class eo extends o.Sh{constructor(e,t,s){super(e,t,s),this.element="serverVariable"}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}}const to=eo;class so extends o.Sh{constructor(e,t,s){super(e,t,s),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 no=so;class ro extends o.Sh{constructor(e,t,s){super(e,t,s),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 io=ro;const oo=class{element;constructor(e={}){Object.assign(this,e)}copyMetaAndAttributes(e,t){(e.meta.length>0||t.meta.length>0)&&(t.meta=ur(t.meta,e.meta),ge(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))),(e.attributes.length>0||e.meta.length>0)&&(t.attributes=ur(t.attributes,e.attributes))}};const co=class extends oo{enter(e){return this.element=bs(e),us}};const ao=class extends oo{specObj;passingOptionsNames=["specObj","openApiGenericElement","openApiSemanticElement"];openApiGenericElement;openApiSemanticElement;constructor({specObj:e,passingOptionsNames:t,openApiGenericElement:s,openApiSemanticElement:n,...r}){super({...r}),this.specObj=e,this.openApiGenericElement=s,this.openApiSemanticElement=n,Array.isArray(t)&&(this.passingOptionsNames=t)}retrievePassingOptions(){return Rr(this.passingOptionsNames,this)}retrieveFixedFields(e){const t=ze(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]}retrieveVisitor(e){return Gt(_t,["visitors",...e],this.specObj)?ze(["visitors",...e],this.specObj):ze(["visitors",...e,"$visitor"],this.specObj)}retrieveVisitorInstance(e,t={}){const s=this.retrievePassingOptions();return new(this.retrieveVisitor(e))({...s,...t})}toRefractedElement(e,t,s={}){const n=this.retrieveVisitorInstance(e,s);return n instanceof co&&(null==n?void 0:n.constructor)===co?bs(t):($s(t,n,s),n.element)}};var lo=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=h,e.prototype["@@transducer/result"]=d,e.prototype["@@transducer/step"]=function(e,t){this.i+=1;var s=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?m(s):s},e}();function uo(e){return function(t){return new lo(e,t)}}const po=l(p(["take"],uo,(function(e,t){return Je(0,e<0?1/0:e,t)})));const mo=l((function(e,t){return q(po(e.length,t),e)})),ho=e=>ae(e)&&e.hasKey("$ref"),fo=ae,vo=ae,yo=e=>re(e.key)&&mo("x-",rr(e.key));const go=class extends ao{specPath;ignoredFields;canSupportSpecificationExtensions=!0;specificationExtensionPredicate=yo;constructor({specPath:e,ignoredFields:t,canSupportSpecificationExtensions:s,specificationExtensionPredicate:n,...r}){super({...r}),this.specPath=e,this.ignoredFields=t||[],"boolean"==typeof s&&(this.canSupportSpecificationExtensions=s),"function"==typeof n&&(this.specificationExtensionPredicate=n)}ObjectElement(e){const t=this.specPath(e),s=this.retrieveFixedFields(t);return e.forEach(((e,n,r)=>{if(re(n)&&s.includes(rr(n))&&!this.ignoredFields.includes(rr(n))){const s=this.toRefractedElement([...t,"fixedFields",rr(n)],e),i=new o.Pr(bs(n),s);this.copyMetaAndAttributes(r,i),i.classes.push("fixed-field"),this.element.content.push(i)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(r)){const e=this.toRefractedElement(["document","extension"],r);this.element.content.push(e)}else this.ignoredFields.includes(rr(n))||this.element.content.push(bs(r))})),this.copyMetaAndAttributes(e,this.element),us}};class bo extends(Cr(go,co)){constructor(e){super(e),this.element=new un,this.specPath=U(["document","objects","OpenApi"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){return go.prototype.ObjectElement.call(this,e)}}const Eo=bo;class xo extends(Cr(ao,co)){StringElement(e){const t=new an(rr(e));return this.copyMetaAndAttributes(e,t),this.element=t,us}}const jo=xo;const wo=class extends ao{MemberElement(e){return this.element=bs(e),this.element.classes.push("specification-extension"),us}};class So extends(Cr(go,co)){constructor(e){super(e),this.element=new Ws,this.specPath=U(["document","objects","Info"]),this.canSupportSpecificationExtensions=!0}}const Oo=So;const Po=class extends co{StringElement(e){const t=super.enter(e);return this.element.classes.push("api-version"),this.element.classes.push("version"),t}};class $o extends(Cr(go,co)){constructor(e){super(e),this.element=new qs,this.specPath=U(["document","objects","Contact"]),this.canSupportSpecificationExtensions=!0}}const Ao=$o;class Fo extends(Cr(go,co)){constructor(e){super(e),this.element=new Ys,this.specPath=U(["document","objects","License"]),this.canSupportSpecificationExtensions=!0}}const ko=Fo;class Co extends(Cr(go,co)){constructor(e){super(e),this.element=new Qs,this.specPath=U(["document","objects","Link"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const t=go.prototype.ObjectElement.call(this,e);return(re(this.element.operationId)||re(this.element.operationRef))&&this.element.classes.push("reference-element"),t}}const Mo=Co;const Ro=class extends co{StringElement(e){const t=super.enter(e);return this.element.classes.push("reference-value"),t}};const To=class extends co{StringElement(e){const t=super.enter(e);return this.element.classes.push("reference-value"),t}};const _o=class extends ao{specPath;ignoredFields;fieldPatternPredicate=Kr;canSupportSpecificationExtensions=!1;specificationExtensionPredicate=yo;constructor({specPath:e,ignoredFields:t,fieldPatternPredicate:s,canSupportSpecificationExtensions:n,specificationExtensionPredicate:r,...i}){super({...i}),this.specPath=e,this.ignoredFields=t||[],"function"==typeof s&&(this.fieldPatternPredicate=s),"boolean"==typeof n&&(this.canSupportSpecificationExtensions=n),"function"==typeof r&&(this.specificationExtensionPredicate=r)}ObjectElement(e){return e.forEach(((e,t,s)=>{if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(s)){const e=this.toRefractedElement(["document","extension"],s);this.element.content.push(e)}else if(!this.ignoredFields.includes(rr(t))&&this.fieldPatternPredicate(rr(t))){const n=this.specPath(e),r=this.toRefractedElement(n,e),i=new o.Pr(bs(t),r);this.copyMetaAndAttributes(s,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(rr(t))||this.element.content.push(bs(s))})),this.copyMetaAndAttributes(e,this.element),us}};const Io=class extends _o{constructor(e){super(e),this.fieldPatternPredicate=Hr}};class qo extends o.Sh{static primaryClass="link-parameters";constructor(e,t,s){super(e,t,s),this.classes.push(qo.primaryClass)}}const Bo=qo;class No extends(Cr(Io,co)){constructor(e){super(e),this.element=new Bo,this.specPath=U(["value"])}}const Do=No;class Lo extends(Cr(go,co)){constructor(e){super(e),this.element=new Qi,this.specPath=U(["document","objects","Server"]),this.canSupportSpecificationExtensions=!0}}const Vo=Lo;const zo=class extends co{StringElement(e){const t=super.enter(e);return this.element.classes.push("server-url"),t}};class Uo extends o.wE{static primaryClass="servers";constructor(e,t,s){super(e,t,s),this.classes.push(Uo.primaryClass)}}const Jo=Uo;class Go extends(Cr(ao,co)){constructor(e){super(e),this.element=new Jo}ArrayElement(e){return e.forEach((e=>{const t=fo(e)?["document","objects","Server"]:["value"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),us}}const Ho=Go;class Ko extends(Cr(go,co)){constructor(e){super(e),this.element=new to,this.specPath=U(["document","objects","ServerVariable"]),this.canSupportSpecificationExtensions=!0}}const Wo=Ko;class Xo extends o.Sh{static primaryClass="server-variables";constructor(e,t,s){super(e,t,s),this.classes.push(Xo.primaryClass)}}const Yo=Xo;class Zo extends(Cr(Io,co)){constructor(e){super(e),this.element=new Yo,this.specPath=U(["document","objects","ServerVariable"])}}const Qo=Zo;class ec extends(Cr(go,co)){constructor(e){super(e),this.element=new tn,this.specPath=U(["document","objects","MediaType"]),this.canSupportSpecificationExtensions=!0}}const tc=ec;const sc=class extends ao{alternator;constructor({alternator:e,...t}){super({...t}),this.alternator=e||[]}enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>gi(e,U(t),J))),s=ki(t)(e);return this.element=this.toRefractedElement(s,e),us}},nc=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Rs||e(n)&&t("callback",n)&&s("object",n))),rc=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof _s||e(n)&&t("components",n)&&s("object",n))),ic=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof qs||e(n)&&t("contact",n)&&s("object",n))),oc=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof zs||e(n)&&t("example",n)&&s("object",n))),cc=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Js||e(n)&&t("externalDocumentation",n)&&s("object",n))),ac=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Hs||e(n)&&t("header",n)&&s("object",n))),lc=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Ws||e(n)&&t("info",n)&&s("object",n))),uc=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Ys||e(n)&&t("license",n)&&s("object",n))),pc=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Qs||e(n)&&t("link",n)&&s("object",n))),mc=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof an||e(n)&&t("openapi",n)&&s("string",n))),hc=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s,hasClass:n})=>r=>r instanceof un||e(r)&&t("openApi3_0",r)&&s("object",r)&&n("api",r))),dc=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof mn||e(n)&&t("operation",n)&&s("object",n))),fc=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof dn||e(n)&&t("parameter",n)&&s("object",n))),vc=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof vn||e(n)&&t("pathItem",n)&&s("object",n))),yc=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof gn||e(n)&&t("paths",n)&&s("object",n))),gc=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof En||e(n)&&t("reference",n)&&s("object",n))),bc=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof jn||e(n)&&t("requestBody",n)&&s("object",n))),Ec=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Sn||e(n)&&t("response",n)&&s("object",n))),xc=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Pn||e(n)&&t("responses",n)&&s("object",n))),jc=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Hi||e(n)&&t("schema",n)&&s("object",n))),wc=e=>ce(e)&&e.classes.includes("boolean-json-schema"),Sc=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Wi||e(n)&&t("securityRequirement",n)&&s("object",n))),Oc=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Yi||e(n)&&t("securityScheme",n)&&s("object",n))),Pc=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Qi||e(n)&&t("server",n)&&s("object",n))),$c=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof to||e(n)&&t("serverVariable",n)&&s("object",n))),Ac=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof tn||e(n)&&t("mediaType",n)&&s("object",n))),Fc=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s,hasClass:n})=>r=>r instanceof Jo||e(r)&&t("array",r)&&s("array",r)&&n("servers",r)));class kc extends(Cr(sc,co)){constructor(e){super(e),this.alternator=[{predicate:ho,specPath:["document","objects","Reference"]},{predicate:Yn,specPath:["document","objects","Schema"]}]}ObjectElement(e){const t=sc.prototype.enter.call(this,e);return gc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}const Cc=kc;class Mc extends(Cr(Io,co)){constructor(e){super(e),this.element=new o.Sh,this.element.classes.push("examples"),this.specPath=e=>ho(e)?["document","objects","Reference"]:["document","objects","Example"],this.canSupportSpecificationExtensions=!0}ObjectElement(e){const t=Io.prototype.ObjectElement.call(this,e);return this.element.filter(gc).forEach((e=>{e.setMetaProperty("referenced-element","example")})),t}}const Rc=Mc;class Tc extends o.Sh{static primaryClass="media-type-examples";constructor(e,t,s){super(e,t,s),this.classes.push(Tc.primaryClass),this.classes.push("examples")}}const _c=Tc;const Ic=class extends Rc{constructor(e){super(e),this.element=new _c}};class qc extends o.Sh{static primaryClass="media-type-encoding";constructor(e,t,s){super(e,t,s),this.classes.push(qc.primaryClass)}}const Bc=qc;class Nc extends(Cr(Io,co)){constructor(e){super(e),this.element=new Bc,this.specPath=U(["document","objects","Encoding"])}}const Dc=Nc;class Lc extends(Cr(Io,co)){constructor(e){super(e),this.element=new Wi,this.specPath=U(["value"])}}const Vc=Lc;class zc extends o.wE{static primaryClass="security";constructor(e,t,s){super(e,t,s),this.classes.push(zc.primaryClass)}}const Uc=zc;class Jc extends(Cr(ao,co)){constructor(e){super(e),this.element=new Uc}ArrayElement(e){return e.forEach((e=>{if(ae(e)){const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}else this.element.push(bs(e))})),this.copyMetaAndAttributes(e,this.element),us}}const Gc=Jc;class Hc extends(Cr(go,co)){constructor(e){super(e),this.element=new _s,this.specPath=U(["document","objects","Components"]),this.canSupportSpecificationExtensions=!0}}const Kc=Hc;class Wc extends(Cr(go,co)){constructor(e){super(e),this.element=new no,this.specPath=U(["document","objects","Tag"]),this.canSupportSpecificationExtensions=!0}}const Xc=Wc;class Yc extends(Cr(go,co)){constructor(e){super(e),this.element=new En,this.specPath=U(["document","objects","Reference"]),this.canSupportSpecificationExtensions=!1}ObjectElement(e){const t=go.prototype.ObjectElement.call(this,e);return re(this.element.$ref)&&this.element.classes.push("reference-element"),t}}const Zc=Yc;const Qc=class extends co{StringElement(e){const t=super.enter(e);return this.element.classes.push("reference-value"),t}};class ea extends(Cr(go,co)){constructor(e){super(e),this.element=new dn,this.specPath=U(["document","objects","Parameter"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const t=go.prototype.ObjectElement.call(this,e);return ae(this.element.contentProp)&&this.element.contentProp.filter(Ac).forEach(((e,t)=>{e.setMetaProperty("media-type",rr(t))})),t}}const ta=ea;class sa extends(Cr(sc,co)){constructor(e){super(e),this.alternator=[{predicate:ho,specPath:["document","objects","Reference"]},{predicate:Yn,specPath:["document","objects","Schema"]}]}ObjectElement(e){const t=sc.prototype.enter.call(this,e);return gc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}const na=sa;class ra extends(Cr(go,co)){constructor(e){super(e),this.element=new Hs,this.specPath=U(["document","objects","Header"]),this.canSupportSpecificationExtensions=!0}}const ia=ra;class oa extends(Cr(sc,co)){constructor(e){super(e),this.alternator=[{predicate:ho,specPath:["document","objects","Reference"]},{predicate:Yn,specPath:["document","objects","Schema"]}]}ObjectElement(e){const t=sc.prototype.enter.call(this,e);return gc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}const ca=oa;class aa extends o.Sh{static primaryClass="header-examples";constructor(e,t,s){super(e,t,s),this.classes.push(aa.primaryClass),this.classes.push("examples")}}const la=aa;const ua=class extends Rc{constructor(e){super(e),this.element=new la}};class pa extends(Cr(Io,co)){constructor(e){super(e),this.element=new o.Sh,this.element.classes.push("content"),this.specPath=U(["document","objects","MediaType"])}}const ma=pa;class ha extends o.Sh{static primaryClass="header-content";constructor(e,t,s){super(e,t,s),this.classes.push(ha.primaryClass),this.classes.push("content")}}const da=ha;const fa=class extends ma{constructor(e){super(e),this.element=new da}};class va extends(Cr(go,co)){constructor(e){super(e),this.element=new Hi,this.specPath=U(["document","objects","Schema"]),this.canSupportSpecificationExtensions=!0}}const ya=va,{allOf:ga}=Ii.visitors.document.objects.JSONSchema.fixedFields;const ba=class extends ga{ArrayElement(e){const t=ga.prototype.ArrayElement.call(this,e);return this.element.filter(gc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},{anyOf:Ea}=Ii.visitors.document.objects.JSONSchema.fixedFields;const xa=class extends Ea{ArrayElement(e){const t=Ea.prototype.ArrayElement.call(this,e);return this.element.filter(gc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},{oneOf:ja}=Ii.visitors.document.objects.JSONSchema.fixedFields;const wa=class extends ja{ArrayElement(e){const t=ja.prototype.ArrayElement.call(this,e);return this.element.filter(gc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},{items:Sa}=Ii.visitors.document.objects.JSONSchema.fixedFields;const Oa=class extends Sa{ObjectElement(e){const t=Sa.prototype.ObjectElement.call(this,e);return gc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}ArrayElement(e){return this.enter(e)}},{properties:Pa}=Ii.visitors.document.objects.JSONSchema.fixedFields;const $a=class extends Pa{ObjectElement(e){const t=Pa.prototype.ObjectElement.call(this,e);return this.element.filter(gc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},{type:Aa}=Ii.visitors.document.objects.JSONSchema.fixedFields;const Fa=class extends Aa{ArrayElement(e){return this.enter(e)}},{JSONSchemaOrJSONReferenceVisitor:ka}=Ii.visitors;const Ca=class extends ka{ObjectElement(e){const t=ka.prototype.enter.call(this,e);return gc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}};class Ma extends(Cr(go,co)){constructor(e){super(e),this.element=new Ns,this.specPath=U(["document","objects","Discriminator"]),this.canSupportSpecificationExtensions=!1}}const Ra=Ma;class Ta extends o.Sh{static primaryClass="discriminator-mapping";constructor(e,t,s){super(e,t,s),this.classes.push(Ta.primaryClass)}}const _a=Ta;class Ia extends(Cr(Io,co)){constructor(e){super(e),this.element=new _a,this.specPath=U(["value"])}}const qa=Ia;class Ba extends(Cr(go,co)){constructor(e){super(e),this.element=new io,this.specPath=U(["document","objects","XML"]),this.canSupportSpecificationExtensions=!0}}const Na=Ba;class Da extends o.Sh{static primaryClass="parameter-examples";constructor(e,t,s){super(e,t,s),this.classes.push(Da.primaryClass),this.classes.push("examples")}}const La=Da;const Va=class extends Rc{constructor(e){super(e),this.element=new La}};class za extends o.Sh{static primaryClass="parameter-content";constructor(e,t,s){super(e,t,s),this.classes.push(za.primaryClass),this.classes.push("content")}}const Ua=za;const Ja=class extends ma{constructor(e){super(e),this.element=new Ua}};class Ga extends o.Sh{static primaryClass="components-schemas";constructor(e,t,s){super(e,t,s),this.classes.push(Ga.primaryClass)}}const Ha=Ga;class Ka extends(Cr(Io,co)){constructor(e){super(e),this.element=new Ha,this.specPath=e=>ho(e)?["document","objects","Reference"]:["document","objects","Schema"]}ObjectElement(e){const t=Io.prototype.ObjectElement.call(this,e);return this.element.filter(gc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}const Wa=Ka;class Xa extends o.Sh{static primaryClass="components-responses";constructor(e,t,s){super(e,t,s),this.classes.push(Xa.primaryClass)}}const Ya=Xa;class Za extends(Cr(Io,co)){constructor(e){super(e),this.element=new Ya,this.specPath=e=>ho(e)?["document","objects","Reference"]:["document","objects","Response"]}ObjectElement(e){const t=Io.prototype.ObjectElement.call(this,e);return this.element.filter(gc).forEach((e=>{e.setMetaProperty("referenced-element","response")})),this.element.filter(Ec).forEach(((e,t)=>{e.setMetaProperty("http-status-code",rr(t))})),t}}const Qa=Za;class el extends o.Sh{static primaryClass="components-parameters";constructor(e,t,s){super(e,t,s),this.classes.push(el.primaryClass),this.classes.push("parameters")}}const tl=el;class sl extends(Cr(Io,co)){constructor(e){super(e),this.element=new tl,this.specPath=e=>ho(e)?["document","objects","Reference"]:["document","objects","Parameter"]}ObjectElement(e){const t=Io.prototype.ObjectElement.call(this,e);return this.element.filter(gc).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}const nl=sl;class rl extends o.Sh{static primaryClass="components-examples";constructor(e,t,s){super(e,t,s),this.classes.push(rl.primaryClass),this.classes.push("examples")}}const il=rl;class ol extends(Cr(Io,co)){constructor(e){super(e),this.element=new il,this.specPath=e=>ho(e)?["document","objects","Reference"]:["document","objects","Example"]}ObjectElement(e){const t=Io.prototype.ObjectElement.call(this,e);return this.element.filter(gc).forEach((e=>{e.setMetaProperty("referenced-element","example")})),t}}const cl=ol;class al extends o.Sh{static primaryClass="components-request-bodies";constructor(e,t,s){super(e,t,s),this.classes.push(al.primaryClass)}}const ll=al;class ul extends(Cr(Io,co)){constructor(e){super(e),this.element=new ll,this.specPath=e=>ho(e)?["document","objects","Reference"]:["document","objects","RequestBody"]}ObjectElement(e){const t=Io.prototype.ObjectElement.call(this,e);return this.element.filter(gc).forEach((e=>{e.setMetaProperty("referenced-element","requestBody")})),t}}const pl=ul;class ml extends o.Sh{static primaryClass="components-headers";constructor(e,t,s){super(e,t,s),this.classes.push(ml.primaryClass)}}const hl=ml;class dl extends(Cr(Io,co)){constructor(e){super(e),this.element=new hl,this.specPath=e=>ho(e)?["document","objects","Reference"]:["document","objects","Header"]}ObjectElement(e){const t=Io.prototype.ObjectElement.call(this,e);return this.element.filter(gc).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.filter(ac).forEach(((e,t)=>{e.setMetaProperty("header-name",rr(t))})),t}}const fl=dl;class vl extends o.Sh{static primaryClass="components-security-schemes";constructor(e,t,s){super(e,t,s),this.classes.push(vl.primaryClass)}}const yl=vl;class gl extends(Cr(Io,co)){constructor(e){super(e),this.element=new yl,this.specPath=e=>ho(e)?["document","objects","Reference"]:["document","objects","SecurityScheme"]}ObjectElement(e){const t=Io.prototype.ObjectElement.call(this,e);return this.element.filter(gc).forEach((e=>{e.setMetaProperty("referenced-element","securityScheme")})),t}}const bl=gl;class El extends o.Sh{static primaryClass="components-links";constructor(e,t,s){super(e,t,s),this.classes.push(El.primaryClass)}}const xl=El;class jl extends(Cr(Io,co)){constructor(e){super(e),this.element=new xl,this.specPath=e=>ho(e)?["document","objects","Reference"]:["document","objects","Link"]}ObjectElement(e){const t=Io.prototype.ObjectElement.call(this,e);return this.element.filter(gc).forEach((e=>{e.setMetaProperty("referenced-element","link")})),t}}const wl=jl;class Sl extends o.Sh{static primaryClass="components-callbacks";constructor(e,t,s){super(e,t,s),this.classes.push(Sl.primaryClass)}}const Ol=Sl;class Pl extends(Cr(Io,co)){constructor(e){super(e),this.element=new Ol,this.specPath=e=>ho(e)?["document","objects","Reference"]:["document","objects","Callback"]}ObjectElement(e){const t=Io.prototype.ObjectElement.call(this,e);return this.element.filter(gc).forEach((e=>{e.setMetaProperty("referenced-element","callback")})),t}}const $l=Pl;class Al extends(Cr(go,co)){constructor(e){super(e),this.element=new zs,this.specPath=U(["document","objects","Example"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const t=go.prototype.ObjectElement.call(this,e);return re(this.element.externalValue)&&this.element.classes.push("reference-element"),t}}const Fl=Al;const kl=class extends co{StringElement(e){const t=super.enter(e);return this.element.classes.push("reference-value"),t}};class Cl extends(Cr(go,co)){constructor(e){super(e),this.element=new Js,this.specPath=U(["document","objects","ExternalDocumentation"]),this.canSupportSpecificationExtensions=!0}}const Ml=Cl;class Rl extends(Cr(go,co)){constructor(e){super(e),this.element=new Ls,this.specPath=U(["document","objects","Encoding"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const t=go.prototype.ObjectElement.call(this,e);return ae(this.element.headers)&&this.element.headers.filter(ac).forEach(((e,t)=>{e.setMetaProperty("header-name",rr(t))})),t}}const Tl=Rl;class _l extends o.Sh{static primaryClass="encoding-headers";constructor(e,t,s){super(e,t,s),this.classes.push(_l.primaryClass)}}const Il=_l;class ql extends(Cr(Io,co)){constructor(e){super(e),this.element=new Il,this.specPath=e=>ho(e)?["document","objects","Reference"]:["document","objects","Header"]}ObjectElement(e){const t=Io.prototype.ObjectElement.call(this,e);return this.element.filter(gc).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.forEach(((e,t)=>{if(!ac(e))return;const s=rr(t);e.setMetaProperty("headerName",s)})),t}}const Bl=ql;class Nl extends(Cr(_o,co)){constructor(e){super(e),this.element=new gn,this.specPath=U(["document","objects","PathItem"]),this.canSupportSpecificationExtensions=!0,this.fieldPatternPredicate=Yn}ObjectElement(e){const t=_o.prototype.ObjectElement.call(this,e);return this.element.filter(vc).forEach(((e,t)=>{t.classes.push("openapi-path-template"),t.classes.push("path-template"),e.setMetaProperty("path",bs(t))})),t}}const Dl=Nl;class Ll extends(Cr(go,co)){constructor(e){super(e),this.element=new jn,this.specPath=U(["document","objects","RequestBody"])}ObjectElement(e){const t=go.prototype.ObjectElement.call(this,e);return ae(this.element.contentProp)&&this.element.contentProp.filter(Ac).forEach(((e,t)=>{e.setMetaProperty("media-type",rr(t))})),t}}const Vl=Ll;class zl extends o.Sh{static primaryClass="request-body-content";constructor(e,t,s){super(e,t,s),this.classes.push(zl.primaryClass),this.classes.push("content")}}const Ul=zl;const Jl=class extends ma{constructor(e){super(e),this.element=new Ul}};class Gl extends(Cr(_o,co)){constructor(e){super(e),this.element=new Rs,this.specPath=U(["document","objects","PathItem"]),this.canSupportSpecificationExtensions=!0,this.fieldPatternPredicate=e=>/{(?[^}]{1,2083})}/.test(String(e))}ObjectElement(e){const t=Io.prototype.ObjectElement.call(this,e);return this.element.filter(vc).forEach(((e,t)=>{e.setMetaProperty("runtime-expression",rr(t))})),t}}const Hl=Gl;class Kl extends(Cr(go,co)){constructor(e){super(e),this.element=new Sn,this.specPath=U(["document","objects","Response"])}ObjectElement(e){const t=go.prototype.ObjectElement.call(this,e);return ae(this.element.contentProp)&&this.element.contentProp.filter(Ac).forEach(((e,t)=>{e.setMetaProperty("media-type",rr(t))})),ae(this.element.headers)&&this.element.headers.filter(ac).forEach(((e,t)=>{e.setMetaProperty("header-name",rr(t))})),t}}const Wl=Kl;class Xl extends o.Sh{static primaryClass="response-headers";constructor(e,t,s){super(e,t,s),this.classes.push(Xl.primaryClass)}}const Yl=Xl;class Zl extends(Cr(Io,co)){constructor(e){super(e),this.element=new Yl,this.specPath=e=>ho(e)?["document","objects","Reference"]:["document","objects","Header"]}ObjectElement(e){const t=Io.prototype.ObjectElement.call(this,e);return this.element.filter(gc).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.forEach(((e,t)=>{if(!ac(e))return;const s=rr(t);e.setMetaProperty("header-name",s)})),t}}const Ql=Zl;class eu extends o.Sh{static primaryClass="response-content";constructor(e,t,s){super(e,t,s),this.classes.push(eu.primaryClass),this.classes.push("content")}}const tu=eu;const su=class extends ma{constructor(e){super(e),this.element=new tu}};class nu extends o.Sh{static primaryClass="response-links";constructor(e,t,s){super(e,t,s),this.classes.push(nu.primaryClass)}}const ru=nu;class iu extends(Cr(Io,co)){constructor(e){super(e),this.element=new ru,this.specPath=e=>ho(e)?["document","objects","Reference"]:["document","objects","Link"]}ObjectElement(e){const t=Io.prototype.ObjectElement.call(this,e);return this.element.filter(gc).forEach((e=>{e.setMetaProperty("referenced-element","link")})),t}}const ou=iu;function cu(e){return"[object Number]"===Object.prototype.toString.call(e)}const au=l((function(e,t){if(!cu(e)||!cu(t))throw new TypeError("Both arguments to range must be numbers");for(var s=Array(eho(e)?["document","objects","Reference"]:["document","objects","Response"],this.fieldPatternPredicate=e=>new RegExp(`^(1XX|2XX|3XX|4XX|5XX|${au(100,600).join("|")})$`).test(String(e))}ObjectElement(e){const t=hu.prototype.ObjectElement.call(this,e);return this.element.filter(gc).forEach((e=>{e.setMetaProperty("referenced-element","response")})),this.element.filter(Ec).forEach(((e,t)=>{const s=bs(t);this.fieldPatternPredicate(rr(s))&&e.setMetaProperty("http-status-code",s)})),t}}const fu=du;class vu extends(Cr(sc,co)){constructor(e){super(e),this.alternator=[{predicate:ho,specPath:["document","objects","Reference"]},{predicate:Yn,specPath:["document","objects","Response"]}]}ObjectElement(e){const t=sc.prototype.enter.call(this,e);return gc(this.element)?this.element.setMetaProperty("referenced-element","response"):Ec(this.element)&&this.element.setMetaProperty("http-status-code","default"),t}}const yu=vu;class gu extends(Cr(go,co)){constructor(e){super(e),this.element=new mn,this.specPath=U(["document","objects","Operation"])}}const bu=gu;class Eu extends o.wE{static primaryClass="operation-tags";constructor(e,t,s){super(e,t,s),this.classes.push(Eu.primaryClass)}}const xu=Eu;const ju=class extends co{constructor(e){super(e),this.element=new xu}ArrayElement(e){return this.element=this.element.concat(bs(e)),us}};class wu extends o.wE{static primaryClass="operation-parameters";constructor(e,t,s){super(e,t,s),this.classes.push(wu.primaryClass),this.classes.push("parameters")}}const Su=wu;class Ou extends(Cr(ao,co)){constructor(e){super(e),this.element=new o.wE,this.element.classes.push("parameters")}ArrayElement(e){return e.forEach((e=>{const t=ho(e)?["document","objects","Reference"]:["document","objects","Parameter"],s=this.toRefractedElement(t,e);gc(s)&&s.setMetaProperty("referenced-element","parameter"),this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),us}}const Pu=Ou;const $u=class extends Pu{constructor(e){super(e),this.element=new Su}};const Au=class extends sc{constructor(e){super(e),this.alternator=[{predicate:ho,specPath:["document","objects","Reference"]},{predicate:Yn,specPath:["document","objects","RequestBody"]}]}ObjectElement(e){const t=sc.prototype.enter.call(this,e);return gc(this.element)&&this.element.setMetaProperty("referenced-element","requestBody"),t}};class Fu extends o.Sh{static primaryClass="operation-callbacks";constructor(e,t,s){super(e,t,s),this.classes.push(Fu.primaryClass)}}const ku=Fu;class Cu extends(Cr(Io,co)){specPath;constructor(e){super(e),this.element=new ku,this.specPath=e=>ho(e)?["document","objects","Reference"]:["document","objects","Callback"]}ObjectElement(e){const t=Io.prototype.ObjectElement.call(this,e);return this.element.filter(gc).forEach((e=>{e.setMetaProperty("referenced-element","callback")})),t}}const Mu=Cu;class Ru extends o.wE{static primaryClass="operation-security";constructor(e,t,s){super(e,t,s),this.classes.push(Ru.primaryClass),this.classes.push("security")}}const Tu=Ru;class _u extends(Cr(ao,co)){constructor(e){super(e),this.element=new Tu}ArrayElement(e){return e.forEach((e=>{const t=ae(e)?["document","objects","SecurityRequirement"]:["value"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),us}}const Iu=_u;class qu extends o.wE{static primaryClass="operation-servers";constructor(e,t,s){super(e,t,s),this.classes.push(qu.primaryClass),this.classes.push("servers")}}const Bu=qu;const Nu=class extends Ho{constructor(e){super(e),this.element=new Bu}};class Du extends(Cr(go,co)){constructor(e){super(e),this.element=new vn,this.specPath=U(["document","objects","PathItem"])}ObjectElement(e){const t=go.prototype.ObjectElement.call(this,e);return this.element.filter(dc).forEach(((e,t)=>{const s=bs(t);s.content=rr(s).toUpperCase(),e.setMetaProperty("http-method",s)})),re(this.element.$ref)&&this.element.classes.push("reference-element"),t}}const Lu=Du;const Vu=class extends co{StringElement(e){const t=super.enter(e);return this.element.classes.push("reference-value"),t}};class zu extends o.wE{static primaryClass="path-item-servers";constructor(e,t,s){super(e,t,s),this.classes.push(zu.primaryClass),this.classes.push("servers")}}const Uu=zu;const Ju=class extends Ho{constructor(e){super(e),this.element=new Uu}};class Gu extends o.wE{static primaryClass="path-item-parameters";constructor(e,t,s){super(e,t,s),this.classes.push(Gu.primaryClass),this.classes.push("parameters")}}const Hu=Gu;const Ku=class extends Pu{constructor(e){super(e),this.element=new Hu}};class Wu extends(Cr(go,co)){constructor(e){super(e),this.element=new Yi,this.specPath=U(["document","objects","SecurityScheme"]),this.canSupportSpecificationExtensions=!0}}const Xu=Wu;class Yu extends(Cr(go,co)){constructor(e){super(e),this.element=new on,this.specPath=U(["document","objects","OAuthFlows"]),this.canSupportSpecificationExtensions=!0}}const Zu=Yu;class Qu extends(Cr(go,co)){constructor(e){super(e),this.element=new nn,this.specPath=U(["document","objects","OAuthFlow"]),this.canSupportSpecificationExtensions=!0}}const ep=Qu;class tp extends o.Sh{static primaryClass="oauth-flow-scopes";constructor(e,t,s){super(e,t,s),this.classes.push(tp.primaryClass)}}const sp=tp;class np extends(Cr(Io,co)){constructor(e){super(e),this.element=new sp,this.specPath=U(["value"])}}const rp=np;class ip extends o.wE{static primaryClass="tags";constructor(e,t,s){super(e,t,s),this.classes.push(ip.primaryClass)}}const op=ip;class cp extends(Cr(ao,co)){constructor(e){super(e),this.element=new op}ArrayElement(e){return e.forEach((e=>{const t=vo(e)?["document","objects","Tag"]:["value"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),us}}const ap=cp,{fixedFields:lp}=Ii.visitors.document.objects.JSONSchema,up={visitors:{value:co,document:{objects:{OpenApi:{$visitor:Eo,fixedFields:{openapi:jo,info:{$ref:"#/visitors/document/objects/Info"},servers:Ho,paths:{$ref:"#/visitors/document/objects/Paths"},components:{$ref:"#/visitors/document/objects/Components"},security:Gc,tags:ap,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:Oo,fixedFields:{title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},termsOfService:{$ref:"#/visitors/value"},contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"},version:Po}},Contact:{$visitor:Ao,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"},email:{$ref:"#/visitors/value"}}},License:{$visitor:ko,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Server:{$visitor:Vo,fixedFields:{url:zo,description:{$ref:"#/visitors/value"},variables:Qo}},ServerVariable:{$visitor:Wo,fixedFields:{enum:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"}}},Components:{$visitor:Kc,fixedFields:{schemas:Wa,responses:Qa,parameters:nl,examples:cl,requestBodies:pl,headers:fl,securitySchemes:bl,links:wl,callbacks:$l}},Paths:{$visitor:Dl},PathItem:{$visitor:Lu,fixedFields:{$ref:Vu,summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},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"},trace:{$ref:"#/visitors/document/objects/Operation"},servers:Ju,parameters:Ku}},Operation:{$visitor:bu,fixedFields:{tags:ju,summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:{$ref:"#/visitors/value"},parameters:$u,requestBody:Au,responses:{$ref:"#/visitors/document/objects/Responses"},callbacks:Mu,deprecated:{$ref:"#/visitors/value"},security:Iu,servers:Nu}},ExternalDocumentation:{$visitor:Ml,fixedFields:{description:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Parameter:{$visitor:ta,fixedFields:{name:{$ref:"#/visitors/value"},in:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},required:{$ref:"#/visitors/value"},deprecated:{$ref:"#/visitors/value"},allowEmptyValue:{$ref:"#/visitors/value"},style:{$ref:"#/visitors/value"},explode:{$ref:"#/visitors/value"},allowReserved:{$ref:"#/visitors/value"},schema:na,example:{$ref:"#/visitors/value"},examples:Va,content:Ja}},RequestBody:{$visitor:Vl,fixedFields:{description:{$ref:"#/visitors/value"},content:Jl,required:{$ref:"#/visitors/value"}}},MediaType:{$visitor:tc,fixedFields:{schema:Cc,example:{$ref:"#/visitors/value"},examples:Ic,encoding:Dc}},Encoding:{$visitor:Tl,fixedFields:{contentType:{$ref:"#/visitors/value"},headers:Bl,style:{$ref:"#/visitors/value"},explode:{$ref:"#/visitors/value"},allowReserved:{$ref:"#/visitors/value"}}},Responses:{$visitor:fu,fixedFields:{default:yu}},Response:{$visitor:Wl,fixedFields:{description:{$ref:"#/visitors/value"},headers:Ql,content:su,links:ou}},Callback:{$visitor:Hl},Example:{$visitor:Fl,fixedFields:{summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},value:{$ref:"#/visitors/value"},externalValue:kl}},Link:{$visitor:Mo,fixedFields:{operationRef:Ro,operationId:To,parameters:Do,requestBody:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},server:{$ref:"#/visitors/document/objects/Server"}}},Header:{$visitor:ia,fixedFields:{description:{$ref:"#/visitors/value"},required:{$ref:"#/visitors/value"},deprecated:{$ref:"#/visitors/value"},allowEmptyValue:{$ref:"#/visitors/value"},style:{$ref:"#/visitors/value"},explode:{$ref:"#/visitors/value"},allowReserved:{$ref:"#/visitors/value"},schema:ca,example:{$ref:"#/visitors/value"},examples:ua,content:fa}},Tag:{$visitor:Xc,fixedFields:{name:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Reference:{$visitor:Zc,fixedFields:{$ref:Qc}},JSONSchema:{$ref:"#/visitors/document/objects/Schema"},JSONReference:{$ref:"#/visitors/document/objects/Reference"},Schema:{$visitor:ya,fixedFields:{title:lp.title,multipleOf:lp.multipleOf,maximum:lp.maximum,exclusiveMaximum:lp.exclusiveMaximum,minimum:lp.minimum,exclusiveMinimum:lp.exclusiveMinimum,maxLength:lp.maxLength,minLength:lp.minLength,pattern:lp.pattern,maxItems:lp.maxItems,minItems:lp.minItems,uniqueItems:lp.uniqueItems,maxProperties:lp.maxProperties,minProperties:lp.minProperties,required:lp.required,enum:lp.enum,type:Fa,allOf:ba,anyOf:xa,oneOf:wa,not:Ca,items:Oa,properties:$a,additionalProperties:Ca,description:lp.description,format:lp.format,default:lp.default,nullable:{$ref:"#/visitors/value"},discriminator:{$ref:"#/visitors/document/objects/Discriminator"},writeOnly:{$ref:"#/visitors/value"},xml:{$ref:"#/visitors/document/objects/XML"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},example:{$ref:"#/visitors/value"},deprecated:{$ref:"#/visitors/value"}}},Discriminator:{$visitor:Ra,fixedFields:{propertyName:{$ref:"#/visitors/value"},mapping:qa}},XML:{$visitor:Na,fixedFields:{name:{$ref:"#/visitors/value"},namespace:{$ref:"#/visitors/value"},prefix:{$ref:"#/visitors/value"},attribute:{$ref:"#/visitors/value"},wrapped:{$ref:"#/visitors/value"}}},SecurityScheme:{$visitor:Xu,fixedFields:{type:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},in:{$ref:"#/visitors/value"},scheme:{$ref:"#/visitors/value"},bearerFormat:{$ref:"#/visitors/value"},flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:{$ref:"#/visitors/value"}}},OAuthFlows:{$visitor:Zu,fixedFields:{implicit:{$ref:"#/visitors/document/objects/OAuthFlow"},password:{$ref:"#/visitors/document/objects/OAuthFlow"},clientCredentials:{$ref:"#/visitors/document/objects/OAuthFlow"},authorizationCode:{$ref:"#/visitors/document/objects/OAuthFlow"}}},OAuthFlow:{$visitor:ep,fixedFields:{authorizationUrl:{$ref:"#/visitors/value"},tokenUrl:{$ref:"#/visitors/value"},refreshUrl:{$ref:"#/visitors/value"},scopes:rp}},SecurityRequirement:{$visitor:Vc}},extension:{$visitor:wo}}}},pp=e=>{if(ne(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},mp={CallbackElement:["content"],ComponentsElement:["content"],ContactElement:["content"],DiscriminatorElement:["content"],Encoding:["content"],Example:["content"],ExternalDocumentationElement:["content"],HeaderElement:["content"],InfoElement:["content"],LicenseElement:["content"],MediaTypeElement:["content"],OAuthFlowElement:["content"],OAuthFlowsElement:["content"],OpenApi3_0Element:["content"],OperationElement:["content"],ParameterElement:["content"],PathItemElement:["content"],PathsElement:["content"],ReferenceElement:["content"],RequestBodyElement:["content"],ResponseElement:["content"],ResponsesElement:["content"],SchemaElement:["content"],SecurityRequirementElement:["content"],SecuritySchemeElement:["content"],ServerElement:["content"],ServerVariableElement:["content"],TagElement:["content"],...Ps},hp={namespace:e=>{const{base:t}=e;return t.register("callback",Rs),t.register("components",_s),t.register("contact",qs),t.register("discriminator",Ns),t.register("encoding",Ls),t.register("example",zs),t.register("externalDocumentation",Js),t.register("header",Hs),t.register("info",Ws),t.register("license",Ys),t.register("link",Qs),t.register("mediaType",tn),t.register("oAuthFlow",nn),t.register("oAuthFlows",on),t.register("openapi",an),t.register("openApi3_0",un),t.register("operation",mn),t.register("parameter",dn),t.register("pathItem",vn),t.register("paths",gn),t.register("reference",En),t.register("requestBody",jn),t.register("response",Sn),t.register("responses",Pn),t.register("schema",Hi),t.register("securityRequirement",Wi),t.register("securityScheme",Yi),t.register("server",Qi),t.register("serverVariable",to),t.register("tag",no),t.register("xml",io),t}},dp=()=>{const e=rs(hp);return{predicates:{...r,isElement:ne,isStringElement:re,isArrayElement:le,isObjectElement:ae,isMemberElement:ue,includesClasses:Ee,hasElementSourceMap:ge},namespace:e}},fp=(e,{specPath:t=["visitors","document","objects","OpenApi","$visitor"],plugins:s=[]}={})=>{const n=(0,o.e)(e),r=Xn(up),i=new(ze(t,r))({specObj:r});return $s(n,i),Fs(i.element,s,{toolboxCreator:dp,visitorOptions:{keyMap:mp,nodeTypeGetter:pp}})},vp=e=>(t,s={})=>fp(t,{specPath:e,...s});Rs.refract=vp(["visitors","document","objects","Callback","$visitor"]),_s.refract=vp(["visitors","document","objects","Components","$visitor"]),qs.refract=vp(["visitors","document","objects","Contact","$visitor"]),zs.refract=vp(["visitors","document","objects","Example","$visitor"]),Ns.refract=vp(["visitors","document","objects","Discriminator","$visitor"]),Ls.refract=vp(["visitors","document","objects","Encoding","$visitor"]),Js.refract=vp(["visitors","document","objects","ExternalDocumentation","$visitor"]),Hs.refract=vp(["visitors","document","objects","Header","$visitor"]),Ws.refract=vp(["visitors","document","objects","Info","$visitor"]),Ys.refract=vp(["visitors","document","objects","License","$visitor"]),Qs.refract=vp(["visitors","document","objects","Link","$visitor"]),tn.refract=vp(["visitors","document","objects","MediaType","$visitor"]),nn.refract=vp(["visitors","document","objects","OAuthFlow","$visitor"]),on.refract=vp(["visitors","document","objects","OAuthFlows","$visitor"]),an.refract=vp(["visitors","document","objects","OpenApi","fixedFields","openapi"]),un.refract=vp(["visitors","document","objects","OpenApi","$visitor"]),mn.refract=vp(["visitors","document","objects","Operation","$visitor"]),dn.refract=vp(["visitors","document","objects","Parameter","$visitor"]),vn.refract=vp(["visitors","document","objects","PathItem","$visitor"]),gn.refract=vp(["visitors","document","objects","Paths","$visitor"]),En.refract=vp(["visitors","document","objects","Reference","$visitor"]),jn.refract=vp(["visitors","document","objects","RequestBody","$visitor"]),Sn.refract=vp(["visitors","document","objects","Response","$visitor"]),Pn.refract=vp(["visitors","document","objects","Responses","$visitor"]),Hi.refract=vp(["visitors","document","objects","Schema","$visitor"]),Wi.refract=vp(["visitors","document","objects","SecurityRequirement","$visitor"]),Yi.refract=vp(["visitors","document","objects","SecurityScheme","$visitor"]),Qi.refract=vp(["visitors","document","objects","Server","$visitor"]),to.refract=vp(["visitors","document","objects","ServerVariable","$visitor"]),no.refract=vp(["visitors","document","objects","Tag","$visitor"]),io.refract=vp(["visitors","document","objects","XML","$visitor"]);const yp=class extends Rs{};const gp=class extends _s{get pathItems(){return this.get("pathItems")}set pathItems(e){this.set("pathItems",e)}};const bp=class extends qs{};const Ep=class extends Ns{};const xp=class extends Ls{};const jp=class extends zs{};const wp=class extends Js{};const Sp=class extends Hs{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}};const Op=class extends Ws{get license(){return this.get("license")}set license(e){this.set("license",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}};class Pp extends o.Om{static default=new Pp("https://spec.openapis.org/oas/3.1/dialect/base");constructor(e,t,s){super(e,t,s),this.element="jsonSchemaDialect"}}const $p=Pp;const Ap=class extends Ys{get identifier(){return this.get("identifier")}set identifier(e){this.set("identifier",e)}};const Fp=class extends Qs{};const kp=class extends tn{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}};const Cp=class extends nn{};const Mp=class extends on{};const Rp=class extends an{};class Tp extends o.Sh{constructor(e,t,s){super(e,t,s),this.element="openApi3_1",this.classes.push("api")}get openapi(){return this.get("openapi")}set openapi(e){this.set("openapi",e)}get info(){return this.get("info")}set info(e){this.set("info",e)}get jsonSchemaDialect(){return this.get("jsonSchemaDialect")}set jsonSchemaDialect(e){this.set("jsonSchemaDialect",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get paths(){return this.get("paths")}set paths(e){this.set("paths",e)}get components(){return this.get("components")}set components(e){this.set("components",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)}get webhooks(){return this.get("webhooks")}set webhooks(e){this.set("webhooks",e)}}const _p=Tp;const Ip=class extends mn{get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}};const qp=class extends dn{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}};const Bp=class extends vn{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 TRACE(){return this.get("trace")}set TRACE(e){this.set("TRACE",e)}};const Np=class extends gn{};class Dp extends En{}Object.defineProperty(Dp.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0}),Object.defineProperty(Dp.prototype,"summary",{get(){return this.get("summary")},set(e){this.set("summary",e)},enumerable:!0});const Lp=Dp;const Vp=class extends jn{};const zp=class extends Sn{};const Up=class extends Pn{};class Jp extends o.Sh{constructor(e,t,s){super(e,t,s),this.element="schema"}get $schema(){return this.get("$schema")}set $schema(e){this.set("$schema",e)}get $vocabulary(){return this.get("$vocabulary")}set $vocabulary(e){this.set("$vocabulary",e)}get $id(){return this.get("$id")}set $id(e){this.set("$id",e)}get $anchor(){return this.get("$anchor")}set $anchor(e){this.set("$anchor",e)}get $dynamicAnchor(){return this.get("$dynamicAnchor")}set $dynamicAnchor(e){this.set("$dynamicAnchor",e)}get $dynamicRef(){return this.get("$dynamicRef")}set $dynamicRef(e){this.set("$dynamicRef",e)}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}get $defs(){return this.get("$defs")}set $defs(e){this.set("$defs",e)}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",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 if(){return this.get("if")}set if(e){this.set("if",e)}get then(){return this.get("then")}set then(e){this.set("then",e)}get else(){return this.get("else")}set else(e){this.set("else",e)}get dependentSchemas(){return this.get("dependentSchemas")}set dependentSchemas(e){this.set("dependentSchemas",e)}get prefixItems(){return this.get("prefixItems")}set prefixItems(e){this.set("prefixItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get containsProp(){return this.get("contains")}set containsProp(e){this.set("contains",e)}get properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get propertyNames(){return this.get("propertyNames")}set propertyNames(e){this.set("propertyNames",e)}get unevaluatedItems(){return this.get("unevaluatedItems")}set unevaluatedItems(e){this.set("unevaluatedItems",e)}get unevaluatedProperties(){return this.get("unevaluatedProperties")}set unevaluatedProperties(e){this.set("unevaluatedProperties",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get const(){return this.get("const")}set const(e){this.set("const",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 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 maxContains(){return this.get("maxContains")}set maxContains(e){this.set("maxContains",e)}get minContains(){return this.get("minContains")}set minContains(e){this.set("minContains",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 dependentRequired(){return this.get("dependentRequired")}set dependentRequired(e){this.set("dependentRequired",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 deprecated(){return this.get("deprecated")}set deprecated(e){this.set("deprecated",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}get writeOnly(){return this.get("writeOnly")}set writeOnly(e){this.set("writeOnly",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get format(){return this.get("format")}set format(e){this.set("format",e)}get contentEncoding(){return this.get("contentEncoding")}set contentEncoding(e){this.set("contentEncoding",e)}get contentMediaType(){return this.get("contentMediaType")}set contentMediaType(e){this.set("contentMediaType",e)}get contentSchema(){return this.get("contentSchema")}set contentSchema(e){this.set("contentSchema",e)}get discriminator(){return this.get("discriminator")}set discriminator(e){this.set("discriminator",e)}get xml(){return this.get("xml")}set xml(e){this.set("xml",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}}const Gp=Jp;const Hp=class extends Wi{};const Kp=class extends Yi{};const Wp=class extends Qi{};const Xp=class extends to{};const Yp=class extends no{};const Zp=class extends io{},Qp={namespace:e=>{const{base:t}=e;return t.register("callback",yp),t.register("components",gp),t.register("contact",bp),t.register("discriminator",Ep),t.register("encoding",xp),t.register("example",jp),t.register("externalDocumentation",wp),t.register("header",Sp),t.register("info",Op),t.register("jsonSchemaDialect",$p),t.register("license",Ap),t.register("link",Fp),t.register("mediaType",kp),t.register("oAuthFlow",Cp),t.register("oAuthFlows",Mp),t.register("openapi",Rp),t.register("openApi3_1",_p),t.register("operation",Ip),t.register("parameter",qp),t.register("pathItem",Bp),t.register("paths",Np),t.register("reference",Lp),t.register("requestBody",Vp),t.register("response",zp),t.register("responses",Up),t.register("schema",Gp),t.register("securityRequirement",Hp),t.register("securityScheme",Kp),t.register("server",Wp),t.register("serverVariable",Xp),t.register("tag",Yp),t.register("xml",Zp),t}};class em extends o.Sh{static primaryClass="components-path-items";constructor(e,t,s){super(e,t,s),this.classes.push(em.primaryClass)}}const tm=em;class sm extends o.Sh{static primaryClass="webhooks";constructor(e,t,s){super(e,t,s),this.classes.push(sm.primaryClass)}}const nm=sm,rm=e=>{if(ne(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},im={CallbackElement:["content"],ComponentsElement:["content"],ContactElement:["content"],DiscriminatorElement:["content"],Encoding:["content"],Example:["content"],ExternalDocumentationElement:["content"],HeaderElement:["content"],InfoElement:["content"],LicenseElement:["content"],MediaTypeElement:["content"],OAuthFlowElement:["content"],OAuthFlowsElement:["content"],OpenApi3_1Element:["content"],OperationElement:["content"],ParameterElement:["content"],PathItemElement:["content"],PathsElement:["content"],ReferenceElement:["content"],RequestBodyElement:["content"],ResponseElement:["content"],ResponsesElement:["content"],SchemaElement:["content"],SecurityRequirementElement:["content"],SecuritySchemeElement:["content"],ServerElement:["content"],ServerVariableElement:["content"],TagElement:["content"],...Ps},om={OpenApi3_1Element:{info:(...e)=>new Op(...e),servers:(...e)=>new Jo(...e),paths:(...e)=>new Np(...e),webhooks:(...e)=>new nm(...e),components:(...e)=>new gp(...e),security:(...e)=>new Uc(...e),tags:(...e)=>new op(...e),externalDocs:(...e)=>new wp(...e)},InfoElement:{contact:(...e)=>new bp(...e),license:(...e)=>new Ap(...e)},ServerElement:{variables:(...e)=>new Yo(...e)},ServerVariableElement:{enum:(...e)=>new o.wE(...e)},PathsElement:{"[key: *]":function(...e){return new Bp(...e)}},PathItemElement:{get:(...e)=>new Ip(...e),put:(...e)=>new Ip(...e),post:(...e)=>new Ip(...e),delete:(...e)=>new Ip(...e),options:(...e)=>new Ip(...e),head:(...e)=>new Ip(...e),patch:(...e)=>new Ip(...e),trace:(...e)=>new Ip(...e),servers:(...e)=>new Uu(...e),parameters:(...e)=>new Hu(...e)},OperationElement:{tags:(...e)=>new xu(...e),externalDocs:(...e)=>new wp(...e),parameters:(...e)=>new Su(...e),requestBody:(...e)=>new Vp(...e),responses:(...e)=>new Up(...e),callbacks:(...e)=>new ku(...e),security:(...e)=>new Tu(...e),servers:(...e)=>new Bu(...e)},ParameterElement:{schema:(...e)=>new Gp(...e),examples:(...e)=>new La(...e),content:(...e)=>new Ua(...e)},RequestBodyElement:{content:(...e)=>new Ul(...e)},MediaTypeElement:{schema:(...e)=>new Gp(...e),examples:(...e)=>new _c(...e),encoding:(...e)=>new Bc(...e)},EncodingElement:{headers:(...e)=>new Il(...e)},ResponsesElement:{"[key: *]":function(...e){return new zp(...e)}},ResponseElement:{headers:(...e)=>new Yl(...e),content:(...e)=>new tu(...e),links:(...e)=>new ru(...e)},CallbackElement:{"[key: *]":function(...e){return new Bp(...e)}},LinkElement:{server:(...e)=>new Wp(...e)},HeaderElement:{schema:(...e)=>new Gp(...e),examples:(...e)=>new la(...e),content:(...e)=>new da(...e)},ComponentsElement:{schemas:(...e)=>new Ha(...e),responses:(...e)=>new Ya(...e),parameters:(...e)=>new tl(...e),examples:(...e)=>new il(...e),requestBodies:(...e)=>new ll(...e),headers:(...e)=>new hl(...e),securitySchemes:(...e)=>new yl(...e),links:(...e)=>new xl(...e),callbacks:(...e)=>new Ol(...e),pathItems:(...e)=>new tm(...e)},SecurityRequirementElement:{"[key: *]":function(...e){return new o.wE(...e)}},TagElement:{externalDocs:(...e)=>new wp(...e)},SchemaElement:{$vocabulary(...e){const t=new o.Sh(...e);return t.classes.push("json-schema-$vocabulary"),t},$defs(...e){const t=new o.Sh(...e);return t.classes.push("json-schema-$defs"),t},allOf(...e){const t=new o.wE(...e);return t.classes.push("json-schema-allOf"),t},anyOf(...e){const t=new o.wE(...e);return t.classes.push("json-schema-anyOf"),t},oneOf(...e){const t=new o.wE(...e);return t.classes.push("json-schema-oneOf"),t},not:(...e)=>new Gp(...e),if:(...e)=>new Gp(...e),then:(...e)=>new Gp(...e),else:(...e)=>new Gp(...e),dependentSchemas(...e){const t=new o.Sh(...e);return t.classes.push("json-schema-dependentSchemas"),t},prefixItems(...e){const t=new o.wE(...e);return t.classes.push("json-schema-prefixItems"),t},items:(...e)=>new Gp(...e),contains:(...e)=>new Gp(...e),properties(...e){const t=new o.Sh(...e);return t.classes.push("json-schema-properties"),t},patternProperties(...e){const t=new o.Sh(...e);return t.classes.push("json-schema-patternProperties"),t},additionalProperties:(...e)=>new Gp(...e),propertyNames:(...e)=>new Gp(...e),unevaluatedItems:(...e)=>new Gp(...e),unevaluatedProperties:(...e)=>new Gp(...e),type(...e){const t=new o.wE(...e);return t.classes.push("json-schema-type"),t},enum(...e){const t=new o.wE(...e);return t.classes.push("json-schema-enum"),t},required(...e){const t=new o.wE(...e);return t.classes.push("json-schema-required"),t},dependentRequired(...e){const t=new o.Sh(...e);return t.classes.push("json-schema-dependentRequired"),t},examples(...e){const t=new o.wE(...e);return t.classes.push("json-schema-examples"),t},contentSchema:(...e)=>new Gp(...e),discriminator:(...e)=>new Ep(...e),xml:(...e)=>new Zp(...e),externalDocs:(...e)=>new wp(...e)},DiscriminatorElement:{mapping:(...e)=>new _a(...e)},SecuritySchemeElement:{flows:(...e)=>new Mp(...e)},OAuthFlowsElement:{implicit:(...e)=>new Cp(...e),password:(...e)=>new Cp(...e),clientCredentials:(...e)=>new Cp(...e),authorizationCode:(...e)=>new Cp(...e)},OAuthFlowElement:{scopes:(...e)=>new sp(...e)},[nm.primaryClass]:{"[key: *]":function(...e){return new Bp(...e)}},[Yo.primaryClass]:{"[key: *]":function(...e){return new Xp(...e)}},[Ha.primaryClass]:{"[key: *]":function(...e){return new Gp(...e)}},[Ya.primaryClass]:{"[key: *]":function(...e){return new zp(...e)}},[tl.primaryClass]:{"[key: *]":function(...e){return new qp(...e)}},[il.primaryClass]:{"[key: *]":function(...e){return new jp(...e)}},[ll.primaryClass]:{"[key: *]":function(...e){return new Vp(...e)}},[hl.primaryClass]:{"[key: *]":function(...e){return new Sp(...e)}},[yl.primaryClass]:{"[key: *]":function(...e){return new Kp(...e)}},[xl.primaryClass]:{"[key: *]":function(...e){return new Fp(...e)}},[Ol.primaryClass]:{"[key: *]":function(...e){return new yp(...e)}},[tm.primaryClass]:{"[key: *]":function(...e){return new Bp(...e)}},[ku.primaryClass]:{"[key: *]":function(...e){return new yp(...e)}},[La.primaryClass]:{"[key: *]":function(...e){return new jp(...e)}},[Ua.primaryClass]:{"[key: *]":function(...e){return new kp(...e)}},[Ul.primaryClass]:{"[key: *]":function(...e){return new kp(...e)}},[_c.primaryClass]:{"[key: *]":function(...e){return new jp(...e)}},[Bc.primaryClass]:{"[key: *]":function(...e){return new xp(...e)}},[Il.primaryClass]:{"[key: *]":function(...e){return new Sp(...e)}},[Yl.primaryClass]:{"[key: *]":function(...e){return new Sp(...e)}},[tu.primaryClass]:{"[key: *]":function(...e){return new kp(...e)}},[ru.primaryClass]:{"[key: *]":function(...e){return new Fp(...e)}},"json-schema-$defs":{"[key: *]":function(...e){return new Gp(...e)}},"json-schema-dependentSchemas":{"[key: *]":function(...e){return new Gp(...e)}},"json-schema-properties":{"[key: *]":function(...e){return new Gp(...e)}},[Jo.primaryClass]:{"<*>":(...e)=>new Wp(...e)},[Uc.primaryClass]:{"<*>":function(...e){return new Hp(...e)}},[op.primaryClass]:{"<*>":function(...e){return new Yp(...e)}},[Uu.primaryClass]:{"<*>":function(...e){return new Wp(...e)}},[Hu.primaryClass]:{"<*>":function(...e){return new qp(...e)}},[Su.primaryClass]:{"<*>":function(...e){return new qp(...e)}},[Tu.primaryClass]:{"<*>":function(...e){return new Hp(...e)}},[Bu.primaryClass]:{"<*>":function(...e){return new Wp(...e)}},"json-schema-allOf":{"<*>":function(...e){return new Gp(...e)}},"json-schema-anyOf":{"<*>":function(...e){return new Gp(...e)}},"json-schema-oneOf":{"<*>":function(...e){return new Gp(...e)}},"json-schema-prefixItems":{"<*>":function(...e){return new Gp(...e)}}},cm=(e,t)=>{const s=rm(e),n=om[s]||om[rr(e.classes.first)];return void 0===n?void 0:Object.prototype.hasOwnProperty.call(n,"[key: *]")?n["[key: *]"]:n[t]},am=()=>({predicates:e})=>({visitor:{StringElement(t,s,n,r,i){if(!(t=>e.isStringElement(t)&&e.includesClasses(["yaml-e-node","yaml-e-scalar"],t))(t))return;const o=[...i,n].filter(e.isElement),c=o[o.length-1];let a,l;return e.isArrayElement(c)?(l=t,a=cm(c,"<*>")):e.isMemberElement(c)&&(l=o[o.length-2],a=cm(l,rr(c.key))),"function"==typeof a?a.call({context:l},void 0,bs(t.meta),bs(t.attributes)):void 0}}});const lm=Re((function(e,t,s){return Be(e,Ve(t,s))}));var um=function(){function e(e,t){this.xf=t,this.pred=e,this.items=[]}return e.prototype["@@transducer/init"]=h,e.prototype["@@transducer/result"]=d,e.prototype["@@transducer/step"]=function(e,t){return w(this.pred,t,this.items)?e:(this.items.push(t),this.xf["@@transducer/step"](e,t))},e}();function pm(e){return function(t){return new um(e,t)}}const mm=l(p([],pm,(function(e,t){for(var s,n=0,r=t.length,i=[];nt=>{const{predicates:s,ancestorLineageToJSONPointer:n}=t,r=(e,t)=>!!s.isParameterElement(e)&&(!!s.isParameterElement(t)&&(!!s.isStringElement(e.name)&&(!!s.isStringElement(e.in)&&(!!s.isStringElement(t.name)&&(!!s.isStringElement(t.in)&&(rr(e.name)===rr(t.name)&&rr(e.in)===rr(t.in))))))),i=[];let o;return{visitor:{OpenApi3_1Element:{enter(t){o=new hm(t,e,"parameters")},leave(){o=void 0}},PathItemElement:{enter(e,t,n,r,o){if(o.some(s.isComponentsElement))return;const{parameters:c}=e;s.isArrayElement(c)?i.push([...c.content]):i.push([])},leave(){i.pop()}},OperationElement:{leave(e,t,s,c,a){const l=we(i);if(!Array.isArray(l)||0===l.length)return;const u=n([...a,s,e]);if(o.includes(u))return;const p=lm([],["parameters","content"],e),m=mm(r,[...p,...l]);e.parameters=new Su(m),o.append(u)}}}}},fm=({storageField:e="x-normalized"}={})=>t=>{const{predicates:s,ancestorLineageToJSONPointer:n}=t;let r,i;return{visitor:{OpenApi3_1Element:{enter(t){i=new hm(t,e,"security-requirements"),s.isArrayElement(t.security)&&(r=t.security)},leave(){i=void 0,r=void 0}},OperationElement:{leave(e,t,o,c,a){if(a.some(s.isComponentsElement))return;const l=n([...a,o,e]);if(i.includes(l))return;void 0===e.security&&void 0!==r&&(e.security=new Tu(r?.content),i.append(l))}}}}},vm=({storageField:e="x-normalized"}={})=>t=>{const{namespace:s,ancestorLineageToJSONPointer:n,predicates:r}=t;let i;return{visitor:{OpenApi3_1Element:{enter(t){const n=void 0===t.servers,o=r.isArrayElement(t.servers),c=o&&0===t.servers.length,a=s.elements.Server.refract({url:"/"});n||!o?t.servers=new Jo([a]):o&&c&&t.servers.push(a),i=new hm(t,e,"servers")},leave(){i=void 0}},PathItemElement(e,t,s,o,c){if(c.some(r.isComponentsElement))return;if(!c.some(r.isOpenApi3_1Element))return;const a=n([...c,s,e]);if(i.includes(a))return;const l=c.find(r.isOpenApi3_1Element),u=void 0===e.servers,p=r.isArrayElement(e.servers),m=p&&0===e.servers.length;if(r.isOpenApi3_1Element(l)){const t=l.servers?.content,s=t??[];u||!p?e.servers=new Uu(s):p&&m&&s.forEach((t=>{e.servers.push(t)})),i.append(a)}},OperationElement(e,t,s,o,c){if(c.some(r.isComponentsElement))return;if(!c.some(r.isOpenApi3_1Element))return;const a=n([...c,s,e]);if(i.includes(a))return;const l=[...c].reverse().find(r.isPathItemElement),u=void 0===e.servers,p=r.isArrayElement(e.servers),m=p&&0===e.servers.length;if(r.isPathItemElement(l)){const t=l.servers?.content,s=t??[];u||!p?e.servers=new Bu(s):p&&m&&s.forEach((t=>{e.servers.push(t)})),i.append(a)}}}}};function ym(e,t,s){if(s||(s=new gm),function(e){var t=typeof e;return null==e||"object"!=t&&"function"!=t}(e))return e;var n,r=function(n){var r=s.get(e);if(r)return r;for(var i in s.set(e,n),e)Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=t?ym(e[i],!0,s):e[i]);return n};switch(T(e)){case"Object":return r(Object.create(Object.getPrototypeOf(e)));case"Array":return r(Array(e.length));case"Date":return new Date(e.valueOf());case"RegExp":return n=e,new RegExp(n.source,n.flags?n.flags:(n.global?"g":"")+(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.sticky?"y":"")+(n.unicode?"u":"")+(n.dotAll?"s":""));case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":return e.slice();default:return e}}var gm=function(){function e(){this.map={},this.length=0}return e.prototype.set=function(e,t){var s=this.hash(e),n=this.map[s];n||(this.map[s]=n=[]),n.push([e,t]),this.length+=1},e.prototype.hash=function(e){var t=[];for(var s in e)t.push(Object.prototype.toString.call(e[s]));return t.join()},e.prototype.get=function(e){if(this.length<=180)for(var t in this.map)for(var s=this.map[t],n=0;ne.replace(/\s/g,""),wm=e=>e.replace(/\W/gi,"_"),Sm=(e,t,s)=>{const n=jm(e);return n.length>0?wm(n):((e,t)=>`${wm(jm(t.toLowerCase()))}${wm(jm(e))}`)(t,s)},Om=({storageField:e="x-normalized",operationIdNormalizer:t=Sm}={})=>s=>{const{predicates:n,ancestorLineageToJSONPointer:r,namespace:i}=s,o=[],c=[],a=[];let l;return{visitor:{OpenApi3_1Element:{enter(t){l=new hm(t,e,"operation-ids")},leave(){const e=xm((e=>rr(e.operationId)),c);Object.entries(e).forEach((([e,t])=>{Array.isArray(t)&&(t.length<=1||t.forEach(((t,s)=>{const n=`${e}${s+1}`;t.operationId=new i.elements.String(n)})))})),a.forEach((e=>{if(void 0===e.operationId)return;const t=String(rr(e.operationId)),s=c.find((e=>rr(e.meta.get("originalOperationId"))===t));void 0!==s&&(e.operationId=bs.safe(s.operationId),e.meta.set("originalOperationId",t),e.set("__originalOperationId",t))})),c.length=0,a.length=0,l=void 0}},PathItemElement:{enter(e){const t=Be("path",rr(e.meta.get("path")));o.push(t)},leave(){o.pop()}},OperationElement:{enter(e,s,n,a,u){if(void 0===e.operationId)return;const p=r([...u,n,e]);if(l.includes(p))return;const m=String(rr(e.operationId)),h=we(o),d=Be("method",rr(e.meta.get("http-method"))),f=t(m,h,d);m!==f&&(e.operationId=new i.elements.String(f),e.set("__originalOperationId",m),e.meta.set("originalOperationId",m),c.push(e),l.append(p))}},LinkElement:{leave(e){n.isLinkElement(e)&&void 0!==e.operationId&&a.push(e)}}}}},Pm=({storageField:e="x-normalized"}={})=>t=>{const{predicates:s,ancestorLineageToJSONPointer:n}=t;let r;return{visitor:{OpenApi3_1Element:{enter(t){r=new hm(t,e,"parameter-examples")},leave(){r=void 0}},ParameterElement:{leave(e,t,i,o,c){if(c.some(s.isComponentsElement))return;if(void 0===e.schema||!s.isSchemaElement(e.schema))return;if(void 0===e.schema?.example&&void 0===e.schema?.examples)return;const a=n([...c,i,e]);if(!r.includes(a)){if(void 0!==e.examples&&s.isObjectElement(e.examples)){const t=e.examples.map((e=>bs.safe(e.value)));return void 0!==e.schema.examples&&(e.schema.set("examples",t),r.append(a)),void(void 0!==e.schema.example&&(e.schema.set("example",t[0]),r.append(a)))}void 0!==e.example&&(void 0!==e.schema.examples&&(e.schema.set("examples",[bs(e.example)]),r.append(a)),void 0!==e.schema.example&&(e.schema.set("example",bs(e.example)),r.append(a)))}}}}}},$m=({storageField:e="x-normalized"}={})=>t=>{const{predicates:s,ancestorLineageToJSONPointer:n}=t;let r;return{visitor:{OpenApi3_1Element:{enter(t){r=new hm(t,e,"header-examples")},leave(){r=void 0}},HeaderElement:{leave(e,t,i,o,c){if(c.some(s.isComponentsElement))return;if(void 0===e.schema||!s.isSchemaElement(e.schema))return;if(void 0===e.schema?.example&&void 0===e.schema?.examples)return;const a=n([...c,i,e]);if(!r.includes(a)){if(void 0!==e.examples&&s.isObjectElement(e.examples)){const t=e.examples.map((e=>bs.safe(e.value)));return void 0!==e.schema.examples&&(e.schema.set("examples",t),r.append(a)),void(void 0!==e.schema.example&&(e.schema.set("example",t[0]),r.append(a)))}void 0!==e.example&&(void 0!==e.schema.examples&&(e.schema.set("examples",[bs(e.example)]),r.append(a)),void 0!==e.schema.example&&(e.schema.set("example",bs(e.example)),r.append(a)))}}}}}};const Am=Re((function(e,t,s){return s.replace(e,t)})),Fm=kt(Am(/~/g,"~0"),Am(/\//g,"~1"),encodeURIComponent);const km=class extends as{};const Cm=class extends km{tokens;constructor(e,t){super(e,t),void 0!==t&&(this.tokens=[...t.tokens])}},Mm=e=>{try{return 0===e.length?"":`/${e.map(Fm).join("/")}`}catch(t){throw new Cm("JSON Pointer compilation of tokens encountered an error.",{tokens:e,cause:t})}},Rm=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof yp||e(n)&&t("callback",n)&&s("object",n))),Tm=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof gp||e(n)&&t("components",n)&&s("object",n))),_m=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof bp||e(n)&&t("contact",n)&&s("object",n))),Im=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof jp||e(n)&&t("example",n)&&s("object",n))),qm=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof wp||e(n)&&t("externalDocumentation",n)&&s("object",n))),Bm=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Sp||e(n)&&t("header",n)&&s("object",n))),Nm=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Op||e(n)&&t("info",n)&&s("object",n))),Dm=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof $p||e(n)&&t("jsonSchemaDialect",n)&&s("string",n))),Lm=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Ap||e(n)&&t("license",n)&&s("object",n))),Vm=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Fp||e(n)&&t("link",n)&&s("object",n))),zm=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Rp||e(n)&&t("openapi",n)&&s("string",n))),Um=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s,hasClass:n})=>r=>r instanceof _p||e(r)&&t("openApi3_1",r)&&s("object",r)&&n("api",r))),Jm=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Ip||e(n)&&t("operation",n)&&s("object",n))),Gm=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof qp||e(n)&&t("parameter",n)&&s("object",n))),Hm=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Bp||e(n)&&t("pathItem",n)&&s("object",n))),Km=e=>{if(!Hm(e))return!1;if(!re(e.$ref))return!1;const t=rr(e.$ref);return"string"==typeof t&&t.length>0&&!t.startsWith("#")},Wm=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Np||e(n)&&t("paths",n)&&s("object",n))),Xm=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Lp||e(n)&&t("reference",n)&&s("object",n))),Ym=e=>{if(!Xm(e))return!1;if(!re(e.$ref))return!1;const t=rr(e.$ref);return"string"==typeof t&&t.length>0&&!t.startsWith("#")},Zm=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Vp||e(n)&&t("requestBody",n)&&s("object",n))),Qm=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof zp||e(n)&&t("response",n)&&s("object",n))),eh=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Up||e(n)&&t("responses",n)&&s("object",n))),th=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Gp||e(n)&&t("schema",n)&&s("object",n))),sh=e=>ce(e)&&e.classes.includes("boolean-json-schema"),nh=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Hp||e(n)&&t("securityRequirement",n)&&s("object",n))),rh=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Kp||e(n)&&t("securityScheme",n)&&s("object",n))),ih=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Wp||e(n)&&t("server",n)&&s("object",n))),oh=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Xp||e(n)&&t("serverVariable",n)&&s("object",n))),ch=se((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof kp||e(n)&&t("mediaType",n)&&s("object",n))),ah=e=>{const t=e.reduce(((t,s,n)=>{if(ue(s)){const e=String(rr(s.key));t.push(e)}else if(le(e[n-2])){const r=String(e[n-2].content.indexOf(s));t.push(r)}return t}),[]);return Mm(t)},lh=()=>{const e=rs(Qp);return{predicates:{...i,isElement:ne,isStringElement:re,isArrayElement:le,isObjectElement:ae,isMemberElement:ue,isServersElement:Fc,includesClasses:Ee,hasElementSourceMap:ge},ancestorLineageToJSONPointer:ah,namespace:e}};class uh extends(Cr(go,co)){constructor(e){super(e),this.element=new _p,this.specPath=U(["document","objects","OpenApi"]),this.canSupportSpecificationExtensions=!0,this.openApiSemanticElement=this.element}ObjectElement(e){return this.openApiGenericElement=e,go.prototype.ObjectElement.call(this,e)}}const ph=uh,{visitors:{document:{objects:{Info:{$visitor:mh}}}}}=up;const hh=class extends mh{constructor(e){super(e),this.element=new Op}},{visitors:{document:{objects:{Contact:{$visitor:dh}}}}}=up;const fh=class extends dh{constructor(e){super(e),this.element=new bp}},{visitors:{document:{objects:{License:{$visitor:vh}}}}}=up;const yh=class extends vh{constructor(e){super(e),this.element=new Ap}},{visitors:{document:{objects:{Link:{$visitor:gh}}}}}=up;const bh=class extends gh{constructor(e){super(e),this.element=new Fp}};class Eh extends(Cr(ao,co)){StringElement(e){const t=new $p(rr(e));return this.copyMetaAndAttributes(e,t),this.element=t,us}}const xh=Eh,{visitors:{document:{objects:{Server:{$visitor:jh}}}}}=up;const wh=class extends jh{constructor(e){super(e),this.element=new Wp}},{visitors:{document:{objects:{ServerVariable:{$visitor:Sh}}}}}=up;const Oh=class extends Sh{constructor(e){super(e),this.element=new Xp}},{visitors:{document:{objects:{MediaType:{$visitor:Ph}}}}}=up;const $h=class extends Ph{constructor(e){super(e),this.element=new kp}},{visitors:{document:{objects:{SecurityRequirement:{$visitor:Ah}}}}}=up;const Fh=class extends Ah{constructor(e){super(e),this.element=new Hp}},{visitors:{document:{objects:{Components:{$visitor:kh}}}}}=up;const Ch=class extends kh{constructor(e){super(e),this.element=new gp}},{visitors:{document:{objects:{Tag:{$visitor:Mh}}}}}=up;const Rh=class extends Mh{constructor(e){super(e),this.element=new Yp}},{visitors:{document:{objects:{Reference:{$visitor:Th}}}}}=up;const _h=class extends Th{constructor(e){super(e),this.element=new Lp}},{visitors:{document:{objects:{Parameter:{$visitor:Ih}}}}}=up;const qh=class extends Ih{constructor(e){super(e),this.element=new qp}},{visitors:{document:{objects:{Header:{$visitor:Bh}}}}}=up;const Nh=class extends Bh{constructor(e){super(e),this.element=new Sp}};const Dh=class{parent;constructor({parent:e}){this.parent=e}};class Lh extends(Cr(go,Dh,co)){constructor(e){super(e),this.element=new Gp,this.specPath=U(["document","objects","Schema"]),this.canSupportSpecificationExtensions=!0,this.jsonSchemaDefaultDialect=$p.default,this.passingOptionsNames.push("parent")}ObjectElement(e){this.handle$schema(e),this.handle$id(e),this.parent=this.element;const t=go.prototype.ObjectElement.call(this,e);return re(this.element.$ref)&&(this.element.classes.push("reference-element"),this.element.setMetaProperty("referenced-element","schema")),t}BooleanElement(e){const t=super.enter(e);return this.element.classes.push("boolean-json-schema"),t}getJsonSchemaDialect(){let e;return e=void 0!==this.openApiSemanticElement&&Dm(this.openApiSemanticElement.jsonSchemaDialect)?rr(this.openApiSemanticElement.jsonSchemaDialect):void 0!==this.openApiGenericElement&&re(this.openApiGenericElement.get("jsonSchemaDialect"))?rr(this.openApiGenericElement.get("jsonSchemaDialect")):rr(this.jsonSchemaDefaultDialect),e}handle$schema(e){if(G(this.parent)&&!re(e.get("$schema")))this.element.setMetaProperty("inherited$schema",this.getJsonSchemaDialect());else if(th(this.parent)&&!re(e.get("$schema"))){const e=Be(rr(this.parent.meta.get("inherited$schema")),rr(this.parent.$schema));this.element.setMetaProperty("inherited$schema",e)}}handle$id(e){const t=void 0!==this.parent?bs(this.parent.getMetaProperty("inherited$id",[])):new o.wE,s=rr(e.get("$id"));Hr(s)&&t.push(s),this.element.setMetaProperty("inherited$id",t)}}const Vh=Lh;const zh=class extends co{ObjectElement(e){const t=super.enter(e);return this.element.classes.push("json-schema-$vocabulary"),t}};const Uh=class extends co{StringElement(e){const t=super.enter(e);return this.element.classes.push("reference-value"),t}};class Jh extends(Cr(Io,Dh,co)){constructor(e){super(e),this.element=new o.Sh,this.element.classes.push("json-schema-$defs"),this.specPath=U(["document","objects","Schema"]),this.passingOptionsNames.push("parent")}}const Gh=Jh;class Hh extends(Cr(ao,Dh,co)){constructor(e){super(e),this.element=new o.wE,this.element.classes.push("json-schema-allOf"),this.passingOptionsNames.push("parent")}ArrayElement(e){return e.forEach((e=>{if(ae(e)){const t=this.toRefractedElement(["document","objects","Schema"],e);this.element.push(t)}else{const t=bs(e);this.element.push(t)}})),this.copyMetaAndAttributes(e,this.element),us}}const Kh=Hh;class Wh extends(Cr(ao,Dh,co)){constructor(e){super(e),this.element=new o.wE,this.element.classes.push("json-schema-anyOf"),this.passingOptionsNames.push("parent")}ArrayElement(e){return e.forEach((e=>{if(ae(e)){const t=this.toRefractedElement(["document","objects","Schema"],e);this.element.push(t)}else{const t=bs(e);this.element.push(t)}})),this.copyMetaAndAttributes(e,this.element),us}}const Xh=Wh;class Yh extends(Cr(ao,Dh,co)){constructor(e){super(e),this.element=new o.wE,this.element.classes.push("json-schema-oneOf"),this.passingOptionsNames.push("parent")}ArrayElement(e){return e.forEach((e=>{if(ae(e)){const t=this.toRefractedElement(["document","objects","Schema"],e);this.element.push(t)}else{const t=bs(e);this.element.push(t)}})),this.copyMetaAndAttributes(e,this.element),us}}const Zh=Yh;class Qh extends(Cr(Io,Dh,co)){constructor(e){super(e),this.element=new o.Sh,this.element.classes.push("json-schema-dependentSchemas"),this.specPath=U(["document","objects","Schema"]),this.passingOptionsNames.push("parent")}}const ed=Qh;class td extends(Cr(ao,Dh,co)){constructor(e){super(e),this.element=new o.wE,this.element.classes.push("json-schema-prefixItems"),this.passingOptionsNames.push("parent")}ArrayElement(e){return e.forEach((e=>{if(ae(e)){const t=this.toRefractedElement(["document","objects","Schema"],e);this.element.push(t)}else{const t=bs(e);this.element.push(t)}})),this.copyMetaAndAttributes(e,this.element),us}}const sd=td;class nd extends(Cr(Io,Dh,co)){constructor(e){super(e),this.element=new o.Sh,this.element.classes.push("json-schema-properties"),this.specPath=U(["document","objects","Schema"]),this.passingOptionsNames.push("parent")}}const rd=nd;class id extends(Cr(Io,Dh,co)){constructor(e){super(e),this.element=new o.Sh,this.element.classes.push("json-schema-patternProperties"),this.specPath=U(["document","objects","Schema"]),this.passingOptionsNames.push("parent")}}const od=id;const cd=class extends co{StringElement(e){const t=super.enter(e);return this.element.classes.push("json-schema-type"),t}ArrayElement(e){const t=super.enter(e);return this.element.classes.push("json-schema-type"),t}};const ad=class extends co{ArrayElement(e){const t=super.enter(e);return this.element.classes.push("json-schema-enum"),t}};const ld=class extends co{ObjectElement(e){const t=super.enter(e);return this.element.classes.push("json-schema-dependentRequired"),t}};const ud=class extends co{ArrayElement(e){const t=super.enter(e);return this.element.classes.push("json-schema-examples"),t}},{visitors:{document:{objects:{Discriminator:{$visitor:pd}}}}}=up;const md=class extends pd{constructor(e){super(e),this.element=new Ep,this.canSupportSpecificationExtensions=!0}},{visitors:{document:{objects:{XML:{$visitor:hd}}}}}=up;const dd=class extends hd{constructor(e){super(e),this.element=new Zp}};class fd extends(Cr(Io,co)){constructor(e){super(e),this.element=new Ha,this.specPath=U(["document","objects","Schema"])}}const vd=fd;class yd extends(Cr(Io,co)){constructor(e){super(e),this.element=new tm,this.specPath=e=>ho(e)?["document","objects","Reference"]:["document","objects","PathItem"]}ObjectElement(e){const t=Io.prototype.ObjectElement.call(this,e);return this.element.filter(Xm).forEach((e=>{e.setMetaProperty("referenced-element","pathItem")})),t}}const gd=yd,{visitors:{document:{objects:{Example:{$visitor:bd}}}}}=up;const Ed=class extends bd{constructor(e){super(e),this.element=new jp}},{visitors:{document:{objects:{ExternalDocumentation:{$visitor:xd}}}}}=up;const jd=class extends xd{constructor(e){super(e),this.element=new wp}},{visitors:{document:{objects:{Encoding:{$visitor:wd}}}}}=up;const Sd=class extends wd{constructor(e){super(e),this.element=new xp}},{visitors:{document:{objects:{Paths:{$visitor:Od}}}}}=up;const Pd=class extends Od{constructor(e){super(e),this.element=new Np}},{visitors:{document:{objects:{RequestBody:{$visitor:$d}}}}}=up;const Ad=class extends $d{constructor(e){super(e),this.element=new Vp}},{visitors:{document:{objects:{Callback:{$visitor:Fd}}}}}=up;const kd=class extends Fd{constructor(e){super(e),this.element=new yp,this.specPath=e=>ho(e)?["document","objects","Reference"]:["document","objects","PathItem"]}ObjectElement(e){const t=Fd.prototype.ObjectElement.call(this,e);return this.element.filter(Xm).forEach((e=>{e.setMetaProperty("referenced-element","pathItem")})),t}},{visitors:{document:{objects:{Response:{$visitor:Cd}}}}}=up;const Md=class extends Cd{constructor(e){super(e),this.element=new zp}},{visitors:{document:{objects:{Responses:{$visitor:Rd}}}}}=up;const Td=class extends Rd{constructor(e){super(e),this.element=new Up}},{visitors:{document:{objects:{Operation:{$visitor:_d}}}}}=up;const Id=class extends _d{constructor(e){super(e),this.element=new Ip}},{visitors:{document:{objects:{PathItem:{$visitor:qd}}}}}=up;const Bd=class extends qd{constructor(e){super(e),this.element=new Bp}},{visitors:{document:{objects:{SecurityScheme:{$visitor:Nd}}}}}=up;const Dd=class extends Nd{constructor(e){super(e),this.element=new Kp}},{visitors:{document:{objects:{OAuthFlows:{$visitor:Ld}}}}}=up;const Vd=class extends Ld{constructor(e){super(e),this.element=new Mp}},{visitors:{document:{objects:{OAuthFlow:{$visitor:zd}}}}}=up;const Ud=class extends zd{constructor(e){super(e),this.element=new Cp}};class Jd extends(Cr(Io,co)){constructor(e){super(e),this.element=new nm,this.specPath=e=>ho(e)?["document","objects","Reference"]:["document","objects","PathItem"]}ObjectElement(e){const t=Io.prototype.ObjectElement.call(this,e);return this.element.filter(Xm).forEach((e=>{e.setMetaProperty("referenced-element","pathItem")})),this.element.filter(Hm).forEach(((e,t)=>{e.setMetaProperty("webhook-name",rr(t))})),t}}const Gd=Jd,Hd={visitors:{value:up.visitors.value,document:{objects:{OpenApi:{$visitor:ph,fixedFields:{openapi:up.visitors.document.objects.OpenApi.fixedFields.openapi,info:{$ref:"#/visitors/document/objects/Info"},jsonSchemaDialect:xh,servers:up.visitors.document.objects.OpenApi.fixedFields.servers,paths:{$ref:"#/visitors/document/objects/Paths"},webhooks:Gd,components:{$ref:"#/visitors/document/objects/Components"},security:up.visitors.document.objects.OpenApi.fixedFields.security,tags:up.visitors.document.objects.OpenApi.fixedFields.tags,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:hh,fixedFields:{title:up.visitors.document.objects.Info.fixedFields.title,description:up.visitors.document.objects.Info.fixedFields.description,summary:{$ref:"#/visitors/value"},termsOfService:up.visitors.document.objects.Info.fixedFields.termsOfService,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"},version:up.visitors.document.objects.Info.fixedFields.version}},Contact:{$visitor:fh,fixedFields:{name:up.visitors.document.objects.Contact.fixedFields.name,url:up.visitors.document.objects.Contact.fixedFields.url,email:up.visitors.document.objects.Contact.fixedFields.email}},License:{$visitor:yh,fixedFields:{name:up.visitors.document.objects.License.fixedFields.name,identifier:{$ref:"#/visitors/value"},url:up.visitors.document.objects.License.fixedFields.url}},Server:{$visitor:wh,fixedFields:{url:up.visitors.document.objects.Server.fixedFields.url,description:up.visitors.document.objects.Server.fixedFields.description,variables:up.visitors.document.objects.Server.fixedFields.variables}},ServerVariable:{$visitor:Oh,fixedFields:{enum:up.visitors.document.objects.ServerVariable.fixedFields.enum,default:up.visitors.document.objects.ServerVariable.fixedFields.default,description:up.visitors.document.objects.ServerVariable.fixedFields.description}},Components:{$visitor:Ch,fixedFields:{schemas:vd,responses:up.visitors.document.objects.Components.fixedFields.responses,parameters:up.visitors.document.objects.Components.fixedFields.parameters,examples:up.visitors.document.objects.Components.fixedFields.examples,requestBodies:up.visitors.document.objects.Components.fixedFields.requestBodies,headers:up.visitors.document.objects.Components.fixedFields.headers,securitySchemes:up.visitors.document.objects.Components.fixedFields.securitySchemes,links:up.visitors.document.objects.Components.fixedFields.links,callbacks:up.visitors.document.objects.Components.fixedFields.callbacks,pathItems:gd}},Paths:{$visitor:Pd},PathItem:{$visitor:Bd,fixedFields:{$ref:up.visitors.document.objects.PathItem.fixedFields.$ref,summary:up.visitors.document.objects.PathItem.fixedFields.summary,description:up.visitors.document.objects.PathItem.fixedFields.description,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"},trace:{$ref:"#/visitors/document/objects/Operation"},servers:up.visitors.document.objects.PathItem.fixedFields.servers,parameters:up.visitors.document.objects.PathItem.fixedFields.parameters}},Operation:{$visitor:Id,fixedFields:{tags:up.visitors.document.objects.Operation.fixedFields.tags,summary:up.visitors.document.objects.Operation.fixedFields.summary,description:up.visitors.document.objects.Operation.fixedFields.description,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:up.visitors.document.objects.Operation.fixedFields.operationId,parameters:up.visitors.document.objects.Operation.fixedFields.parameters,requestBody:up.visitors.document.objects.Operation.fixedFields.requestBody,responses:{$ref:"#/visitors/document/objects/Responses"},callbacks:up.visitors.document.objects.Operation.fixedFields.callbacks,deprecated:up.visitors.document.objects.Operation.fixedFields.deprecated,security:up.visitors.document.objects.Operation.fixedFields.security,servers:up.visitors.document.objects.Operation.fixedFields.servers}},ExternalDocumentation:{$visitor:jd,fixedFields:{description:up.visitors.document.objects.ExternalDocumentation.fixedFields.description,url:up.visitors.document.objects.ExternalDocumentation.fixedFields.url}},Parameter:{$visitor:qh,fixedFields:{name:up.visitors.document.objects.Parameter.fixedFields.name,in:up.visitors.document.objects.Parameter.fixedFields.in,description:up.visitors.document.objects.Parameter.fixedFields.description,required:up.visitors.document.objects.Parameter.fixedFields.required,deprecated:up.visitors.document.objects.Parameter.fixedFields.deprecated,allowEmptyValue:up.visitors.document.objects.Parameter.fixedFields.allowEmptyValue,style:up.visitors.document.objects.Parameter.fixedFields.style,explode:up.visitors.document.objects.Parameter.fixedFields.explode,allowReserved:up.visitors.document.objects.Parameter.fixedFields.allowReserved,schema:{$ref:"#/visitors/document/objects/Schema"},example:up.visitors.document.objects.Parameter.fixedFields.example,examples:up.visitors.document.objects.Parameter.fixedFields.examples,content:up.visitors.document.objects.Parameter.fixedFields.content}},RequestBody:{$visitor:Ad,fixedFields:{description:up.visitors.document.objects.RequestBody.fixedFields.description,content:up.visitors.document.objects.RequestBody.fixedFields.content,required:up.visitors.document.objects.RequestBody.fixedFields.required}},MediaType:{$visitor:$h,fixedFields:{schema:{$ref:"#/visitors/document/objects/Schema"},example:up.visitors.document.objects.MediaType.fixedFields.example,examples:up.visitors.document.objects.MediaType.fixedFields.examples,encoding:up.visitors.document.objects.MediaType.fixedFields.encoding}},Encoding:{$visitor:Sd,fixedFields:{contentType:up.visitors.document.objects.Encoding.fixedFields.contentType,headers:up.visitors.document.objects.Encoding.fixedFields.headers,style:up.visitors.document.objects.Encoding.fixedFields.style,explode:up.visitors.document.objects.Encoding.fixedFields.explode,allowReserved:up.visitors.document.objects.Encoding.fixedFields.allowReserved}},Responses:{$visitor:Td,fixedFields:{default:up.visitors.document.objects.Responses.fixedFields.default}},Response:{$visitor:Md,fixedFields:{description:up.visitors.document.objects.Response.fixedFields.description,headers:up.visitors.document.objects.Response.fixedFields.headers,content:up.visitors.document.objects.Response.fixedFields.content,links:up.visitors.document.objects.Response.fixedFields.links}},Callback:{$visitor:kd},Example:{$visitor:Ed,fixedFields:{summary:up.visitors.document.objects.Example.fixedFields.summary,description:up.visitors.document.objects.Example.fixedFields.description,value:up.visitors.document.objects.Example.fixedFields.value,externalValue:up.visitors.document.objects.Example.fixedFields.externalValue}},Link:{$visitor:bh,fixedFields:{operationRef:up.visitors.document.objects.Link.fixedFields.operationRef,operationId:up.visitors.document.objects.Link.fixedFields.operationId,parameters:up.visitors.document.objects.Link.fixedFields.parameters,requestBody:up.visitors.document.objects.Link.fixedFields.requestBody,description:up.visitors.document.objects.Link.fixedFields.description,server:{$ref:"#/visitors/document/objects/Server"}}},Header:{$visitor:Nh,fixedFields:{description:up.visitors.document.objects.Header.fixedFields.description,required:up.visitors.document.objects.Header.fixedFields.required,deprecated:up.visitors.document.objects.Header.fixedFields.deprecated,allowEmptyValue:up.visitors.document.objects.Header.fixedFields.allowEmptyValue,style:up.visitors.document.objects.Header.fixedFields.style,explode:up.visitors.document.objects.Header.fixedFields.explode,allowReserved:up.visitors.document.objects.Header.fixedFields.allowReserved,schema:{$ref:"#/visitors/document/objects/Schema"},example:up.visitors.document.objects.Header.fixedFields.example,examples:up.visitors.document.objects.Header.fixedFields.examples,content:up.visitors.document.objects.Header.fixedFields.content}},Tag:{$visitor:Rh,fixedFields:{name:up.visitors.document.objects.Tag.fixedFields.name,description:up.visitors.document.objects.Tag.fixedFields.description,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Reference:{$visitor:_h,fixedFields:{$ref:up.visitors.document.objects.Reference.fixedFields.$ref,summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"}}},Schema:{$visitor:Vh,fixedFields:{$schema:{$ref:"#/visitors/value"},$vocabulary:zh,$id:{$ref:"#/visitors/value"},$anchor:{$ref:"#/visitors/value"},$dynamicAnchor:{$ref:"#/visitors/value"},$dynamicRef:{$ref:"#/visitors/value"},$ref:Uh,$defs:Gh,$comment:{$ref:"#/visitors/value"},allOf:Kh,anyOf:Xh,oneOf:Zh,not:{$ref:"#/visitors/document/objects/Schema"},if:{$ref:"#/visitors/document/objects/Schema"},then:{$ref:"#/visitors/document/objects/Schema"},else:{$ref:"#/visitors/document/objects/Schema"},dependentSchemas:ed,prefixItems:sd,items:{$ref:"#/visitors/document/objects/Schema"},contains:{$ref:"#/visitors/document/objects/Schema"},properties:rd,patternProperties:od,additionalProperties:{$ref:"#/visitors/document/objects/Schema"},propertyNames:{$ref:"#/visitors/document/objects/Schema"},unevaluatedItems:{$ref:"#/visitors/document/objects/Schema"},unevaluatedProperties:{$ref:"#/visitors/document/objects/Schema"},type:cd,enum:ad,const:{$ref:"#/visitors/value"},multipleOf:{$ref:"#/visitors/value"},maximum:{$ref:"#/visitors/value"},exclusiveMaximum:{$ref:"#/visitors/value"},minimum:{$ref:"#/visitors/value"},exclusiveMinimum:{$ref:"#/visitors/value"},maxLength:{$ref:"#/visitors/value"},minLength:{$ref:"#/visitors/value"},pattern:{$ref:"#/visitors/value"},maxItems:{$ref:"#/visitors/value"},minItems:{$ref:"#/visitors/value"},uniqueItems:{$ref:"#/visitors/value"},maxContains:{$ref:"#/visitors/value"},minContains:{$ref:"#/visitors/value"},maxProperties:{$ref:"#/visitors/value"},minProperties:{$ref:"#/visitors/value"},required:{$ref:"#/visitors/value"},dependentRequired:ld,title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},deprecated:{$ref:"#/visitors/value"},readOnly:{$ref:"#/visitors/value"},writeOnly:{$ref:"#/visitors/value"},examples:ud,format:{$ref:"#/visitors/value"},contentEncoding:{$ref:"#/visitors/value"},contentMediaType:{$ref:"#/visitors/value"},contentSchema:{$ref:"#/visitors/document/objects/Schema"},discriminator:{$ref:"#/visitors/document/objects/Discriminator"},xml:{$ref:"#/visitors/document/objects/XML"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},example:{$ref:"#/visitors/value"}}},Discriminator:{$visitor:md,fixedFields:{propertyName:up.visitors.document.objects.Discriminator.fixedFields.propertyName,mapping:up.visitors.document.objects.Discriminator.fixedFields.mapping}},XML:{$visitor:dd,fixedFields:{name:up.visitors.document.objects.XML.fixedFields.name,namespace:up.visitors.document.objects.XML.fixedFields.namespace,prefix:up.visitors.document.objects.XML.fixedFields.prefix,attribute:up.visitors.document.objects.XML.fixedFields.attribute,wrapped:up.visitors.document.objects.XML.fixedFields.wrapped}},SecurityScheme:{$visitor:Dd,fixedFields:{type:up.visitors.document.objects.SecurityScheme.fixedFields.type,description:up.visitors.document.objects.SecurityScheme.fixedFields.description,name:up.visitors.document.objects.SecurityScheme.fixedFields.name,in:up.visitors.document.objects.SecurityScheme.fixedFields.in,scheme:up.visitors.document.objects.SecurityScheme.fixedFields.scheme,bearerFormat:up.visitors.document.objects.SecurityScheme.fixedFields.bearerFormat,flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:up.visitors.document.objects.SecurityScheme.fixedFields.openIdConnectUrl}},OAuthFlows:{$visitor:Vd,fixedFields:{implicit:{$ref:"#/visitors/document/objects/OAuthFlow"},password:{$ref:"#/visitors/document/objects/OAuthFlow"},clientCredentials:{$ref:"#/visitors/document/objects/OAuthFlow"},authorizationCode:{$ref:"#/visitors/document/objects/OAuthFlow"}}},OAuthFlow:{$visitor:Ud,fixedFields:{authorizationUrl:up.visitors.document.objects.OAuthFlow.fixedFields.authorizationUrl,tokenUrl:up.visitors.document.objects.OAuthFlow.fixedFields.tokenUrl,refreshUrl:up.visitors.document.objects.OAuthFlow.fixedFields.refreshUrl,scopes:up.visitors.document.objects.OAuthFlow.fixedFields.scopes}},SecurityRequirement:{$visitor:Fh}},extension:{$visitor:up.visitors.document.extension.$visitor}}}}})(),n})()));




© 2015 - 2024 Weber Informatics LLC | Privacy Policy