@speclynx/apidom-ns-asyncapi-2 2.0.1 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.apidomNsAsyncApi2=t():e.apidomNsAsyncApi2=t()}(self,()=>(()=>{"use strict";var e={d:(t,s)=>{for(var n in s)e.o(s,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:s[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{AlternatingVisitor:()=>jc,Amqp1ChannelBindingElement:()=>Cr,Amqp1MessageBindingElement:()=>Pr,Amqp1OperationBindingElement:()=>kr,Amqp1ServerBindingElement:()=>Ar,AmqpChannelBindingElement:()=>Or,AmqpMessageBindingElement:()=>qr,AmqpOperationBindingElement:()=>$r,AmqpServerBindingElement:()=>Mr,AnypointmqChannelBindingElement:()=>Fr,AnypointmqMessageBindingElement:()=>Vr,AnypointmqOperationBindingElement:()=>Ir,AnypointmqServerBindingElement:()=>Tr,AsyncAPIMediaTypes:()=>g,AsyncApi2Element:()=>L,AsyncApiVersionElement:()=>z,BaseAlternatingVisitor:()=>Tc,BaseFixedFieldsVisitor:()=>Ac,BaseMapVisitor:()=>Vc,BaseMixedFieldsVisitor:()=>Ic,BasePatternedFieldsVisitor:()=>Fc,BaseSpecificationVisitor:()=>kc,ChannelBindingsElement:()=>W,ChannelItemElement:()=>K,ChannelsElement:()=>H,ComponentsElement:()=>G,ContactElement:()=>Q,CorrelationIDElement:()=>Z,DefaultContentTypeElement:()=>X,ExternalDocumentationElement:()=>Y,FallbackVisitor:()=>Ec,FixedFieldsVisitor:()=>Oc,GooglepubsubChannelBindingElement:()=>Rr,GooglepubsubMessageBindingElement:()=>_r,GooglepubsubOperationBindingElement:()=>Nr,GooglepubsubServerBindingElement:()=>Dr,HttpChannelBindingElement:()=>Jr,HttpMessageBindingElement:()=>Lr,HttpOperationBindingElement:()=>Ur,HttpServerBindingElement:()=>zr,IbmmqChannelBindingElement:()=>Wr,IbmmqMessageBindingElement:()=>Kr,IbmmqOperationBindingElement:()=>Hr,IbmmqServerBindingElement:()=>Gr,IdentifierElement:()=>ee,InfoElement:()=>te,JmsChannelBindingElement:()=>Qr,JmsMessageBindingElement:()=>Zr,JmsOperationBindingElement:()=>Xr,JmsServerBindingElement:()=>Yr,KafkaChannelBindingElement:()=>eo,KafkaMessageBindingElement:()=>to,KafkaOperationBindingElement:()=>so,KafkaServerBindingElement:()=>no,LicenseElement:()=>se,MapVisitor:()=>$c,MercureChannelBindingElement:()=>io,MercureMessageBindingElement:()=>ro,MercureOperationBindingElement:()=>oo,MercureServerBindingElement:()=>ao,MessageBindingsElement:()=>ie,MessageElement:()=>ne,MessageExampleElement:()=>re,MessageTraitElement:()=>oe,MixedFieldsVisitor:()=>Rc,Mqtt5ChannelBindingElement:()=>mo,Mqtt5MessageBindingElement:()=>po,Mqtt5OperationBindingElement:()=>go,Mqtt5ServerBindingElement:()=>fo,MqttChannelBindingElement:()=>co,MqttMessageBindingElement:()=>lo,MqttOperationBindingElement:()=>uo,MqttServerBindingElement:()=>ho,NatsChannelBindingElement:()=>bo,NatsMessageBindingElement:()=>vo,NatsOperationBindingElement:()=>yo,NatsServerBindingElement:()=>So,OAuthFlowElement:()=>ae,OAuthFlowsElement:()=>ce,OperationBindingsElement:()=>ue,OperationElement:()=>le,OperationTraitElement:()=>de,ParameterElement:()=>he,ParametersElement:()=>me,PatternedFieldsVisitor:()=>qc,PulsarChannelBindingElement:()=>xo,PulsarMessageBindingElement:()=>Bo,PulsarOperationBindingElement:()=>Eo,PulsarServerBindingElement:()=>wo,RedisChannelBindingElement:()=>jo,RedisMessageBindingElement:()=>Oo,RedisOperationBindingElement:()=>qo,RedisServerBindingElement:()=>$o,ReferenceElement:()=>pe,SchemaElement:()=>br,SecurityRequirementElement:()=>vr,SecuritySchemeElement:()=>yr,ServerBindingsElement:()=>xr,ServerElement:()=>Sr,ServerVariableElement:()=>Er,ServersElement:()=>Br,SnsChannelBindingElement:()=>Mo,SnsMessageBindingElement:()=>Co,SnsOperationBindingElement:()=>Po,SnsServerBindingElement:()=>ko,SolaceChannelBindingElement:()=>Ao,SolaceMessageBindingElement:()=>Fo,SolaceOperationBindingElement:()=>Vo,SolaceServerBindingElement:()=>Io,SpecificationExtensionVisitor:()=>_c,SpecificationVisitor:()=>wc,SqsChannelBindingElement:()=>To,SqsMessageBindingElement:()=>Ro,SqsOperationBindingElement:()=>_o,SqsServerBindingElement:()=>No,StompChannelBindingElement:()=>Do,StompMessageBindingElement:()=>Jo,StompOperationBindingElement:()=>Lo,StompServerBindingElement:()=>Uo,TagElement:()=>wr,TagsElement:()=>jr,Visitor:()=>Bc,WebSocketChannelBindingElement:()=>zo,WebSocketMessageBindingElement:()=>Wo,WebSocketOperationBindingElement:()=>Ko,WebSocketServerBindingElement:()=>Ho,default:()=>Go,isAsyncApi2Element:()=>Ga,isAsyncApiExtension:()=>xc,isAsyncApiVersionElement:()=>Qa,isBooleanJsonSchemaElement:()=>uc,isChannelBindingsElement:()=>Za,isChannelItemElement:()=>Xa,isChannelsElement:()=>Ya,isComponentsElement:()=>ec,isContactElement:()=>tc,isIdentifierElement:()=>sc,isInfoElement:()=>nc,isLicenseElement:()=>ic,isOperationElement:()=>rc,isParameterElement:()=>oc,isParametersElement:()=>ac,isReferenceElement:()=>cc,isReferenceLikeElement:()=>Sc,isSchemaElement:()=>lc,isSecurityRequirementElement:()=>dc,isServerBindingsElement:()=>mc,isServerElement:()=>hc,isServerVariableElement:()=>gc,isServersElement:()=>pc,mediaTypes:()=>f,refract:()=>Op,refractAmqp1ChannelBinding:()=>cm,refractAmqp1MessageBinding:()=>lm,refractAmqp1OperationBinding:()=>um,refractAmqp1ServerBinding:()=>dm,refractAmqpChannelBinding:()=>im,refractAmqpMessageBinding:()=>rm,refractAmqpOperationBinding:()=>om,refractAmqpServerBinding:()=>am,refractAnypointmqChannelBinding:()=>hm,refractAnypointmqMessageBinding:()=>mm,refractAnypointmqOperationBinding:()=>pm,refractAnypointmqServerBinding:()=>gm,refractAsyncApi2:()=>wh,refractAsyncApiVersion:()=>jh,refractChannelBindings:()=>kh,refractChannelItem:()=>Ah,refractChannels:()=>$h,refractComponents:()=>Fh,refractContact:()=>Vh,refractCorrelationID:()=>Ih,refractDefaultContentType:()=>qh,refractExternalDocumentation:()=>Th,refractGooglepubsubChannelBinding:()=>fm,refractGooglepubsubMessageBinding:()=>bm,refractGooglepubsubOperationBinding:()=>vm,refractGooglepubsubServerBinding:()=>ym,refractHttpChannelBinding:()=>Sm,refractHttpMessageBinding:()=>xm,refractHttpOperationBinding:()=>Bm,refractHttpServerBinding:()=>Em,refractIbmmqChannelBinding:()=>wm,refractIbmmqMessageBinding:()=>jm,refractIbmmqOperationBinding:()=>Om,refractIbmmqServerBinding:()=>qm,refractIdentifier:()=>Oh,refractInfo:()=>Rh,refractJmsChannelBinding:()=>$m,refractJmsMessageBinding:()=>Mm,refractJmsOperationBinding:()=>Cm,refractJmsServerBinding:()=>Pm,refractKafkaChannelBinding:()=>km,refractKafkaMessageBinding:()=>Am,refractKafkaOperationBinding:()=>Fm,refractKafkaServerBinding:()=>Vm,refractLicense:()=>_h,refractMercureChannelBinding:()=>Im,refractMercureMessageBinding:()=>Tm,refractMercureOperationBinding:()=>Rm,refractMercureServerBinding:()=>_m,refractMessage:()=>Nh,refractMessageBindings:()=>Dh,refractMessageExample:()=>Jh,refractMessageTrait:()=>Lh,refractMqtt5ChannelBinding:()=>Um,refractMqtt5MessageBinding:()=>zm,refractMqtt5OperationBinding:()=>Wm,refractMqtt5ServerBinding:()=>Km,refractMqttChannelBinding:()=>Nm,refractMqttMessageBinding:()=>Dm,refractMqttOperationBinding:()=>Jm,refractMqttServerBinding:()=>Lm,refractNatsChannelBinding:()=>Hm,refractNatsMessageBinding:()=>Gm,refractNatsOperationBinding:()=>Qm,refractNatsServerBinding:()=>Zm,refractOAuthFlow:()=>Uh,refractOAuthFlows:()=>zh,refractOperation:()=>Wh,refractOperationBindings:()=>Kh,refractOperationTrait:()=>Hh,refractParameter:()=>Gh,refractParameters:()=>Ch,refractPulsarChannelBinding:()=>Xm,refractPulsarMessageBinding:()=>Ym,refractPulsarOperationBinding:()=>ep,refractPulsarServerBinding:()=>tp,refractRedisChannelBinding:()=>sp,refractRedisMessageBinding:()=>np,refractRedisOperationBinding:()=>ip,refractRedisServerBinding:()=>rp,refractReference:()=>Qh,refractSchema:()=>Zh,refractSecurityRequirement:()=>Xh,refractSecurityScheme:()=>Yh,refractServer:()=>em,refractServerBindings:()=>tm,refractServerVariable:()=>sm,refractServers:()=>Mh,refractSnsChannelBinding:()=>op,refractSnsMessageBinding:()=>ap,refractSnsOperationBinding:()=>cp,refractSnsServerBinding:()=>lp,refractSolaceChannelBinding:()=>up,refractSolaceMessageBinding:()=>dp,refractSolaceOperationBinding:()=>hp,refractSolaceServerBinding:()=>mp,refractSqsChannelBinding:()=>pp,refractSqsMessageBinding:()=>gp,refractSqsOperationBinding:()=>fp,refractSqsServerBinding:()=>bp,refractStompChannelBinding:()=>vp,refractStompMessageBinding:()=>yp,refractStompOperationBinding:()=>Sp,refractStompServerBinding:()=>xp,refractTag:()=>nm,refractTags:()=>Ph,refractWebSocketChannelBinding:()=>Bp,refractWebSocketMessageBinding:()=>Ep,refractWebSocketOperationBinding:()=>wp,refractWebSocketServerBinding:()=>jp,refractorPluginReplaceEmptyElement:()=>Ha});var s={};e.r(s),e.d(s,{isAsyncApi2Element:()=>Ga,isAsyncApiVersionElement:()=>Qa,isBooleanJsonSchemaElement:()=>uc,isChannelBindingsElement:()=>Za,isChannelItemElement:()=>Xa,isChannelsElement:()=>Ya,isComponentsElement:()=>ec,isContactElement:()=>tc,isIdentifierElement:()=>sc,isInfoElement:()=>nc,isLicenseElement:()=>ic,isOperationElement:()=>rc,isParameterElement:()=>oc,isParametersElement:()=>ac,isReferenceElement:()=>cc,isSchemaElement:()=>lc,isSecurityRequirementElement:()=>dc,isServerBindingsElement:()=>mc,isServerElement:()=>hc,isServerVariableElement:()=>gc,isServersElement:()=>pc});var n={};function i(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function r(e){return function t(s){return 0===arguments.length||i(s)?t:e.apply(this,arguments)}}function o(e,t){return t[e<0?t.length+e:e]}e.r(n),e.d(n,{isAsyncApiExtension:()=>xc,isReferenceLikeElement:()=>Sc});const a=r(function(e){return o(-1,e)});class c extends AggregateError{constructor(e,t,s){super(e,t,s),this.name=this.constructor.name,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}}const l=c;class u extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(l,e)}constructor(e,t){super(e,t),this.name=this.constructor.name,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}}const d=u;const h=class extends d{};const m=class extends h{};const p=class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new m("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new m("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new m("latest method in MediaTypes class is not yet implemented.")}};class g extends p{filterByFormat(e="generic"){const t="generic"===e?"asyncapi;version":e;return this.filter(e=>e.includes(t))}findBy(e="2.6.0",t="generic"){const s="generic"===t?`vnd.aai.asyncapi;version=${e}`:`vnd.aai.asyncapi+${t};version=${e}`;return this.find(e=>e.includes(s))||this.unknownMediaType}latest(e="generic"){return a(this.filterByFormat(e))}}const f=new g("application/vnd.aai.asyncapi;version=2.0.0","application/vnd.aai.asyncapi+json;version=2.0.0","application/vnd.aai.asyncapi+yaml;version=2.0.0","application/vnd.aai.asyncapi;version=2.1.0","application/vnd.aai.asyncapi+json;version=2.1.0","application/vnd.aai.asyncapi+yaml;version=2.1.0","application/vnd.aai.asyncapi;version=2.2.0","application/vnd.aai.asyncapi+json;version=2.2.0","application/vnd.aai.asyncapi+yaml;version=2.2.0","application/vnd.aai.asyncapi;version=2.3.0","application/vnd.aai.asyncapi+json;version=2.3.0","application/vnd.aai.asyncapi+yaml;version=2.3.0","application/vnd.aai.asyncapi;version=2.4.0","application/vnd.aai.asyncapi+json;version=2.4.0","application/vnd.aai.asyncapi+yaml;version=2.4.0","application/vnd.aai.asyncapi;version=2.5.0","application/vnd.aai.asyncapi+json;version=2.5.0","application/vnd.aai.asyncapi+yaml;version=2.5.0","application/vnd.aai.asyncapi;version=2.6.0","application/vnd.aai.asyncapi+json;version=2.6.0","application/vnd.aai.asyncapi+yaml;version=2.6.0");function b(e){return function t(s,n){switch(arguments.length){case 0:return t;case 1:return i(s)?t:r(function(t){return e(s,t)});default:return i(s)&&i(n)?t:i(s)?r(function(t){return e(t,n)}):i(n)?r(function(t){return e(s,t)}):e(s,n)}}}function v(e){for(var t,s=[];!(t=e.next()).done;)s.push(t.value);return s}function y(e,t,s){for(var n=0,i=s.length;n<i;){if(e(t,s[n]))return!0;n+=1}return!1}function S(e,t){return Object.prototype.hasOwnProperty.call(t,e)}const x="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};var B=Object.prototype.toString;const E=function(){return"[object Arguments]"===B.call(arguments)?function(e){return"[object Arguments]"===B.call(e)}:function(e){return S("callee",e)}}();var w=!{toString:null}.propertyIsEnumerable("toString"),j=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],O=function(){return arguments.propertyIsEnumerable("length")}(),q=function(e,t){for(var s=0;s<e.length;){if(e[s]===t)return!0;s+=1}return!1},$="function"!=typeof Object.keys||O?r(function(e){if(Object(e)!==e)return[];var t,s,n=[],i=O&&E(e);for(t in e)!S(t,e)||i&&"length"===t||(n[n.length]=t);if(w)for(s=j.length-1;s>=0;)S(t=j[s],e)&&!q(n,t)&&(n[n.length]=t),s-=1;return n}):r(function(e){return Object(e)!==e?[]:Object.keys(e)});const M=$;const C=r(function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});function P(e,t,s,n){var i=v(e);function r(e,t){return k(e,t,s.slice(),n.slice())}return!y(function(e,t){return!y(r,t,e)},v(t),i)}function k(e,t,s,n){if(x(e,t))return!0;var i,r,o=C(e);if(o!==C(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"===(i=e.constructor,null==(r=String(i).match(/^function (\w*)/))?"":r[1]))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!x(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!x(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var a=s.length-1;a>=0;){if(s[a]===e)return n[a]===t;a-=1}switch(o){case"Map":return e.size===t.size&&P(e.entries(),t.entries(),s.concat([e]),n.concat([t]));case"Set":return e.size===t.size&&P(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 c=M(e);if(c.length!==M(t).length)return!1;var l=s.concat([e]),u=n.concat([t]);for(a=c.length-1;a>=0;){var d=c[a];if(!S(d,t)||!k(t[d],e[d],l,u))return!1;a-=1}return!0}const A=b(function(e,t){return k(e,t,[],[])});const F=class{key;value;constructor(e,t){this.key=e,this.value=t}toValue(){return{key:this.key?.toValue(),value:this.value?.toValue()}}};class V{elements;constructor(e){this.elements=e??[]}toValue(){return this.elements.map(e=>({key:e.key?.toValue(),value:e.value?.toValue()}))}map(e,t){return this.elements.map(s=>{const n=s.value,i=s.key;if(void 0===n||void 0===i)throw new Error("MemberElement must have both key and value");return void 0!==t?e.call(t,n,i,s):e(n,i,s)})}filter(e,t){const s=this.elements.filter(s=>{const n=s.value,i=s.key;return void 0!==n&&void 0!==i&&(void 0!==t?e.call(t,n,i,s):e(n,i,s))});return new V(s)}reject(e,t){const s=[];for(const n of this.elements){const i=n.value,r=n.key;void 0!==i&&void 0!==r&&(e.call(t,i,r,n)||s.push(n))}return new V(s)}forEach(e,t){this.elements.forEach((s,n)=>{const i=s.value,r=s.key;void 0!==i&&void 0!==r&&(void 0!==t?e.call(t,i,r,s,n):e(i,r,s,n))})}find(e,t){return this.elements.find(s=>{const n=s.value,i=s.key;return void 0!==n&&void 0!==i&&(void 0!==t?e.call(t,n,i,s):e(n,i,s))})}keys(){return this.elements.map(e=>e.key?.toValue()).filter(e=>void 0!==e)}values(){return this.elements.map(e=>e.value?.toValue()).filter(e=>void 0!==e)}get length(){return this.elements.length}get isEmpty(){return 0===this.length}get first(){return this.elements[0]}get(e){return this.elements[e]}push(e){return this.elements.push(e),this}includesKey(e){return this.elements.some(t=>t.key?.equals(e))}[Symbol.iterator](){return this.elements[Symbol.iterator]()}}const I=V;class T{parent;startLine;startCharacter;startOffset;endLine;endCharacter;endOffset;_storedElement="element";_content;_meta;_attributes;constructor(e,t,s){void 0!==t&&(this.meta=t),void 0!==s&&(this.attributes=s),void 0!==e&&(this.content=e)}get element(){return this._storedElement}set element(e){this._storedElement=e}get content(){return this._content}set content(e){if(e instanceof T)this._content=e;else if(null!=e&&"string"!=typeof e&&"number"!=typeof e&&"boolean"!=typeof e&&"bigint"!=typeof e&&"symbol"!=typeof e)if(e instanceof F)this._content=e;else if(e instanceof I)this._content=e.elements;else if(Array.isArray(e))this._content=e.map(e=>this.refract(e));else{if("object"!=typeof e)throw new Error("Cannot set content to value of type "+typeof e);this._content=Object.entries(e).map(([e,t])=>new this.MemberElement(e,t))}else this._content=e}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 T?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 T?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 links(){return this.getMetaProperty("links",[])}set links(e){this.setMetaProperty("links",e)}get children(){const{_content:e}=this;if(Array.isArray(e))return e;if(e instanceof F){const t=[];return e.key&&t.push(e.key),e.value&&t.push(e.value),t}return e instanceof T?[e]:[]}get isFrozen(){return Object.isFrozen(this)}freeze(){if(!this.isFrozen){this._meta&&(this._meta.parent=this,this._meta.freeze()),this._attributes&&(this._attributes.parent=this,this._attributes.freeze());for(const e of this.children)e.parent=this,e.freeze();Array.isArray(this._content)&&Object.freeze(this._content),Object.freeze(this)}}toValue(){const{_content:e}=this;return e instanceof T||e instanceof F?e.toValue():Array.isArray(e)?e.map(e=>e.toValue()):e}equals(e){return A(this.toValue(),e)}primitive(){}set(e){return this.content=e,this}toRef(e){const t=this.id.toValue();if(""===t)throw new Error("Cannot create reference to an element without an ID");const s=new this.RefElement(t);return"string"==typeof e&&(s.path=this.refract(e)),s}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)}hasMetaProperty(e){return!this.isMetaEmpty&&this.meta.hasKey(e)}get isMetaEmpty(){return void 0===this._meta||this.meta.isEmpty}getAttributesProperty(e,t){if(!this.hasAttributesProperty(e)){if(this.isFrozen){const e=this.refract(t);return e.freeze(),e}this.attributes.set(e,t)}return this.attributes.get(e)}setAttributesProperty(e,t){this.attributes.set(e,t)}hasAttributesProperty(e){return!this.isAttributesEmpty&&this.attributes.hasKey(e)}get isAttributesEmpty(){return void 0===this._attributes||this.attributes.isEmpty}}const R=T;class _ extends R{constructor(e,t,s){super(e||[],t,s)}get length(){return this._content.length}get isEmpty(){return 0===this.length}get first(){return this._content[0]}get second(){return this._content[1]}get last(){return this._content.at(-1)}push(...e){for(const t of e)this._content.push(this.refract(t));return this}shift(){return this._content.shift()}unshift(e){this._content.unshift(this.refract(e))}includes(e){return this._content.some(t=>t.equals(e))}findElements(e,t){const s=t||{},n=!!s.recursive,i=void 0===s.results?[]:s.results;for(let t=0;t<this._content.length;t+=1){const s=this._content[t],r=s;n&&"function"==typeof r.findElements&&r.findElements(e,{results:i,recursive:n}),e(s,t,void 0)&&i.push(s)}return i}find(e){const t=this.findElements(e,{recursive:!0});return new this.ArrayElement(t)}findByElement(e){return this.find(t=>t.element===e)}findByClass(e){return this.find(t=>{const s=t.classes;return"function"==typeof s.includes&&s.includes(e)})}getById(e){return this.find(t=>t.id.toValue()===e).first}concat(e){return new(0,this.constructor)(this._content.concat(e._content))}[Symbol.iterator](){return this._content[Symbol.iterator]()}}const N=_;const D=class extends R{constructor(e,t,s,n){super(new F,s,n),this.element="member",void 0!==e&&(this.key=e),arguments.length>=2&&(this.value=t)}primitive(){return"member"}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=void 0===e?void 0:this.refract(e)}};const J=class extends N{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}getValue(e){const t=this.get(e);if(t)return t.toValue()}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("string"==typeof e){const s=this.getMember(e);s?s.value=t:this._content.push(new D(e,t))}else if("object"==typeof e&&!Array.isArray(e))for(const t of Object.keys(e))this.set(t,e[t]);return 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.call(t,s.value,s.key,s))}compactMap(e,t){const s=[];return this.forEach((n,i,r)=>{const o=e.call(t,n,i,r);o&&s.push(o)}),s}filter(e,t){return new I(this._content).filter(e,t)}reject(e,t){const s=[];for(const n of this._content)e.call(t,n.value,n.key,n)||s.push(n);return new I(s)}forEach(e,t){this._content.forEach(s=>e.call(t,s.value,s.key,s))}reduce(e,t){let s,n;void 0!==t?(s=0,n=this.refract(t)):(s=1,n=this._content[0]?.value);for(let t=s;t<this._content.length;t+=1){const s=this._content[t],i=e(n,s.value,s.key,s,this);n=void 0===i?i:this.refract(i)}return n}empty(){return new this.constructor([])}};const L=class extends J{constructor(e,t,s){super(e,t,s),this.element="asyncApi2",this.classes.push("api")}get asyncapi(){return this.get("asyncapi")}set asyncapi(e){this.set("asyncapi",e)}get idField(){return this.get("id")}set idField(e){this.set("id",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 defaultContentType(){return this.get("defaultContentType")}set defaultContentType(e){this.set("defaultContentType",e)}get channels(){return this.get("channels")}set channels(e){this.set("channels",e)}get components(){return this.get("components")}set components(e){this.set("components",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 U=class extends R{constructor(e,t,s){super(e,t,s),this.element="string"}primitive(){return"string"}get length(){return this.content?.length??0}};const z=class extends U{constructor(e,t,s){super(e,t,s),this.element="asyncApiVersion",this.classes.push("spec-version"),this.classes.push("version")}};const W=class extends J{constructor(e,t,s){super(e,t,s),this.element="channelBindings"}get http(){return this.get("http")}set http(e){this.set("http",e)}get ws(){return this.get("ws")}set ws(e){this.set("ws",e)}get kafka(){return this.get("kafka")}set kafka(e){this.set("kafka",e)}get anypointmq(){return this.get("anypointmq")}set anypointmq(e){this.set("anypointmq",e)}get amqp(){return this.get("amqp")}set amqp(e){this.set("amqp",e)}get amqp1(){return this.get("amqp1")}set amqp1(e){this.set("amqp1",e)}get mqtt(){return this.get("mqtt")}set mqtt(e){this.set("mqtt",e)}get mqtt5(){return this.get("mqtt5")}set mqtt5(e){this.set("mqtt5",e)}get nats(){return this.get("nats")}set nats(e){this.set("nats",e)}get jms(){return this.get("jms")}set jms(e){this.set("jms",e)}get sns(){return this.get("sns")}set sns(e){this.set("sns",e)}get solace(){return this.get("solace")}set solace(e){this.set("solace",e)}get sqs(){return this.get("sqs")}set sqs(e){this.set("sqs",e)}get stomp(){return this.get("stomp")}set stomp(e){this.set("stomp",e)}get redis(){return this.get("redis")}set redis(e){this.set("redis",e)}get mercure(){return this.get("mercure")}set mercure(e){this.set("mercure",e)}get googlepubsub(){return this.get("googlepubsub")}set googlepubsub(e){this.set("googlepubsub",e)}get ibmmq(){return this.get("ibmmq")}set ibmmq(e){this.set("ibmmq",e)}};const K=class extends J{constructor(e,t,s){super(e,t,s),this.element="channelItem"}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get subscribe(){return this.get("subscribe")}set subscribe(e){this.set("subscribe",e)}get publish(){return this.get("publish")}set publish(e){this.set("publish",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}};const H=class extends J{constructor(e,t,s){super(e,t,s),this.element="channels"}};const G=class extends J{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 servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get serverVariables(){return this.get("serverVariables")}set serverVariables(e){this.set("serverVariables",e)}get messages(){return this.get("messages")}set messages(e){this.set("messages",e)}get securitySchemes(){return this.get("securitySchemes")}set securitySchemes(e){this.set("securitySchemes",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get correlationIds(){return this.get("correlationIds")}set correlationIds(e){this.set("correlationIds",e)}get operationTraits(){return this.get("operationTraits")}set operationTraits(e){this.set("operationTraits",e)}get messageTraits(){return this.get("messageTraits")}set messageTraits(e){this.set("messageTraits",e)}get serverBindings(){return this.get("serverBindings")}set serverBindings(e){this.set("serverBindings",e)}get channelBindings(){return this.get("channelBindings")}set channelBindings(e){this.set("channelBindings",e)}get operationBindings(){return this.get("operationBindings")}set operationBindings(e){this.set("operationBindings",e)}get messageBindings(){return this.get("messageBindings")}set messageBindings(e){this.set("messageBindings",e)}};const Q=class extends J{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 Z=class extends J{constructor(e,t,s){super(e,t,s),this.element="correlationID"}get description(){return this.get("description")}set description(e){this.set("description",e)}get location(){return this.get("location")}set location(e){this.set("location",e)}};const X=class extends U{constructor(e,t,s){super(e,t,s),this.element="defaultContentType"}};const Y=class extends J{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 ee=class extends U{constructor(e,t,s){super(e,t,s),this.element="identifier"}};const te=class extends J{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 version(){return this.get("version")}set version(e){this.set("version",e)}get license(){return this.get("license")}set license(e){this.set("license",e)}get contact(){return this.get("contact")}set contact(e){this.set("contact",e)}};const se=class extends J{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 ne=class extends J{constructor(e,t,s){super(e,t,s),this.element="message"}get messageId(){return this.get("messageId")}set messageId(e){this.set("messageId",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get payload(){return this.get("payload")}set payload(e){this.set("payload",e)}get correlationId(){return this.get("correlationId")}set correlationId(e){this.set("correlationId",e)}get schemaFormat(){return this.get("schemaFormat")}set schemaFormat(e){this.set("schemaFormat",e)}get contentType(){return this.get("contentType")}set contentType(e){this.set("contentType",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get title(){return this.get("title")}set title(e){this.set("title",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 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 bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get traits(){return this.get("traits")}set traits(e){this.set("traits",e)}};const ie=class extends J{constructor(e,t,s){super(e,t,s),this.element="messageBindings"}get http(){return this.get("http")}set http(e){this.set("http",e)}get ws(){return this.get("ws")}set ws(e){this.set("ws",e)}get kafka(){return this.get("kafka")}set kafka(e){this.set("kafka",e)}get anypointmq(){return this.get("anypointmq")}set anypointmq(e){this.set("anypointmq",e)}get amqp(){return this.get("amqp")}set amqp(e){this.set("amqp",e)}get amqp1(){return this.get("amqp1")}set amqp1(e){this.set("amqp1",e)}get mqtt(){return this.get("mqtt")}set mqtt(e){this.set("mqtt",e)}get mqtt5(){return this.get("mqtt5")}set mqtt5(e){this.set("mqtt5",e)}get nats(){return this.get("nats")}set nats(e){this.set("nats",e)}get jms(){return this.get("jms")}set jms(e){this.set("jms",e)}get sns(){return this.get("sns")}set sns(e){this.set("sns",e)}get solace(){return this.get("solace")}set solace(e){this.set("solace",e)}get sqs(){return this.get("sqs")}set sqs(e){this.set("sqs",e)}get stomp(){return this.get("stomp")}set stomp(e){this.set("stomp",e)}get redis(){return this.get("redis")}set redis(e){this.set("redis",e)}get mercure(){return this.get("mercure")}set mercure(e){this.set("mercure",e)}get googlepubsub(){return this.get("googlepubsub")}set googlepubsub(e){this.set("googlepubsub",e)}get ibmmq(){return this.get("ibmmq")}set ibmmq(e){this.set("ibmmq",e)}};const re=class extends J{constructor(e,t,s){super(e,t,s),this.element="messageExample"}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get payload(){return this.get("payload")}set payload(e){this.set("payload",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}};const oe=class extends J{constructor(e,t,s){super(e,t,s),this.element="messageTrait"}get messageId(){return this.get("messageId")}set messageId(e){this.set("messageId",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get correlationId(){return this.get("correlationId")}set correlationId(e){this.set("correlationId",e)}get schemaFormat(){return this.get("schemaFormat")}set schemaFormat(e){this.set("schemaFormat",e)}get contentType(){return this.get("contentType")}set contentType(e){this.set("contentType",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get title(){return this.get("title")}set title(e){this.set("title",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 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 bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}};const ae=class extends J{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 ce=class extends J{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 le=class extends J{constructor(e,t,s){super(e,t,s),this.element="operation"}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",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 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 bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}get traits(){return this.get("traits")}set traits(e){this.set("traits",e)}get message(){return this.get("message")}set message(e){this.set("message",e)}};const ue=class extends J{constructor(e,t,s){super(e,t,s),this.element="operationBindings"}get http(){return this.get("http")}set http(e){this.set("http",e)}get ws(){return this.get("ws")}set ws(e){this.set("ws",e)}get kafka(){return this.get("kafka")}set kafka(e){this.set("kafka",e)}get anypointmq(){return this.get("anypointmq")}set anypointmq(e){this.set("anypointmq",e)}get amqp(){return this.get("amqp")}set amqp(e){this.set("amqp",e)}get amqp1(){return this.get("amqp1")}set amqp1(e){this.set("amqp1",e)}get mqtt(){return this.get("mqtt")}set mqtt(e){this.set("mqtt",e)}get mqtt5(){return this.get("mqtt5")}set mqtt5(e){this.set("mqtt5",e)}get nats(){return this.get("nats")}set nats(e){this.set("nats",e)}get jms(){return this.get("jms")}set jms(e){this.set("jms",e)}get sns(){return this.get("sns")}set sns(e){this.set("sns",e)}get solace(){return this.get("solace")}set solace(e){this.set("solace",e)}get sqs(){return this.get("sqs")}set sqs(e){this.set("sqs",e)}get stomp(){return this.get("stomp")}set stomp(e){this.set("stomp",e)}get redis(){return this.get("redis")}set redis(e){this.set("redis",e)}get mercure(){return this.get("mercure")}set mercure(e){this.set("mercure",e)}get googlepubsub(){return this.get("googlepubsub")}set googlepubsub(e){this.set("googlepubsub",e)}get ibmmq(){return this.get("ibmmq")}set ibmmq(e){this.set("ibmmq",e)}};const de=class extends J{constructor(e,t,s){super(e,t,s),this.element="operationTrait"}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",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 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 bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}};const he=class extends J{constructor(e,t,s){super(e,t,s),this.element="parameter"}get description(){return this.get("description")}set description(e){this.set("description",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get location(){return this.get("location")}set location(e){this.set("location",e)}};const me=class extends J{constructor(e,t,s){super(e,t,s),this.element="parameters"}};const pe=class extends J{constructor(e,t,s){super(e,t,s),this.element="reference",this.classes.push("json-reference"),this.classes.push("asyncapi-reference")}set $ref(e){this.set("$ref",e)}get $ref(){return this.get("$ref")}};function ge(e,t,s){for(var n=0,i=s.length;n<i;)t=e(t,s[n]),n+=1;return t}const fe=b(function(e,t){return ge(function(s,n){return s[n]=e(t[n],n,t),s},{},M(t))});const be=r(function(e){return null==e});var ve=b(function(e,t){if(0===e.length||be(t))return!1;for(var s=t,n=0;n<e.length;){if(be(s)||!S(e[n],s))return!1;s=s[e[n]],n+=1}return!0});const ye=ve;var Se=b(function(e,t){return ye([e],t)});const xe=Se;function Be(e){return function t(s,n,o){switch(arguments.length){case 0:return t;case 1:return i(s)?t:b(function(t,n){return e(s,t,n)});case 2:return i(s)&&i(n)?t:i(s)?b(function(t,s){return e(t,n,s)}):i(n)?b(function(t,n){return e(s,t,n)}):r(function(t){return e(s,n,t)});default:return i(s)&&i(n)&&i(o)?t:i(s)&&i(n)?b(function(t,s){return e(t,s,o)}):i(s)&&i(o)?b(function(t,s){return e(t,n,s)}):i(n)&&i(o)?b(function(t,n){return e(s,t,n)}):i(s)?r(function(t){return e(t,n,o)}):i(n)?r(function(t){return e(s,t,o)}):i(o)?r(function(t){return e(s,n,t)}):e(s,n,o)}}}const Ee=Number.isInteger||function(e){return(e|0)===e};const we=function(e,t){if(null!=t)return Ee(e)?o(e,t):t[e]};const je=b(we);const Oe=Be(function(e,t,s){return e(je(t,s))});function qe(e,t){for(var s=t,n=0;n<e.length;n+=1){if(null==s)return;var i=e[n];s=Ee(i)?o(i,s):s[i]}return s}const $e=b(qe);function Me(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,s){return t.apply(this,arguments)};case 3:return function(e,s,n){return t.apply(this,arguments)};case 4:return function(e,s,n,i){return t.apply(this,arguments)};case 5:return function(e,s,n,i,r){return t.apply(this,arguments)};case 6:return function(e,s,n,i,r,o){return t.apply(this,arguments)};case 7:return function(e,s,n,i,r,o,a){return t.apply(this,arguments)};case 8:return function(e,s,n,i,r,o,a,c){return t.apply(this,arguments)};case 9:return function(e,s,n,i,r,o,a,c,l){return t.apply(this,arguments)};case 10:return function(e,s,n,i,r,o,a,c,l,u){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function Ce(e,t){return function(){return t.call(this,e.apply(this,arguments))}}const Pe=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function ke(e){return"[object String]"===Object.prototype.toString.call(e)}const Ae=r(function(e){return!!Pe(e)||!!e&&("object"==typeof e&&(!ke(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))});var Fe="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function Ve(e,t,s){return function(n,i,r){if(Ae(r))return e(n,i,r);if(null==r)return i;if("function"==typeof r["fantasy-land/reduce"])return t(n,i,r,"fantasy-land/reduce");if(null!=r[Fe])return s(n,i,r[Fe]());if("function"==typeof r.next)return s(n,i,r);if("function"==typeof r.reduce)return t(n,i,r,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function Ie(e,t,s){for(var n=0,i=s.length;n<i;){if((t=e["@@transducer/step"](t,s[n]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n+=1}return e["@@transducer/result"](t)}const Te=b(function(e,t){return Me(e.length,function(){return e.apply(t,arguments)})});function Re(e,t,s){for(var n=s.next();!n.done;){if((t=e["@@transducer/step"](t,n.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n=s.next()}return e["@@transducer/result"](t)}function _e(e,t,s,n){return e["@@transducer/result"](s[n](Te(e["@@transducer/step"],e),t))}const Ne=Ve(Ie,_e,Re);var De=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();const Je=Be(function(e,t,s){return Ne("function"==typeof e?new De(e):e,t,s)});function Le(e,t){return function(){var s=arguments.length;if(0===s)return t();var n=arguments[s-1];return Pe(n)||"function"!=typeof n[e]?t.apply(this,arguments):n[e].apply(n,Array.prototype.slice.call(arguments,0,s-1))}}const Ue=Be(Le("slice",function(e,t,s){return Array.prototype.slice.call(s,e,t)}));const ze=r(Le("tail",Ue(1,1/0)));function We(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return Me(arguments[0].length,Je(Ce,arguments[0],ze(arguments)))}var Ke=function(e,t){switch(arguments.length){case 0:return Ke;case 1:return function t(s){return 0===arguments.length?t:x(e,s)};default:return x(e,t)}};const He=Ke;function Ge(e,t){return function(e,t,s){var n,i;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(n=1/t;s<e.length;){if(0===(i=e[s])&&1/i===n)return s;s+=1}return-1}if(t!=t){for(;s<e.length;){if("number"==typeof(i=e[s])&&i!=i)return s;s+=1}return-1}return e.indexOf(t,s);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,s);case"object":if(null===t)return e.indexOf(t,s)}for(;s<e.length;){if(A(e[s],t))return s;s+=1}return-1}(t,e,0)>=0}function Qe(e,t){for(var s=0,n=t.length,i=Array(n);s<n;)i[s]=e(t[s]),s+=1;return i}function Ze(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var Xe=function(e){return(e<10?"0":"")+e};const Ye="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+Xe(e.getUTCMonth()+1)+"-"+Xe(e.getUTCDate())+"T"+Xe(e.getUTCHours())+":"+Xe(e.getUTCMinutes())+":"+Xe(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function et(e,t,s){return function(){if(0===arguments.length)return s();var n=arguments[arguments.length-1];if(!Pe(n)){for(var i=0;i<e.length;){if("function"==typeof n[e[i]])return n[e[i]].apply(n,Array.prototype.slice.call(arguments,0,-1));i+=1}if(function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}(n))return t.apply(null,Array.prototype.slice.call(arguments,0,-1))(n)}return s.apply(this,arguments)}}function tt(e){return"[object Object]"===Object.prototype.toString.call(e)}const st=function(){return this.xf["@@transducer/init"]()},nt=function(e){return this.xf["@@transducer/result"](e)};var it=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=st,e.prototype["@@transducer/result"]=nt,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function rt(e){return function(t){return new it(e,t)}}var ot=b(et(["fantasy-land/filter","filter"],rt,function(e,t){return tt(t)?ge(function(s,n){return e(t[n])&&(s[n]=t[n]),s},{},M(t)):(s=t,"[object Map]"===Object.prototype.toString.call(s)?function(e,t){for(var s=new Map,n=t.entries(),i=n.next();!i.done;)e(i.value[1])&&s.set(i.value[0],i.value[1]),i=n.next();return s}(e,t):function(e,t){for(var s=0,n=t.length,i=[];s<n;)e(t[s])&&(i[i.length]=t[s]),s+=1;return i}(e,t));var s}));const at=ot;const ct=b(function(e,t){return at((s=e,function(){return!s.apply(this,arguments)}),t);var s});function lt(e,t){var s=function(s){var n=t.concat([e]);return Ge(s,n)?"<Circular>":lt(s,n)},n=function(e,t){return Qe(function(t){return Ze(t)+": "+s(e[t])},t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+Qe(s,e).join(", ")+"))";case"[object Array]":return"["+Qe(s,e).concat(n(e,ct(function(e){return/^\d+$/.test(e)},M(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):Ze(Ye(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())+")":Ze(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var i=e.toString();if("[object Object]"!==i)return i}return"{"+n(e,M(e)).join(", ")+"}"}}const ut=r(function(e){return lt(e,[])});const dt=Be(function(e,t,s){return e(qe(t,s))});function ht(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const mt=b(function(e,t){return e&&t});function pt(e,t,s){for(var n=s.next();!n.done;)t=e(t,n.value),n=s.next();return t}function gt(e,t,s,n){return s[n](e,t)}const ft=Ve(ge,gt,pt);var bt=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=st,e.prototype["@@transducer/result"]=nt,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const vt=function(e){return function(t){return new bt(e,t)}};function yt(e,t,s){return function(){for(var n=[],r=0,o=e,a=0,c=!1;a<t.length||r<arguments.length;){var l;a<t.length&&(!i(t[a])||r>=arguments.length)?l=t[a]:(l=arguments[r],r+=1),n[a]=l,i(l)?c=!0:o-=1,a+=1}return!c&&o<=0?s.apply(this,n):Me(Math.max(0,o),yt(e,n,s))}}const St=b(function(e,t){return 1===e?r(t):Me(e,yt(e,[],t))});const xt=b(et(["fantasy-land/map","map"],vt,function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return St(t.length,function(){return e.call(this,t.apply(this,arguments))});case"[object Object]":return ge(function(s,n){return s[n]=e(t[n]),s},{},M(t));default:return Qe(e,t)}}));const Bt=b(function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(s){return e(s)(t(s))}:ft(function(e,s){return function(e,t){var s;t=t||[];var n=(e=e||[]).length,i=t.length,r=[];for(s=0;s<n;)r[r.length]=e[s],s+=1;for(s=0;s<i;)r[r.length]=t[s],s+=1;return r}(e,xt(s,t))},[],e)});const Et=b(function(e,t){var s=St(e,t);return St(e,function(){return ge(Bt,xt(s,arguments[0]),Array.prototype.slice.call(arguments,1))})});const wt=r(function(e){return Et(e.length,e)});const jt=b(function(e,t){return ht(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:wt(mt)(e,t)});const Ot=A(null);const qt=wt(r(function(e){return!e}));const $t=qt(Ot);function Mt(e){return Mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mt(e)}const Ct=function(e){return"object"===Mt(e)};const Pt=St(1,jt($t,Ct));const kt=b(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 i=s(typeof e,typeof t);if(void 0!==i)return i===typeof e?e:t;var r=ut(e),o=s(r,ut(t));return void 0!==o&&o===r?e:t});const At=b(function(e,t){return xt(je(e),t)});const Ft=r(function(e){return St(Je(kt,0,At("length",e)),function(){for(var t=0,s=e.length;t<s;){if(e[t].apply(this,arguments))return!0;t+=1}return!1})});const Vt=St(1,We(C,He("GeneratorFunction")));const It=St(1,We(C,He("AsyncFunction")));const Tt=Ft([We(C,He("Function")),Vt,It]);var Rt=We(C,He("Object")),_t=We(ut,A(ut(Object))),Nt=dt(jt(Tt,_t),["constructor"]);const Dt=St(1,function(e){if(!Pt(e)||!Rt(e))return!1;var t=Object.getPrototypeOf(e);return!!Ot(t)||Nt(t)});const Jt=St(1,We(C,He("String")));const Lt=r(function(e){return St(e.length,e)});const Ut=b(function(e,t){return St(e+1,function(){var s=arguments[e];if(null!=s&&ht(s[t]))return s[t].apply(s,Array.prototype.slice.call(arguments,0,e));throw new TypeError(ut(s)+' does not have a method named "'+t+'"')})});const zt=Ut(1,"split");var Wt=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=st,e.prototype["@@transducer/result"]=nt,e.prototype["@@transducer/step"]=function(e,t){if(this.f){if(this.f(t))return e;this.f=null}return this.xf["@@transducer/step"](e,t)},e}();function Kt(e){return function(t){return new Wt(e,t)}}const Ht=b(et(["dropWhile"],Kt,function(e,t){for(var s=0,n=t.length;s<n&&e(t[s]);)s+=1;return Ue(s,1/0,t)}));const Gt=Ut(1,"join");const Qt=r(function(e){return St(e.length,function(t,s){var n=Array.prototype.slice.call(arguments,0);return n[0]=s,n[1]=t,e.apply(this,n)})})(b(Ge));const Zt=Lt(function(e,t){return We(zt(""),Ht(Qt(e)),Gt(""))(t)}),Xt=new WeakMap,Yt=e=>{if(Xt.has(e))return Xt.get(e);const t={},s=(e,n,i)=>("string"==typeof e.element&&(t[e.element]=e.$visitor?[...i,"$visitor"]:i),fe((e,t)=>{const r=[...i,t];if(Dt(e)&&xe("$ref",e)&&Oe(Jt,"$ref",e)){const t=$e(["$ref"],e),s=Zt("#/",t);return $e(s.split("/"),n)}return Dt(e)?s(e,n,r):e},e)),n=s(e,e,[]);return n.elementMap=t,Xt.set(e,n),n};const es=class extends J{constructor(e,t,s){super(e,t,s),this.element="JSONSchemaDraft4"}get idField(){return this.get("id")}set idField(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 itemsField(){return this.get("items")}set itemsField(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 linksField(){return this.get("links")}set linksField(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 ts=class extends J{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 ss=class extends J{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 ns=class extends J{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 is=class extends R{constructor(e,t,s){super(e,t,s),this.element="number"}primitive(){return"number"}};const rs=class extends R{constructor(e,t,s){super(e??null,t,s),this.element="null"}primitive(){return"null"}set(e){throw new Error("Cannot set the value of null")}};const os=class extends R{constructor(e,t,s){super(e,t,s),this.element="boolean"}primitive(){return"boolean"}};const as=class extends N{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()}set(e,t){return"number"==typeof e&&void 0!==t?this._content[e]=this.refract(t):this.content=e,this}remove(e){return this._content.splice(e,1)[0]??null}map(e,t){return this._content.map(e,t)}flatMap(e,t){return this._content.flatMap(e,t)}compactMap(e,t){const s=[];for(const n of this._content){const i=e.call(t,n);i&&s.push(i)}return s}filter(e,t){const s=this._content.filter(e,t);return new this.constructor(s)}reject(e,t){const s=[];for(const n of this._content)e.call(t,n)||s.push(n);return new this.constructor(s)}reduce(e,t){let s,n;void 0!==t?(s=0,n=this.refract(t)):(s=1,n=this.first);for(let t=s;t<this.length;t+=1){const s=e(n,this._content[t],t,this);n=void 0===s?s:this.refract(s)}return n}forEach(e,t){this._content.forEach((s,n)=>{e.call(t,s,n)})}empty(){return new this.constructor([])}},cs=e=>e instanceof R,ls=e=>e instanceof U,us=e=>e instanceof is,ds=e=>e instanceof rs,hs=e=>e instanceof os,ms=e=>e instanceof as,ps=e=>e instanceof J,gs=e=>e instanceof D,fs=e=>"number"==typeof e.startLine&&"number"==typeof e.startCharacter&&"number"==typeof e.startOffset&&"number"==typeof e.endLine&&"number"==typeof e.endCharacter&&"number"==typeof e.endOffset,bs=(e,t)=>0===t.length||!!cs(e)&&(!e.isMetaEmpty&&(!!e.hasMetaProperty("classes")&&t.every(t=>e.classes.includes(t))));class vs extends U{constructor(e,t,s){super(e,t,s),this.element="sourceMap"}static transfer(e,t){t.startLine=e.startLine,t.startCharacter=e.startCharacter,t.startOffset=e.startOffset,t.endLine=e.endLine,t.endCharacter=e.endCharacter,t.endOffset=e.endOffset}static from(e){const{startLine:t,startCharacter:s,startOffset:n,endLine:i,endCharacter:r,endOffset:o}=e;if("number"!=typeof t||"number"!=typeof s||"number"!=typeof n||"number"!=typeof i||"number"!=typeof r||"number"!=typeof o)return;const a="sm1:"+[t,s,n,i,r,o].map(Ss).join("");const c=new vs(a);return c.startLine=t,c.startCharacter=s,c.startOffset=n,c.endLine=i,c.endCharacter=r,c.endOffset=o,c}applyTo(e){this.content&&([e.startLine,e.startCharacter,e.startOffset,e.endLine,e.endCharacter,e.endOffset]=function(e){const t=e.startsWith("sm1:")?e.slice(4):e,s=[];let n=0;for(let e=0;e<6;e++){const e=xs(t,n);s.push(e.value),n=e.next}return s}(this.content))}}const ys="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function Ss(e){let t=e>>>0,s="";do{let e=31&t;t>>>=5,0!==t&&(e|=32),s+=ys[e]}while(0!==t);return s}function xs(e,t=0){let s=0,n=0,i=t;for(;;){const t=e[i++],r=ys.indexOf(t);if(-1===r)throw new Error(`Invalid Base64 VLQ char: ${t}`);if(s|=(31&r)<<n,n+=5,!!!(32&r))break}return{value:s>>>0,next:i}}const Bs=vs;const Es=class extends d{constructor(e,t){if(super(e,t),null!=t&&"object"==typeof t){const{cause:e,...s}=t;Object.assign(this,s)}}};const ws=class extends Es{value;constructor(e,t){super(e,t),void 0!==t&&(this.value=t.value)}};const js=class extends ws{};const Os=class extends ws{},qs=(e,t)=>{const{visited:s=new WeakMap}=t,n={...t,visited:s};if(s.has(e))return s.get(e);const i=Ps(e);s.set(e,i);const{content:r}=e;return Array.isArray(r)?i.content=r.map(e=>qs(e,n)):cs(r)?i.content=qs(r,n):i.content=r instanceof F?$s(r,n):r,i},$s=(e,t)=>{const{visited:s=new WeakMap}=t,n={...t,visited:s};if(s.has(e))return s.get(e);const{key:i,value:r}=e,o=void 0!==i?qs(i,n):void 0,a=void 0!==r?qs(r,n):void 0,c=new F(o,a);return s.set(e,c),c},Ms=(e,t={})=>{if(e instanceof F)return $s(e,t);if(e instanceof I)return((e,t)=>{const{visited:s=new WeakMap}=t,n={...t,visited:s};if(s.has(e))return s.get(e);const i=[...e].map(e=>qs(e,n)),r=new I(i);return s.set(e,r),r})(e,t);if(cs(e))return qs(e,t);throw new js("Value provided to cloneDeep function couldn't be cloned",{value:e})};Ms.safe=e=>{try{return Ms(e)}catch{return e}};const Cs=e=>{const{key:t,value:s}=e;return new F(t,s)},Ps=e=>{const t=new(0,e.constructor);t.element=e.element,e.isMetaEmpty||(t.meta=Ms(e.meta)),e.isAttributesEmpty||(t.attributes=Ms(e.attributes)),fs(e)&&Bs.transfer(e,t);const{content:s}=e;return cs(s)?t.content=Ps(s):Array.isArray(s)?t.content=[...s]:t.content=s instanceof F?Cs(s):s,t},ks=e=>{if(e instanceof F)return Cs(e);if(e instanceof I)return(e=>{const t=[...e];return new I(t)})(e);if(cs(e))return Ps(e);throw new Os("Value provided to cloneShallow function couldn't be cloned",{value:e})};ks.safe=e=>{try{return ks(e)}catch{return e}};const As=class extends R{constructor(e,t,s){super(e||[],t,s),this.element="link"}get relation(){if(this.hasAttributesProperty("relation"))return this.attributes.get("relation")}set relation(e){this.attributes.set("relation",e)}get href(){if(this.hasAttributesProperty("href"))return this.attributes.get("href")}set href(e){this.attributes.set("href",e)}};const Fs=class extends R{constructor(e,t,s){super(e||[],t,s),this.element="ref",this.path||(this.path="element")}get path(){if(this.hasAttributesProperty("path"))return this.attributes.get("path")}set path(e){this.attributes.set("path",e)}};const Vs=class extends U{constructor(e,t,s){super(e,t,s),this.element="annotation"}get code(){if(this.hasAttributesProperty("code"))return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}};const Is=class extends U{constructor(e,t,s){super(e,t,s),this.element="comment"}};const Ts=class extends as{constructor(e,t,s){super(e,t,s),this.element="parseResult"}get api(){return this.filter(e=>bs(e,["api"])).first}get results(){return this.filter(e=>bs(e,["result"]))}get result(){return this.results.first}get annotations(){return this.filter(e=>"annotation"===e.element)}get warnings(){return this.filter(e=>"annotation"===e.element&&bs(e,["warning"]))}get errors(){return this.filter(e=>"annotation"===e.element&&bs(e,["error"]))}get isEmpty(){return 0===this.reject(e=>"annotation"===e.element).length}replaceResult(e){const{result:t}=this;if(void 0===t)return!1;const s=this._content,n=s.findIndex(e=>e===t);return-1!==n&&(s[n]=e,!0)}},Rs=e=>e instanceof As,_s=e=>e instanceof Fs,Ns=e=>{if(!cs(e))return e;if(ls(e)||us(e)||hs(e)||ds(e))return e.toValue();const t=new WeakMap,s=e=>{if(!cs(e))return e;if(ps(e)){if(t.has(e))return t.get(e);const n={};return t.set(e,n),e.forEach((e,t)=>{const i=s(t),r=s(e);"string"==typeof i&&(n[i]=r)}),n}if(ms(e)){if(t.has(e))return t.get(e);const n=[];return t.set(e,n),e.forEach(e=>n.push(s(e))),n}return _s(e)?String(e.toValue()):Rs(e)?ls(e.href)?e.href.toValue():"":e.toValue()};return s(e)},Ds=e=>{const t=e.isMetaEmpty?void 0:Ms(e.meta),s=e.isAttributesEmpty?void 0:Ms(e.attributes);return new e.constructor(void 0,t,s)},Js=(e,t)=>t.clone&&t.isMergeableElement(e)?Us(Ds(e),e,t):e,Ls={clone:!0,isMergeableElement:e=>ps(e)||ms(e),arrayElementMerge:(e,t,s)=>new(0,e.constructor)(e.concat(t).map(e=>Js(e,s))),objectElementMerge:(e,t,s)=>{const n=ps(e)?Ds(e):Ds(t);return ps(e)&&e.forEach((e,t,i)=>{const r=ks(i);r.value=Js(e,s),n.content.push(r)}),t.forEach((t,i,r)=>{const o=Ns(i);let a;if(ps(e)&&e.hasKey(o)&&s.isMergeableElement(t)){const n=e.get(o);a=ks(r),a.value=((e,t)=>{if("function"!=typeof t.customMerge)return Us;const s=t.customMerge(e,t);return"function"==typeof s?s:Us})(i,s)(n,t,s)}else a=ks(r),a.value=Js(t,s);n.remove(o),n.content.push(a)}),n},customMerge:void 0,customMetaMerge:void 0,customAttributesMerge:void 0},Us=(e,t,s)=>{const n={...Ls,...s};n.isMergeableElement=n.isMergeableElement??Ls.isMergeableElement,n.arrayElementMerge=n.arrayElementMerge??Ls.arrayElementMerge,n.objectElementMerge=n.objectElementMerge??Ls.objectElementMerge;const i=ms(t);if(!(i===ms(e)))return Js(t,n);const r=i&&"function"==typeof n.arrayElementMerge?n.arrayElementMerge(e,t,n):n.objectElementMerge(e,t,n);return r.meta=(e=>"function"!=typeof e.customMetaMerge?e=>Ms(e):e.customMetaMerge)(n)(e.meta,t.meta),r.attributes=(e=>"function"!=typeof e.customAttributesMerge?e=>Ms(e):e.customAttributesMerge)(n)(e.attributes,t.attributes),r};Us.all=(e,t)=>{if(!Array.isArray(e))throw new TypeError("First argument of deepmerge should be an array.");return 0===e.length?new J:e.reduce((e,s)=>Us(e,s,t),Ds(e[0]))};const zs=Us;const Ws=class{element;constructor(e){Object.assign(this,e)}copyMetaAndAttributes(e,t){if(!e.isMetaEmpty||!t.isMetaEmpty){const s=t.isMetaEmpty?new J:t.meta,n=e.isMetaEmpty?new J:e.meta;t.meta=zs(s,n)}if(!e.isAttributesEmpty||!t.isAttributesEmpty){const s=t.isAttributesEmpty?new J:t.attributes,n=e.isAttributesEmpty?new J:e.attributes;t.attributes=zs(s,n)}Bs.transfer(e,t)}};const Ks=class extends Ws{enter(e){this.element=Ms(e.node),e.stop()}};const Hs=r(function(e){return function(){return e}});const Gs=b(function(e,t){return null==t||t!=t?e:t});const Qs=Hs(void 0);const Zs=A(Qs());const Xs=r(function(e){return St(Je(kt,0,At("length",e)),function(){for(var t=0,s=e.length;t<s;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0})});var Ys=r(function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():e==Set||e instanceof Set?new Set:e==Map||e instanceof Map?new Map:Pe(e)?[]:ke(e)?"":tt(e)?{}:E(e)?function(){return arguments}():function(e){var t=Object.prototype.toString.call(e);return"[object Uint8ClampedArray]"===t||"[object Int8Array]"===t||"[object Uint8Array]"===t||"[object Int16Array]"===t||"[object Uint16Array]"===t||"[object Int32Array]"===t||"[object Uint32Array]"===t||"[object Float32Array]"===t||"[object Float64Array]"===t||"[object BigInt64Array]"===t||"[object BigUint64Array]"===t}(e)?e.constructor.from(""):void 0});const en=Ys;const tn=r(function(e){return null!=e&&A(e,en(e))});const sn=r(function(e){return!tn(e)});const nn=b(function(e,t){return e||t});const rn=St(1,jt($t,b(function(e,t){return ht(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:wt(nn)(e,t)})(Ct,Tt)));var on=qt(rn);const an=Xs([Jt,on,sn]);const cn=b(function(e,t){for(var s={},n=0;n<e.length;)e[n]in t&&(s[e[n]]=t[e[n]]),n+=1;return s});class ln{node;key;index;parent;parentPath;inList;#e=!1;#t=!1;#s=!1;#n=!1;#i;#r=!1;constructor(e,t,s,n,i){this.node=e,this.parent=t,this.parentPath=s,this.key=n,this.index=i&&"number"==typeof n?n:void 0,this.inList=i}get shouldSkip(){return this.#e}get shouldStop(){return this.#t}get removed(){return this.#s}isRoot(){return null===this.parentPath}get depth(){let e=0,t=this.parentPath;for(;null!==t;)e+=1,t=t.parentPath;return e}getAncestry(){const e=[];let t=this.parentPath;for(;null!==t;)e.push(t),t=t.parentPath;return e}getAncestorNodes(){return this.getAncestry().map(e=>e.node)}getPathKeys(){const e=[];let t=this;for(;null!==t&&void 0!==t.key;)e.unshift(t.key),t=t.parentPath;return e}findParent(e){let t=this.parentPath;for(;null!==t;){if(e(t))return t;t=t.parentPath}return null}find(e){return e(this)?this:this.findParent(e)}skip(){this.#e=!0}stop(){this.#t=!0}replaceWith(e){this.#r&&console.warn("Warning: replaceWith() called on a stale Path. This path belongs to a node whose visit has already completed. The replacement will have no effect. To replace a parent node, do so from the parent's own visitor."),this.#n=!0,this.#i=e,this.node=e}remove(){this.#r&&console.warn("Warning: remove() called on a stale Path. This path belongs to a node whose visit has already completed. The removal will have no effect. To remove a parent node, do so from the parent's own visitor."),this.#s=!0}_getReplacementNode(){return this.#i}_wasReplaced(){return this.#n}_reset(){this.#e=!1,this.#t=!1,this.#s=!1,this.#n=!1,this.#i=void 0}_markStale(){this.#r=!0}}const un=St(1,jt(rn,We(ut,A("[object Promise]")))),dn=e=>{const t=e?.element;return void 0===t||"element"===t?"Element":`${t.charAt(0).toUpperCase()}${t.slice(1)}Element`},hn=e=>cs(e),mn=e=>ks(e),pn=(e,t,s)=>{gs(e)?e.value=s:Array.isArray(e)?e[t]=null===s?void 0:s:null===s?delete e[t]:e[t]=s},gn=e=>gs(e)?["key","value"]:ms(e)||ps(e)?["content"]:[],fn=(e,t)=>{if(void 0!==e[t])return e[t];const s=t.length;for(const n in e){if(!n.includes("|"))continue;const i=n.indexOf(t);if(-1===i)continue;const r=0===i||"|"===n[i-1],o=i+s===n.length||"|"===n[i+s];if(r&&o)return e[n]}},bn=(e,t,s)=>{if(void 0===t)return null;const n=e,i=s?"leave":"enter",r=fn(n,t);if(!s&&"function"==typeof r)return r;if(null!=r){const e=r[i];if("function"==typeof e)return e}const o=n[i];if("function"==typeof o)return o;if(null!=o){const e=fn(o,t);if("function"==typeof e)return e}return null},vn=(e,t={})=>{const{visitFnGetter:s=bn,nodeTypeGetter:n=dn,exposeEdits:i=!1}=t,r=Symbol("internal-skip"),o=Symbol("break"),a=new Array(e.length).fill(r);return{enter(t){let c=t.node,l=!1;for(let u=0;u<e.length;u+=1)if(a[u]===r){const r=s(e[u],n(c),!1);if("function"==typeof r){const s=Sn(t,c),n=r.call(e[u],s);if(un(n))throw new Es("Async visitor not supported in sync mode",{visitor:e[u],visitFn:r});if(s.shouldStop){a[u]=o;break}if(s.shouldSkip&&(a[u]=c),s.removed)return void t.remove();if(s._wasReplaced()){const e=s._getReplacementNode();if(!i)return t.replaceWith(e),e;c=e,l=!0}else if(void 0!==n){if(!i)return t.replaceWith(n),n;c=n,l=!0}}}if(l)return t.replaceWith(c),c},leave(t){const i=t.node;for(let c=0;c<e.length;c+=1)if(a[c]===r){const r=s(e[c],n(i),!0);if("function"==typeof r){const s=Sn(t,i),n=r.call(e[c],s);if(un(n))throw new Es("Async visitor not supported in sync mode",{visitor:e[c],visitFn:r});if(s.shouldStop){a[c]=o;break}if(s.removed)return void t.remove();if(s._wasReplaced()){const e=s._getReplacementNode();return t.replaceWith(e),e}if(void 0!==n)return t.replaceWith(n),n}}else a[c]===i&&(a[c]=r)}}},yn=(e,t={})=>{const{visitFnGetter:s=bn,nodeTypeGetter:n=dn,exposeEdits:i=!1}=t,r=Symbol("internal-skip"),o=Symbol("break"),a=new Array(e.length).fill(r);return{async enter(t){let c=t.node,l=!1;for(let u=0;u<e.length;u+=1)if(a[u]===r){const r=s(e[u],n(c),!1);if("function"==typeof r){const s=Sn(t,c),n=await r.call(e[u],s);if(s.shouldStop){a[u]=o;break}if(s.shouldSkip&&(a[u]=c),s.removed)return void t.remove();if(s._wasReplaced()){const e=s._getReplacementNode();if(!i)return t.replaceWith(e),e;c=e,l=!0}else if(void 0!==n){if(!i)return t.replaceWith(n),n;c=n,l=!0}}}if(l)return t.replaceWith(c),c},async leave(t){const i=t.node;for(let c=0;c<e.length;c+=1)if(a[c]===r){const r=s(e[c],n(i),!0);if("function"==typeof r){const s=Sn(t,i),n=await r.call(e[c],s);if(s.shouldStop){a[c]=o;break}if(s.removed)return void t.remove();if(s._wasReplaced()){const e=s._getReplacementNode();return t.replaceWith(e),e}if(void 0!==n)return t.replaceWith(n),n}}else a[c]===i&&(a[c]=r)}}};function Sn(e,t){return new ln(t,e.parent,e.parentPath,e.key,e.inList)}function*xn(e,t,s){const{keyMap:n,state:i,nodeTypeGetter:r,nodePredicate:o,nodeCloneFn:a,detectCycles:c,mutable:l,mutationFn:u}=s,d="function"==typeof n;let h,m,p=Array.isArray(e),g=[e],f=-1,b=[],v=e,y=null,S=null;const x=[];do{f+=1;const e=f===g.length;let s;const B=e&&0!==b.length;if(e){if(s=0===x.length?void 0:y?.key,v=m,m=x.pop(),S=y?.parentPath?.parentPath??null,B)if(l)for(const[e,t]of b)u(v,e,t);else if(p){v=v.slice();let e=0;for(const[t,s]of b){const n=t-e;null===s?(v.splice(n,1),e+=1):v[n]=s}}else{v=a(v);for(const[e,t]of b)v[e]=t}if(void 0!==h){f=h.index,g=h.keys,b=h.edits;const e=h.inArray;if(S=h.parentPath,h=h.prev,B&&!l){const t=e?f:g[f];b.push([t,v])}p=e}}else if(void 0!==m&&(s=p?f:g[f],v=m[s],void 0===v))continue;if(!Array.isArray(v)){if(!o(v))throw new Es(`Invalid AST Node: ${String(v)}`,{node:v});if(c&&x.includes(v))continue;y=new ln(v,m,S,s,p);const n=bn(t,r(v),e);if(n){for(const[e,s]of Object.entries(i))t[e]=s;const r=yield{visitFn:n,path:y,isLeaving:e};if(y.shouldStop)break;if(y.shouldSkip&&!e)continue;if(y.removed){if(b.push([s,null]),!e)continue}else if(y._wasReplaced()){const t=y._getReplacementNode();if(b.push([s,t]),!e){if(!o(t))continue;v=t}}else if(void 0!==r&&(b.push([s,r]),!e)){if(!o(r))continue;v=r}y._markStale()}}if(!e){if(h={inArray:p,index:f,keys:g,edits:b,parentPath:S,prev:h},p=Array.isArray(v),p)g=v;else if(d)g=n(v);else{const e=r(v);g=void 0!==e?n[e]??[]:[]}f=-1,b=[],void 0!==m&&x.push(m),m=v,S=y}}while(void 0!==h);return 0!==b.length?b.at(-1)[1]:e}vn[Symbol.for("nodejs.util.promisify.custom")]=yn;const Bn=(e,t,s={})=>{const n=xn(e,t,{keyMap:s.keyMap??gn,state:s.state??{},nodeTypeGetter:s.nodeTypeGetter??dn,nodePredicate:s.nodePredicate??hn,nodeCloneFn:s.nodeCloneFn??mn,detectCycles:s.detectCycles??!0,mutable:s.mutable??!1,mutationFn:s.mutationFn??pn});let i=n.next();for(;!i.done;){const e=i.value,s=e.visitFn.call(t,e.path);if(un(s))throw new Es("Async visitor not supported in sync mode",{visitor:t,visitFn:e.visitFn});i=n.next(s)}return i.value},En=async(e,t,s={})=>{const n=xn(e,t,{keyMap:s.keyMap??gn,state:s.state??{},nodeTypeGetter:s.nodeTypeGetter??dn,nodePredicate:s.nodePredicate??hn,nodeCloneFn:s.nodeCloneFn??mn,detectCycles:s.detectCycles??!0,mutable:s.mutable??!1,mutationFn:s.mutationFn??pn});let i=n.next();for(;!i.done;){const e=i.value,s=await e.visitFn.call(t,e.path);i=n.next(s)}return i.value};Bn[Symbol.for("nodejs.util.promisify.custom")]=En,ln.prototype.traverse=function(e,t){return Bn(this.node,e,t)},ln.prototype.traverseAsync=function(e,t){return En(this.node,e,t)};const wn=class extends Ws{specObj;passingOptionsNames=["specObj","parent"];constructor({specObj:e,...t}){super({...t}),this.specObj=e}retrievePassingOptions(){return cn(this.passingOptionsNames,this)}retrieveFixedFields(e){const t=$e(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]}retrieveVisitor(e){return dt(Tt,["visitors",...e],this.specObj)?$e(["visitors",...e],this.specObj):$e(["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 Ks&&n?.constructor===Ks?Ms(t):(Bn(t,n,s),n.element)}};const jn=class extends wn{specPath;ignoredFields;constructor({specPath:e,ignoredFields:t,...s}){super({...s}),this.specPath=e,this.ignoredFields=t||[]}ObjectElement(e){const t=e.node,s=this.specPath(t),n=this.retrieveFixedFields(s);t.forEach((e,t,i)=>{const r=Ns(t);if(ls(t)&&n.includes(r)&&!this.ignoredFields.includes(r)){const n=this.toRefractedElement([...s,"fixedFields",r],e),o=new D(Ms(t),n);this.copyMetaAndAttributes(i,o),o.classes.push("fixed-field"),this.element.content.push(o)}else this.ignoredFields.includes(r)||this.element.content.push(Ms(i))}),this.copyMetaAndAttributes(t,this.element),e.stop()}},On=(e,t,s=[])=>{const n=Object.getOwnPropertyDescriptors(t);for(let e of s)delete n[e];Object.defineProperties(e,n)},qn=(e,t=[e])=>{const s=Object.getPrototypeOf(e);return null===s?t:qn(s,[...t,s])},$n=(e,t,s=[])=>{var n;const i=null!==(n=((...e)=>{if(0===e.length)return;let t;const s=e.map(e=>qn(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,r=Object.create(i),o=qn(i);for(let t of e){let e=qn(t);for(let t=e.length-1;t>=0;t--){let n=e[t];-1===o.indexOf(n)&&(On(r,n,["constructor",...s]),o.push(n))}}return r.constructor=t,r},Mn=e=>e.filter((t,s)=>e.indexOf(t)==s),Cn=(e,t)=>{const s=t.map(e=>qn(e));let n=0,i=!0;for(;i;){i=!1;for(let r=t.length-1;r>=0;r--){const t=s[r][n];if(null!=t&&(i=!0,null!=Object.getOwnPropertyDescriptor(t,e)))return s[r][0]}n++}},Pn=(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(Cn(s,e)||{},s),defineProperty(){throw new Error("Cannot define new properties on Proxies created by ts-mixer")},has:(s,n)=>void 0!==Cn(n,e)||void 0!==t[n],get:(s,n)=>(Cn(n,e)||t)[n],set(t,s,n){const i=Cn(s,e);if(void 0===i)throw new Error("Cannot set new properties on Proxies created by ts-mixer");return i[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)))}),kn=null,An="copy",Fn="copy",Vn="deep",In=new WeakMap,Tn=e=>In.get(e),Rn=(e,t)=>{var s,n;const i=Mn([...Object.getOwnPropertyNames(e),...Object.getOwnPropertyNames(t)]),r={};for(let o of i)r[o]=Mn([...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 r},_n=(e,t)=>{var s,n,i,r;return{property:Rn(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:Rn(null!==(i=null==e?void 0:e.method)&&void 0!==i?i:{},null!==(r=null==t?void 0:t.method)&&void 0!==r?r:{})}},Nn=(e,t)=>{var s,n,i,r,o,a;return{class:Mn([...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:_n(null!==(i=null==e?void 0:e.static)&&void 0!==i?i:{},null!==(r=null==t?void 0:t.static)&&void 0!==r?r:{}),instance:_n(null!==(o=null==e?void 0:e.instance)&&void 0!==o?o:{},null!==(a=null==t?void 0:t.instance)&&void 0!==a?a:{})}},Dn=new Map,Jn=(...e)=>{const t=((...e)=>{var t;const s=new Set,n=new Set([...e]);for(;n.size>0;)for(let e of n){const i=[...qn(e.prototype).map(e=>e.constructor),...null!==(t=Tn(e))&&void 0!==t?t:[]].filter(e=>!s.has(e));for(let e of i)n.add(e);s.add(e),n.delete(e)}return[...s]})(...e).map(e=>Dn.get(e)).filter(e=>!!e);return 0==t.length?{}:1==t.length?t[0]:t.reduce((e,t)=>Nn(e,t))},Ln=e=>{let t=Dn.get(e);return t||(t={},Dn.set(e,t)),t};function Un(...e){var t,s,n;const i=e.map(e=>e.prototype),r=kn;if(null!==r){const e=i.map(e=>e[r]).filter(e=>"function"==typeof e),t=function(...t){for(let s of e)s.apply(this,t)},s={[r]:t};i.push(s)}function o(...t){for(const s of e)On(this,new s(...t));null!==r&&"function"==typeof this[r]&&this[r].apply(this,t)}var a,c;o.prototype="copy"===Fn?$n(i,o):(a=i,c=o,Pn([...a,{constructor:c}])),Object.setPrototypeOf(o,"copy"===An?$n(e,null,["prototype"]):Pn(e,Function.prototype));let l=o;if("none"!==Vn){const i="deep"===Vn?Jn(...e):((...e)=>{const t=e.map(e=>Ln(e));return 0===t.length?{}:1===t.length?t[0]:t.reduce((e,t)=>Nn(e,t))})(...e);for(let e of null!==(t=null==i?void 0:i.class)&&void 0!==t?t:[]){const t=e(l);t&&(l=t)}zn(null!==(s=null==i?void 0:i.static)&&void 0!==s?s:{},l),zn(null!==(n=null==i?void 0:i.instance)&&void 0!==n?n:{},l.prototype)}var u,d;return u=l,d=e,In.set(u,d),l}const zn=(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 Wn=function(){return!1};const Kn=class extends wn{specPath;ignoredFields;fieldPatternPredicate=Wn;constructor({specPath:e,ignoredFields:t,fieldPatternPredicate:s,...n}){super({...n}),this.specPath=e,this.ignoredFields=t||[],"function"==typeof s&&(this.fieldPatternPredicate=s)}ObjectElement(e){const t=e.node;t.forEach((e,t,s)=>{const n=Ns(t);if(!this.ignoredFields.includes(n)&&this.fieldPatternPredicate(n)){const n=this.specPath(e),i=this.toRefractedElement(n,e),r=new D(Ms(t),i);this.copyMetaAndAttributes(s,r),r.classes.push("patterned-field"),this.element.content.push(r)}else this.ignoredFields.includes(n)||this.element.content.push(Ms(s))}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const Hn=class extends Kn{constructor(e){super(e),this.fieldPatternPredicate=an}};const Gn=class{parent;constructor({parent:e}){this.parent=e}},Qn=Un(jn,Gn,Ks),Zn=Un(jn,Ks),Xn=Un(jn,Ks),Yn=Un(jn,Ks),ei=Un(wn,Gn,Ks),ti=Un(wn,Gn,Ks),si=Un(wn,Gn,Ks),ni=Un(wn,Gn,Ks),ii=Un(wn,Gn,Ks),ri=Un(Hn,Gn,Ks),oi=Un(Hn,Gn,Ks),ai=Un(Hn,Gn,Ks),ci=Un(Hn,Gn,Ks);const li=class extends Qn{constructor(e){super(e),this.element=new es,this.specPath=Hs(["document","objects","JSONSchema"])}get defaultDialectIdentifier(){return"http://json-schema.org/draft-04/schema#"}ObjectElement(e){const t=e.node;return this.handleDialectIdentifier(t),this.handleSchemaIdentifier(t),this.parent=this.element,jn.prototype.ObjectElement.call(this,e)}handleDialectIdentifier(e){if(Zs(this.parent)&&!ls(e.get("$schema")))this.element.meta.set("inheritedDialectIdentifier",this.defaultDialectIdentifier);else if(this.parent instanceof es&&!ls(e.get("$schema"))){const e=Gs(Ns(this.parent.meta.get("inheritedDialectIdentifier")),Ns(this.parent.$schema));this.element.meta.set("inheritedDialectIdentifier",e)}}handleSchemaIdentifier(e,t="id"){const s=void 0!==this.parent?Ms(this.parent.meta.get("ancestorsSchemaIdentifiers")??new as):new as,n=Ns(e.get(t));an(n)&&s.push(n),this.element.meta.set("ancestorsSchemaIdentifiers",s)}},ui=e=>ps(e)&&e.hasKey("$ref");const di=class extends ni{ObjectElement(e){const t=e.node,s=ui(t)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];this.element=this.toRefractedElement(s,t),e.stop()}ArrayElement(e){const t=e.node;this.element=new as,this.element.classes.push("json-schema-items"),t.forEach(e=>{const t=ui(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const hi=class extends Ks{ArrayElement(e){super.enter(e),this.element.classes.push("json-schema-required")}};const mi=class extends ci{constructor(e){super(e),this.element=new J,this.element.classes.push("json-schema-properties"),this.specPath=e=>ui(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}};const pi=class extends ai{constructor(e){super(e),this.element=new J,this.element.classes.push("json-schema-patternProperties"),this.specPath=e=>ui(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}};const gi=class extends oi{constructor(e){super(e),this.element=new J,this.element.classes.push("json-schema-dependencies"),this.specPath=e=>ui(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}};const fi=class extends Ks{ArrayElement(e){super.enter(e),this.element.classes.push("json-schema-enum")}};const bi=class extends Ks{StringElement(e){super.enter(e),this.element.classes.push("json-schema-type")}ArrayElement(e){super.enter(e),this.element.classes.push("json-schema-type")}};const vi=class extends ei{constructor(e){super(e),this.element=new as,this.element.classes.push("json-schema-allOf")}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=ui(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const yi=class extends ti{constructor(e){super(e),this.element=new as,this.element.classes.push("json-schema-anyOf")}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=ui(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const Si=class extends si{constructor(e){super(e),this.element=new as,this.element.classes.push("json-schema-oneOf")}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=ui(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const xi=class extends ri{constructor(e){super(e),this.element=new J,this.element.classes.push("json-schema-definitions"),this.specPath=e=>ui(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}};const Bi=class extends ii{constructor(e){super(e),this.element=new as,this.element.classes.push("json-schema-links")}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=this.toRefractedElement(["document","objects","LinkDescription"],e);this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const Ei=class extends Zn{constructor(e){super(e),this.element=new ts,this.specPath=Hs(["document","objects","JSONReference"])}ObjectElement(e){jn.prototype.ObjectElement.call(this,e),ls(this.element.$ref)&&this.element.classes.push("reference-element")}};const wi=class extends Ks{StringElement(e){super.enter(e),this.element.classes.push("reference-value")}};const ji=function(){return!0};const Oi=Be(function(e,t,s){return St(Math.max(e.length,t.length,s.length),function(){return e.apply(this,arguments)?t.apply(this,arguments):s.apply(this,arguments)})});const qi=r(function(e){return function(t,s){return e(t,s)?-1:e(s,t)?1:0}});var $i=b(function(e,t){return Array.prototype.slice.call(t,0).sort(e)});const Mi=$i;const Ci=r(function(e){return o(0,e)});function Pi(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}const ki=r(Pi);const Ai=qt(be);const Fi=St(1,Tt(Array.isArray)?Array.isArray:We(C,He("Array")));const Vi=jt(Fi,sn);function Ii(e){return function(e){if(Array.isArray(e))return Ti(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 Ti(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)?Ti(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 Ti(e,t){(null==t||t>e.length)&&(t=e.length);for(var s=0,n=Array(t);s<t;s++)n[s]=e[s];return n}var Ri=We(Mi(qi(function(e,t){return e.length>t.length})),Ci,je("length")),_i=Lt(function(e,t,s){var n=s.apply(void 0,Ii(e));return Ai(n)?ki(n):t});const Ni=Oi(Vi,function(e){var t=Ri(e);return St(t,function(){for(var t=arguments.length,s=new Array(t),n=0;n<t;n++)s[n]=arguments[n];return Je(_i(s),void 0,e)})},Qs);const Di=class extends wn{alternator;constructor({alternator:e,...t}){super({...t}),this.alternator=e}enter(e){const t=e.node,s=this.alternator.map(({predicate:e,specPath:t})=>Oi(e,Hs(t),Qs)),n=Ni(s)(t);this.element=this.toRefractedElement(n,t),e.stop()}};const Ji=class extends Di{constructor(e){super(e),this.alternator=[{predicate:ui,specPath:["document","objects","JSONReference"]},{predicate:ji,specPath:["document","objects","JSONSchema"]}]}};const Li=class extends Yn{constructor(e){super(e),this.element=new ss,this.specPath=Hs(["document","objects","Media"])}};const Ui=class extends Xn{constructor(e){super(e),this.element=new ns,this.specPath=Hs(["document","objects","LinkDescription"])}},zi={visitors:{value:Ks,JSONSchemaOrJSONReferenceVisitor:Ji,document:{objects:{JSONSchema:{element:"jSONSchemaDraft4",$visitor:li,fixedFields:{id:{$visitor:Ks,alias:"idField"},$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:Ji,items:{$visitor:di,alias:"itemsField"},maxItems:{$ref:"#/visitors/value"},minItems:{$ref:"#/visitors/value"},uniqueItems:{$ref:"#/visitors/value"},maxProperties:{$ref:"#/visitors/value"},minProperties:{$ref:"#/visitors/value"},required:hi,properties:mi,additionalProperties:Ji,patternProperties:pi,dependencies:gi,enum:fi,type:bi,allOf:vi,anyOf:yi,oneOf:Si,not:Ji,definitions:xi,title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},format:{$ref:"#/visitors/value"},base:{$ref:"#/visitors/value"},links:{$visitor:Bi,alias:"linksField"},media:{$ref:"#/visitors/document/objects/Media"},readOnly:{$ref:"#/visitors/value"}}},JSONReference:{element:"jSONReference",$visitor:Ei,fixedFields:{$ref:wi}},Media:{element:"media",$visitor:Li,fixedFields:{binaryEncoding:{$ref:"#/visitors/value"},type:{$ref:"#/visitors/value"}}},LinkDescription:{element:"linkDescription",$visitor:Ui,fixedFields:{href:{$ref:"#/visitors/value"},rel:{$ref:"#/visitors/value"},title:{$ref:"#/visitors/value"},targetSchema:Ji,mediaType:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},encType:{$ref:"#/visitors/value"},schema:Ji}}}}}},Wi=Yt(zi),Ki=e=>Object.entries(e).map(([e,t])=>Dt(t)?{name:e,...t}:{name:e,$visitor:t});Object.defineProperty(es,"fixedFields",{get:()=>Ki(Wi.visitors.document.objects.JSONSchema.fixedFields),enumerable:!0}),Object.defineProperty(ts,"fixedFields",{get:()=>Ki(Wi.visitors.document.objects.JSONReference.fixedFields),enumerable:!0}),Object.defineProperty(ss,"fixedFields",{get:()=>Ki(Wi.visitors.document.objects.Media.fixedFields),enumerable:!0}),Object.defineProperty(ns,"fixedFields",{get:()=>Ki(Wi.visitors.document.objects.LinkDescription.fixedFields),enumerable:!0});const Hi=class extends es{constructor(e,t,s){super(e,t,s),this.element="JSONSchemaDraft6"}get idField(){throw new h("id keyword from Core vocabulary has been renamed to $id.")}set idField(e){throw new h("id keyword from Core vocabulary has been renamed to $id.")}get $id(){return this.get("$id")}set $id(e){this.set("$id",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get containsField(){return this.get("contains")}set containsField(e){this.set("contains",e)}get itemsField(){return this.get("items")}set itemsField(e){this.set("items",e)}get propertyNames(){return this.get("propertyNames")}set propertyNames(e){this.set("propertyNames",e)}get const(){return this.get("const")}set const(e){this.set("const",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}};const Gi=class extends ns{get hrefSchema(){return this.get("hrefSchema")}set hrefSchema(e){this.set("hrefSchema",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get schema(){throw new h("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}set schema(e){throw new h("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}get submissionSchema(){return this.get("submissionSchema")}set submissionSchema(e){this.set("submissionSchema",e)}get method(){throw new h("method keyword from Hyper-Schema vocabulary has been removed.")}set method(e){throw new h("method keyword from Hyper-Schema vocabulary has been removed.")}get encType(){throw new h("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}set encType(e){throw new h("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}get submissionEncType(){return this.get("submissionEncType")}set submissionEncType(e){this.set("submissionEncType",e)}};var Qi=Be(function e(t,s,n){if(0===t.length)return s;var i=t[0];if(t.length>1){var r=we(i,n);(be(r)||"object"!=typeof r)&&(r=Ee(t[1])?[]:{}),s=e(Array.prototype.slice.call(t,1),s,r)}return function(e,t,s){if(Ee(e)&&Pe(s)){var n=e<0?s.length+e:e,i=[].concat(s);return i[n]=t,i}var r={};for(var o in s)r[o]=s[o];return r[e]=t,r}(i,s,n)});const Zi=Qi;const Xi=Be(function(e,t,s){var n=Array.prototype.slice.call(s,0);return n.splice(e,t),n});var Yi=Be(function(e,t,s){return Zi([e],t,s)});const er=Yi;var tr=b(function e(t,s){if(null==s)return s;switch(t.length){case 0:return s;case 1:return function(e,t){if(null==t)return t;if(Ee(e)&&Pe(t))return Xi(e,1,t);var s={};for(var n in t)s[n]=t[n];return delete s[e],s}(t[0],s);default:var n=t[0],i=Array.prototype.slice.call(t,1);return null==s[n]?function(e,t){if(Ee(e)&&Pe(t))return[].concat(t);var s={};for(var n in t)s[n]=t[n];return s}(n,s):er(n,e(i,s[n]),s)}});const sr=tr;const nr=class extends li{constructor(e){super(e),this.element=new Hi}get defaultDialectIdentifier(){return"http://json-schema.org/draft-06/schema#"}BooleanElement(e){this.enter(e),this.element.classes.push("boolean-json-schema")}handleSchemaIdentifier(e,t="$id"){return super.handleSchemaIdentifier(e,t)}};const ir=class extends di{BooleanElement(e){this.element=this.toRefractedElement(["document","objects","JSONSchema"],e.node),e.stop()}};const rr=class extends Ks{ArrayElement(e){this.enter(e),this.element.classes.push("json-schema-examples")}};const or=class extends Ui{constructor(e){super(e),this.element=new Gi}},ar=We(Zi(["visitors","document","objects","JSONSchema","element"],"jSONSchemaDraft6"),Zi(["visitors","document","objects","JSONSchema","$visitor"],nr),sr(["visitors","document","objects","JSONSchema","fixedFields","id"]),Zi(["visitors","document","objects","JSONSchema","fixedFields","$id"],{$ref:"#/visitors/value"}),Zi(["visitors","document","objects","JSONSchema","fixedFields","contains"],{$visitor:zi.visitors.JSONSchemaOrJSONReferenceVisitor,alias:"containsField"}),Zi(["visitors","document","objects","JSONSchema","fixedFields","items"],{$visitor:ir,alias:"itemsField"}),Zi(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],zi.visitors.JSONSchemaOrJSONReferenceVisitor),Zi(["visitors","document","objects","JSONSchema","fixedFields","const"],{$ref:"#/visitors/value"}),Zi(["visitors","document","objects","JSONSchema","fixedFields","examples"],rr),Zi(["visitors","document","objects","LinkDescription","$visitor"],or),Zi(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],zi.visitors.JSONSchemaOrJSONReferenceVisitor),sr(["visitors","document","objects","LinkDescription","fixedFields","schema"]),Zi(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],zi.visitors.JSONSchemaOrJSONReferenceVisitor),sr(["visitors","document","objects","LinkDescription","fixedFields","method"]),sr(["visitors","document","objects","LinkDescription","fixedFields","encType"]),Zi(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"],{$ref:"#/visitors/value"}))(zi),cr=Yt(ar),lr=e=>Object.entries(e).map(([e,t])=>Dt(t)?{name:e,...t}:{name:e,$visitor:t});Object.defineProperty(Hi,"fixedFields",{get:()=>lr(cr.visitors.document.objects.JSONSchema.fixedFields),enumerable:!0}),Object.defineProperty(Gi,"fixedFields",{get:()=>lr(cr.visitors.document.objects.LinkDescription.fixedFields),enumerable:!0});const ur=class extends Hi{constructor(e,t,s){super(e,t,s),this.element="JSONSchemaDraft7"}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",e)}get itemsField(){return this.get("items")}set itemsField(e){this.set("items",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 not(){return this.get("not")}set not(e){this.set("not",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 media(){throw new h('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}set media(e){throw new h('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}get writeOnly(){return this.get("writeOnly")}set writeOnly(e){this.set("writeOnly",e)}};const dr=class extends Gi{get anchor(){return this.get("anchor")}set anchor(e){this.set("anchor",e)}get anchorPointer(){return this.get("anchorPointer")}set anchorPointer(e){this.set("anchorPointer",e)}get templatePointers(){return this.get("templatePointers")}set templatePointers(e){this.set("templatePointers",e)}get templateRequired(){return this.get("templateRequired")}set templateRequired(e){this.set("templateRequired",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){throw new h("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}set mediaType(e){throw new h("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}get targetMediaType(){return this.get("targetMediaType")}set targetMediaType(e){this.set("targetMediaType",e)}get targetHints(){return this.get("targetHints")}set targetHints(e){this.set("targetHints",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",e)}get hrefSchema(){return this.get("hrefSchema")}set hrefSchema(e){this.set("hrefSchema",e)}get headerSchema(){return this.get("headerSchema")}set headerSchema(e){this.set("headerSchema",e)}get submissionSchema(){return this.get("submissionSchema")}set submissionSchema(e){this.set("submissionSchema",e)}get submissionEncType(){throw new h("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}set submissionEncType(e){throw new h("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}get submissionMediaType(){return this.get("submissionMediaType")}set submissionMediaType(e){this.set("submissionMediaType",e)}};const hr=class extends nr{constructor(e){super(e),this.element=new ur}get defaultDialectIdentifier(){return"http://json-schema.org/draft-07/schema#"}};const mr=class extends or{constructor(e){super(e),this.element=new dr}},pr=We(Zi(["visitors","document","objects","JSONSchema","element"],"jSONSchemaDraft7"),Zi(["visitors","document","objects","JSONSchema","$visitor"],hr),Zi(["visitors","document","objects","JSONSchema","fixedFields","$comment"],ar.visitors.value),Zi(["visitors","document","objects","JSONSchema","fixedFields","if"],ar.visitors.JSONSchemaOrJSONReferenceVisitor),Zi(["visitors","document","objects","JSONSchema","fixedFields","then"],ar.visitors.JSONSchemaOrJSONReferenceVisitor),Zi(["visitors","document","objects","JSONSchema","fixedFields","else"],ar.visitors.JSONSchemaOrJSONReferenceVisitor),sr(["visitors","document","objects","JSONSchema","fixedFields","media"]),Zi(["visitors","document","objects","JSONSchema","fixedFields","contentEncoding"],ar.visitors.value),Zi(["visitors","document","objects","JSONSchema","fixedFields","contentMediaType"],ar.visitors.value),Zi(["visitors","document","objects","JSONSchema","fixedFields","writeOnly"],ar.visitors.value),Zi(["visitors","document","objects","LinkDescription","$visitor"],mr),Zi(["visitors","document","objects","LinkDescription","fixedFields","anchor"],ar.visitors.value),Zi(["visitors","document","objects","LinkDescription","fixedFields","anchorPointer"],ar.visitors.value),sr(["visitors","document","objects","LinkDescription","fixedFields","mediaType"]),Zi(["visitors","document","objects","LinkDescription","fixedFields","targetMediaType"],ar.visitors.value),Zi(["visitors","document","objects","LinkDescription","fixedFields","targetHints"],ar.visitors.value),Zi(["visitors","document","objects","LinkDescription","fixedFields","description"],ar.visitors.value),Zi(["visitors","document","objects","LinkDescription","fixedFields","$comment"],ar.visitors.value),Zi(["visitors","document","objects","LinkDescription","fixedFields","headerSchema"],ar.visitors.JSONSchemaOrJSONReferenceVisitor),sr(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"]),Zi(["visitors","document","objects","LinkDescription","fixedFields","submissionMediaType"],ar.visitors.value))(ar),gr=Yt(pr),fr=e=>Object.entries(e).map(([e,t])=>Dt(t)?{name:e,...t}:{name:e,$visitor:t});Object.defineProperty(ur,"fixedFields",{get:()=>fr(gr.visitors.document.objects.JSONSchema.fixedFields),enumerable:!0}),Object.defineProperty(dr,"fixedFields",{get:()=>fr(gr.visitors.document.objects.LinkDescription.fixedFields),enumerable:!0});const br=class extends ur{constructor(e,t,s){super(e,t,s),this.element="schema",this.classes.push("json-schema-draft-7")}get not(){return this.get("not")}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 itemsField(){return this.get("items")}set itemsField(e){this.set("items",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get contains(){return this.get("contains")}set contains(e){this.set("contains",e)}get propertyNames(){return this.get("propertyNames")}set propertyNames(e){this.set("propertyNames",e)}get discriminator(){return this.get("discriminator")}get externalDocs(){return this.get("externalDocs")}get deprecated(){return this.get("deprecated")}};const vr=class extends J{constructor(e,t,s){super(e,t,s),this.element="securityRequirement"}};const yr=class extends J{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 Sr=class extends J{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 protocol(){return this.get("protocol")}set protocol(e){this.set("protocol",e)}get protocolVersion(){return this.get("protocolVersion")}set protocolVersion(e){this.set("protocolVersion",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)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}};const xr=class extends J{constructor(e,t,s){super(e,t,s),this.element="serverBindings"}get http(){return this.get("http")}set http(e){this.set("http",e)}get ws(){return this.get("ws")}set ws(e){this.set("ws",e)}get kafka(){return this.get("kafka")}set kafka(e){this.set("kafka",e)}get anypointmq(){return this.get("anypointmq")}set anypointmq(e){this.set("anypointmq",e)}get amqp(){return this.get("amqp")}set amqp(e){this.set("amqp",e)}get amqp1(){return this.get("amqp1")}set amqp1(e){this.set("amqp1",e)}get mqtt(){return this.get("mqtt")}set mqtt(e){this.set("mqtt",e)}get mqtt5(){return this.get("mqtt5")}set mqtt5(e){this.set("mqtt5",e)}get nats(){return this.get("nats")}set nats(e){this.set("nats",e)}get jms(){return this.get("jms")}set jms(e){this.set("jms",e)}get sns(){return this.get("sns")}set sns(e){this.set("sns",e)}get solace(){return this.get("solace")}set solace(e){this.set("solace",e)}get sqs(){return this.get("sqs")}set sqs(e){this.set("sqs",e)}get stomp(){return this.get("stomp")}set stomp(e){this.set("stomp",e)}get redis(){return this.get("redis")}set redis(e){this.set("redis",e)}get mercure(){return this.get("mercure")}set mercure(e){this.set("mercure",e)}get googlepubsub(){return this.get("googlepubsub")}set googlepubsub(e){this.set("googlepubsub",e)}get ibmmq(){return this.get("ibmmq")}set ibmmq(e){this.set("ibmmq",e)}};const Br=class extends J{constructor(e,t,s){super(e,t,s),this.element="servers"}};const Er=class extends J{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)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}};const wr=class extends J{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 jr=class extends as{constructor(e,t,s){super(e,t,s),this.element="tags"}};const Or=class extends J{constructor(e,t,s){super(e,t,s),this.element="amqpChannelBinding",this.classes.push("channel-binding")}get is(){return this.get("is")}set is(e){this.set("is",e)}get exchange(){return this.get("exchange")}set exchange(e){this.set("exchange",e)}get queue(){return this.get("queue")}set queue(e){this.set("queue",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const qr=class extends J{constructor(e,t,s){super(e,t,s),this.element="amqpMessageBinding",this.classes.push("message-binding")}get contentEncoding(){return this.get("contentEncoding")}set contentEncoding(e){this.set("contentEncoding",e)}get messageType(){return this.get("messageType")}set messageType(e){this.set("messageType",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const $r=class extends J{constructor(e,t,s){super(e,t,s),this.element="amqpOperationBinding",this.classes.push("operation-binding")}get expiration(){return this.get("expiration")}set expiration(e){this.set("expiration",e)}get userId(){return this.get("userId")}set userId(e){this.set("userId",e)}get cc(){return this.get("cc")}set cc(e){this.set("cc",e)}get priority(){return this.get("priority")}set priority(e){this.set("priority",e)}get deliveryMode(){return this.get("deliveryMode")}set deliveryMode(e){this.set("deliveryMode",e)}get mandatory(){return this.get("mandatory")}set mandatory(e){this.set("mandatory",e)}get bcc(){return this.get("bcc")}set bcc(e){this.set("bcc",e)}get replyTo(){return this.get("replyTo")}set replyTo(e){this.set("replyTo",e)}get timestamp(){return this.get("timestamp")}set timestamp(e){this.set("timestamp",e)}get ack(){return this.get("ack")}set ack(e){this.set("ack",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const Mr=class extends J{constructor(e,t,s){super(e,t,s),this.element="amqpServerBinding",this.classes.push("server-binding")}};const Cr=class extends J{constructor(e,t,s){super(e,t,s),this.element="amqp1ChannelBinding",this.classes.push("channel-binding")}};const Pr=class extends J{constructor(e,t,s){super(e,t,s),this.element="amqp1MessageBinding",this.classes.push("message-binding")}};const kr=class extends J{constructor(e,t,s){super(e,t,s),this.element="amqp1OperationBinding",this.classes.push("operation-binding")}};const Ar=class extends J{constructor(e,t,s){super(e,t,s),this.element="amqp1ServerBinding",this.classes.push("server-binding")}};const Fr=class extends J{constructor(e,t,s){super(e,t,s),this.element="anypointmqChannelBinding",this.classes.push("channel-binding")}get destination(){return this.get("destination")}set destination(e){this.set("destination",e)}get destinationType(){return this.get("destinationType")}set destinationType(e){this.set("destinationType",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const Vr=class extends J{constructor(e,t,s){super(e,t,s),this.element="anypointmqMessageBinding",this.classes.push("message-binding")}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const Ir=class extends J{constructor(e,t,s){super(e,t,s),this.element="anypointmqOperationBinding",this.classes.push("operation-binding")}};const Tr=class extends J{constructor(e,t,s){super(e,t,s),this.element="anypointmqServerBinding",this.classes.push("server-binding")}};const Rr=class extends J{constructor(e,t,s){super(e,t,s),this.element="googlepubsubChannelBinding",this.classes.push("channel-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}get labels(){return this.get("labels")}set labels(e){this.set("labels",e)}get messageRetentionDuration(){return this.get("messageRetentionDuration")}set messageRetentionDuration(e){this.set("messageRetentionDuration",e)}get messageStoragePolicy(){return this.get("messageStoragePolicy")}set messageStoragePolicy(e){this.set("messageStoragePolicy",e)}get schemaSettings(){return this.get("schemaSettings")}set schemaSettings(e){this.set("schemaSettings",e)}get topic(){return this.get("topic")}set topic(e){this.set("topic",e)}};const _r=class extends J{constructor(e,t,s){super(e,t,s),this.element="googlepubsubMessageBinding",this.classes.push("message-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}get attributesField(){return this.get("attributes")}set attributesField(e){this.set("attributes",e)}get orderingKey(){return this.get("orderingKey")}set orderingKey(e){this.set("orderingKey",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}};const Nr=class extends J{constructor(e,t,s){super(e,t,s),this.element="googlepubsubOperationBinding",this.classes.push("operation-binding")}};const Dr=class extends J{constructor(e,t,s){super(e,t,s),this.element="googlepubsubServerBinding",this.classes.push("server-binding")}};const Jr=class extends J{constructor(e,t,s){super(e,t,s),this.element="httpChannelBinding",this.classes.push("channel-binding")}};const Lr=class extends J{constructor(e,t,s){super(e,t,s),this.element="httpMessageBinding",this.classes.push("message-binding")}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const Ur=class extends J{constructor(e,t,s){super(e,t,s),this.element="httpOperationBinding",this.classes.push("operation-binding")}get type(){return this.get("type")}set type(e){this.set("type",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get query(){return this.get("query")}set query(e){this.set("query",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const zr=class extends J{constructor(e,t,s){super(e,t,s),this.element="httpServerBinding",this.classes.push("server-binding")}};const Wr=class extends J{constructor(e,t,s){super(e,t,s),this.element="ibmmqChannelBinding",this.classes.push("channel-binding")}get destinationType(){return this.get("destinationType")}set destinationType(e){this.set("destinationType",e)}get queue(){return this.get("queue")}set queue(e){this.set("queue",e)}get topic(){return this.get("topic")}set topic(e){this.set("topic",e)}get maxMsgLength(){return this.get("maxMsgLength")}set maxMsgLength(e){this.set("maxMsgLength",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const Kr=class extends J{constructor(e,t,s){super(e,t,s),this.element="ibmmqMessageBinding",this.classes.push("message-binding")}get type(){return this.get("type")}set type(e){this.set("type",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get expiry(){return this.get("expiry")}set expiry(e){this.set("expiry",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const Hr=class extends J{constructor(e,t,s){super(e,t,s),this.element="ibmmqOperationBinding",this.classes.push("operation-binding")}};const Gr=class extends J{constructor(e,t,s){super(e,t,s),this.element="ibmmqServerBinding",this.classes.push("server-binding")}get groupId(){return this.get("groupId")}set groupId(e){this.set("groupId",e)}get ccdtQueueManagerName(){return this.get("ccdtQueueManagerName")}set ccdtQueueManagerName(e){this.set("ccdtQueueManagerName",e)}get cipherSpec(){return this.get("cipherSpec")}set cipherSpec(e){this.set("cipherSpec",e)}get multiEndpointServer(){return this.get("multiEndpointServer")}set multiEndpointServer(e){this.set("multiEndpointServer",e)}get heartBeatInterval(){return this.get("heartBeatInterval")}set heartBeatInterval(e){this.set("heartBeatInterval",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const Qr=class extends J{constructor(e,t,s){super(e,t,s),this.element="jmsChannelBinding",this.classes.push("channel-binding")}};const Zr=class extends J{constructor(e,t,s){super(e,t,s),this.element="jmsMessageBinding",this.classes.push("message-binding")}};const Xr=class extends J{constructor(e,t,s){super(e,t,s),this.element="jmsOperationBinding",this.classes.push("operation-binding")}};const Yr=class extends J{constructor(e,t,s){super(e,t,s),this.element="jmsServerBinding",this.classes.push("server-binding")}};const eo=class extends J{constructor(e,t,s){super(e,t,s),this.element="kafkaChannelBinding",this.classes.push("channel-binding")}get topic(){return this.get("topic")}set topic(e){this.set("topic",e)}get partitions(){return this.get("partitions")}set partitions(e){this.set("partitions",e)}get replicas(){return this.get("replicas")}set replicas(e){this.set("replicas",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const to=class extends J{constructor(e,t,s){super(e,t,s),this.element="kafkaMessageBinding",this.classes.push("message-binding")}get key(){return this.get("key")}set key(e){this.set("key",e)}get schemaIdLocation(){return this.get("schemaIdLocation")}set schemaIdLocation(e){this.set("schemaIdLocation",e)}get schemaIdPayloadEncoding(){return this.get("schemaIdPayloadEncoding")}set schemaIdPayloadEncoding(e){this.set("schemaIdPayloadEncoding",e)}get schemaLookupStrategy(){return this.get("schemaLookupStrategy")}set schemaLookupStrategy(e){this.set("schemaLookupStrategy",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const so=class extends J{constructor(e,t,s){super(e,t,s),this.element="kafkaOperationBinding",this.classes.push("operation-binding")}get groupId(){return this.get("groupId")}set groupId(e){this.set("groupId",e)}get clientId(){return this.get("clientId")}set clientId(e){this.set("clientId",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const no=class extends J{constructor(e,t,s){super(e,t,s),this.element="kafkaServerBinding",this.classes.push("server-binding")}get schemaRegistryUrl(){return this.get("schemaRegistryUrl")}set schemaRegistryUrl(e){this.set("schemaRegistryUrl",e)}get schemaRegistryVendor(){return this.get("schemaRegistryVendor")}set schemaRegistryVendor(e){this.set("schemaRegistryVendor",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const io=class extends J{constructor(e,t,s){super(e,t,s),this.element="mercureChannelBinding",this.classes.push("channel-binding")}};const ro=class extends J{constructor(e,t,s){super(e,t,s),this.element="mercureMessageBinding",this.classes.push("message-binding")}};const oo=class extends J{constructor(e,t,s){super(e,t,s),this.element="mercureOperationBinding",this.classes.push("operation-binding")}};const ao=class extends J{constructor(e,t,s){super(e,t,s),this.element="mercureServerBinding",this.classes.push("server-binding")}};const co=class extends J{constructor(e,t,s){super(e,t,s),this.element="mqttChannelBinding",this.classes.push("channel-binding")}};const lo=class extends J{constructor(e,t,s){super(e,t,s),this.element="mqttMessageBinding",this.classes.push("message-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const uo=class extends J{constructor(e,t,s){super(e,t,s),this.element="mqttOperationBinding",this.classes.push("operation-binding")}get qos(){return this.get("qos")}set qos(e){this.set("qos",e)}get retain(){return this.get("retain")}set retain(e){this.set("retain",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const ho=class extends J{constructor(e,t,s){super(e,t,s),this.element="mqttServerBinding",this.classes.push("server-binding")}get clientId(){return this.get("clientId")}set clientId(e){this.set("clientId",e)}get cleanSession(){return this.get("cleanSession")}set cleanSession(e){this.set("cleanSession",e)}get lastWill(){return this.get("lastWill")}set lastWill(e){this.set("lastWill",e)}get keepAlive(){return this.get("keepAlive")}set keepAlive(e){this.set("keepAlive",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const mo=class extends J{constructor(e,t,s){super(e,t,s),this.element="mqtt5ChannelBinding",this.classes.push("channel-binding")}};const po=class extends J{constructor(e,t,s){super(e,t,s),this.element="mqtt5MessageBinding",this.classes.push("message-binding")}};const go=class extends J{constructor(e,t,s){super(e,t,s),this.element="mqtt5OperationBinding",this.classes.push("operation-binding")}};const fo=class extends J{constructor(e,t,s){super(e,t,s),this.element="mqtt5ServerBinding",this.classes.push("server-binding")}};const bo=class extends J{constructor(e,t,s){super(e,t,s),this.element="natsChannelBinding",this.classes.push("channel-binding")}};const vo=class extends J{constructor(e,t,s){super(e,t,s),this.element="natsMessageBinding",this.classes.push("message-binding")}};const yo=class extends J{constructor(e,t,s){super(e,t,s),this.element="natsOperationBinding",this.classes.push("operation-binding")}get queue(){return this.get("queue")}set queue(e){this.set("queue",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const So=class extends J{constructor(e,t,s){super(e,t,s),this.element="natsServerBinding",this.classes.push("server-binding")}};const xo=class extends J{constructor(e,t,s){super(e,t,s),this.element="pulsarChannelBinding",this.classes.push("channel-binding")}get namespace(){return this.get("namespace")}set namespace(e){this.set("namespace",e)}get persistence(){return this.get("persistence")}set persistence(e){this.set("persistence",e)}get compaction(){return this.get("compaction")}set compaction(e){this.set("compaction",e)}get"geo-replication"(){return this.get("geo-replication")}set"geo-replication"(e){this.set("geo-replication",e)}get retention(){return this.get("retention")}set retention(e){this.set("retention",e)}get ttl(){return this.get("ttl")}set ttl(e){this.set("ttl",e)}get deduplication(){return this.get("deduplication")}set deduplication(e){this.set("deduplication",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const Bo=class extends J{constructor(e,t,s){super(e,t,s),this.element="pulsarMessageBinding",this.classes.push("message-binding")}};const Eo=class extends J{constructor(e,t,s){super(e,t,s),this.element="pulsarOperationBinding",this.classes.push("operation-binding")}};const wo=class extends J{constructor(e,t,s){super(e,t,s),this.element="pulsarServerBinding",this.classes.push("server-binding")}get tenant(){return this.get("tenant")}set tenant(e){this.set("tenant",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const jo=class extends J{constructor(e,t,s){super(e,t,s),this.element="redisChannelBinding",this.classes.push("channel-binding")}};const Oo=class extends J{constructor(e,t,s){super(e,t,s),this.element="redisMessageBinding",this.classes.push("message-binding")}};const qo=class extends J{constructor(e,t,s){super(e,t,s),this.element="redisOperationBinding",this.classes.push("operation-binding")}};const $o=class extends J{constructor(e,t,s){super(e,t,s),this.element="redisServerBinding",this.classes.push("server-binding")}};const Mo=class extends J{constructor(e,t,s){super(e,t,s),this.element="snsChannelBinding",this.classes.push("channel-binding")}};const Co=class extends J{constructor(e,t,s){super(e,t,s),this.element="snsMessageBinding",this.classes.push("message-binding")}};const Po=class extends J{constructor(e,t,s){super(e,t,s),this.element="snsOperationBinding",this.classes.push("operation-binding")}};const ko=class extends J{constructor(e,t,s){super(e,t,s),this.element="snsServerBinding",this.classes.push("server-binding")}};const Ao=class extends J{constructor(e,t,s){super(e,t,s),this.element="solaceChannelBinding",this.classes.push("channel-binding")}};const Fo=class extends J{constructor(e,t,s){super(e,t,s),this.element="solaceMessageBinding",this.classes.push("message-binding")}};const Vo=class extends J{constructor(e,t,s){super(e,t,s),this.element="solaceOperationBinding",this.classes.push("operation-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}get destinations(){return this.get("destinations")}set destinations(e){this.set("destinations",e)}};const Io=class extends J{constructor(e,t,s){super(e,t,s),this.element="solaceServerBinding",this.classes.push("server-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}get msgVpn(){return this.get("msgVpn")}set msgVpn(e){this.set("msgVpn",e)}};const To=class extends J{constructor(e,t,s){super(e,t,s),this.element="sqsChannelBinding",this.classes.push("channel-binding")}};const Ro=class extends J{constructor(e,t,s){super(e,t,s),this.element="sqsMessageBinding",this.classes.push("message-binding")}};const _o=class extends J{constructor(e,t,s){super(e,t,s),this.element="sqsOperationBinding",this.classes.push("operation-binding")}};const No=class extends J{constructor(e,t,s){super(e,t,s),this.element="sqsServerBinding",this.classes.push("server-binding")}};const Do=class extends J{constructor(e,t,s){super(e,t,s),this.element="stompChannelBinding",this.classes.push("channel-binding")}};const Jo=class extends J{constructor(e,t,s){super(e,t,s),this.element="stompMessageBinding",this.classes.push("message-binding")}};const Lo=class extends J{constructor(e,t,s){super(e,t,s),this.element="stompOperationBinding",this.classes.push("operation-binding")}};const Uo=class extends J{constructor(e,t,s){super(e,t,s),this.element="stompServerBinding",this.classes.push("server-binding")}};const zo=class extends J{constructor(e,t,s){super(e,t,s),this.element="webSocketChannelBinding",this.classes.push("channel-binding")}get method(){return this.get("method")}set method(e){this.set("method",e)}get query(){return this.get("query")}set query(e){this.set("query",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const Wo=class extends J{constructor(e,t,s){super(e,t,s),this.element="webSocketMessageBinding",this.classes.push("message-binding")}};const Ko=class extends J{constructor(e,t,s){super(e,t,s),this.element="webSocketOperationBinding",this.classes.push("operation-binding")}};const Ho=class extends J{constructor(e,t,s){super(e,t,s),this.element="webSocketServerBinding",this.classes.push("server-binding")}},Go={namespace:e=>{const{base:t}=e;return t.register("asyncApi2",L),t.register("asyncApiVersion",z),t.register("channelBindings",W),t.register("channelItem",K),t.register("channels",H),t.register("components",G),t.register("contact",Q),t.register("correlationID",Z),t.register("defaultContentType",X),t.register("externalDocumentation",Y),t.register("identifier",ee),t.register("info",te),t.register("license",se),t.register("message",ne),t.register("messageBindings",ie),t.register("messageExample",re),t.register("messageTrait",oe),t.register("oAuthFlow",ae),t.register("oAuthFlows",ce),t.register("operation",le),t.register("operationBindings",ue),t.register("operationTrait",de),t.register("parameter",he),t.register("parameters",me),t.register("reference",pe),t.register("schema",br),t.register("securityRequirement",vr),t.register("securityScheme",yr),t.register("server",Sr),t.register("serverBindings",xr),t.register("servers",Br),t.register("serverVariable",Er),t.register("tag",wr),t.register("tags",jr),t.register("amqpChannelBinding",Or),t.register("amqpMessageBinding",qr),t.register("amqpOperationBinding",$r),t.register("amqpServerBinding",Mr),t.register("amqp1ChannelBinding",Cr),t.register("amqp1MessageBinding",Pr),t.register("amqp1OperationBinding",kr),t.register("amqp1ServerBinding",Ar),t.register("anypointmqChannelBinding",Fr),t.register("anypointmqMessageBinding",Vr),t.register("anypointmqOperationBinding",Ir),t.register("anypointmqServerBinding",Tr),t.register("googlepubsubChannelBinding",Rr),t.register("googlepubsubMessageBinding",_r),t.register("googlepubsubOperationBinding",Nr),t.register("googlepubsubServerBinding",Dr),t.register("httpChannelBinding",Jr),t.register("httpMessageBinding",Lr),t.register("httpOperationBinding",Ur),t.register("httpServerBinding",zr),t.register("ibmmqChannelBinding",Wr),t.register("ibmmqMessageBinding",Kr),t.register("ibmmqOperationBinding",Hr),t.register("ibmmqServerBinding",Gr),t.register("jmsChannelBinding",Qr),t.register("jmsMessageBinding",Zr),t.register("jmsOperationBinding",Xr),t.register("jmsServerBinding",Yr),t.register("kafkaChannelBinding",eo),t.register("kafkaMessageBinding",to),t.register("kafkaOperationBinding",so),t.register("kafkaServerBinding",no),t.register("mercureChannelBinding",io),t.register("mercureMessageBinding",ro),t.register("mercureOperationBinding",oo),t.register("mercureServerBinding",ao),t.register("mqttChannelBinding",co),t.register("mqttMessageBinding",lo),t.register("mqttOperationBinding",uo),t.register("mqttServerBinding",ho),t.register("mqtt5ChannelBinding",mo),t.register("mqtt5MessageBinding",po),t.register("mqtt5OperationBinding",go),t.register("mqtt5ServerBinding",fo),t.register("natsChannelBinding",bo),t.register("natsMessageBinding",vo),t.register("natsOperationBinding",yo),t.register("natsServerBinding",So),t.register("pulsarChannelBinding",xo),t.register("pulsarMessageBinding",Bo),t.register("pulsarOperationBinding",Eo),t.register("pulsarServerBinding",wo),t.register("redisChannelBinding",jo),t.register("redisMessageBinding",Oo),t.register("redisOperationBinding",qo),t.register("redisServerBinding",$o),t.register("snsChannelBinding",Mo),t.register("snsMessageBinding",Co),t.register("snsOperationBinding",Po),t.register("snsServerBinding",ko),t.register("solaceChannelBinding",Ao),t.register("solaceMessageBinding",Fo),t.register("solaceOperationBinding",Vo),t.register("solaceServerBinding",Io),t.register("sqsChannelBinding",To),t.register("sqsMessageBinding",Ro),t.register("sqsOperationBinding",_o),t.register("sqsServerBinding",No),t.register("stompChannelBinding",Do),t.register("stompMessageBinding",Jo),t.register("stompOperationBinding",Lo),t.register("stompServerBinding",Uo),t.register("webSocketChannelBinding",zo),t.register("webSocketMessageBinding",Wo),t.register("webSocketOperationBinding",Ko),t.register("webSocketServerBinding",Ho),t}};class Qo extends J{static primaryClass="components-schemas";constructor(e,t,s){super(e,t,s),this.classes.push(Qo.primaryClass)}}const Zo=Qo;class Xo extends J{static primaryClass="components-servers";constructor(e,t,s){super(e,t,s),this.classes.push(Xo.primaryClass)}}const Yo=Xo;class ea extends J{static primaryClass="components-server-variables";constructor(e,t,s){super(e,t,s),this.classes.push(ea.primaryClass)}}const ta=ea;class sa extends J{static primaryClass="components-messages";constructor(e,t,s){super(e,t,s),this.classes.push(sa.primaryClass)}}const na=sa;class ia extends J{static primaryClass="components-security-schemes";constructor(e,t,s){super(e,t,s),this.classes.push(ia.primaryClass)}}const ra=ia;class oa extends J{static primaryClass="components-parameters";constructor(e,t,s){super(e,t,s),this.classes.push(oa.primaryClass)}}const aa=oa;class ca extends J{static primaryClass="components-correlation-ids";constructor(e,t,s){super(e,t,s),this.classes.push(ca.primaryClass)}}const la=ca;class ua extends J{static primaryClass="components-operation-traits";constructor(e,t,s){super(e,t,s),this.classes.push(ua.primaryClass)}}const da=ua;class ha extends J{static primaryClass="components-message-traits";constructor(e,t,s){super(e,t,s),this.classes.push(ha.primaryClass)}}const ma=ha;class pa extends J{static primaryClass="components-server-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(pa.primaryClass)}}const ga=pa;class fa extends J{static primaryClass="components-channel-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(fa.primaryClass)}}const ba=fa;class va extends J{static primaryClass="components-operation-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(va.primaryClass)}}const ya=va;class Sa extends J{static primaryClass="components-message-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(Sa.primaryClass)}}const xa=Sa;class Ba extends J{static primaryClass="server-variables";constructor(e,t,s){super(e,t,s),this.classes.push(Ba.primaryClass)}}const Ea=Ba;class wa extends as{static primaryClass="channel-item-server-names-list";constructor(e,t,s){super(e,t,s),this.classes.push(wa.primaryClass)}}const ja=wa;class Oa extends J{static primaryClass="oauth-flow-scopes";constructor(e,t,s){super(e,t,s),this.classes.push(Oa.primaryClass)}}const qa=Oa;class $a extends as{static primaryClass="operation-traits";constructor(e,t,s){super(e,t,s),this.classes.push($a.primaryClass)}}const Ma=$a;class Ca extends as{static primaryClass="server-security";constructor(e,t,s){super(e,t,s),this.classes.push(Ca.primaryClass)}}const Pa=Ca;class ka extends J{static primaryClass="operation-message-map";constructor(e,t,s){super(e,t,s),this.classes.push(ka.primaryClass)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}}const Aa=ka;class Fa extends as{static primaryClass="operation-message";constructor(e,t,s){super(e,t,s),this.classes.push(Fa.primaryClass)}}const Va=Fa;class Ia extends as{static primaryClass="operation-security";constructor(e,t,s){super(e,t,s),this.classes.push(Ia.primaryClass)}}const Ta=Ia;class Ra extends as{static primaryClass="operation-trait-security";constructor(e,t,s){super(e,t,s),this.classes.push(Ra.primaryClass)}}const _a=Ra;class Na extends as{static primaryClass="message-examples";constructor(e,t,s){super(e,t,s),this.classes.push(Na.primaryClass)}}const Da=Na;class Ja extends as{static primaryClass="message-traits";constructor(e,t,s){super(e,t,s),this.classes.push(Ja.primaryClass)}}const La=Ja;class Ua extends as{static primaryClass="message-trait-examples";constructor(e,t,s){super(e,t,s),this.classes.push(Ua.primaryClass)}}const za=Ua,Wa={AsyncApi2Element:{asyncapi:(...e)=>new z(...e),identifier:(...e)=>new ee(...e),info:(...e)=>new te(...e),servers:(...e)=>new Br(...e),defaultContentType:(...e)=>new X(...e),channels:(...e)=>new H(...e),components:(...e)=>new G(...e),tags:(...e)=>new jr(...e),externalDocs:(...e)=>new Y(...e)},InfoElement:{contact:(...e)=>new Q(...e),license:(...e)=>new se(...e)},ServersElement:{"[key: *]":function(...e){return new Sr(...e)}},ServerElement:{variables:(...e)=>new Ea(...e),security:(...e)=>new Pa(...e),tags:(...e)=>new jr(...e),bindings:(...e)=>new xr(...e)},ServerVariableElement:{enum:(...e)=>new as(...e),examples:(...e)=>new as(...e)},SecurityRequirementElement:{"[key: *]":function(...e){return new as(...e)}},ChannelsElement:{"[key: *]":function(...e){return new K(...e)}},ChannelItemElement:{servers:(...e)=>new ja(...e),subscribe:(...e)=>new le(...e),publish:(...e)=>new le(...e),parameters:(...e)=>new he(...e),bindings:(...e)=>new W(...e)},OperationElement:{tags:(...e)=>new jr(...e),externalDocs:(...e)=>new Y(...e),bindings:(...e)=>new ue(...e),traits:(...e)=>new Ma(...e),message:(...e)=>new ne(...e)},ComponentsElement:{schemas:(...e)=>new Zo(...e),servers:(...e)=>new Yo(...e),serverVariables:(...e)=>new ta(...e),messages:(...e)=>new na(...e),securitySchemes:(...e)=>new ra(...e),parameters:(...e)=>new aa(...e),correlationIds:(...e)=>new la(...e),operationTraits:(...e)=>new da(...e),messageTraits:(...e)=>new ma(...e),serverBindings:(...e)=>new ga(...e),channelBindings:(...e)=>new ba(...e),operationBindings:(...e)=>new ya(...e),messageBindings:(...e)=>new xa(...e)},TagElement:{externalDocs:(...e)=>new Y(...e)},MessageElement:{headers:(...e)=>new br(...e),correlationId:(...e)=>new Z(...e),tags:(...e)=>new jr(...e),externalDocs:(...e)=>new Y(...e),bindings:(...e)=>new ie(...e),examples:(...e)=>new as(...e),traits:(...e)=>new as(...e),payload(...e){const{context:t}=this,s=Gs(f.latest(),Ns(t.schemaFormat));return f.includes(s)?new br(...e):new J(...e)}},SecuritySchemeElement:{flows:(...e)=>new ce(...e)},OAuthFlowsElement:{implicit:(...e)=>new ae(...e),password:(...e)=>new ae(...e),clientCredentials:(...e)=>new ae(...e),authorizationCode:(...e)=>new ae(...e)},OAuthFlow:{scopes:(...e)=>new qa(...e)},ParametersElement:{"[key: *]":function(...e){return new he(...e)}},ParameterElement:{schema:(...e)=>new br(...e)},OperationTraitElement:{tags:(...e)=>new jr(...e),externalDocs:(...e)=>new Y(...e),bindings:(...e)=>new ue(...e)},MessageTraitElement:{headers:(...e)=>new br(...e),correlationId:(...e)=>new Z(...e),tags:(...e)=>new jr(...e),externalDocs:(...e)=>new Y(...e),bindings:(...e)=>new ie(...e),examples:(...e)=>new as(...e)},MessageExampleElement:{headers:(...e)=>new J(...e)},OperationBindingsElement:{http:(...e)=>new Ur(...e),ws:(...e)=>new Ko(...e),kafka:(...e)=>new so(...e),anypointmq:(...e)=>new Ir(...e),amqp:(...e)=>new $r(...e),amqp1:(...e)=>new kr(...e),mqtt:(...e)=>new uo(...e),mqtt5:(...e)=>new go(...e),nats:(...e)=>new yo(...e),jms:(...e)=>new Xr(...e),sns:(...e)=>new Po(...e),solace:(...e)=>new Vo(...e),sqs:(...e)=>new _o(...e),stomp:(...e)=>new Lo(...e),redis:(...e)=>new qo(...e),mercure:(...e)=>new oo(...e),googlepubsub:(...e)=>new Nr(...e),ibmmq:(...e)=>new Hr(...e),pulsar:(...e)=>new Eo(...e)},MessageBindingsElement:{http:(...e)=>new Lr(...e),ws:(...e)=>new Wo(...e),kafka:(...e)=>new to(...e),anypointmq:(...e)=>new Vr(...e),amqp:(...e)=>new qr(...e),amqp1:(...e)=>new Pr(...e),mqtt:(...e)=>new lo(...e),mqtt5:(...e)=>new po(...e),nats:(...e)=>new vo(...e),jms:(...e)=>new Zr(...e),sns:(...e)=>new Co(...e),solace:(...e)=>new Fo(...e),sqs:(...e)=>new Ro(...e),stomp:(...e)=>new Jo(...e),redis:(...e)=>new Oo(...e),mercure:(...e)=>new ro(...e),ibmmq:(...e)=>new Kr(...e),googlepubsub:(...e)=>new _r(...e),pulsar:(...e)=>new Bo(...e)},ServerBindingsElement:{http:(...e)=>new zr(...e),ws:(...e)=>new Ho(...e),kafka:(...e)=>new no(...e),anypointmq:(...e)=>new Tr(...e),amqp:(...e)=>new Mr(...e),amqp1:(...e)=>new Ar(...e),mqtt:(...e)=>new ho(...e),mqtt5:(...e)=>new fo(...e),nats:(...e)=>new So(...e),jms:(...e)=>new Yr(...e),sns:(...e)=>new ko(...e),solace:(...e)=>new Io(...e),sqs:(...e)=>new No(...e),stomp:(...e)=>new Uo(...e),redis:(...e)=>new $o(...e),mercure:(...e)=>new ao(...e),ibmmq:(...e)=>new Gr(...e),googlepubsub:(...e)=>new Dr(...e),pulsar:(...e)=>new wo(...e)},ChannelBindingsElement:{http:(...e)=>new Jr(...e),ws:(...e)=>new zo(...e),kafka:(...e)=>new eo(...e),anypointmq:(...e)=>new Fr(...e),amqp:(...e)=>new Or(...e),amqp1:(...e)=>new Cr(...e),mqtt:(...e)=>new co(...e),mqtt5:(...e)=>new mo(...e),nats:(...e)=>new bo(...e),jms:(...e)=>new Qr(...e),sns:(...e)=>new Mo(...e),solace:(...e)=>new Ao(...e),sqs:(...e)=>new To(...e),stomp:(...e)=>new Do(...e),redis:(...e)=>new jo(...e),mercure:(...e)=>new io(...e),ibmmq:(...e)=>new Wr(...e),googlepubsub:(...e)=>new Rr(...e),pulsar:(...e)=>new xo(...e)},SchemaElement:{allOf(...e){const t=new as(...e);return t.classes.push("json-schema-allOf"),t},anyOf(...e){const t=new as(...e);return t.classes.push("json-schema-anyOf"),t},oneOf(...e){const t=new as(...e);return t.classes.push("json-schema-oneOf"),t},not:(...e)=>new br(...e),if:(...e)=>new br(...e),then:(...e)=>new br(...e),else:(...e)=>new br(...e),enum:(...e)=>new as(...e),items:(...e)=>new br(...e),additionalItems:(...e)=>new br(...e),contains:(...e)=>new br(...e),required(...e){const t=new as(...e);return t.classes.push("json-schema-required"),t},properties(...e){const t=new J(...e);return t.classes.push("json-schema-properties"),t},patternProperties(...e){const t=new J(...e);return t.classes.push("json-schema-patternProperties"),t},additionalProperties:(...e)=>new br(...e),dependencies(...e){const t=new J(...e);return t.classes.push("json-schema-dependencies"),t},propertyNames:(...e)=>new br(...e),examples(...e){const t=new as(...e);return t.classes.push("json-schema-examples"),t},definitions(...e){const t=new J(...e);return t.classes.push("json-schema-definitions"),t},externalDocs:(...e)=>new Y(...e)},HttpOperationBindingElement:{query:(...e)=>new br(...e)},HttpMessageBindingElement:{headers:(...e)=>new br(...e)},WebSocketChannelBindingElement:{query:(...e)=>new br(...e),headers:(...e)=>new br(...e)},KafkaOperationBindingElement:{groupId:(...e)=>new br(...e),clientId:(...e)=>new br(...e)},KafkaMessageBindingElement:{key:(...e)=>new br(...e)},AnypointmqMessageBindingElement:{headers:(...e)=>new br(...e)},AmqpChannelBindingElement:{exchange:(...e)=>new J(...e),queue:(...e)=>new J(...e)},AmqpOperationBindingElement:{cc:(...e)=>new as(...e),bcc:(...e)=>new as(...e)},IbmmqChannelBindingElement:{queue:(...e)=>new J(...e),topic:(...e)=>new J(...e)},MqttServerBindingElement:{lastWill:(...e)=>new J(...e)},SolaceOperationBindingElement:{destinations:(...e)=>new as(...e)},GooglepubsubChannelBindingElement:{labels:(...e)=>new J(...e),messageStoragePolicy:(...e)=>new J(...e),schemaSettings:(...e)=>new J(...e)},GooglepubsubMessageBindingElement:{attributes:(...e)=>new J(...e),schema:(...e)=>new J(...e)},PulsarChannelBindingElement:{"geo-replication":function(...e){return new as(...e)},retention:(...e)=>new J(...e)},TagsElement:{"<*>":function(...e){return new wr(...e)}},[Zo.primaryClass]:{"[key: *]":function(...e){return new br(...e)}},[Yo.primaryClass]:{"[key: *]":function(...e){return new Sr(...e)}},[ta.primaryClass]:{"[key: *]":function(...e){return new Er(...e)}},[na.primaryClass]:{"[key: *]":function(...e){return new ne(...e)}},[ra.primaryClass]:{"[key: *]":function(...e){return new yr(...e)}},[aa.primaryClass]:{"[key: *]":function(...e){return new he(...e)}},[la.primaryClass]:{"[key: *]":function(...e){return new Z(...e)}},[da.primaryClass]:{"[key: *]":function(...e){return new de(...e)}},[ma.primaryClass]:{"[key: *]":function(...e){return new oe(...e)}},[ga.primaryClass]:{"[key: *]":function(...e){return new xr(...e)}},[ba.primaryClass]:{"[key: *]":function(...e){return new W(...e)}},[ya.primaryClass]:{"[key: *]":function(...e){return new ue(...e)}},[xa.primaryClass]:{"[key: *]":function(...e){return new ie(...e)}},[Ea.primaryClass]:{"[key: *]":function(...e){return new Er(...e)}},"json-schema-properties":{"[key: *]":function(...e){return new br(...e)}},[Pa.primaryClass]:{"<*>":function(...e){return new vr(...e)}},[Ma.primaryClass]:{"<*>":function(...e){return new de(...e)}},[Aa.primaryClass]:{oneOf:(...e)=>new Va(...e)},[Va.primaryClass]:{"<*>":function(...e){return new ne(...e)}},[Ta.primaryClass]:{"<*>":function(...e){return new vr(...e)}},[_a.primaryClass]:{"<*>":function(...e){return new vr(...e)}},[Da.primaryClass]:{"<*>":function(...e){return new re(...e)}},[La.primaryClass]:{"<*>":function(...e){return new oe(...e)}},[za.primaryClass]:{"<*>":function(...e){return new re(...e)}},"json-schema-allOf":{"<*>":function(...e){return new br(...e)}},"json-schema-anyOf":{"<*>":function(...e){return new br(...e)}},"json-schema-oneOf":{"<*>":function(...e){return new br(...e)}}},Ka=(e,t)=>{const s=dn(e),n=Wa[s]||Wa[Ns(e.classes.first)];return void 0===n?void 0:Object.hasOwn(n,"[key: *]")?n["[key: *]"]:n[t]},Ha=()=>()=>({visitor:{StringElement(e){const t=e.node;if(!(e=>ls(e)&&bs(e,["yaml-e-node","yaml-e-scalar"]))(t))return;const s=e.getAncestorNodes().reverse().filter(cs),n=s.at(-1);let i,r;if(ms(n)?(r=t,i=Ka(n,"<*>")):gs(n)&&(r=s.at(-2),i=Ka(r,Ns(n.key))),"function"!=typeof i)return;const o=i.call({context:r},void 0,Ms(t.meta),Ms(t.attributes));Bs.transfer(t,o),e.replaceWith(o)}}}),Ga=e=>e instanceof L,Qa=e=>e instanceof z,Za=e=>e instanceof W,Xa=e=>e instanceof K,Ya=e=>e instanceof H,ec=e=>e instanceof G,tc=e=>e instanceof Q,sc=e=>e instanceof ee,nc=e=>e instanceof te,ic=e=>e instanceof se,rc=e=>e instanceof le,oc=e=>e instanceof he,ac=e=>e instanceof me,cc=e=>e instanceof pe,lc=e=>e instanceof br,uc=e=>hs(e)&&bs(e,["boolean-json-schema"]),dc=e=>e instanceof vr,hc=e=>e instanceof Sr,mc=e=>e instanceof xr,pc=e=>e instanceof Br,gc=e=>e instanceof Er;var fc=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=st,e.prototype["@@transducer/result"]=nt,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?Pi(s):s},e}();function bc(e){return function(t){return new fc(e,t)}}const vc=b(et(["take"],bc,function(e,t){return Ue(0,e<0?1/0:e,t)}));const yc=b(function(e,t){return A(vc(e.length,t),e)}),Sc=e=>ps(e)&&e.hasKey("$ref"),xc=e=>ls(e.key)&&yc("x-",Ns(e.key));const Bc=class{element;constructor(e){Object.assign(this,e)}copyMetaAndAttributes(e,t){if(!e.isMetaEmpty||!t.isMetaEmpty){const s=t.isMetaEmpty?new J:t.meta,n=e.isMetaEmpty?new J:e.meta;t.meta=zs(s,n)}if(!e.isAttributesEmpty||!t.isAttributesEmpty){const s=t.isAttributesEmpty?new J:t.attributes,n=e.isAttributesEmpty?new J:e.attributes;t.attributes=zs(s,n)}Bs.transfer(e,t)}};const Ec=class extends Bc{enter(e){this.element=Ms(e.node),e.stop()}};const wc=class extends Bc{specObj;passingOptionsNames=["specObj"];constructor({specObj:e,...t}){super({...t}),this.specObj=e}retrievePassingOptions(){return cn(this.passingOptionsNames,this)}retrieveFixedFields(e){const t=$e(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]}retrieveVisitor(e){return dt(Tt,["visitors",...e],this.specObj)?$e(["visitors",...e],this.specObj):$e(["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 Ec&&n?.constructor===Ec?Ms(t):(Bn(t,n),n.element)}};const jc=class extends wc{alternator;constructor({alternator:e,...t}){super({...t}),this.alternator=e}enter(e){const t=e.node,s=this.alternator.map(({predicate:e,specPath:t})=>Oi(e,Hs(t),Qs)),n=Ni(s)(t);this.element=this.toRefractedElement(n,t),e.stop()}};const Oc=class extends wc{specPath;ignoredFields;canSupportSpecificationExtensions=!0;specificationExtensionPredicate=xc;constructor({specPath:e,ignoredFields:t,canSupportSpecificationExtensions:s,specificationExtensionPredicate:n,...i}){super({...i}),this.specPath=e,this.ignoredFields=t||[],"boolean"==typeof s&&(this.canSupportSpecificationExtensions=s),"function"==typeof n&&(this.specificationExtensionPredicate=n)}ObjectElement(e){const t=e.node,s=this.specPath(t),n=this.retrieveFixedFields(s);t.forEach((e,t,i)=>{const r=Ns(t);if(ls(t)&&n.includes(r)&&!this.ignoredFields.includes(r)){const n=this.toRefractedElement([...s,"fixedFields",r],e),o=new D(Ms(t),n);o.classes.push("fixed-field"),this.copyMetaAndAttributes(i,o),this.element.content.push(o)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(i)){const e=this.toRefractedElement(["document","extension"],i);this.element.content.push(e)}else this.ignoredFields.includes(r)||this.element.content.push(Ms(i))}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const qc=class extends wc{specPath;ignoredFields;fieldPatternPredicate=Wn;canSupportSpecificationExtensions=!1;specificationExtensionPredicate=xc;constructor({specPath:e,ignoredFields:t,fieldPatternPredicate:s,canSupportSpecificationExtensions:n,specificationExtensionPredicate:i,...r}){super({...r}),this.specPath=e,this.ignoredFields=t||[],"function"==typeof s&&(this.fieldPatternPredicate=s),"boolean"==typeof n&&(this.canSupportSpecificationExtensions=n),"function"==typeof i&&(this.specificationExtensionPredicate=i)}ObjectElement(e){const t=e.node;t.forEach((e,t,s)=>{const n=Ns(t);if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(s)){const e=this.toRefractedElement(["document","extension"],s);this.element.content.push(e)}else if(!this.ignoredFields.includes(n)&&this.fieldPatternPredicate(n)){const n=this.specPath(e),i=this.toRefractedElement(n,e),r=new D(Ms(t),i);this.copyMetaAndAttributes(s,r),r.classes.push("patterned-field"),this.element.content.push(r)}else this.ignoredFields.includes(n)||this.element.content.push(Ms(s))}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const $c=class extends qc{constructor(e){super(e),this.fieldPatternPredicate=an}};function Mc(e,t,s){var n,i=typeof e;switch(i){case"string":case"number":return 0===e&&1/e==-1/0?!!s._items["-0"]||(t&&(s._items["-0"]=!0),!1):null!==s._nativeSet?t?(n=s._nativeSet.size,s._nativeSet.add(e),s._nativeSet.size===n):s._nativeSet.has(e):i in s._items?e in s._items[i]||(t&&(s._items[i][e]=!0),!1):(t&&(s._items[i]={},s._items[i][e]=!0),!1);case"boolean":if(i in s._items){var r=e?1:0;return!!s._items[i][r]||(t&&(s._items[i][r]=!0),!1)}return t&&(s._items[i]=e?[!1,!0]:[!0,!1]),!1;case"function":return null!==s._nativeSet?t?(n=s._nativeSet.size,s._nativeSet.add(e),s._nativeSet.size===n):s._nativeSet.has(e):i in s._items?!!Ge(e,s._items[i])||(t&&s._items[i].push(e),!1):(t&&(s._items[i]=[e]),!1);case"undefined":return!!s._items[i]||(t&&(s._items[i]=!0),!1);case"object":if(null===e)return!!s._items.null||(t&&(s._items.null=!0),!1);default:return(i=Object.prototype.toString.call(e))in s._items?!!Ge(e,s._items[i])||(t&&s._items[i].push(e),!1):(t&&(s._items[i]=[e]),!1)}}const Cc=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}return e.prototype.add=function(e){return!Mc(e,!0,this)},e.prototype.has=function(e){return Mc(e,!1,this)},e}();const Pc=b(function(e,t){for(var s=[],n=0,i=e.length,r=t.length,o=new Cc,a=0;a<r;a+=1)o.add(t[a]);for(;n<i;)o.add(e[n])&&(s[s.length]=e[n]),n+=1;return s}),kc=Un(wc,Ec),Ac=Un(Oc,Ec),Fc=Un(qc,Ec),Vc=Un($c,Ec),Ic=Un(Oc,qc),Tc=Un(jc,Ec);const Rc=class extends Ic{specPathFixedFields;specPathPatternedFields;constructor({specPathFixedFields:e,specPathPatternedFields:t,...s}){super({...s}),this.specPathFixedFields=e,this.specPathPatternedFields=t}ObjectElement(e){const t=e.node,{specPath:s,ignoredFields:n}=this;try{this.specPath=this.specPathFixedFields;const s=this.retrieveFixedFields(this.specPath(t));this.ignoredFields=[...n,...Pc(t.keys(),s)],Oc.prototype.ObjectElement.call(this,e),this.specPath=this.specPathPatternedFields,this.ignoredFields=s,qc.prototype.ObjectElement.call(this,e);const i=t.keys();this.element.content.sort((e,t)=>i.indexOf(Ns(e.key))-i.indexOf(Ns(t.key)))}catch(e){throw this.specPath=s,e}e.stop()}};const _c=class extends wc{MemberElement(e){const t=e.node;this.element=Ms(t),this.element.classes.push("specification-extension"),e.stop()}};function Nc(e){return void 0===e?new rs:Dc(e)}function Dc(e){if(e instanceof R)return e;if("string"==typeof e)return new U(e);if("number"==typeof e)return new is(e);if("boolean"==typeof e)return new os(e);if(null===e)return new rs;if(Array.isArray(e))return new as(e.map(Nc));if("object"==typeof e)return new J(e);throw new Error("Cannot refract value of type "+typeof e)}R.prototype.ObjectElement=J,R.prototype.ArrayElement=as,R.prototype.RefElement=Fs,R.prototype.MemberElement=D,R.prototype.refract=Dc;const Jc=Be(function(e,t,s){var n,i={};for(n in s=s||{},t=t||{})S(n,t)&&(i[n]=S(n,s)?e(n,t[n],s[n]):t[n]);for(n in s)S(n,s)&&!S(n,i)&&(i[n]=s[n]);return i});const Lc=Be(function e(t,s,n){return Jc(function(s,n,i){return tt(n)&&tt(i)?e(t,n,i):t(s,n,i)},s,n)});const Uc=b(function(e,t){return Lc(function(e,t,s){return s},e,t)});const zc=Be(function(e,t,s){return Gs(e,je(t,s))});const Wc=Ue(0,-1);const Kc=b(function(e,t){return e.apply(this,t)});const Hc=qt(Tt);const Gc=jt(Fi,tn);const Qc=St(3,function(e,t,s){var n=$e(e,s),i=$e(Wc(e),s);if(!Hc(n)&&!Gc(e)){var r=Te(n,i);return Kc(r,t)}});const Zc=class{namespace;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};if(e.isMetaEmpty||(t.meta=this.serialiseObject(e.meta)),e.isAttributesEmpty||(t.attributes=this.serialiseObject(e.attributes)),!(e instanceof Bs)){const s=Bs.from(e);s&&(t.meta||(t.meta={}),t.meta.__mappings__=this.serialise(s))}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));let s;t.element!==e.element&&(t.element=e.element);let n=e.meta;if(e.meta?.__mappings__){const{__mappings__:t,...i}=e.meta;s=t,n=Object.keys(i).length>0?i:void 0}if(n&&this.deserialiseObject(n,t.meta),s){this.deserialise(s).applyTo(t)}e.attributes&&this.deserialiseObject(e.attributes,t.attributes);const i=this.deserialiseContent(e.content);return void 0===i&&null!==t.content||(t.content=i),t}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t=e,s={key:this.serialise(t.key)};return t.value&&(s.value=this.serialise(t.value)),s}if(e&&Array.isArray(e)){if(0===e.length)return;return e.map(e=>this.serialise(e))}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(Array.isArray(e))return e.map(e=>this.deserialise(e))}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]))})}},Xc=e=>null===e,Yc=e=>"string"==typeof e,el=e=>"number"==typeof e,tl=e=>"boolean"==typeof e,sl=e=>null!==e&&"object"==typeof e;class nl{elementMap={};elementDetection=[];Element;KeyValuePair;_elements;_attributeElementKeys=[];_attributeElementArrayKeys=[];constructor(e){this.Element=R,this.KeyValuePair=F,e&&e.noDefault||this.useDefault()}use(e){return e.namespace&&e.namespace({base:this}),e.load&&e.load({base:this}),this}useDefault(){return this.register("null",rs).register("string",U).register("number",is).register("boolean",os).register("array",as).register("object",J).register("member",D).register("ref",Fs).register("link",As).register("sourceMap",Bs),this.detect(Xc,rs,!1).detect(Yc,U,!1).detect(el,is,!1).detect(tl,os,!1).detect(Array.isArray,as,!1).detect(sl,J,!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(const[s,n]of this.elementDetection)if(s(e)){t=new n(e);break}return t}getElementClass(e){const t=this.elementMap[e];return void 0===t?this.Element:t}fromRefract(e){return this.serialiser.deserialise(e)}toRefract(e){return this.serialiser.serialise(e)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach(e=>{const t=e[0].toUpperCase()+e.substring(1);this._elements[t]=this.elementMap[e]})),this._elements}get serialiser(){return new Zc(this)}}Zc.prototype.Namespace=nl;const il=nl,rl=new il,ol={isElement:cs,isStringElement:ls,isNumberElement:us,isNullElement:ds,isBooleanElement:hs,isArrayElement:ms,isObjectElement:ps,isMemberElement:gs,isPrimitiveElement:e=>ps(e)&&"object"===e.element||ms(e)&&"array"===e.element||hs(e)&&"boolean"===e.element||us(e)&&"number"===e.element||ls(e)&&"string"===e.element||ds(e)&&"null"===e.element||gs(e)&&"member"===e.element,isLinkElement:Rs,isRefElement:_s,isAnnotationElement:e=>e instanceof Vs,isCommentElement:e=>e instanceof Is,isParseResultElement:e=>e instanceof Ts,isSourceMapElement:e=>e instanceof Bs,hasElementSourceMap:fs,includesSymbols:(e,t)=>{if(0===t.length)return!0;if(!e.hasAttributesProperty("symbols"))return!1;const s=e.attributes.get("symbols");return!!ms(s)&&t.every(e=>s.includes(e))},includesClasses:bs},al={toolboxCreator:()=>({predicates:ol,namespace:rl}),visitorOptions:{exposeEdits:!0}},cl=(e,t,s={})=>{if(0===t.length)return e;const n=Uc(al,s),{toolboxCreator:i,visitorOptions:r}=n,o=i(),a=t.map(e=>e(o)),c=vn(a.map(zc({},"visitor")),r);a.forEach(Qc(["pre"],[]));const l=Bn(e,c);return a.forEach(Qc(["post"],[])),l};cl[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,s={})=>{if(0===t.length)return e;const n=Uc(al,s),{toolboxCreator:i,visitorOptions:r}=n,o=i(),a=t.map(e=>e(o)),c=yn(a.map(zc({},"visitor")),r);await Promise.allSettled(a.map(Qc(["pre"],[])));const l=await En(e,c);return await Promise.allSettled(a.map(Qc(["post"],[]))),l};const ll=class extends Ac{constructor(e){super(e),this.element=new L,this.specPath=Hs(["document","objects","AsyncApi"]),this.canSupportSpecificationExtensions=!0}};const ul=class extends kc{StringElement(e){const t=e.node,s=new z(Ns(t));this.copyMetaAndAttributes(t,s),this.element=s,e.stop()}};const dl=class extends kc{StringElement(e){const t=e.node,s=new ee(Ns(t));this.copyMetaAndAttributes(t,s),this.element=s,e.stop()}};const hl=class extends Ac{constructor(e){super(e),this.element=new te,this.specPath=Hs(["document","objects","Info"]),this.canSupportSpecificationExtensions=!0}};const ml=class extends Ec{StringElement(e){const t=e.node;this.element=new U(Ns(t)),this.copyMetaAndAttributes(t,this.element),this.element.classes.push("api-version"),this.element.classes.push("version"),e.stop()}};const pl=class extends Ac{constructor(e){super(e),this.element=new Q,this.specPath=Hs(["document","objects","Contact"]),this.canSupportSpecificationExtensions=!0}};const gl=class extends Ac{constructor(e){super(e),this.element=new Z,this.specPath=Hs(["document","objects","CorrelationID"]),this.canSupportSpecificationExtensions=!0}};const fl=class extends kc{StringElement(e){const t=e.node,s=new X(Ns(t));this.copyMetaAndAttributes(t,s),this.element=s,e.stop()}};const bl=class extends Ac{constructor(e){super(e),this.element=new se,this.specPath=Hs(["document","objects","License"]),this.canSupportSpecificationExtensions=!0}};const vl=class extends Ac{constructor(e){super(e),this.element=new ce,this.specPath=Hs(["document","objects","OAuthFlows"]),this.canSupportSpecificationExtensions=!0}};const yl=class extends Ac{constructor(e){super(e),this.element=new ae,this.specPath=Hs(["document","objects","OAuthFlow"]),this.canSupportSpecificationExtensions=!0}};const Sl=class extends Vc{constructor(e){super(e),this.element=new qa,this.specPath=Hs(["value"])}};const xl=b(function(e,t){if(s=e,"[object RegExp]"!==Object.prototype.toString.call(s))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+ut(e));var s;return function(e){return new RegExp(e.source,e.flags?e.flags:(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":"")+(e.dotAll?"s":""))}(e).test(t)});const Bl=class extends Fc{constructor(e){super(e),this.element=new Br,this.element.classes.push("servers"),this.specPath=e=>Sc(e)?["document","objects","Reference"]:["document","objects","Server"],this.canSupportSpecificationExtensions=!1,this.fieldPatternPredicate=xl(/^[A-Za-z0-9_-]+$/)}ObjectElement(e){Fc.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","server")})}};const El=class extends Ac{constructor(e){super(e),this.element=new Sr,this.specPath=Hs(["document","objects","Server"]),this.canSupportSpecificationExtensions=!0}};const wl=class extends Ec{StringElement(e){super.enter(e),this.element.classes.push("server-url")}};const jl=class extends Tc{constructor(e){super(e),this.alternator=[{predicate:Sc,specPath:["document","objects","Reference"]},{predicate:ji,specPath:["document","objects","ServerBindings"]}]}ObjectElement(e){jc.prototype.enter.call(this,e),cc(this.element)&&this.element.meta.set("referenced-element","serverBindings")}};const Ol=class extends Vc{constructor(e){super(e),this.element=new Ea,this.specPath=e=>Sc(e)?["document","objects","Reference"]:["document","objects","ServerVariable"]}};const ql=class extends kc{constructor(e){super(e),this.element=new Pa}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const $l=class extends Ac{constructor(e){super(e),this.element=new Er,this.specPath=Hs(["document","objects","ServerVariable"]),this.canSupportSpecificationExtensions=!0}};const Ml=class extends Ac{constructor(e){super(e),this.element=new xr,this.specPath=Hs(["document","objects","ServerBindings"]),this.canSupportSpecificationExtensions=!0}};const Cl=class extends Ac{constructor(e){super(e),this.element=new yr,this.specPath=Hs(["document","objects","SecurityScheme"]),this.canSupportSpecificationExtensions=!0}};const Pl=class extends Vc{constructor(e){super(e),this.element=new vr,this.specPath=Hs(["value"])}};const kl=class extends Ac{constructor(e){super(e),this.element=new pe,this.specPath=Hs(["document","objects","Reference"]),this.canSupportSpecificationExtensions=!1}ObjectElement(e){Ac.prototype.ObjectElement.call(this,e),ls(this.element.$ref)&&this.element.classes.push("reference-element")}};const Al=class extends Ec{StringElement(e){super.enter(e),this.element.classes.push("reference-value")}};const Fl=class extends Ac{constructor(e){super(e),this.specPath=Hs(["document","objects","Schema"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){this.element=new br,Ac.prototype.ObjectElement.call(this,e)}BooleanElement(e){super.enter(e),this.element.classes.push("boolean-json-schema")}},Vl=pr.visitors.JSONSchemaOrJSONReferenceVisitor;const Il=class extends Vl{enter(e){Vl.prototype.enter.call(this,e),cc(this.element)&&this.element.meta.set("referenced-element","schema")}},Tl=pr.visitors.document.objects.JSONSchema.fixedFields.allOf;const Rl=class extends Tl{ArrayElement(e){Tl.prototype.ArrayElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","schema")})}},_l=pr.visitors.document.objects.JSONSchema.fixedFields.anyOf;const Nl=class extends _l{ArrayElement(e){_l.prototype.ArrayElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","schema")})}},Dl=pr.visitors.document.objects.JSONSchema.fixedFields.oneOf;const Jl=class extends Dl{ArrayElement(e){Dl.prototype.ArrayElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","schema")})}},Ll=pr.visitors.document.objects.JSONSchema.fixedFields.definitions;const Ul=class extends Ll{ObjectElement(e){Ll.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","schema")})}},zl=pr.visitors.document.objects.JSONSchema.fixedFields.dependencies;const Wl=class extends zl{ObjectElement(e){zl.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","schema")})}},Kl=pr.visitors.document.objects.JSONSchema.fixedFields.items.$visitor;const Hl=class extends Kl{ObjectElement(e){Kl.prototype.ObjectElement.call(this,e),cc(this.element)&&this.element.meta.set("referenced-element","schema")}ArrayElement(e){Kl.prototype.ArrayElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","schema")})}},Gl=pr.visitors.document.objects.JSONSchema.fixedFields.patternProperties;const Ql=class extends Gl{ObjectElement(e){Gl.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","schema")})}},Zl=pr.visitors.document.objects.JSONSchema.fixedFields.properties;const Xl=class extends Zl{ObjectElement(e){Zl.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","schema")})}},Yl=xt(e=>e===pr.visitors.JSONSchemaOrJSONReferenceVisitor?Il:e,pr.visitors.document.objects.JSONSchema.fixedFields);const eu=class extends Fc{constructor(e){super(e),this.element=new me,this.specPath=e=>Sc(e)?["document","objects","Reference"]:["document","objects","Parameter"],this.canSupportSpecificationExtensions=!1,this.fieldPatternPredicate=e=>"string"==typeof e&&/^[A-Za-z0-9_-]+$/.test(e)}ObjectElement(e){Fc.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","parameter")})}};const tu=class extends Ac{constructor(e){super(e),this.element=new he,this.specPath=Hs(["document","objects","Parameter"]),this.canSupportSpecificationExtensions=!0}};const su=class extends Tc{constructor(e){super(e),this.alternator=[{predicate:Sc,specPath:["document","objects","Reference"]},{predicate:ji,specPath:["document","objects","Schema"]}]}ObjectElement(e){jc.prototype.enter.call(this,e),cc(this.element)&&this.element.meta.set("referenced-element","schema")}};const nu=class extends Ac{constructor(e){super(e),this.element=new Y,this.specPath=Hs(["document","objects","ExternalDocumentation"]),this.canSupportSpecificationExtensions=!0}};const iu=class extends Ac{constructor(e){super(e),this.element=new G,this.specPath=Hs(["document","objects","Components"]),this.canSupportSpecificationExtensions=!0}};const ru=class extends Vc{constructor(e){super(e),this.element=new Zo,this.specPath=e=>Sc(e)?["document","objects","Reference"]:["document","objects","Schema"]}ObjectElement(e){Vc.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","schema")})}};const ou=class extends Vc{constructor(e){super(e),this.element=new Yo,this.specPath=e=>Sc(e)?["document","objects","Reference"]:["document","objects","Server"]}ObjectElement(e){Vc.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","server")})}};const au=class extends Vc{constructor(e){super(e),this.element=new ta,this.specPath=e=>Sc(e)?["document","objects","Reference"]:["document","objects","ServerVariable"]}ObjectElement(e){Vc.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","serverVariable")})}};class cu extends J{static primaryClass="components-channels";constructor(e,t,s){super(e,t,s),this.classes.push(cu.primaryClass)}}const lu=cu;const uu=class extends Vc{constructor(e){super(e),this.element=new lu,this.specPath=Hs(["document","objects","ChannelItem"])}};const du=class extends Vc{constructor(e){super(e),this.element=new na,this.specPath=e=>Sc(e)?["document","objects","Reference"]:["document","objects","Message"]}ObjectElement(e){Vc.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","message")})}};const hu=class extends Vc{constructor(e){super(e),this.element=new ra,this.specPath=e=>Sc(e)?["document","objects","Reference"]:["document","objects","SecurityScheme"]}ObjectElement(e){Vc.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","securityScheme")})}};const mu=class extends Vc{constructor(e){super(e),this.element=new aa,this.specPath=e=>Sc(e)?["document","objects","Reference"]:["document","objects","Parameter"]}ObjectElement(e){Vc.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","parameter")})}};const pu=class extends Vc{constructor(e){super(e),this.element=new la,this.specPath=e=>Sc(e)?["document","objects","Reference"]:["document","objects","CorrelationID"]}ObjectElement(e){Vc.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","correlationID")})}};const gu=class extends Vc{constructor(e){super(e),this.element=new da,this.specPath=e=>Sc(e)?["document","objects","Reference"]:["document","objects","OperationTrait"]}ObjectElement(e){Vc.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","operationTrait")})}};const fu=class extends Vc{constructor(e){super(e),this.element=new ma,this.specPath=e=>Sc(e)?["document","objects","Reference"]:["document","objects","MessageTrait"]}ObjectElement(e){Vc.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","messageTrait")})}};const bu=class extends Vc{constructor(e){super(e),this.element=new ga,this.specPath=e=>Sc(e)?["document","objects","Reference"]:["document","objects","ServerBindings"]}ObjectElement(e){Vc.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","serverBindings")})}};const vu=class extends Vc{constructor(e){super(e),this.element=new ba,this.specPath=e=>Sc(e)?["document","objects","Reference"]:["document","objects","ChannelBindings"]}ObjectElement(e){Vc.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","channelBindings")})}};const yu=class extends Vc{constructor(e){super(e),this.element=new ya,this.specPath=e=>Sc(e)?["document","objects","Reference"]:["document","objects","OperationBindings"]}ObjectElement(e){Vc.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","operationBindings")})}};const Su=class extends Vc{constructor(e){super(e),this.element=new xa,this.specPath=e=>Sc(e)?["document","objects","Reference"]:["document","objects","MessageBindings"]}ObjectElement(e){Vc.prototype.ObjectElement.call(this,e),this.element.filter(cc).forEach(e=>{e.meta.set("referenced-element","messageBindings")})}};const xu=class extends Ac{constructor(e){super(e),this.element=new le,this.specPath=Hs(["document","objects","Operation"])}};const Bu=class extends kc{constructor(e){super(e),this.element=new Ta}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const Eu=class extends Tc{constructor(e){super(e),this.alternator=[{predicate:Sc,specPath:["document","objects","Reference"]},{predicate:ji,specPath:["document","objects","OperationBindings"]}]}ObjectElement(e){jc.prototype.enter.call(this,e),cc(this.element)&&this.element.meta.set("referenced-element","operationBindings")}};const wu=class extends kc{constructor(e){super(e),this.element=new Ma}ArrayElement(e){const t=e.node;t.forEach(e=>{let t;Sc(e)?(t=this.toRefractedElement(["document","objects","Reference"],e),t.meta.set("referenced-element","operationTrait")):t=this.toRefractedElement(["document","objects","OperationTrait"],e),this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const ju=class extends kc{ObjectElement(e){const t=e.node;if(Sc(t))this.element=this.toRefractedElement(["document","objects","Reference"],t),this.element.meta.set("referenced-element","message");else if(ms(t.get("oneOf"))){this.element=new Aa;const e=new Va;t.get("oneOf").forEach(t=>{let s;const n=t;Sc(n)?(s=this.toRefractedElement(["document","objects","Reference"],n),s.meta.set("referenced-element","message")):s=this.toRefractedElement(["document","objects","Message"],n),e.push(s)}),this.element.oneOf=e}else this.element=this.toRefractedElement(["document","objects","Message"],t);this.copyMetaAndAttributes(t,this.element),e.stop()}};const Ou=class extends kc{constructor(e){super(e),this.element=new jr}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=this.toRefractedElement(["document","objects","Tag"],e);this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const qu=class extends Ac{constructor(e){super(e),this.element=new wr,this.specPath=Hs(["document","objects","Tag"]),this.canSupportSpecificationExtensions=!0}};const $u=class extends Vc{constructor(e){super(e),this.element=new H,this.specPath=Hs(["document","objects","ChannelItem"])}};const Mu=class extends Ac{constructor(e){super(e),this.element=new W,this.specPath=Hs(["document","objects","ChannelBindings"]),this.canSupportSpecificationExtensions=!0}};const Cu=class extends Ac{constructor(e){super(e),this.element=new K,this.specPath=Hs(["document","objects","ChannelItem"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){Ac.prototype.ObjectElement.call(this,e),ls(this.element.$ref)&&(this.element.classes.push("reference-element"),this.element.meta.set("referenced-element","channelItem"))}};const Pu=class extends Ec{StringElement(e){super.enter(e),this.element.classes.push("reference-value")}};const ku=class extends kc{constructor(e){super(e),this.element=new ja}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=Ms(e);ls(t)&&t.classes.push("server-name"),this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const Au=class extends Tc{constructor(e){super(e),this.alternator=[{predicate:Sc,specPath:["document","objects","Reference"]},{predicate:ji,specPath:["document","objects","ChannelBindings"]}]}ObjectElement(e){jc.prototype.enter.call(this,e),cc(this.element)&&this.element.meta.set("referenced-element","channelBindings")}};const Fu=class extends Ac{constructor(e){super(e),this.element=new ie,this.specPath=Hs(["document","objects","MessageBindings"]),this.canSupportSpecificationExtensions=!0}};const Vu=class extends Ac{constructor(e){super(e),this.element=new re,this.specPath=Hs(["document","objects","MessageExample"]),this.canSupportSpecificationExtensions=!0}};const Iu=class extends Ac{constructor(e){super(e),this.element=new oe,this.specPath=Hs(["document","objects","MessageTrait"]),this.canSupportSpecificationExtensions=!0}};const Tu=class extends Tc{constructor(e){super(e),this.alternator=[{predicate:Sc,specPath:["document","objects","Reference"]},{predicate:ji,specPath:["document","objects","Schema"]}]}ObjectElement(e){jc.prototype.enter.call(this,e),cc(this.element)&&this.element.meta.set("referenced-element","schema")}};const Ru=class extends Tc{constructor(e){super(e),this.alternator=[{predicate:Sc,specPath:["document","objects","Reference"]},{predicate:ji,specPath:["document","objects","CorrelationID"]}]}ObjectElement(e){jc.prototype.enter.call(this,e),cc(this.element)&&this.element.meta.set("referenced-element","correlationID")}};const _u=class extends Tc{constructor(e){super(e),this.alternator=[{predicate:Sc,specPath:["document","objects","Reference"]},{predicate:ji,specPath:["document","objects","MessageBindings"]}]}ObjectElement(e){jc.prototype.enter.call(this,e),cc(this.element)&&this.element.meta.set("referenced-element","messageBindings")}};const Nu=class extends kc{constructor(e){super(e),this.element=new za}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=this.toRefractedElement(["document","objects","MessageExample"],e);this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const Du=class extends Ac{constructor(e){super(e),this.element=new ne,this.specPath=Hs(["document","objects","Message"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){Ac.prototype.ObjectElement.call(this,e);const t=e.node,s=this.element.get("payload"),n=Gs(f.latest(),Ns(t.get("schemaFormat")));if(f.includes(n)&&Sc(s)){const e=this.toRefractedElement(["document","objects","Reference"],s);e.meta.set("referenced-element","schema"),this.element.payload=e}else f.includes(n)&&ps(this.element.payload)&&(this.element.payload=this.toRefractedElement(["document","objects","Schema"],s))}};const Ju=class extends Tc{constructor(e){super(e),this.alternator=[{predicate:Sc,specPath:["document","objects","Reference"]},{predicate:ji,specPath:["document","objects","Schema"]}]}ObjectElement(e){jc.prototype.enter.call(this,e),cc(this.element)&&this.element.meta.set("referenced-element","schema")}};const Lu=class extends Tc{constructor(e){super(e),this.alternator=[{predicate:Sc,specPath:["document","objects","Reference"]},{predicate:ji,specPath:["document","objects","CorrelationID"]}]}ObjectElement(e){jc.prototype.enter.call(this,e),cc(this.element)&&this.element.meta.set("referenced-element","correlationID")}};const Uu=class extends Tc{constructor(e){super(e),this.alternator=[{predicate:Sc,specPath:["document","objects","Reference"]},{predicate:ji,specPath:["document","objects","MessageBindings"]}]}ObjectElement(e){jc.prototype.enter.call(this,e),cc(this.element)&&this.element.meta.set("referenced-element","messageBindings")}};const zu=class extends kc{constructor(e){super(e),this.element=new Da}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=this.toRefractedElement(["document","objects","MessageExample"],e);this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const Wu=class extends kc{constructor(e){super(e),this.element=new La}ArrayElement(e){const t=e.node;t.forEach(e=>{let t;Sc(e)?(t=this.toRefractedElement(["document","objects","Reference"],e),t.meta.set("referenced-element","messageTrait")):t=this.toRefractedElement(["document","objects","MessageTrait"],e),this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const Ku=class extends Ac{constructor(e){super(e),this.element=new ue,this.specPath=Hs(["document","objects","OperationBindings"]),this.canSupportSpecificationExtensions=!0}};const Hu=class extends Ac{constructor(e){super(e),this.element=new de,this.specPath=Hs(["document","objects","OperationTrait"]),this.canSupportSpecificationExtensions=!0}};const Gu=class extends kc{constructor(e){super(e),this.element=new _a}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const Qu=class extends Tc{constructor(e){super(e),this.alternator=[{predicate:Sc,specPath:["document","objects","Reference"]},{predicate:ji,specPath:["document","objects","OperationBindings"]}]}ObjectElement(e){jc.prototype.enter.call(this,e),cc(this.element)&&this.element.meta.set("referenced-element","operationBindings")}};const Zu=class extends Ac{constructor(e){super(e),this.element=new Or,this.specPath=Hs(["document","objects","bindings","amqp","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Xu=class extends Ac{constructor(e){super(e),this.element=new qr,this.specPath=Hs(["document","objects","bindings","amqp","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Yu=class extends Ac{constructor(e){super(e),this.element=new $r,this.specPath=Hs(["document","objects","bindings","amqp","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const ed=class extends Ac{constructor(e){super(e),this.element=new Mr,this.specPath=Hs(["document","objects","bindings","amqp","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const td=class extends Ac{constructor(e){super(e),this.element=new Cr,this.specPath=Hs(["document","objects","bindings","amqp1","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const sd=class extends Ac{constructor(e){super(e),this.element=new Pr,this.specPath=Hs(["document","objects","bindings","amqp1","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const nd=class extends Ac{constructor(e){super(e),this.element=new kr,this.specPath=Hs(["document","objects","bindings","amqp1","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const id=class extends Ac{constructor(e){super(e),this.element=new Ar,this.specPath=Hs(["document","objects","bindings","amqp1","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const rd=class extends Ac{constructor(e){super(e),this.element=new Fr,this.specPath=Hs(["document","objects","bindings","anypointmq","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const od=class extends Ac{constructor(e){super(e),this.element=new Vr,this.specPath=Hs(["document","objects","bindings","anypointmq","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const ad=class extends Ac{constructor(e){super(e),this.element=new Ir,this.specPath=Hs(["document","objects","bindings","anypointmq","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const cd=class extends Ac{constructor(e){super(e),this.element=new Tr,this.specPath=Hs(["document","objects","bindings","anypointmq","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const ld=class extends Ac{constructor(e){super(e),this.element=new Jr,this.specPath=Hs(["document","objects","bindings","http","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const ud=class extends Ac{constructor(e){super(e),this.element=new Lr,this.specPath=Hs(["document","objects","bindings","http","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const dd=class extends Ac{constructor(e){super(e),this.element=new Ur,this.specPath=Hs(["document","objects","bindings","http","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const hd=class extends Ac{constructor(e){super(e),this.element=new zr,this.specPath=Hs(["document","objects","bindings","http","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const md=class extends Ac{constructor(e){super(e),this.element=new Rr,this.specPath=Hs(["document","objects","bindings","googlepubsub","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const pd=class extends Ac{constructor(e){super(e),this.element=new _r,this.specPath=Hs(["document","objects","bindings","googlepubusb","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const gd=class extends Ac{constructor(e){super(e),this.element=new Nr,this.specPath=Hs(["document","objects","bindings","googlepubsub","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const fd=class extends Ac{constructor(e){super(e),this.element=new Dr,this.specPath=Hs(["document","objects","bindings","googlepubsub","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const bd=class extends Ac{constructor(e){super(e),this.element=new Wr,this.specPath=Hs(["document","objects","bindings","ibmmq","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const vd=class extends Ac{constructor(e){super(e),this.element=new Kr,this.specPath=Hs(["document","objects","bindings","ibmmq","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const yd=class extends Ac{constructor(e){super(e),this.element=new Hr,this.specPath=Hs(["document","objects","bindings","ibmmq","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Sd=class extends Ac{constructor(e){super(e),this.element=new Gr,this.specPath=Hs(["document","objects","bindings","ibmmq","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const xd=class extends Ac{constructor(e){super(e),this.element=new Qr,this.specPath=Hs(["document","objects","bindings","jms","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Bd=class extends Ac{constructor(e){super(e),this.element=new Zr,this.specPath=Hs(["document","objects","bindings","jms","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Ed=class extends Ac{constructor(e){super(e),this.element=new Xr,this.specPath=Hs(["document","objects","bindings","jms","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const wd=class extends Ac{constructor(e){super(e),this.element=new Yr,this.specPath=Hs(["document","objects","bindings","jms","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const jd=class extends Ac{constructor(e){super(e),this.element=new eo,this.specPath=Hs(["document","objects","bindings","kafka","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Od=class extends Ac{constructor(e){super(e),this.element=new to,this.specPath=Hs(["document","objects","bindings","kafka","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const qd=class extends Ac{constructor(e){super(e),this.element=new so,this.specPath=Hs(["document","objects","bindings","kafka","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const $d=class extends Ac{constructor(e){super(e),this.element=new no,this.specPath=Hs(["document","objects","bindings","kafka","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const Md=class extends Ac{constructor(e){super(e),this.element=new io,this.specPath=Hs(["document","objects","bindings","mercure","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Cd=class extends Ac{constructor(e){super(e),this.element=new ro,this.specPath=Hs(["document","objects","bindings","mercure","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Pd=class extends Ac{constructor(e){super(e),this.element=new oo,this.specPath=Hs(["document","objects","bindings","mercure","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const kd=class extends Ac{constructor(e){super(e),this.element=new ao,this.specPath=Hs(["document","objects","bindings","mercure","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const Ad=class extends Ac{constructor(e){super(e),this.element=new co,this.specPath=Hs(["document","objects","bindings","mqtt","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Fd=class extends Ac{constructor(e){super(e),this.element=new lo,this.specPath=Hs(["document","objects","bindings","mqtt","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Vd=class extends Ac{constructor(e){super(e),this.element=new uo,this.specPath=Hs(["document","objects","bindings","mqtt","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Id=class extends Ac{constructor(e){super(e),this.element=new ho,this.specPath=Hs(["document","objects","bindings","mqtt","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const Td=class extends Ac{constructor(e){super(e),this.element=new mo,this.specPath=Hs(["document","objects","bindings","mqtt5","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Rd=class extends Ac{constructor(e){super(e),this.element=new po,this.specPath=Hs(["document","objects","bindings","mqtt5","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const _d=class extends Ac{constructor(e){super(e),this.element=new go,this.specPath=Hs(["document","objects","bindings","mqtt5","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Nd=class extends Ac{constructor(e){super(e),this.element=new fo,this.specPath=Hs(["document","objects","bindings","mqtt5","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const Dd=class extends Ac{constructor(e){super(e),this.element=new bo,this.specPath=Hs(["document","objects","bindings","nats","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Jd=class extends Ac{constructor(e){super(e),this.element=new vo,this.specPath=Hs(["document","objects","bindings","nats","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Ld=class extends Ac{constructor(e){super(e),this.element=new yo,this.specPath=Hs(["document","objects","bindings","nats","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Ud=class extends Ac{constructor(e){super(e),this.element=new So,this.specPath=Hs(["document","objects","bindings","nats","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const zd=class extends Ac{constructor(e){super(e),this.element=new xo,this.specPath=Hs(["document","objects","bindings","pulsar","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Wd=class extends Ac{constructor(e){super(e),this.element=new Bo,this.specPath=Hs(["document","objects","bindings","pulsar","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Kd=class extends Ac{constructor(e){super(e),this.element=new Eo,this.specPath=Hs(["document","objects","bindings","pulsar","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Hd=class extends Ac{constructor(e){super(e),this.element=new wo,this.specPath=Hs(["document","objects","bindings","pulsar","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const Gd=class extends Ac{constructor(e){super(e),this.element=new jo,this.specPath=Hs(["document","objects","bindings","redis","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Qd=class extends Ac{constructor(e){super(e),this.element=new Oo,this.specPath=Hs(["document","objects","bindings","redis","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Zd=class extends Ac{constructor(e){super(e),this.element=new qo,this.specPath=Hs(["document","objects","bindings","redis","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Xd=class extends Ac{constructor(e){super(e),this.element=new $o,this.specPath=Hs(["document","objects","bindings","redis","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const Yd=class extends Ac{constructor(e){super(e),this.element=new Mo,this.specPath=Hs(["document","objects","bindings","sns","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const eh=class extends Ac{constructor(e){super(e),this.element=new Co,this.specPath=Hs(["document","objects","bindings","sns","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const th=class extends Ac{constructor(e){super(e),this.element=new Po,this.specPath=Hs(["document","objects","bindings","sns","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const sh=class extends Ac{constructor(e){super(e),this.element=new ko,this.specPath=Hs(["document","objects","bindings","sns","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const nh=class extends Ac{constructor(e){super(e),this.element=new Ao,this.specPath=Hs(["document","objects","bindings","solace","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const ih=class extends Ac{constructor(e){super(e),this.element=new Fo,this.specPath=Hs(["document","objects","bindings","solace","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const rh=class extends Ac{constructor(e){super(e),this.element=new Vo,this.specPath=Hs(["document","objects","bindings","solace","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const oh=class extends Ac{constructor(e){super(e),this.element=new Io,this.specPath=Hs(["document","objects","bindings","solace","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const ah=class extends Ac{constructor(e){super(e),this.element=new To,this.specPath=Hs(["document","objects","bindings","sqs","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const ch=class extends Ac{constructor(e){super(e),this.element=new Ro,this.specPath=Hs(["document","objects","bindings","sqs","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const lh=class extends Ac{constructor(e){super(e),this.element=new _o,this.specPath=Hs(["document","objects","bindings","sqs","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const uh=class extends Ac{constructor(e){super(e),this.element=new No,this.specPath=Hs(["document","objects","bindings","sqs","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const dh=class extends Ac{constructor(e){super(e),this.element=new Do,this.specPath=Hs(["document","objects","bindings","stomp","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const hh=class extends Ac{constructor(e){super(e),this.element=new Jo,this.specPath=Hs(["document","objects","bindings","stomp","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const mh=class extends Ac{constructor(e){super(e),this.element=new Lo,this.specPath=Hs(["document","objects","bindings","stomp","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const ph=class extends Ac{constructor(e){super(e),this.element=new Uo,this.specPath=Hs(["document","objects","bindings","stomp","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const gh=class extends Ac{constructor(e){super(e),this.element=new zo,this.specPath=Hs(["document","objects","bindings","ws","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const fh=class extends Ac{constructor(e){super(e),this.element=new Wo,this.specPath=Hs(["document","objects","bindings","ws","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const bh=class extends Ac{constructor(e){super(e),this.element=new Ko,this.specPath=Hs(["document","objects","bindings","ws","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const vh=class extends Ac{constructor(e){super(e),this.element=new Ho,this.specPath=Hs(["document","objects","bindings","ws","ServerBinding"]),this.canSupportSpecificationExtensions=!1}},yh={element:"reference",$visitor:kl,fixedFields:{$ref:Al}},Sh={element:"schema",$visitor:Fl,fixedFields:{...Yl,allOf:Rl,anyOf:Nl,oneOf:Jl,items:{$visitor:Hl,alias:"itemsField"},properties:Xl,patternProperties:Ql,dependencies:Wl,definitions:Ul,discriminator:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},deprecated:{$ref:"#/visitors/value"}}},xh={visitors:{value:Ec,document:{objects:{AsyncApi:{element:"asyncApi2",$visitor:ll,fixedFields:{asyncapi:{$ref:"#/visitors/document/objects/AsyncApiVersion"},id:{$visitor:dl,alias:"idField"},info:{$ref:"#/visitors/document/objects/Info"},servers:{$ref:"#/visitors/document/objects/Servers"},defaultContentType:{$ref:"#/visitors/document/objects/DefaultContentType"},channels:{$ref:"#/visitors/document/objects/Channels"},components:{$ref:"#/visitors/document/objects/Components"},tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},AsyncApiVersion:{element:"asyncApiVersion",$visitor:ul},Identifier:{element:"identifier",$visitor:dl},Info:{element:"info",$visitor:hl,fixedFields:{title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},termsOfService:{$ref:"#/visitors/value"},version:ml,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"}}},Contact:{element:"contact",$visitor:pl,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"},email:{$ref:"#/visitors/value"}}},License:{element:"license",$visitor:bl,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Servers:{element:"servers",$visitor:Bl},Server:{element:"server",$visitor:El,fixedFields:{url:wl,protocol:{$ref:"#/visitors/value"},protocolVersion:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},variables:Ol,security:ql,tags:{$ref:"#/visitors/document/objects/Tags"},bindings:jl}},ServerVariable:{element:"serverVariable",$visitor:$l,fixedFields:{enum:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},examples:{$ref:"#/visitors/value"}}},DefaultContentType:{element:"defaultContentType",$visitor:fl},Channels:{element:"channels",$visitor:$u},ChannelItem:{element:"channelItem",$visitor:Cu,fixedFields:{$ref:Pu,description:{$ref:"#/visitors/value"},servers:ku,subscribe:{$ref:"#/visitors/document/objects/Operation"},publish:{$ref:"#/visitors/document/objects/Operation"},parameters:{$ref:"#/visitors/document/objects/Parameters"},bindings:Au}},Operation:{element:"operation",$visitor:xu,fixedFields:{operationId:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},security:Bu,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:Eu,traits:wu,message:ju}},OperationTrait:{element:"operationTrait",$visitor:Hu,fixedFields:{operationId:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},security:Gu,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:Qu}},Message:{element:"message",$visitor:Du,fixedFields:{messageId:{$ref:"#/visitors/value"},headers:Ju,payload:{$ref:"#/visitors/value"},correlationId:Lu,schemaFormat:{$ref:"#/visitors/value"},contentType:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},title:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:Uu,examples:zu,traits:Wu}},MessageTrait:{element:"messageTrait",$visitor:Iu,fixedFields:{messageId:{$ref:"#/visitors/value"},headers:Tu,correlationId:Ru,schemaFormat:{$ref:"#/visitors/value"},contentType:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},title:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:_u,examples:Nu}},MessageExample:{element:"messageExample",$visitor:Vu,fixedFields:{headers:{$ref:"#/visitors/value"},payload:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"}}},Tags:{element:"tags",$visitor:Ou},Tag:{element:"tag",$visitor:qu,fixedFields:{name:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},ExternalDocumentation:{element:"externalDocumentation",$visitor:nu,fixedFields:{description:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Components:{element:"components",$visitor:iu,fixedFields:{schemas:ru,servers:ou,serverVariables:au,channels:uu,messages:du,securitySchemes:hu,parameters:mu,correlationIds:pu,operationTraits:gu,messageTraits:fu,serverBindings:bu,channelBindings:vu,operationBindings:yu,messageBindings:Su}},JSONReference:yh,Reference:yh,JSONSchema:Sh,Schema:Sh,LinkDescription:pr.visitors.document.objects.LinkDescription,SecurityScheme:{element:"securityScheme",$visitor:Cl,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"}}},SecurityRequirement:{element:"securityRequirement",$visitor:Pl},OAuthFlows:{element:"oAuthFlows",$visitor:vl,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:{element:"oAuthFlow",$visitor:yl,fixedFields:{authorizationUrl:{$ref:"#/visitors/value"},tokenUrl:{$ref:"#/visitors/value"},refreshUrl:{$ref:"#/visitors/value"},scopes:Sl}},ServerBindings:{element:"serverBindings",$visitor:Ml,fixedFields:{http:{$ref:"#/visitors/document/objects/bindings/http/ServerBinding"},ws:{$ref:"#/visitors/document/objects/bindings/ws/ServerBinding"},kafka:{$ref:"#/visitors/document/objects/bindings/kafka/ServerBinding"},anypointmq:{$ref:"#/visitors/document/objects/bindings/anypointmq/ServerBinding"},amqp:{$ref:"#/visitors/document/objects/bindings/amqp/ServerBinding"},amqp1:{$ref:"#/visitors/document/objects/bindings/amqp1/ServerBinding"},mqtt:{$ref:"#/visitors/document/objects/bindings/mqtt/ServerBinding"},mqtt5:{$ref:"#/visitors/document/objects/bindings/mqtt5/ServerBinding"},nats:{$ref:"#/visitors/document/objects/bindings/nats/ServerBinding"},jms:{$ref:"#/visitors/document/objects/bindings/jms/ServerBinding"},sns:{$ref:"#/visitors/document/objects/bindings/sns/ServerBinding"},solace:{$ref:"#/visitors/document/objects/bindings/solace/ServerBinding"},sqs:{$ref:"#/visitors/document/objects/bindings/sqs/ServerBinding"},stomp:{$ref:"#/visitors/document/objects/bindings/stomp/ServerBinding"},redis:{$ref:"#/visitors/document/objects/bindings/redis/ServerBinding"},mercure:{$ref:"#/visitors/document/objects/bindings/mercure/ServerBinding"},ibmmq:{$ref:"#/visitors/document/objects/bindings/ibmmq/ServerBinding"},googlepubsub:{$ref:"#/visitors/document/objects/bindings/googlepubsub/ServerBinding"},pulsar:{$ref:"#/visitors/document/objects/bindings/pulsar/ServerBinding"}}},Parameters:{element:"parameters",$visitor:eu},Parameter:{element:"parameter",$visitor:tu,fixedFields:{description:{$ref:"#/visitors/value"},schema:su,location:{$ref:"#/visitors/value"}}},ChannelBindings:{element:"channelBindings",$visitor:Mu,fixedFields:{http:{$ref:"#/visitors/document/objects/bindings/http/ChannelBinding"},ws:{$ref:"#/visitors/document/objects/bindings/ws/ChannelBinding"},kafka:{$ref:"#/visitors/document/objects/bindings/kafka/ChannelBinding"},anypointmq:{$ref:"#/visitors/document/objects/bindings/anypointmq/ChannelBinding"},amqp:{$ref:"#/visitors/document/objects/bindings/amqp/ChannelBinding"},amqp1:{$ref:"#/visitors/document/objects/bindings/amqp1/ChannelBinding"},mqtt:{$ref:"#/visitors/document/objects/bindings/mqtt/ChannelBinding"},mqtt5:{$ref:"#/visitors/document/objects/bindings/mqtt5/ChannelBinding"},nats:{$ref:"#/visitors/document/objects/bindings/nats/ChannelBinding"},jms:{$ref:"#/visitors/document/objects/bindings/jms/ChannelBinding"},sns:{$ref:"#/visitors/document/objects/bindings/sns/ChannelBinding"},solace:{$ref:"#/visitors/document/objects/bindings/solace/ChannelBinding"},sqs:{$ref:"#/visitors/document/objects/bindings/sqs/ChannelBinding"},stomp:{$ref:"#/visitors/document/objects/bindings/stomp/ChannelBinding"},redis:{$ref:"#/visitors/document/objects/bindings/redis/ChannelBinding"},mercure:{$ref:"#/visitors/document/objects/bindings/mercure/ChannelBinding"},ibmmq:{$ref:"#/visitors/document/objects/bindings/ibmmq/ChannelBinding"},googlepubsub:{$ref:"#/visitors/document/objects/bindings/googlepubsub/ChannelBinding"},pulsar:{$ref:"#/visitors/document/objects/bindings/pulsar/ChannelBinding"}}},OperationBindings:{element:"operationBindings",$visitor:Ku,fixedFields:{http:{$ref:"#/visitors/document/objects/bindings/http/OperationBinding"},ws:{$ref:"#/visitors/document/objects/bindings/ws/OperationBinding"},kafka:{$ref:"#/visitors/document/objects/bindings/kafka/OperationBinding"},anypointmq:{$ref:"#/visitors/document/objects/bindings/anypointmq/OperationBinding"},amqp:{$ref:"#/visitors/document/objects/bindings/amqp/OperationBinding"},amqp1:{$ref:"#/visitors/document/objects/bindings/amqp1/OperationBinding"},mqtt:{$ref:"#/visitors/document/objects/bindings/mqtt/OperationBinding"},mqtt5:{$ref:"#/visitors/document/objects/bindings/mqtt5/OperationBinding"},nats:{$ref:"#/visitors/document/objects/bindings/nats/OperationBinding"},jms:{$ref:"#/visitors/document/objects/bindings/jms/OperationBinding"},sns:{$ref:"#/visitors/document/objects/bindings/sns/OperationBinding"},solace:{$ref:"#/visitors/document/objects/bindings/solace/OperationBinding"},sqs:{$ref:"#/visitors/document/objects/bindings/sqs/OperationBinding"},stomp:{$ref:"#/visitors/document/objects/bindings/stomp/OperationBinding"},redis:{$ref:"#/visitors/document/objects/bindings/redis/OperationBinding"},mercure:{$ref:"#/visitors/document/objects/bindings/mercure/OperationBinding"},googlepubsub:{$ref:"#/visitors/document/objects/bindings/googlepubsub/OperationBinding"},ibmmq:{$ref:"#/visitors/document/objects/bindings/ibmmq/OperationBinding"},pulsar:{$ref:"#/visitors/document/objects/bindings/pulsar/OperationBinding"}}},MessageBindings:{element:"messageBindings",$visitor:Fu,fixedFields:{http:{$ref:"#/visitors/document/objects/bindings/http/MessageBinding"},ws:{$ref:"#/visitors/document/objects/bindings/ws/MessageBinding"},kafka:{$ref:"#/visitors/document/objects/bindings/kafka/MessageBinding"},anypointmq:{$ref:"#/visitors/document/objects/bindings/anypointmq/MessageBinding"},amqp:{$ref:"#/visitors/document/objects/bindings/amqp/MessageBinding"},amqp1:{$ref:"#/visitors/document/objects/bindings/amqp1/MessageBinding"},mqtt:{$ref:"#/visitors/document/objects/bindings/mqtt/MessageBinding"},mqtt5:{$ref:"#/visitors/document/objects/bindings/mqtt5/MessageBinding"},nats:{$ref:"#/visitors/document/objects/bindings/nats/MessageBinding"},jms:{$ref:"#/visitors/document/objects/bindings/jms/MessageBinding"},sns:{$ref:"#/visitors/document/objects/bindings/sns/MessageBinding"},solace:{$ref:"#/visitors/document/objects/bindings/solace/MessageBinding"},sqs:{$ref:"#/visitors/document/objects/bindings/sqs/MessageBinding"},stomp:{$ref:"#/visitors/document/objects/bindings/stomp/MessageBinding"},redis:{$ref:"#/visitors/document/objects/bindings/redis/MessageBinding"},mercure:{$ref:"#/visitors/document/objects/bindings/mercure/MessageBinding"},ibmmq:{$ref:"#/visitors/document/objects/bindings/ibmmq/MessageBinding"},googlepubsub:{$ref:"#/visitors/document/objects/bindings/googlepubsub/MessageBinding"},pulsar:{$ref:"#/visitors/document/objects/bindings/pulsar/MessageBinding"}}},CorrelationID:{element:"correlationID",$visitor:gl,fixedFields:{description:{$ref:"#/visitors/value"},location:{$ref:"#/visitors/value"}}},bindings:{http:{ServerBinding:{element:"httpServerBinding",$visitor:hd},ChannelBinding:{element:"httpChannelBinding",$visitor:ld},OperationBinding:{element:"httpOperationBinding",$visitor:dd,fixedFields:{type:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},query:Il,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{element:"httpMessageBinding",$visitor:ud,fixedFields:{headers:Il,bindingVersion:{$ref:"#/visitors/value"}}}},ws:{ServerBinding:{element:"webSocketServerBinding",$visitor:vh},ChannelBinding:{element:"webSocketChannelBinding",$visitor:gh,fixedFields:{method:{$ref:"#/visitors/value"},query:Il,headers:Il,bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{element:"webSocketOperationBinding",$visitor:bh},MessageBinding:{element:"webSocketMessageBinding",$visitor:fh}},kafka:{ServerBinding:{element:"kafkaServerBinding",$visitor:$d,fixedFields:{schemaRegistryUrl:{$ref:"#/visitors/value"},schemaRegistryVendor:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{element:"kafkaChannelBinding",$visitor:jd,fixedFields:{topic:{$ref:"#/visitors/value"},partitions:{$ref:"#/visitors/value"},replicas:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{element:"kafkaOperationBinding",$visitor:qd,fixedFields:{groupId:Il,clientId:Il,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{element:"kafkaMessageBinding",$visitor:Od,fixedFields:{key:Il,schemaIdLocation:{$ref:"#/visitors/value"},schemaIdPayloadEncoding:{$ref:"#/visitors/value"},schemaLookupStrategy:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},anypointmq:{ServerBinding:{element:"anypointmqServerBinding",$visitor:cd},ChannelBinding:{element:"anypointmqChannelBinding",$visitor:rd,fixedFields:{destination:{$ref:"#/visitors/value"},destinationType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{element:"anypointmqOperationBinding",$visitor:ad},MessageBinding:{element:"anypointmqMessageBinding",$visitor:od,fixedFields:{headers:Il,bindingVersion:{$ref:"#/visitors/value"}}}},amqp:{ServerBinding:{element:"amqpServerBinding",$visitor:ed},ChannelBinding:{element:"amqpChannelBinding",$visitor:Zu,fixedFields:{is:{$ref:"#/visitors/value"},exchange:{$ref:"#/visitors/value"},queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{element:"amqpOperationBinding",$visitor:Yu,fixedFields:{expiration:{$ref:"#/visitors/value"},userId:{$ref:"#/visitors/value"},cc:{$ref:"#/visitors/value"},priority:{$ref:"#/visitors/value"},deliveryMode:{$ref:"#/visitors/value"},mandatory:{$ref:"#/visitors/value"},bcc:{$ref:"#/visitors/value"},replyTo:{$ref:"#/visitors/value"},timestamp:{$ref:"#/visitors/value"},ack:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{element:"amqpMessageBinding",$visitor:Xu,fixedFields:{contentEncoding:{$ref:"#/visitors/value"},messageType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},amqp1:{ServerBinding:{element:"amqp1ServerBinding",$visitor:id},ChannelBinding:{element:"amqp1ChannelBinding",$visitor:td},OperationBinding:{element:"amqp1OperationBinding",$visitor:nd},MessageBinding:{element:"amqp1MessageBinding",$visitor:sd}},mqtt:{ServerBinding:{element:"mqttServerBinding",$visitor:Id,fixedFields:{clientId:{$ref:"#/visitors/value"},cleanSession:{$ref:"#/visitors/value"},lastWill:{$ref:"#/visitors/value"},keepAlive:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{element:"mqttChannelBinding",$visitor:Ad},OperationBinding:{element:"mqttOperationBinding",$visitor:Vd,fixedFields:{qos:{$ref:"#/visitors/value"},retain:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{element:"mqttMessageBinding",$visitor:Fd,fixedFields:{bindingVersion:{$ref:"#/visitors/value"}}}},mqtt5:{ServerBinding:{element:"mqtt5ServerBinding",$visitor:Nd},ChannelBinding:{element:"mqtt5ChannelBinding",$visitor:Td},OperationBinding:{element:"mqtt5OperationBinding",$visitor:_d},MessageBinding:{element:"mqtt5MessageBinding",$visitor:Rd}},nats:{ServerBinding:{element:"natsServerBinding",$visitor:Ud},ChannelBinding:{element:"natsChannelBinding",$visitor:Dd},OperationBinding:{element:"natsOperationBinding",$visitor:Ld,fixedFields:{queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{element:"natsMessageBinding",$visitor:Jd}},pulsar:{ServerBinding:{element:"pulsarServerBinding",$visitor:Hd,fixedFields:{tenant:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{element:"pulsarChannelBinding",$visitor:zd,fixedFields:{namespace:{$ref:"#/visitors/value"},persistence:{$ref:"#/visitors/value"},compaction:{$ref:"#/visitors/value"},"geo-replication":{$ref:"#/visitors/value"},retention:{$ref:"#/visitors/value"},ttl:{$ref:"#/visitors/value"},deduplication:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{element:"pulsarOperationBinding",$visitor:Kd},MessageBinding:{element:"pulsarMessageBinding",$visitor:Wd}},jms:{ServerBinding:{element:"jmsServerBinding",$visitor:wd},ChannelBinding:{element:"jmsChannelBinding",$visitor:xd},OperationBinding:{element:"jmsOperationBinding",$visitor:Ed},MessageBinding:{element:"jmsMessageBinding",$visitor:Bd}},sns:{ServerBinding:{element:"snsServerBinding",$visitor:sh},ChannelBinding:{element:"snsChannelBinding",$visitor:Yd},OperationBinding:{element:"snsOperationBinding",$visitor:th},MessageBinding:{element:"snsMessageBinding",$visitor:eh}},solace:{ServerBinding:{element:"solaceServerBinding",$visitor:oh,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},msgVpn:{$ref:"#/visitors/value"}}},ChannelBinding:{element:"solaceChannelBinding",$visitor:nh},OperationBinding:{element:"solaceOperationBinding",$visitor:rh,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},destinations:{$ref:"#/visitors/value"}}},MessageBinding:{element:"solaceMessageBinding",$visitor:ih}},sqs:{ServerBinding:{element:"sqsServerBinding",$visitor:uh},ChannelBinding:{element:"sqsChannelBinding",$visitor:ah},OperationBinding:{element:"sqsOperationBinding",$visitor:lh},MessageBinding:{element:"sqsMessageBinding",$visitor:ch}},stomp:{ServerBinding:{element:"stompServerBinding",$visitor:ph},ChannelBinding:{element:"stompChannelBinding",$visitor:dh},OperationBinding:{element:"stompOperationBinding",$visitor:mh},MessageBinding:{element:"stompMessageBinding",$visitor:hh}},redis:{ServerBinding:{element:"redisServerBinding",$visitor:Xd},ChannelBinding:{element:"redisChannelBinding",$visitor:Gd},OperationBinding:{element:"redisOperationBinding",$visitor:Zd},MessageBinding:{element:"redisMessageBinding",$visitor:Qd}},mercure:{ServerBinding:{element:"mercureServerBinding",$visitor:kd},ChannelBinding:{element:"mercureChannelBinding",$visitor:Md},OperationBinding:{element:"mercureOperationBinding",$visitor:Pd},MessageBinding:{element:"mercureMessageBinding",$visitor:Cd}},googlepubsub:{ServerBinding:{element:"googlepubsubServerBinding",$visitor:fd},ChannelBinding:{element:"googlepubsubChannelBinding",$visitor:md,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},labels:{$ref:"#/visitors/value"},messageRetentionDuration:{$ref:"#/visitors/value"},messageStoragePolicy:{$ref:"#/visitors/value"},schemaSettings:{$ref:"#/visitors/value"},topic:{$ref:"#/visitors/value"}}},OperationBinding:{element:"googlepubsubOperationBinding",$visitor:gd},MessageBinding:{element:"googlepubsubMessageBinding",$visitor:pd,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},attributes:{$visitor:Ec,alias:"attributesField"},orderingKey:{$ref:"#/visitors/value"},schema:{$ref:"#/visitors/value"}}}},ibmmq:{ServerBinding:{element:"ibmmqServerBinding",$visitor:Sd,fixedFields:{groupId:{$ref:"#/visitors/value"},ccdtQueueManagerName:{$ref:"#/visitors/value"},cipherSpec:{$ref:"#/visitors/value"},multiEndpointServer:{$ref:"#/visitors/value"},heartBeatInterval:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{element:"ibmmqChannelBinding",$visitor:bd,fixedFields:{destinationType:{$ref:"#/visitors/value"},queue:{$ref:"#/visitors/value"},topic:{$ref:"#/visitors/value"},maxMsgLength:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{element:"ibmmqMessageBinding",$visitor:vd,fixedFields:{type:{$ref:"#/visitors/value"},headers:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},expiry:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{element:"ibmmqOperationBinding",$visitor:yd}}}},extension:{$visitor:_c}}}},Bh=()=>{const e=new il,t={...n,...s,isStringElement:ls};return e.use(Go),{predicates:t,namespace:e}},Eh=(e,{element:t="asyncApi2",plugins:s=[],specificationObj:n=xh}={})=>{const i=Dc(e),r=Yt(n),o=r.elementMap[t];if(!o)throw new Error(`Unknown element type: "${t}"`);const a=new($e(o,r))({specObj:r});return Bn(i,a),cl(a.element,s,{toolboxCreator:Bh})},wh=(e,t={})=>Eh(e,{...t,element:"asyncApi2"}),jh=(e,t={})=>Eh(e,{...t,element:"asyncApiVersion"}),Oh=(e,t={})=>Eh(e,{...t,element:"identifier"}),qh=(e,t={})=>Eh(e,{...t,element:"defaultContentType"}),$h=(e,t={})=>Eh(e,{...t,element:"channels"}),Mh=(e,t={})=>Eh(e,{...t,element:"servers"}),Ch=(e,t={})=>Eh(e,{...t,element:"parameters"}),Ph=(e,t={})=>Eh(e,{...t,element:"tags"}),kh=(e,t={})=>Eh(e,{...t,element:"channelBindings"}),Ah=(e,t={})=>Eh(e,{...t,element:"channelItem"}),Fh=(e,t={})=>Eh(e,{...t,element:"components"}),Vh=(e,t={})=>Eh(e,{...t,element:"contact"}),Ih=(e,t={})=>Eh(e,{...t,element:"correlationID"}),Th=(e,t={})=>Eh(e,{...t,element:"externalDocumentation"}),Rh=(e,t={})=>Eh(e,{...t,element:"info"}),_h=(e,t={})=>Eh(e,{...t,element:"license"}),Nh=(e,t={})=>Eh(e,{...t,element:"message"}),Dh=(e,t={})=>Eh(e,{...t,element:"messageBindings"}),Jh=(e,t={})=>Eh(e,{...t,element:"messageExample"}),Lh=(e,t={})=>Eh(e,{...t,element:"messageTrait"}),Uh=(e,t={})=>Eh(e,{...t,element:"oAuthFlow"}),zh=(e,t={})=>Eh(e,{...t,element:"oAuthFlows"}),Wh=(e,t={})=>Eh(e,{...t,element:"operation"}),Kh=(e,t={})=>Eh(e,{...t,element:"operationBindings"}),Hh=(e,t={})=>Eh(e,{...t,element:"operationTrait"}),Gh=(e,t={})=>Eh(e,{...t,element:"parameter"}),Qh=(e,t={})=>Eh(e,{...t,element:"reference"}),Zh=(e,t={})=>Eh(e,{...t,element:"schema"}),Xh=(e,t={})=>Eh(e,{...t,element:"securityRequirement"}),Yh=(e,t={})=>Eh(e,{...t,element:"securityScheme"}),em=(e,t={})=>Eh(e,{...t,element:"server"}),tm=(e,t={})=>Eh(e,{...t,element:"serverBindings"}),sm=(e,t={})=>Eh(e,{...t,element:"serverVariable"}),nm=(e,t={})=>Eh(e,{...t,element:"tag"}),im=(e,t={})=>Eh(e,{...t,element:"amqpChannelBinding"}),rm=(e,t={})=>Eh(e,{...t,element:"amqpMessageBinding"}),om=(e,t={})=>Eh(e,{...t,element:"amqpOperationBinding"}),am=(e,t={})=>Eh(e,{...t,element:"amqpServerBinding"}),cm=(e,t={})=>Eh(e,{...t,element:"amqp1ChannelBinding"}),lm=(e,t={})=>Eh(e,{...t,element:"amqp1MessageBinding"}),um=(e,t={})=>Eh(e,{...t,element:"amqp1OperationBinding"}),dm=(e,t={})=>Eh(e,{...t,element:"amqp1ServerBinding"}),hm=(e,t={})=>Eh(e,{...t,element:"anypointmqChannelBinding"}),mm=(e,t={})=>Eh(e,{...t,element:"anypointmqMessageBinding"}),pm=(e,t={})=>Eh(e,{...t,element:"anypointmqOperationBinding"}),gm=(e,t={})=>Eh(e,{...t,element:"anypointmqServerBinding"}),fm=(e,t={})=>Eh(e,{...t,element:"googlepubsubChannelBinding"}),bm=(e,t={})=>Eh(e,{...t,element:"googlepubsubMessageBinding"}),vm=(e,t={})=>Eh(e,{...t,element:"googlepubsubOperationBinding"}),ym=(e,t={})=>Eh(e,{...t,element:"googlepubsubServerBinding"}),Sm=(e,t={})=>Eh(e,{...t,element:"httpChannelBinding"}),xm=(e,t={})=>Eh(e,{...t,element:"httpMessageBinding"}),Bm=(e,t={})=>Eh(e,{...t,element:"httpOperationBinding"}),Em=(e,t={})=>Eh(e,{...t,element:"httpServerBinding"}),wm=(e,t={})=>Eh(e,{...t,element:"ibmmqChannelBinding"}),jm=(e,t={})=>Eh(e,{...t,element:"ibmmqMessageBinding"}),Om=(e,t={})=>Eh(e,{...t,element:"ibmmqOperationBinding"}),qm=(e,t={})=>Eh(e,{...t,element:"ibmmqServerBinding"}),$m=(e,t={})=>Eh(e,{...t,element:"jmsChannelBinding"}),Mm=(e,t={})=>Eh(e,{...t,element:"jmsMessageBinding"}),Cm=(e,t={})=>Eh(e,{...t,element:"jmsOperationBinding"}),Pm=(e,t={})=>Eh(e,{...t,element:"jmsServerBinding"}),km=(e,t={})=>Eh(e,{...t,element:"kafkaChannelBinding"}),Am=(e,t={})=>Eh(e,{...t,element:"kafkaMessageBinding"}),Fm=(e,t={})=>Eh(e,{...t,element:"kafkaOperationBinding"}),Vm=(e,t={})=>Eh(e,{...t,element:"kafkaServerBinding"}),Im=(e,t={})=>Eh(e,{...t,element:"mercureChannelBinding"}),Tm=(e,t={})=>Eh(e,{...t,element:"mercureMessageBinding"}),Rm=(e,t={})=>Eh(e,{...t,element:"mercureOperationBinding"}),_m=(e,t={})=>Eh(e,{...t,element:"mercureServerBinding"}),Nm=(e,t={})=>Eh(e,{...t,element:"mqttChannelBinding"}),Dm=(e,t={})=>Eh(e,{...t,element:"mqttMessageBinding"}),Jm=(e,t={})=>Eh(e,{...t,element:"mqttOperationBinding"}),Lm=(e,t={})=>Eh(e,{...t,element:"mqttServerBinding"}),Um=(e,t={})=>Eh(e,{...t,element:"mqtt5ChannelBinding"}),zm=(e,t={})=>Eh(e,{...t,element:"mqtt5MessageBinding"}),Wm=(e,t={})=>Eh(e,{...t,element:"mqtt5OperationBinding"}),Km=(e,t={})=>Eh(e,{...t,element:"mqtt5ServerBinding"}),Hm=(e,t={})=>Eh(e,{...t,element:"natsChannelBinding"}),Gm=(e,t={})=>Eh(e,{...t,element:"natsMessageBinding"}),Qm=(e,t={})=>Eh(e,{...t,element:"natsOperationBinding"}),Zm=(e,t={})=>Eh(e,{...t,element:"natsServerBinding"}),Xm=(e,t={})=>Eh(e,{...t,element:"pulsarChannelBinding"}),Ym=(e,t={})=>Eh(e,{...t,element:"pulsarMessageBinding"}),ep=(e,t={})=>Eh(e,{...t,element:"pulsarOperationBinding"}),tp=(e,t={})=>Eh(e,{...t,element:"pulsarServerBinding"}),sp=(e,t={})=>Eh(e,{...t,element:"redisChannelBinding"}),np=(e,t={})=>Eh(e,{...t,element:"redisMessageBinding"}),ip=(e,t={})=>Eh(e,{...t,element:"redisOperationBinding"}),rp=(e,t={})=>Eh(e,{...t,element:"redisServerBinding"}),op=(e,t={})=>Eh(e,{...t,element:"snsChannelBinding"}),ap=(e,t={})=>Eh(e,{...t,element:"snsMessageBinding"}),cp=(e,t={})=>Eh(e,{...t,element:"snsOperationBinding"}),lp=(e,t={})=>Eh(e,{...t,element:"snsServerBinding"}),up=(e,t={})=>Eh(e,{...t,element:"solaceChannelBinding"}),dp=(e,t={})=>Eh(e,{...t,element:"solaceMessageBinding"}),hp=(e,t={})=>Eh(e,{...t,element:"solaceOperationBinding"}),mp=(e,t={})=>Eh(e,{...t,element:"solaceServerBinding"}),pp=(e,t={})=>Eh(e,{...t,element:"sqsChannelBinding"}),gp=(e,t={})=>Eh(e,{...t,element:"sqsMessageBinding"}),fp=(e,t={})=>Eh(e,{...t,element:"sqsOperationBinding"}),bp=(e,t={})=>Eh(e,{...t,element:"sqsServerBinding"}),vp=(e,t={})=>Eh(e,{...t,element:"stompChannelBinding"}),yp=(e,t={})=>Eh(e,{...t,element:"stompMessageBinding"}),Sp=(e,t={})=>Eh(e,{...t,element:"stompOperationBinding"}),xp=(e,t={})=>Eh(e,{...t,element:"stompServerBinding"}),Bp=(e,t={})=>Eh(e,{...t,element:"webSocketChannelBinding"}),Ep=(e,t={})=>Eh(e,{...t,element:"webSocketMessageBinding"}),wp=(e,t={})=>Eh(e,{...t,element:"webSocketOperationBinding"}),jp=(e,t={})=>Eh(e,{...t,element:"webSocketServerBinding"}),Op=Eh;return t})());
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.apidomNsAsyncApi2=t():e.apidomNsAsyncApi2=t()}(self,()=>(()=>{"use strict";var e={d:(t,s)=>{for(var n in s)e.o(s,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:s[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{AlternatingVisitor:()=>pl,Amqp1ChannelBindingElement:()=>bo,Amqp1MessageBindingElement:()=>vo,Amqp1OperationBindingElement:()=>xo,Amqp1ServerBindingElement:()=>So,AmqpChannelBindingElement:()=>mo,AmqpMessageBindingElement:()=>go,AmqpOperationBindingElement:()=>fo,AmqpServerBindingElement:()=>yo,AnypointmqChannelBindingElement:()=>wo,AnypointmqMessageBindingElement:()=>Bo,AnypointmqOperationBindingElement:()=>Eo,AnypointmqServerBindingElement:()=>jo,AsyncAPIMediaTypes:()=>g,AsyncApi2Element:()=>J,AsyncApiVersionElement:()=>H,BaseAlternatingVisitor:()=>El,BaseFixedFieldsVisitor:()=>xl,BaseMapVisitor:()=>wl,BaseMixedFieldsVisitor:()=>Bl,BasePatternedFieldsVisitor:()=>Sl,BaseSpecificationVisitor:()=>vl,ChannelBindingsElement:()=>G,ChannelItemElement:()=>z,ChannelsElement:()=>W,ComponentsElement:()=>X,ContactElement:()=>K,CorrelationIDElement:()=>Y,DefaultContentTypeElement:()=>Q,ExternalDocumentationElement:()=>Z,FallbackVisitor:()=>ul,FixedFieldsVisitor:()=>hl,GooglepubsubChannelBindingElement:()=>Oo,GooglepubsubMessageBindingElement:()=>ko,GooglepubsubOperationBindingElement:()=>qo,GooglepubsubServerBindingElement:()=>Mo,HttpChannelBindingElement:()=>Co,HttpMessageBindingElement:()=>$o,HttpOperationBindingElement:()=>Ao,HttpServerBindingElement:()=>Po,IbmmqChannelBindingElement:()=>Fo,IbmmqMessageBindingElement:()=>Io,IbmmqOperationBindingElement:()=>To,IbmmqServerBindingElement:()=>Do,IdentifierElement:()=>ee,InfoElement:()=>te,JmsChannelBindingElement:()=>Vo,JmsMessageBindingElement:()=>No,JmsOperationBindingElement:()=>Ro,JmsServerBindingElement:()=>Lo,KafkaChannelBindingElement:()=>_o,KafkaMessageBindingElement:()=>Jo,KafkaOperationBindingElement:()=>Uo,KafkaServerBindingElement:()=>Ho,LicenseElement:()=>se,MapVisitor:()=>gl,MercureChannelBindingElement:()=>Go,MercureMessageBindingElement:()=>zo,MercureOperationBindingElement:()=>Wo,MercureServerBindingElement:()=>Xo,MessageBindingsElement:()=>ie,MessageElement:()=>ne,MessageExampleElement:()=>re,MessageTraitElement:()=>oe,MixedFieldsVisitor:()=>jl,Mqtt5ChannelBindingElement:()=>ec,Mqtt5MessageBindingElement:()=>tc,Mqtt5OperationBindingElement:()=>sc,Mqtt5ServerBindingElement:()=>nc,MqttChannelBindingElement:()=>Ko,MqttMessageBindingElement:()=>Yo,MqttOperationBindingElement:()=>Qo,MqttServerBindingElement:()=>Zo,NatsChannelBindingElement:()=>ic,NatsMessageBindingElement:()=>rc,NatsOperationBindingElement:()=>oc,NatsServerBindingElement:()=>cc,OAuthFlowElement:()=>ce,OAuthFlowsElement:()=>ae,OperationBindingsElement:()=>ue,OperationElement:()=>le,OperationTraitElement:()=>de,ParameterElement:()=>pe,ParametersElement:()=>he,PatternedFieldsVisitor:()=>ml,PulsarChannelBindingElement:()=>ac,PulsarMessageBindingElement:()=>lc,PulsarOperationBindingElement:()=>uc,PulsarServerBindingElement:()=>dc,RedisChannelBindingElement:()=>pc,RedisMessageBindingElement:()=>hc,RedisOperationBindingElement:()=>mc,RedisServerBindingElement:()=>gc,ReferenceElement:()=>me,SchemaElement:()=>io,SecurityRequirementElement:()=>ro,SecuritySchemeElement:()=>oo,ServerBindingsElement:()=>ao,ServerElement:()=>co,ServerVariableElement:()=>uo,ServersElement:()=>lo,SnsChannelBindingElement:()=>fc,SnsMessageBindingElement:()=>yc,SnsOperationBindingElement:()=>bc,SnsServerBindingElement:()=>vc,SolaceChannelBindingElement:()=>xc,SolaceMessageBindingElement:()=>Sc,SolaceOperationBindingElement:()=>wc,SolaceServerBindingElement:()=>Bc,SpecificationExtensionVisitor:()=>Ol,SpecificationVisitor:()=>dl,SqsChannelBindingElement:()=>Ec,SqsMessageBindingElement:()=>jc,SqsOperationBindingElement:()=>Oc,SqsServerBindingElement:()=>kc,StompChannelBindingElement:()=>qc,StompMessageBindingElement:()=>Mc,StompOperationBindingElement:()=>Cc,StompServerBindingElement:()=>$c,TagElement:()=>po,TagsElement:()=>ho,Visitor:()=>ll,WebSocketChannelBindingElement:()=>Ac,WebSocketMessageBindingElement:()=>Pc,WebSocketOperationBindingElement:()=>Fc,WebSocketServerBindingElement:()=>Ic,default:()=>Tc,isAsyncApi2Element:()=>Ta,isAsyncApiExtension:()=>al,isAsyncApiVersionElement:()=>Da,isBooleanJsonSchemaElement:()=>Ya,isChannelBindingsElement:()=>Va,isChannelItemElement:()=>Na,isChannelsElement:()=>Ra,isComponentsElement:()=>La,isContactElement:()=>_a,isIdentifierElement:()=>Ja,isInfoElement:()=>Ua,isLicenseElement:()=>Ha,isOperationElement:()=>Ga,isParameterElement:()=>za,isParametersElement:()=>Wa,isReferenceElement:()=>Xa,isReferenceLikeElement:()=>cl,isSchemaElement:()=>Ka,isSecurityRequirementElement:()=>Qa,isServerBindingsElement:()=>el,isServerElement:()=>Za,isServerVariableElement:()=>sl,isServersElement:()=>tl,mediaTypes:()=>f,refract:()=>fg,refractAmqp1ChannelBinding:()=>Qh,refractAmqp1MessageBinding:()=>Zh,refractAmqp1OperationBinding:()=>em,refractAmqp1ServerBinding:()=>tm,refractAmqpChannelBinding:()=>Wh,refractAmqpMessageBinding:()=>Xh,refractAmqpOperationBinding:()=>Kh,refractAmqpServerBinding:()=>Yh,refractAnypointmqChannelBinding:()=>sm,refractAnypointmqMessageBinding:()=>nm,refractAnypointmqOperationBinding:()=>im,refractAnypointmqServerBinding:()=>rm,refractAsyncApi2:()=>mh,refractAsyncApiVersion:()=>gh,refractChannelBindings:()=>wh,refractChannelItem:()=>Bh,refractChannels:()=>bh,refractComponents:()=>Eh,refractContact:()=>jh,refractCorrelationID:()=>Oh,refractDefaultContentType:()=>yh,refractExternalDocumentation:()=>kh,refractGooglepubsubChannelBinding:()=>om,refractGooglepubsubMessageBinding:()=>cm,refractGooglepubsubOperationBinding:()=>am,refractGooglepubsubServerBinding:()=>lm,refractHttpChannelBinding:()=>um,refractHttpMessageBinding:()=>dm,refractHttpOperationBinding:()=>pm,refractHttpServerBinding:()=>hm,refractIbmmqChannelBinding:()=>mm,refractIbmmqMessageBinding:()=>gm,refractIbmmqOperationBinding:()=>fm,refractIbmmqServerBinding:()=>ym,refractIdentifier:()=>fh,refractInfo:()=>qh,refractJmsChannelBinding:()=>bm,refractJmsMessageBinding:()=>vm,refractJmsOperationBinding:()=>xm,refractJmsServerBinding:()=>Sm,refractKafkaChannelBinding:()=>wm,refractKafkaMessageBinding:()=>Bm,refractKafkaOperationBinding:()=>Em,refractKafkaServerBinding:()=>jm,refractLicense:()=>Mh,refractMercureChannelBinding:()=>Om,refractMercureMessageBinding:()=>km,refractMercureOperationBinding:()=>qm,refractMercureServerBinding:()=>Mm,refractMessage:()=>Ch,refractMessageBindings:()=>$h,refractMessageExample:()=>Ah,refractMessageTrait:()=>Ph,refractMqtt5ChannelBinding:()=>Fm,refractMqtt5MessageBinding:()=>Im,refractMqtt5OperationBinding:()=>Tm,refractMqtt5ServerBinding:()=>Dm,refractMqttChannelBinding:()=>Cm,refractMqttMessageBinding:()=>$m,refractMqttOperationBinding:()=>Am,refractMqttServerBinding:()=>Pm,refractNatsChannelBinding:()=>Vm,refractNatsMessageBinding:()=>Nm,refractNatsOperationBinding:()=>Rm,refractNatsServerBinding:()=>Lm,refractOAuthFlow:()=>Fh,refractOAuthFlows:()=>Ih,refractOperation:()=>Th,refractOperationBindings:()=>Dh,refractOperationTrait:()=>Vh,refractParameter:()=>Nh,refractParameters:()=>xh,refractPulsarChannelBinding:()=>_m,refractPulsarMessageBinding:()=>Jm,refractPulsarOperationBinding:()=>Um,refractPulsarServerBinding:()=>Hm,refractRedisChannelBinding:()=>Gm,refractRedisMessageBinding:()=>zm,refractRedisOperationBinding:()=>Wm,refractRedisServerBinding:()=>Xm,refractReference:()=>Rh,refractSchema:()=>Lh,refractSecurityRequirement:()=>_h,refractSecurityScheme:()=>Jh,refractServer:()=>Uh,refractServerBindings:()=>Hh,refractServerVariable:()=>Gh,refractServers:()=>vh,refractSnsChannelBinding:()=>Km,refractSnsMessageBinding:()=>Ym,refractSnsOperationBinding:()=>Qm,refractSnsServerBinding:()=>Zm,refractSolaceChannelBinding:()=>eg,refractSolaceMessageBinding:()=>tg,refractSolaceOperationBinding:()=>sg,refractSolaceServerBinding:()=>ng,refractSqsChannelBinding:()=>ig,refractSqsMessageBinding:()=>rg,refractSqsOperationBinding:()=>og,refractSqsServerBinding:()=>cg,refractStompChannelBinding:()=>ag,refractStompMessageBinding:()=>lg,refractStompOperationBinding:()=>ug,refractStompServerBinding:()=>dg,refractTag:()=>zh,refractTags:()=>Sh,refractWebSocketChannelBinding:()=>pg,refractWebSocketMessageBinding:()=>hg,refractWebSocketOperationBinding:()=>mg,refractWebSocketServerBinding:()=>gg,refractorPluginReplaceEmptyElement:()=>Ia});var s={};e.r(s),e.d(s,{isAsyncApi2Element:()=>Ta,isAsyncApiVersionElement:()=>Da,isBooleanJsonSchemaElement:()=>Ya,isChannelBindingsElement:()=>Va,isChannelItemElement:()=>Na,isChannelsElement:()=>Ra,isComponentsElement:()=>La,isContactElement:()=>_a,isIdentifierElement:()=>Ja,isInfoElement:()=>Ua,isLicenseElement:()=>Ha,isOperationElement:()=>Ga,isParameterElement:()=>za,isParametersElement:()=>Wa,isReferenceElement:()=>Xa,isSchemaElement:()=>Ka,isSecurityRequirementElement:()=>Qa,isServerBindingsElement:()=>el,isServerElement:()=>Za,isServerVariableElement:()=>sl,isServersElement:()=>tl});var n={};function i(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function r(e){return function t(s){return 0===arguments.length||i(s)?t:e.apply(this,arguments)}}function o(e,t){return t[e<0?t.length+e:e]}e.r(n),e.d(n,{isAsyncApiExtension:()=>al,isReferenceLikeElement:()=>cl});const c=r(function(e){return o(-1,e)});class a extends AggregateError{constructor(e,t,s){super(e,t,s),this.name=this.constructor.name,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}}const l=a;class u extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(l,e)}constructor(e,t){super(e,t),this.name=this.constructor.name,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}}const d=u;const p=class extends d{};const h=class extends p{};const m=class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new h("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new h("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new h("latest method in MediaTypes class is not yet implemented.")}};class g extends m{filterByFormat(e="generic"){const t="generic"===e?"asyncapi;version":e;return this.filter(e=>e.includes(t))}findBy(e="2.6.0",t="generic"){const s="generic"===t?`vnd.aai.asyncapi;version=${e}`:`vnd.aai.asyncapi+${t};version=${e}`;return this.find(e=>e.includes(s))||this.unknownMediaType}latest(e="generic"){return c(this.filterByFormat(e))}}const f=new g("application/vnd.aai.asyncapi;version=2.0.0","application/vnd.aai.asyncapi+json;version=2.0.0","application/vnd.aai.asyncapi+yaml;version=2.0.0","application/vnd.aai.asyncapi;version=2.1.0","application/vnd.aai.asyncapi+json;version=2.1.0","application/vnd.aai.asyncapi+yaml;version=2.1.0","application/vnd.aai.asyncapi;version=2.2.0","application/vnd.aai.asyncapi+json;version=2.2.0","application/vnd.aai.asyncapi+yaml;version=2.2.0","application/vnd.aai.asyncapi;version=2.3.0","application/vnd.aai.asyncapi+json;version=2.3.0","application/vnd.aai.asyncapi+yaml;version=2.3.0","application/vnd.aai.asyncapi;version=2.4.0","application/vnd.aai.asyncapi+json;version=2.4.0","application/vnd.aai.asyncapi+yaml;version=2.4.0","application/vnd.aai.asyncapi;version=2.5.0","application/vnd.aai.asyncapi+json;version=2.5.0","application/vnd.aai.asyncapi+yaml;version=2.5.0","application/vnd.aai.asyncapi;version=2.6.0","application/vnd.aai.asyncapi+json;version=2.6.0","application/vnd.aai.asyncapi+yaml;version=2.6.0");function y(e){return function t(s,n){switch(arguments.length){case 0:return t;case 1:return i(s)?t:r(function(t){return e(s,t)});default:return i(s)&&i(n)?t:i(s)?r(function(t){return e(t,n)}):i(n)?r(function(t){return e(s,t)}):e(s,n)}}}function b(e){for(var t,s=[];!(t=e.next()).done;)s.push(t.value);return s}function v(e,t,s){for(var n=0,i=s.length;n<i;){if(e(t,s[n]))return!0;n+=1}return!1}function x(e,t){return Object.prototype.hasOwnProperty.call(t,e)}const S="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};var w=Object.prototype.toString;const B=function(){return"[object Arguments]"===w.call(arguments)?function(e){return"[object Arguments]"===w.call(e)}:function(e){return x("callee",e)}}();var E=!{toString:null}.propertyIsEnumerable("toString"),j=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],O=function(){return arguments.propertyIsEnumerable("length")}(),k=function(e,t){for(var s=0;s<e.length;){if(e[s]===t)return!0;s+=1}return!1},q="function"!=typeof Object.keys||O?r(function(e){if(Object(e)!==e)return[];var t,s,n=[],i=O&&B(e);for(t in e)!x(t,e)||i&&"length"===t||(n[n.length]=t);if(E)for(s=j.length-1;s>=0;)x(t=j[s],e)&&!k(n,t)&&(n[n.length]=t),s-=1;return n}):r(function(e){return Object(e)!==e?[]:Object.keys(e)});const M=q;const C=r(function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});function $(e,t,s,n){var i=b(e);function r(e,t){return A(e,t,s.slice(),n.slice())}return!v(function(e,t){return!v(r,t,e)},b(t),i)}function A(e,t,s,n){if(S(e,t))return!0;var i=C(e);if(i!==C(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(i){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===function(e){var t=String(e).match(/^function (\w*)/);return null==t?"":t[1]}(e.constructor))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!S(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!S(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var r=s.length-1;r>=0;){if(s[r]===e)return n[r]===t;r-=1}switch(i){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 o=M(e);if(o.length!==M(t).length)return!1;var c=s.concat([e]),a=n.concat([t]);for(r=o.length-1;r>=0;){var l=o[r];if(!x(l,t)||!A(t[l],e[l],c,a))return!1;r-=1}return!0}const P=y(function(e,t){return A(e,t,[],[])});const F=class{key;value;constructor(e,t){this.key=e,this.value=t}toValue(){return{key:this.key?.toValue(),value:this.value?.toValue()}}};class I{elements;constructor(e){this.elements=e??[]}toValue(){return this.elements.map(e=>({key:e.key?.toValue(),value:e.value?.toValue()}))}map(e,t){return this.elements.map(s=>{const n=s.value,i=s.key;if(void 0===n||void 0===i)throw new Error("MemberElement must have both key and value");return void 0!==t?e.call(t,n,i,s):e(n,i,s)})}filter(e,t){const s=this.elements.filter(s=>{const n=s.value,i=s.key;return void 0!==n&&void 0!==i&&(void 0!==t?e.call(t,n,i,s):e(n,i,s))});return new I(s)}reject(e,t){const s=[];for(const n of this.elements){const i=n.value,r=n.key;void 0!==i&&void 0!==r&&(e.call(t,i,r,n)||s.push(n))}return new I(s)}forEach(e,t){this.elements.forEach((s,n)=>{const i=s.value,r=s.key;void 0!==i&&void 0!==r&&(void 0!==t?e.call(t,i,r,s,n):e(i,r,s,n))})}find(e,t){return this.elements.find(s=>{const n=s.value,i=s.key;return void 0!==n&&void 0!==i&&(void 0!==t?e.call(t,n,i,s):e(n,i,s))})}keys(){return this.elements.map(e=>e.key?.toValue()).filter(e=>void 0!==e)}values(){return this.elements.map(e=>e.value?.toValue()).filter(e=>void 0!==e)}get length(){return this.elements.length}get isEmpty(){return 0===this.length}get first(){return this.elements[0]}get(e){return this.elements[e]}push(e){return this.elements.push(e),this}includesKey(e){return this.elements.some(t=>t.key?.equals(e))}[Symbol.iterator](){return this.elements[Symbol.iterator]()}}const T=I;class D{parent;startLine;startCharacter;startOffset;endLine;endCharacter;endOffset;_storedElement="element";_content;_meta;_attributes;constructor(e,t,s){void 0!==t&&(this.meta=t),void 0!==s&&(this.attributes=s),void 0!==e&&(this.content=e)}get element(){return this._storedElement}set element(e){this._storedElement=e}get content(){return this._content}set content(e){if(e instanceof D)this._content=e;else if(null!=e&&"string"!=typeof e&&"number"!=typeof e&&"boolean"!=typeof e&&"bigint"!=typeof e&&"symbol"!=typeof e)if(e instanceof F)this._content=e;else if(e instanceof T)this._content=e.elements;else if(Array.isArray(e))this._content=e.map(e=>this.refract(e));else{if("object"!=typeof e)throw new Error("Cannot set content to value of type "+typeof e);this._content=Object.entries(e).map(([e,t])=>new this.MemberElement(e,t))}else this._content=e}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 D?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 D?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 links(){return this.getMetaProperty("links",[])}set links(e){this.setMetaProperty("links",e)}get children(){const{_content:e}=this;if(Array.isArray(e))return e;if(e instanceof F){const t=[];return e.key&&t.push(e.key),e.value&&t.push(e.value),t}return e instanceof D?[e]:[]}get isFrozen(){return Object.isFrozen(this)}freeze(){if(!this.isFrozen){this._meta&&(this._meta.parent=this,this._meta.freeze()),this._attributes&&(this._attributes.parent=this,this._attributes.freeze());for(const e of this.children)e.parent=this,e.freeze();Array.isArray(this._content)&&Object.freeze(this._content),Object.freeze(this)}}toValue(){const{_content:e}=this;return e instanceof D||e instanceof F?e.toValue():Array.isArray(e)?e.map(e=>e.toValue()):e}equals(e){const t=e instanceof D?e.toValue():e;return P(this.toValue(),t)}primitive(){}set(e){return this.content=e,this}toRef(e){const t=this.id.toValue();if(""===t)throw new Error("Cannot create reference to an element without an ID");const s=new this.RefElement(t);return"string"==typeof e&&(s.path=this.refract(e)),s}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)}hasMetaProperty(e){return!this.isMetaEmpty&&this.meta.hasKey(e)}get isMetaEmpty(){return void 0===this._meta||this.meta.isEmpty}getAttributesProperty(e,t){if(!this.hasAttributesProperty(e)){if(this.isFrozen){const e=this.refract(t);return e.freeze(),e}this.attributes.set(e,t)}return this.attributes.get(e)}setAttributesProperty(e,t){this.attributes.set(e,t)}hasAttributesProperty(e){return!this.isAttributesEmpty&&this.attributes.hasKey(e)}get isAttributesEmpty(){return void 0===this._attributes||this.attributes.isEmpty}}const V=D;class N extends V{constructor(e,t,s){super(e||[],t,s)}get length(){return this._content.length}get isEmpty(){return 0===this.length}get first(){return this._content[0]}get second(){return this._content[1]}get last(){return this._content.at(-1)}push(...e){for(const t of e)this._content.push(this.refract(t));return this}shift(){return this._content.shift()}unshift(e){this._content.unshift(this.refract(e))}includes(e){return this._content.some(t=>t.equals(e))}findElements(e,t){const s=t||{},n=!!s.recursive,i=void 0===s.results?[]:s.results;for(let t=0;t<this._content.length;t+=1){const s=this._content[t],r=s;n&&"function"==typeof r.findElements&&r.findElements(e,{results:i,recursive:n}),e(s,t,void 0)&&i.push(s)}return i}find(e){const t=this.findElements(e,{recursive:!0});return new this.ArrayElement(t)}findByElement(e){return this.find(t=>t.element===e)}findByClass(e){return this.find(t=>{const s=t.classes;return"function"==typeof s.includes&&s.includes(e)})}getById(e){return this.find(t=>t.id.toValue()===e).first}concat(e){return new(0,this.constructor)(this._content.concat(e._content))}[Symbol.iterator](){return this._content[Symbol.iterator]()}}const R=N;const L=class extends V{constructor(e,t,s,n){super(new F,s,n),this.element="member",void 0!==e&&(this.key=e),arguments.length>=2&&(this.value=t)}primitive(){return"member"}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=void 0===e?void 0:this.refract(e)}};const _=class extends R{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}getValue(e){const t=this.get(e);if(t)return t.toValue()}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("string"==typeof e){const s=this.getMember(e);s?s.value=t:this._content.push(new L(e,t))}else if("object"==typeof e&&!Array.isArray(e))for(const t of Object.keys(e))this.set(t,e[t]);return 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.call(t,s.value,s.key,s))}compactMap(e,t){const s=[];return this.forEach((n,i,r)=>{const o=e.call(t,n,i,r);o&&s.push(o)}),s}filter(e,t){return new T(this._content).filter(e,t)}reject(e,t){const s=[];for(const n of this._content)e.call(t,n.value,n.key,n)||s.push(n);return new T(s)}forEach(e,t){this._content.forEach(s=>e.call(t,s.value,s.key,s))}reduce(e,t){let s,n;void 0!==t?(s=0,n=this.refract(t)):(s=1,n=this._content[0]?.value);for(let t=s;t<this._content.length;t+=1){const s=this._content[t],i=e(n,s.value,s.key,s,this);n=void 0===i?i:this.refract(i)}return n}empty(){return new this.constructor([])}};const J=class extends _{constructor(e,t,s){super(e,t,s),this.element="asyncApi2",this.classes.push("api")}get asyncapi(){return this.get("asyncapi")}set asyncapi(e){this.set("asyncapi",e)}get idField(){return this.get("id")}set idField(e){this.set("id",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 defaultContentType(){return this.get("defaultContentType")}set defaultContentType(e){this.set("defaultContentType",e)}get channels(){return this.get("channels")}set channels(e){this.set("channels",e)}get components(){return this.get("components")}set components(e){this.set("components",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 U=class extends V{constructor(e,t,s){super(e,t,s),this.element="string"}primitive(){return"string"}get length(){return this.content?.length??0}};const H=class extends U{constructor(e,t,s){super(e,t,s),this.element="asyncApiVersion",this.classes.push("spec-version"),this.classes.push("version")}};const G=class extends _{constructor(e,t,s){super(e,t,s),this.element="channelBindings"}get http(){return this.get("http")}set http(e){this.set("http",e)}get ws(){return this.get("ws")}set ws(e){this.set("ws",e)}get kafka(){return this.get("kafka")}set kafka(e){this.set("kafka",e)}get anypointmq(){return this.get("anypointmq")}set anypointmq(e){this.set("anypointmq",e)}get amqp(){return this.get("amqp")}set amqp(e){this.set("amqp",e)}get amqp1(){return this.get("amqp1")}set amqp1(e){this.set("amqp1",e)}get mqtt(){return this.get("mqtt")}set mqtt(e){this.set("mqtt",e)}get mqtt5(){return this.get("mqtt5")}set mqtt5(e){this.set("mqtt5",e)}get nats(){return this.get("nats")}set nats(e){this.set("nats",e)}get jms(){return this.get("jms")}set jms(e){this.set("jms",e)}get sns(){return this.get("sns")}set sns(e){this.set("sns",e)}get solace(){return this.get("solace")}set solace(e){this.set("solace",e)}get sqs(){return this.get("sqs")}set sqs(e){this.set("sqs",e)}get stomp(){return this.get("stomp")}set stomp(e){this.set("stomp",e)}get redis(){return this.get("redis")}set redis(e){this.set("redis",e)}get mercure(){return this.get("mercure")}set mercure(e){this.set("mercure",e)}get googlepubsub(){return this.get("googlepubsub")}set googlepubsub(e){this.set("googlepubsub",e)}get ibmmq(){return this.get("ibmmq")}set ibmmq(e){this.set("ibmmq",e)}};const z=class extends _{constructor(e,t,s){super(e,t,s),this.element="channelItem"}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get subscribe(){return this.get("subscribe")}set subscribe(e){this.set("subscribe",e)}get publish(){return this.get("publish")}set publish(e){this.set("publish",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}};const W=class extends _{constructor(e,t,s){super(e,t,s),this.element="channels"}};const X=class extends _{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 servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get serverVariables(){return this.get("serverVariables")}set serverVariables(e){this.set("serverVariables",e)}get messages(){return this.get("messages")}set messages(e){this.set("messages",e)}get securitySchemes(){return this.get("securitySchemes")}set securitySchemes(e){this.set("securitySchemes",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get correlationIds(){return this.get("correlationIds")}set correlationIds(e){this.set("correlationIds",e)}get operationTraits(){return this.get("operationTraits")}set operationTraits(e){this.set("operationTraits",e)}get messageTraits(){return this.get("messageTraits")}set messageTraits(e){this.set("messageTraits",e)}get serverBindings(){return this.get("serverBindings")}set serverBindings(e){this.set("serverBindings",e)}get channelBindings(){return this.get("channelBindings")}set channelBindings(e){this.set("channelBindings",e)}get operationBindings(){return this.get("operationBindings")}set operationBindings(e){this.set("operationBindings",e)}get messageBindings(){return this.get("messageBindings")}set messageBindings(e){this.set("messageBindings",e)}};const K=class extends _{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 Y=class extends _{constructor(e,t,s){super(e,t,s),this.element="correlationID"}get description(){return this.get("description")}set description(e){this.set("description",e)}get location(){return this.get("location")}set location(e){this.set("location",e)}};const Q=class extends U{constructor(e,t,s){super(e,t,s),this.element="defaultContentType"}};const Z=class extends _{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 ee=class extends U{constructor(e,t,s){super(e,t,s),this.element="identifier"}};const te=class extends _{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 version(){return this.get("version")}set version(e){this.set("version",e)}get license(){return this.get("license")}set license(e){this.set("license",e)}get contact(){return this.get("contact")}set contact(e){this.set("contact",e)}};const se=class extends _{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 ne=class extends _{constructor(e,t,s){super(e,t,s),this.element="message"}get messageId(){return this.get("messageId")}set messageId(e){this.set("messageId",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get payload(){return this.get("payload")}set payload(e){this.set("payload",e)}get correlationId(){return this.get("correlationId")}set correlationId(e){this.set("correlationId",e)}get schemaFormat(){return this.get("schemaFormat")}set schemaFormat(e){this.set("schemaFormat",e)}get contentType(){return this.get("contentType")}set contentType(e){this.set("contentType",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get title(){return this.get("title")}set title(e){this.set("title",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 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 bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get traits(){return this.get("traits")}set traits(e){this.set("traits",e)}};const ie=class extends _{constructor(e,t,s){super(e,t,s),this.element="messageBindings"}get http(){return this.get("http")}set http(e){this.set("http",e)}get ws(){return this.get("ws")}set ws(e){this.set("ws",e)}get kafka(){return this.get("kafka")}set kafka(e){this.set("kafka",e)}get anypointmq(){return this.get("anypointmq")}set anypointmq(e){this.set("anypointmq",e)}get amqp(){return this.get("amqp")}set amqp(e){this.set("amqp",e)}get amqp1(){return this.get("amqp1")}set amqp1(e){this.set("amqp1",e)}get mqtt(){return this.get("mqtt")}set mqtt(e){this.set("mqtt",e)}get mqtt5(){return this.get("mqtt5")}set mqtt5(e){this.set("mqtt5",e)}get nats(){return this.get("nats")}set nats(e){this.set("nats",e)}get jms(){return this.get("jms")}set jms(e){this.set("jms",e)}get sns(){return this.get("sns")}set sns(e){this.set("sns",e)}get solace(){return this.get("solace")}set solace(e){this.set("solace",e)}get sqs(){return this.get("sqs")}set sqs(e){this.set("sqs",e)}get stomp(){return this.get("stomp")}set stomp(e){this.set("stomp",e)}get redis(){return this.get("redis")}set redis(e){this.set("redis",e)}get mercure(){return this.get("mercure")}set mercure(e){this.set("mercure",e)}get googlepubsub(){return this.get("googlepubsub")}set googlepubsub(e){this.set("googlepubsub",e)}get ibmmq(){return this.get("ibmmq")}set ibmmq(e){this.set("ibmmq",e)}};const re=class extends _{constructor(e,t,s){super(e,t,s),this.element="messageExample"}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get payload(){return this.get("payload")}set payload(e){this.set("payload",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}};const oe=class extends _{constructor(e,t,s){super(e,t,s),this.element="messageTrait"}get messageId(){return this.get("messageId")}set messageId(e){this.set("messageId",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get correlationId(){return this.get("correlationId")}set correlationId(e){this.set("correlationId",e)}get schemaFormat(){return this.get("schemaFormat")}set schemaFormat(e){this.set("schemaFormat",e)}get contentType(){return this.get("contentType")}set contentType(e){this.set("contentType",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get title(){return this.get("title")}set title(e){this.set("title",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 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 bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}};const ce=class extends _{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 ae=class extends _{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 le=class extends _{constructor(e,t,s){super(e,t,s),this.element="operation"}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",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 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 bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}get traits(){return this.get("traits")}set traits(e){this.set("traits",e)}get message(){return this.get("message")}set message(e){this.set("message",e)}};const ue=class extends _{constructor(e,t,s){super(e,t,s),this.element="operationBindings"}get http(){return this.get("http")}set http(e){this.set("http",e)}get ws(){return this.get("ws")}set ws(e){this.set("ws",e)}get kafka(){return this.get("kafka")}set kafka(e){this.set("kafka",e)}get anypointmq(){return this.get("anypointmq")}set anypointmq(e){this.set("anypointmq",e)}get amqp(){return this.get("amqp")}set amqp(e){this.set("amqp",e)}get amqp1(){return this.get("amqp1")}set amqp1(e){this.set("amqp1",e)}get mqtt(){return this.get("mqtt")}set mqtt(e){this.set("mqtt",e)}get mqtt5(){return this.get("mqtt5")}set mqtt5(e){this.set("mqtt5",e)}get nats(){return this.get("nats")}set nats(e){this.set("nats",e)}get jms(){return this.get("jms")}set jms(e){this.set("jms",e)}get sns(){return this.get("sns")}set sns(e){this.set("sns",e)}get solace(){return this.get("solace")}set solace(e){this.set("solace",e)}get sqs(){return this.get("sqs")}set sqs(e){this.set("sqs",e)}get stomp(){return this.get("stomp")}set stomp(e){this.set("stomp",e)}get redis(){return this.get("redis")}set redis(e){this.set("redis",e)}get mercure(){return this.get("mercure")}set mercure(e){this.set("mercure",e)}get googlepubsub(){return this.get("googlepubsub")}set googlepubsub(e){this.set("googlepubsub",e)}get ibmmq(){return this.get("ibmmq")}set ibmmq(e){this.set("ibmmq",e)}};const de=class extends _{constructor(e,t,s){super(e,t,s),this.element="operationTrait"}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",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 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 bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}};const pe=class extends _{constructor(e,t,s){super(e,t,s),this.element="parameter"}get description(){return this.get("description")}set description(e){this.set("description",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get location(){return this.get("location")}set location(e){this.set("location",e)}};const he=class extends _{constructor(e,t,s){super(e,t,s),this.element="parameters"}};const me=class extends _{constructor(e,t,s){super(e,t,s),this.element="reference",this.classes.push("json-reference"),this.classes.push("asyncapi-reference")}set $ref(e){this.set("$ref",e)}get $ref(){return this.get("$ref")}};function ge(e,t,s){for(var n=0,i=s.length;n<i;)t=e(t,s[n]),n+=1;return t}var fe=y(function(e,t){return ge(function(s,n){return s[n]=e(t[n],n,t),s},{},M(t))});const ye=fe;const be=r(function(e){return null==e});var ve=y(function(e,t){if(0===e.length||be(t))return!1;for(var s=t,n=0;n<e.length;){if(be(s)||!x(e[n],s))return!1;s=s[e[n]],n+=1}return!0});const xe=ve;var Se=y(function(e,t){return xe([e],t)});const we=Se;function Be(e){return function t(s,n,o){switch(arguments.length){case 0:return t;case 1:return i(s)?t:y(function(t,n){return e(s,t,n)});case 2:return i(s)&&i(n)?t:i(s)?y(function(t,s){return e(t,n,s)}):i(n)?y(function(t,n){return e(s,t,n)}):r(function(t){return e(s,n,t)});default:return i(s)&&i(n)&&i(o)?t:i(s)&&i(n)?y(function(t,s){return e(t,s,o)}):i(s)&&i(o)?y(function(t,s){return e(t,n,s)}):i(n)&&i(o)?y(function(t,n){return e(s,t,n)}):i(s)?r(function(t){return e(t,n,o)}):i(n)?r(function(t){return e(s,t,o)}):i(o)?r(function(t){return e(s,n,t)}):e(s,n,o)}}}const Ee=Number.isInteger||function(e){return(e|0)===e};const je=function(e,t){if(null!=t)return Ee(e)?o(e,t):t[e]};const Oe=y(je);const ke=Be(function(e,t,s){return e(Oe(t,s))});function qe(e,t){for(var s=t,n=0;n<e.length;n+=1){if(null==s)return;var i=e[n];s=Ee(i)?o(i,s):s[i]}return s}const Me=y(qe);function Ce(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,s){return t.apply(this,arguments)};case 3:return function(e,s,n){return t.apply(this,arguments)};case 4:return function(e,s,n,i){return t.apply(this,arguments)};case 5:return function(e,s,n,i,r){return t.apply(this,arguments)};case 6:return function(e,s,n,i,r,o){return t.apply(this,arguments)};case 7:return function(e,s,n,i,r,o,c){return t.apply(this,arguments)};case 8:return function(e,s,n,i,r,o,c,a){return t.apply(this,arguments)};case 9:return function(e,s,n,i,r,o,c,a,l){return t.apply(this,arguments)};case 10:return function(e,s,n,i,r,o,c,a,l,u){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function $e(e,t){return function(){return t.call(this,e.apply(this,arguments))}}const Ae=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function Pe(e){return"[object String]"===Object.prototype.toString.call(e)}const Fe=r(function(e){return!!Ae(e)||!!e&&("object"==typeof e&&(!Pe(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))});var Ie="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function Te(e,t,s){return function(n,i,r){if(Fe(r))return e(n,i,r);if(null==r)return i;if("function"==typeof r["fantasy-land/reduce"])return t(n,i,r,"fantasy-land/reduce");if(null!=r[Ie])return s(n,i,r[Ie]());if("function"==typeof r.next)return s(n,i,r);if("function"==typeof r.reduce)return t(n,i,r,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function De(e,t,s){for(var n=0,i=s.length;n<i;){if((t=e["@@transducer/step"](t,s[n]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n+=1}return e["@@transducer/result"](t)}var Ve=y(function(e,t){return Ce(e.length,function(){return e.apply(t,arguments)})});const Ne=Ve;function Re(e,t,s){for(var n=s.next();!n.done;){if((t=e["@@transducer/step"](t,n.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n=s.next()}return e["@@transducer/result"](t)}function Le(e,t,s,n){return e["@@transducer/result"](s[n](Ne(e["@@transducer/step"],e),t))}const _e=Te(De,Le,Re);var Je=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();const Ue=Be(function(e,t,s){return _e("function"==typeof e?new Je(e):e,t,s)});function He(e,t){return function(){var s=arguments.length;if(0===s)return t();var n=arguments[s-1];return Ae(n)||"function"!=typeof n[e]?t.apply(this,arguments):n[e].apply(n,Array.prototype.slice.call(arguments,0,s-1))}}const Ge=Be(He("slice",function(e,t,s){return Array.prototype.slice.call(s,e,t)}));const ze=r(He("tail",Ge(1,1/0)));function We(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return Ce(arguments[0].length,Ue($e,arguments[0],ze(arguments)))}var Xe=function(e,t){switch(arguments.length){case 0:return Xe;case 1:return function t(s){return 0===arguments.length?t:S(e,s)};default:return S(e,t)}};const Ke=Xe;function Ye(e,t){return function(e,t,s){var n,i;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(n=1/t;s<e.length;){if(0===(i=e[s])&&1/i===n)return s;s+=1}return-1}if(t!=t){for(;s<e.length;){if("number"==typeof(i=e[s])&&i!=i)return s;s+=1}return-1}return e.indexOf(t,s);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,s);case"object":if(null===t)return e.indexOf(t,s)}for(;s<e.length;){if(P(e[s],t))return s;s+=1}return-1}(t,e,0)>=0}function Qe(e,t){for(var s=0,n=t.length,i=Array(n);s<n;)i[s]=e(t[s]),s+=1;return i}function Ze(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var et=function(e){return(e<10?"0":"")+e};const tt="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+et(e.getUTCMonth()+1)+"-"+et(e.getUTCDate())+"T"+et(e.getUTCHours())+":"+et(e.getUTCMinutes())+":"+et(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function st(e,t,s){return function(){if(0===arguments.length)return s();var n=arguments[arguments.length-1];if(!Ae(n)){for(var i=0;i<e.length;){if("function"==typeof n[e[i]])return n[e[i]].apply(n,Array.prototype.slice.call(arguments,0,-1));i+=1}if(function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}(n))return t.apply(null,Array.prototype.slice.call(arguments,0,-1))(n)}return s.apply(this,arguments)}}function nt(e){return"[object Object]"===Object.prototype.toString.call(e)}const it=function(){return this.xf["@@transducer/init"]()},rt=function(e){return this.xf["@@transducer/result"](e)};var ot=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=it,e.prototype["@@transducer/result"]=rt,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function ct(e){return function(t){return new ot(e,t)}}var at=y(st(["fantasy-land/filter","filter"],ct,function(e,t){return nt(t)?ge(function(s,n){return e(t[n])&&(s[n]=t[n]),s},{},M(t)):(s=t,"[object Map]"===Object.prototype.toString.call(s)?function(e,t){for(var s=new Map,n=t.entries(),i=n.next();!i.done;)e(i.value[1])&&s.set(i.value[0],i.value[1]),i=n.next();return s}(e,t):function(e,t){for(var s=0,n=t.length,i=[];s<n;)e(t[s])&&(i[i.length]=t[s]),s+=1;return i}(e,t));var s}));const lt=at;const ut=y(function(e,t){return lt((s=e,function(){return!s.apply(this,arguments)}),t);var s});function dt(e,t){var s=function(s){var n=t.concat([e]);return Ye(s,n)?"<Circular>":dt(s,n)},n=function(e,t){return Qe(function(t){return Ze(t)+": "+s(e[t])},t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+Qe(s,e).join(", ")+"))";case"[object Array]":return"["+Qe(s,e).concat(n(e,ut(function(e){return/^\d+$/.test(e)},M(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):Ze(tt(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())+")":Ze(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var i=e.toString();if("[object Object]"!==i)return i}return"{"+n(e,M(e)).join(", ")+"}"}}const pt=r(function(e){return dt(e,[])});const ht=Be(function(e,t,s){return e(qe(t,s))});function mt(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const gt=y(function(e,t){return e&&t});function ft(e,t,s){for(var n=s.next();!n.done;)t=e(t,n.value),n=s.next();return t}function yt(e,t,s,n){return s[n](e,t)}const bt=Te(ge,yt,ft);var vt=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=it,e.prototype["@@transducer/result"]=rt,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const xt=function(e){return function(t){return new vt(e,t)}};function St(e,t,s){return function(){for(var n=[],r=0,o=e,c=0,a=!1;c<t.length||r<arguments.length;){var l;c<t.length&&(!i(t[c])||r>=arguments.length)?l=t[c]:(l=arguments[r],r+=1),n[c]=l,i(l)?a=!0:o-=1,c+=1}return!a&&o<=0?s.apply(this,n):Ce(Math.max(0,o),St(e,n,s))}}var wt=y(function(e,t){return 1===e?r(t):Ce(e,St(e,[],t))});const Bt=wt;var Et=y(st(["fantasy-land/map","map"],xt,function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return Bt(t.length,function(){return e.call(this,t.apply(this,arguments))});case"[object Object]":return ge(function(s,n){return s[n]=e(t[n]),s},{},M(t));default:return Qe(e,t)}}));const jt=Et;const Ot=y(function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(s){return e(s)(t(s))}:bt(function(e,s){return function(e,t){var s;t=t||[];var n=(e=e||[]).length,i=t.length,r=[];for(s=0;s<n;)r[r.length]=e[s],s+=1;for(s=0;s<i;)r[r.length]=t[s],s+=1;return r}(e,jt(s,t))},[],e)});var kt=y(function(e,t){var s=Bt(e,t);return Bt(e,function(){return ge(Ot,jt(s,arguments[0]),Array.prototype.slice.call(arguments,1))})});const qt=kt;var Mt=r(function(e){return qt(e.length,e)});const Ct=Mt;const $t=y(function(e,t){return mt(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:Ct(gt)(e,t)});const At=P(null);const Pt=Ct(r(function(e){return!e}));const Ft=Pt(At);function It(e){return It="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},It(e)}const Tt=function(e){return"object"===It(e)};const Dt=Bt(1,$t(Ft,Tt));const Vt=y(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 i=s(typeof e,typeof t);if(void 0!==i)return i===typeof e?e:t;var r=pt(e),o=s(r,pt(t));return void 0!==o&&o===r?e:t});const Nt=y(function(e,t){return jt(Oe(e),t)});const Rt=r(function(e){return Bt(Ue(Vt,0,Nt("length",e)),function(){for(var t=0,s=e.length;t<s;){if(e[t].apply(this,arguments))return!0;t+=1}return!1})});const Lt=Bt(1,We(C,Ke("GeneratorFunction")));const _t=Bt(1,We(C,Ke("AsyncFunction")));const Jt=Rt([We(C,Ke("Function")),Lt,_t]);var Ut=We(C,Ke("Object")),Ht=We(pt,P(pt(Object))),Gt=ht($t(Jt,Ht),["constructor"]);const zt=Bt(1,function(e){if(!Dt(e)||!Ut(e))return!1;var t=Object.getPrototypeOf(e);return!!At(t)||Gt(t)});const Wt=Bt(1,We(C,Ke("String")));var Xt=r(function(e){return Bt(e.length,e)});const Kt=Xt;const Yt=y(function(e,t){return Bt(e+1,function(){var s=arguments[e];if(null!=s&&mt(s[t]))return s[t].apply(s,Array.prototype.slice.call(arguments,0,e));throw new TypeError(pt(s)+' does not have a method named "'+t+'"')})});const Qt=Yt(1,"split");var Zt=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=it,e.prototype["@@transducer/result"]=rt,e.prototype["@@transducer/step"]=function(e,t){if(this.f){if(this.f(t))return e;this.f=null}return this.xf["@@transducer/step"](e,t)},e}();function es(e){return function(t){return new Zt(e,t)}}const ts=y(st(["dropWhile"],es,function(e,t){for(var s=0,n=t.length;s<n&&e(t[s]);)s+=1;return Ge(s,1/0,t)}));const ss=Yt(1,"join");var ns=r(function(e){return Bt(e.length,function(t,s){var n=Array.prototype.slice.call(arguments,0);return n[0]=s,n[1]=t,e.apply(this,n)})});const is=ns(y(Ye));const rs=Kt(function(e,t){return We(Qt(""),ts(is(e)),ss(""))(t)}),os=new WeakMap,cs=e=>{if(os.has(e))return os.get(e);const t={},s=(e,n,i)=>("string"==typeof e.element&&(t[e.element]=e.$visitor?[...i,"$visitor"]:i),ye((e,t)=>{const r=[...i,t];if(zt(e)&&we("$ref",e)&&ke(Wt,"$ref",e)){const t=Me(["$ref"],e),s=rs("#/",t);return Me(s.split("/"),n)}return zt(e)?s(e,n,r):e},e)),n=s(e,e,[]);return n.elementMap=t,os.set(e,n),n};const as=class extends _{constructor(e,t,s){super(e,t,s),this.element="JSONSchemaDraft4"}get idField(){return this.get("id")}set idField(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 itemsField(){return this.get("items")}set itemsField(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 linksField(){return this.get("links")}set linksField(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 ls=class extends _{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 us=class extends _{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 ds=class extends _{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 ps=class extends V{constructor(e,t,s){super(e,t,s),this.element="number"}primitive(){return"number"}};const hs=class extends V{constructor(e,t,s){super(e??null,t,s),this.element="null"}primitive(){return"null"}set(e){throw new Error("Cannot set the value of null")}};const ms=class extends V{constructor(e,t,s){super(e,t,s),this.element="boolean"}primitive(){return"boolean"}};const gs=class 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()}set(e,t){return"number"==typeof e&&void 0!==t?this._content[e]=this.refract(t):this.content=e,this}remove(e){return this._content.splice(e,1)[0]??null}map(e,t){return this._content.map(e,t)}flatMap(e,t){return this._content.flatMap(e,t)}compactMap(e,t){const s=[];for(const n of this._content){const i=e.call(t,n);i&&s.push(i)}return s}filter(e,t){const s=this._content.filter(e,t);return new this.constructor(s)}reject(e,t){const s=[];for(const n of this._content)e.call(t,n)||s.push(n);return new this.constructor(s)}reduce(e,t){let s,n;void 0!==t?(s=0,n=this.refract(t)):(s=1,n=this.first);for(let t=s;t<this.length;t+=1){const s=e(n,this._content[t],t,this);n=void 0===s?s:this.refract(s)}return n}forEach(e,t){this._content.forEach((s,n)=>{e.call(t,s,n)})}empty(){return new this.constructor([])}},fs=e=>e instanceof V,ys=e=>e instanceof U,bs=e=>e instanceof ps,vs=e=>e instanceof hs,xs=e=>e instanceof ms,Ss=e=>e instanceof gs,ws=e=>e instanceof _,Bs=e=>e instanceof L,Es=e=>"number"==typeof e.startLine&&"number"==typeof e.startCharacter&&"number"==typeof e.startOffset&&"number"==typeof e.endLine&&"number"==typeof e.endCharacter&&"number"==typeof e.endOffset,js=(e,t)=>0===t.length||!!fs(e)&&(!e.isMetaEmpty&&(!!e.hasMetaProperty("classes")&&t.every(t=>e.classes.includes(t))));class Os extends U{constructor(e,t,s){super(e,t,s),this.element="sourceMap"}static transfer(e,t){t.startLine=e.startLine,t.startCharacter=e.startCharacter,t.startOffset=e.startOffset,t.endLine=e.endLine,t.endCharacter=e.endCharacter,t.endOffset=e.endOffset}static from(e){const{startLine:t,startCharacter:s,startOffset:n,endLine:i,endCharacter:r,endOffset:o}=e;if("number"!=typeof t||"number"!=typeof s||"number"!=typeof n||"number"!=typeof i||"number"!=typeof r||"number"!=typeof o)return;const c="sm1:"+[t,s,n,i,r,o].map(qs).join("");const a=new Os(c);return a.startLine=t,a.startCharacter=s,a.startOffset=n,a.endLine=i,a.endCharacter=r,a.endOffset=o,a}applyTo(e){this.content&&([e.startLine,e.startCharacter,e.startOffset,e.endLine,e.endCharacter,e.endOffset]=function(e){const t=e.startsWith("sm1:")?e.slice(4):e,s=[];let n=0;for(let e=0;e<6;e++){const e=Ms(t,n);s.push(e.value),n=e.next}return s}(this.content))}}const ks="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function qs(e){let t=e>>>0,s="";do{let e=31&t;t>>>=5,0!==t&&(e|=32),s+=ks[e]}while(0!==t);return s}function Ms(e,t=0){let s=0,n=0,i=t;for(;;){const t=e[i++],r=ks.indexOf(t);if(-1===r)throw new Error(`Invalid Base64 VLQ char: ${t}`);if(s|=(31&r)<<n,n+=5,!!!(32&r))break}return{value:s>>>0,next:i}}const Cs=Os;const $s=class extends d{constructor(e,t){if(super(e,t),null!=t&&"object"==typeof t){const{cause:e,...s}=t;Object.assign(this,s)}}};const As=class extends $s{value;constructor(e,t){super(e,t),void 0!==t&&(this.value=t.value)}};const Ps=class extends As{};const Fs=class extends As{},Is=(e,t)=>{const{visited:s=new WeakMap}=t,n={...t,visited:s};if(s.has(e))return s.get(e);const i=Ns(e);s.set(e,i);const{content:r}=e;return Array.isArray(r)?i.content=r.map(e=>Is(e,n)):fs(r)?i.content=Is(r,n):i.content=r instanceof F?Ts(r,n):r,i},Ts=(e,t)=>{const{visited:s=new WeakMap}=t,n={...t,visited:s};if(s.has(e))return s.get(e);const{key:i,value:r}=e,o=void 0!==i?Is(i,n):void 0,c=void 0!==r?Is(r,n):void 0,a=new F(o,c);return s.set(e,a),a},Ds=(e,t={})=>{if(e instanceof F)return Ts(e,t);if(e instanceof T)return((e,t)=>{const{visited:s=new WeakMap}=t,n={...t,visited:s};if(s.has(e))return s.get(e);const i=[...e].map(e=>Is(e,n)),r=new T(i);return s.set(e,r),r})(e,t);if(fs(e))return Is(e,t);throw new Ps("Value provided to cloneDeep function couldn't be cloned",{value:e})};Ds.safe=e=>{try{return Ds(e)}catch{return e}};const Vs=e=>{const{key:t,value:s}=e;return new F(t,s)},Ns=e=>{const t=new(0,e.constructor);t.element=e.element,e.isMetaEmpty||(t.meta=Ds(e.meta)),e.isAttributesEmpty||(t.attributes=Ds(e.attributes)),Es(e)&&Cs.transfer(e,t);const{content:s}=e;return fs(s)?t.content=Ns(s):Array.isArray(s)?t.content=[...s]:t.content=s instanceof F?Vs(s):s,t},Rs=e=>{if(e instanceof F)return Vs(e);if(e instanceof T)return(e=>{const t=[...e];return new T(t)})(e);if(fs(e))return Ns(e);throw new Fs("Value provided to cloneShallow function couldn't be cloned",{value:e})};Rs.safe=e=>{try{return Rs(e)}catch{return e}};const Ls=class extends V{constructor(e,t,s){super(e||[],t,s),this.element="link"}get relation(){if(this.hasAttributesProperty("relation"))return this.attributes.get("relation")}set relation(e){this.attributes.set("relation",e)}get href(){if(this.hasAttributesProperty("href"))return this.attributes.get("href")}set href(e){this.attributes.set("href",e)}};const _s=class extends V{constructor(e,t,s){super(e||[],t,s),this.element="ref",this.path||(this.path="element")}get path(){if(this.hasAttributesProperty("path"))return this.attributes.get("path")}set path(e){this.attributes.set("path",e)}};const Js=class extends U{constructor(e,t,s){super(e,t,s),this.element="annotation"}get code(){if(this.hasAttributesProperty("code"))return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}};const Us=class extends U{constructor(e,t,s){super(e,t,s),this.element="comment"}};const Hs=class extends gs{constructor(e,t,s){super(e,t,s),this.element="parseResult"}get api(){return this.filter(e=>js(e,["api"])).first}get results(){return this.filter(e=>js(e,["result"]))}get result(){return this.results.first}get annotations(){return this.filter(e=>"annotation"===e.element)}get warnings(){return this.filter(e=>"annotation"===e.element&&js(e,["warning"]))}get errors(){return this.filter(e=>"annotation"===e.element&&js(e,["error"]))}get isEmpty(){return 0===this.reject(e=>"annotation"===e.element).length}replaceResult(e){const{result:t}=this;if(void 0===t)return!1;const s=this._content,n=s.findIndex(e=>e===t);return-1!==n&&(s[n]=e,!0)}},Gs=e=>e instanceof Ls,zs=e=>e instanceof _s,Ws=e=>{if(!fs(e))return e;if(ys(e)||bs(e)||xs(e)||vs(e))return e.toValue();const t=new WeakMap,s=e=>{if(!fs(e))return e;if(ws(e)){if(t.has(e))return t.get(e);const n={};return t.set(e,n),e.forEach((e,t)=>{const i=s(t),r=s(e);"string"==typeof i&&(n[i]=r)}),n}if(Ss(e)){if(t.has(e))return t.get(e);const n=[];return t.set(e,n),e.forEach(e=>n.push(s(e))),n}return zs(e)?String(e.toValue()):Gs(e)?ys(e.href)?e.href.toValue():"":e.toValue()};return s(e)},Xs=e=>{const t=e.isMetaEmpty?void 0:Ds(e.meta),s=e.isAttributesEmpty?void 0:Ds(e.attributes);return new e.constructor(void 0,t,s)},Ks=(e,t)=>t.clone&&t.isMergeableElement(e)?Qs(Xs(e),e,t):e,Ys={clone:!0,isMergeableElement:e=>ws(e)||Ss(e),arrayElementMerge:(e,t,s)=>new(0,e.constructor)(e.concat(t).map(e=>Ks(e,s))),objectElementMerge:(e,t,s)=>{const n=ws(e)?Xs(e):Xs(t);return ws(e)&&e.forEach((e,t,i)=>{const r=Rs(i);r.value=Ks(e,s),n.content.push(r)}),t.forEach((t,i,r)=>{const o=Ws(i);let c;if(ws(e)&&e.hasKey(o)&&s.isMergeableElement(t)){const n=e.get(o);c=Rs(r),c.value=((e,t)=>{if("function"!=typeof t.customMerge)return Qs;const s=t.customMerge(e,t);return"function"==typeof s?s:Qs})(i,s)(n,t,s)}else c=Rs(r),c.value=Ks(t,s);n.remove(o),n.content.push(c)}),n},customMerge:void 0,customMetaMerge:void 0,customAttributesMerge:void 0},Qs=(e,t,s)=>{const n={...Ys,...s};n.isMergeableElement=n.isMergeableElement??Ys.isMergeableElement,n.arrayElementMerge=n.arrayElementMerge??Ys.arrayElementMerge,n.objectElementMerge=n.objectElementMerge??Ys.objectElementMerge;const i=Ss(t);if(!(i===Ss(e)))return Ks(t,n);const r=i&&"function"==typeof n.arrayElementMerge?n.arrayElementMerge(e,t,n):n.objectElementMerge(e,t,n);return r.meta=(e=>"function"!=typeof e.customMetaMerge?e=>Ds(e):e.customMetaMerge)(n)(e.meta,t.meta),r.attributes=(e=>"function"!=typeof e.customAttributesMerge?e=>Ds(e):e.customAttributesMerge)(n)(e.attributes,t.attributes),r};Qs.all=(e,t)=>{if(!Array.isArray(e))throw new TypeError("First argument of deepmerge should be an array.");return 0===e.length?new _:e.reduce((e,s)=>Qs(e,s,t),Xs(e[0]))};const Zs=Qs;const en=class{element;constructor(e){Object.assign(this,e)}copyMetaAndAttributes(e,t){if(!e.isMetaEmpty||!t.isMetaEmpty){const s=t.isMetaEmpty?new _:t.meta,n=e.isMetaEmpty?new _:e.meta;t.meta=Zs(s,n)}if(!e.isAttributesEmpty||!t.isAttributesEmpty){const s=t.isAttributesEmpty?new _:t.attributes,n=e.isAttributesEmpty?new _:e.attributes;t.attributes=Zs(s,n)}Cs.transfer(e,t)}};const tn=class extends en{enter(e){this.element=Ds(e.node),e.stop()}};const sn=r(function(e){return function(){return e}});const nn=y(function(e,t){return null==t||t!=t?e:t});const rn=sn(void 0);const on=P(rn());const cn=r(function(e){return Bt(Ue(Vt,0,Nt("length",e)),function(){for(var t=0,s=e.length;t<s;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0})});var an=r(function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():e==Set||e instanceof Set?new Set:e==Map||e instanceof Map?new Map:Ae(e)?[]:Pe(e)?"":nt(e)?{}:B(e)?function(){return arguments}():function(e){var t=Object.prototype.toString.call(e);return"[object Uint8ClampedArray]"===t||"[object Int8Array]"===t||"[object Uint8Array]"===t||"[object Int16Array]"===t||"[object Uint16Array]"===t||"[object Int32Array]"===t||"[object Uint32Array]"===t||"[object Float32Array]"===t||"[object Float64Array]"===t||"[object BigInt64Array]"===t||"[object BigUint64Array]"===t}(e)?e.constructor.from(""):void 0});const ln=an;const un=r(function(e){return null!=e&&P(e,ln(e))});const dn=r(function(e){return!un(e)});const pn=y(function(e,t){return e||t});const hn=Bt(1,$t(Ft,y(function(e,t){return mt(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:Ct(pn)(e,t)})(Tt,Jt)));var mn=Pt(hn);const gn=cn([Wt,mn,dn]);const fn=y(function(e,t){for(var s={},n=0;n<e.length;)e[n]in t&&(s[e[n]]=t[e[n]]),n+=1;return s}),yn=function(){const e=vn,t=bn,s=this,n="parser.js: Parser(): ";s.ast=void 0,s.stats=void 0,s.trace=void 0,s.callbacks=[];let i,r,o,c,a,l,u,d=0,p=0,h=0,m=0,g=0,f=new function(){this.state=e.ACTIVE,this.phraseLength=0,this.refresh=()=>{this.state=e.ACTIVE,this.phraseLength=0}};s.parse=(y,b,x,S)=>{const w=`${n}parse(): `;d=0,p=0,h=0,m=0,g=0,i=void 0,r=void 0,o=void 0,c=void 0,f.refresh(),a=void 0,l=void 0,u=void 0,c=t.stringToChars(x),i=y.rules,r=y.udts;const B=b.toLowerCase();let E;for(const e in i)if(i.hasOwnProperty(e)&&B===i[e].lower){E=i[e].index;break}if(void 0===E)throw new Error(`${w}start rule name '${startRule}' not recognized`);(()=>{const e=`${n}initializeCallbacks(): `;let t,o;for(a=[],l=[],t=0;t<i.length;t+=1)a[t]=void 0;for(t=0;t<r.length;t+=1)l[t]=void 0;const c=[];for(t=0;t<i.length;t+=1)c.push(i[t].lower);for(t=0;t<r.length;t+=1)c.push(r[t].lower);for(const n in s.callbacks)if(s.callbacks.hasOwnProperty(n)){if(t=c.indexOf(n.toLowerCase()),t<0)throw new Error(`${e}syntax callback '${n}' not a rule or udt name`);if(o=s.callbacks[n]?s.callbacks[n]:void 0,"function"!=typeof o&&void 0!==o)throw new Error(`${e}syntax callback[${n}] must be function reference or falsy)`);t<i.length?a[t]=o:l[t-i.length]=o}})(),s.trace&&s.trace.init(i,r,c),s.stats&&s.stats.init(i,r),s.ast&&s.ast.init(i,r,c),u=S,o=[{type:e.RNM,index:E}],v(0,0),o=void 0;let j=!1;switch(f.state){case e.ACTIVE:throw new Error(`${w}final state should never be 'ACTIVE'`);case e.NOMATCH:j=!1;break;case e.EMPTY:case e.MATCH:j=f.phraseLength===c.length;break;default:throw new Error("unrecognized state")}return{success:j,state:f.state,stateName:e.idName(f.state),length:c.length,matched:f.phraseLength,maxMatched:g,maxTreeDepth:h,nodeHits:m}};const y=(t,s,i,r)=>{if(s.phraseLength>i){let e=`${n}opRNM(${t.name}): callback function error: `;throw e+=`sysData.phraseLength: ${s.phraseLength}`,e+=` must be <= remaining chars: ${i}`,new Error(e)}switch(s.state){case e.ACTIVE:if(!r)throw new Error(`${n}opRNM(${t.name}): callback function return error. ACTIVE state not allowed.`);break;case e.EMPTY:s.phraseLength=0;break;case e.MATCH:0===s.phraseLength&&(s.state=e.EMPTY);break;case e.NOMATCH:s.phraseLength=0;break;default:throw new Error(`${n}opRNM(${t.name}): callback function return error. Unrecognized return state: ${s.state}`)}},b=(t,a)=>{let p,h,m;const g=o[t],y=r[g.index];f.UdtIndex=y.index,d||(m=s.ast&&s.ast.udtDefined(g.index),m&&(h=i.length+g.index,p=s.ast.getLength(),s.ast.down(h,y.name)));const b=c.length-a;l[g.index](f,c,a,u),((t,s,i)=>{if(s.phraseLength>i){let e=`${n}opUDT(${t.name}): callback function error: `;throw e+=`sysData.phraseLength: ${s.phraseLength}`,e+=` must be <= remaining chars: ${i}`,new Error(e)}switch(s.state){case e.ACTIVE:throw new Error(`${n}opUDT(${t.name}) ACTIVE state return not allowed.`);case e.EMPTY:if(!t.empty)throw new Error(`${n}opUDT(${t.name}) may not return EMPTY.`);s.phraseLength=0;break;case e.MATCH:if(0===s.phraseLength){if(!t.empty)throw new Error(`${n}opUDT(${t.name}) may not return EMPTY.`);s.state=e.EMPTY}break;case e.NOMATCH:s.phraseLength=0;break;default:throw new Error(`${n}opUDT(${t.name}): callback function return error. Unrecognized return state: ${s.state}`)}})(y,f,b),d||m&&(f.state===e.NOMATCH?s.ast.setLength(p):s.ast.up(h,y.name,a,f.phraseLength))},v=(t,r)=>{const l=`${n}opExecute(): `,x=o[t];switch(m+=1,p>h&&(h=p),p+=1,f.refresh(),s.trace&&s.trace.down(x,r),x.type){case e.ALT:((t,s)=>{const n=o[t];for(let t=0;t<n.children.length&&(v(n.children[t],s),f.state===e.NOMATCH);t+=1);})(t,r);break;case e.CAT:((t,n)=>{let i,r,c,a;const l=o[t];s.ast&&(r=s.ast.getLength()),i=!0,c=n,a=0;for(let t=0;t<l.children.length;t+=1){if(v(l.children[t],c),f.state===e.NOMATCH){i=!1;break}c+=f.phraseLength,a+=f.phraseLength}i?(f.state=0===a?e.EMPTY:e.MATCH,f.phraseLength=a):(f.state=e.NOMATCH,f.phraseLength=0,s.ast&&s.ast.setLength(r))})(t,r);break;case e.REP:((t,n)=>{let i,r,a,l;const u=o[t];if(0===u.max)return f.state=e.EMPTY,void(f.phraseLength=0);for(r=n,a=0,l=0,s.ast&&(i=s.ast.getLength());!(r>=c.length)&&(v(t+1,r),f.state!==e.NOMATCH)&&f.state!==e.EMPTY&&(l+=1,a+=f.phraseLength,r+=f.phraseLength,l!==u.max););f.state===e.EMPTY||l>=u.min?(f.state=0===a?e.EMPTY:e.MATCH,f.phraseLength=a):(f.state=e.NOMATCH,f.phraseLength=0,s.ast&&s.ast.setLength(i))})(t,r);break;case e.RNM:((t,n)=>{let r,l,p;const h=o[t],m=i[h.index],g=a[m.index];if(d||(l=s.ast&&s.ast.ruleDefined(h.index),l&&(r=s.ast.getLength(),s.ast.down(h.index,i[h.index].name))),g){const t=c.length-n;g(f,c,n,u),y(m,f,t,!0),f.state===e.ACTIVE&&(p=o,o=m.opcodes,v(0,n),o=p,g(f,c,n,u),y(m,f,t,!1))}else p=o,o=m.opcodes,v(0,n,f),o=p;d||l&&(f.state===e.NOMATCH?s.ast.setLength(r):s.ast.up(h.index,m.name,n,f.phraseLength))})(t,r);break;case e.TRG:((t,s)=>{const n=o[t];f.state=e.NOMATCH,s<c.length&&n.min<=c[s]&&c[s]<=n.max&&(f.state=e.MATCH,f.phraseLength=1)})(t,r);break;case e.TBS:((t,s)=>{const n=o[t],i=n.string.length;if(f.state=e.NOMATCH,s+i<=c.length){for(let e=0;e<i;e+=1)if(c[s+e]!==n.string[e])return;f.state=e.MATCH,f.phraseLength=i}})(t,r);break;case e.TLS:((t,s)=>{let n;const i=o[t];f.state=e.NOMATCH;const r=i.string.length;if(0!==r){if(s+r<=c.length){for(let e=0;e<r;e+=1)if(n=c[s+e],n>=65&&n<=90&&(n+=32),n!==i.string[e])return;f.state=e.MATCH,f.phraseLength=r}}else f.state=e.EMPTY})(t,r);break;case e.UDT:b(t,r);break;case e.AND:((t,s)=>{switch(d+=1,v(t+1,s),d-=1,f.phraseLength=0,f.state){case e.EMPTY:case e.MATCH:f.state=e.EMPTY;break;case e.NOMATCH:f.state=e.NOMATCH;break;default:throw new Error(`opAND: invalid state ${f.state}`)}})(t,r);break;case e.NOT:((t,s)=>{switch(d+=1,v(t+1,s),d-=1,f.phraseLength=0,f.state){case e.EMPTY:case e.MATCH:f.state=e.NOMATCH;break;case e.NOMATCH:f.state=e.EMPTY;break;default:throw new Error(`opNOT: invalid state ${f.state}`)}})(t,r);break;default:throw new Error(`${l}unrecognized operator`)}d||r+f.phraseLength>g&&(g=r+f.phraseLength),s.stats&&s.stats.collect(x,f),s.trace&&s.trace.up(x,f.state,r,f.phraseLength),p-=1}},bn={stringToChars:e=>[...e].map(e=>e.codePointAt(0)),charsToString:(e,t,s)=>{let n=e;for(;!(void 0===t||t<0);){if(void 0===s){n=e.slice(t);break}if(s<=0)return"";n=e.slice(t,t+s);break}return String.fromCodePoint(...n)}},vn={ALT:1,CAT:2,REP:3,RNM:4,TRG:5,TBS:6,TLS:7,UDT:11,AND:12,NOT:13,ACTIVE:100,MATCH:101,EMPTY:102,NOMATCH:103,SEM_PRE:200,SEM_POST:201,SEM_OK:300,idName:e=>{switch(e){case vn.ALT:return"ALT";case vn.CAT:return"CAT";case vn.REP:return"REP";case vn.RNM:return"RNM";case vn.TRG:return"TRG";case vn.TBS:return"TBS";case vn.TLS:return"TLS";case vn.UDT:return"UDT";case vn.AND:return"AND";case vn.NOT:return"NOT";case vn.ACTIVE:return"ACTIVE";case vn.EMPTY:return"EMPTY";case vn.MATCH:return"MATCH";case vn.NOMATCH:return"NOMATCH";case vn.SEM_PRE:return"SEM_PRE";case vn.SEM_POST:return"SEM_POST";case vn.SEM_OK:return"SEM_OK";default:return"UNRECOGNIZED STATE"}}};function xn(){this.grammarObject="grammarObject",this.rules=[],this.rules[0]={name:"json-pointer",lower:"json-pointer",index:0,isBkr:!1},this.rules[1]={name:"reference-token",lower:"reference-token",index:1,isBkr:!1},this.rules[2]={name:"unescaped",lower:"unescaped",index:2,isBkr:!1},this.rules[3]={name:"escaped",lower:"escaped",index:3,isBkr:!1},this.rules[4]={name:"array-location",lower:"array-location",index:4,isBkr:!1},this.rules[5]={name:"array-index",lower:"array-index",index:5,isBkr:!1},this.rules[6]={name:"array-dash",lower:"array-dash",index:6,isBkr:!1},this.rules[7]={name:"slash",lower:"slash",index:7,isBkr:!1},this.udts=[],this.rules[0].opcodes=[],this.rules[0].opcodes[0]={type:3,min:0,max:1/0},this.rules[0].opcodes[1]={type:2,children:[2,3]},this.rules[0].opcodes[2]={type:4,index:7},this.rules[0].opcodes[3]={type:4,index:1},this.rules[1].opcodes=[],this.rules[1].opcodes[0]={type:3,min:0,max:1/0},this.rules[1].opcodes[1]={type:1,children:[2,3]},this.rules[1].opcodes[2]={type:4,index:2},this.rules[1].opcodes[3]={type:4,index:3},this.rules[2].opcodes=[],this.rules[2].opcodes[0]={type:1,children:[1,2,3]},this.rules[2].opcodes[1]={type:5,min:0,max:46},this.rules[2].opcodes[2]={type:5,min:48,max:125},this.rules[2].opcodes[3]={type:5,min:127,max:1114111},this.rules[3].opcodes=[],this.rules[3].opcodes[0]={type:2,children:[1,2]},this.rules[3].opcodes[1]={type:7,string:[126]},this.rules[3].opcodes[2]={type:1,children:[3,4]},this.rules[3].opcodes[3]={type:7,string:[48]},this.rules[3].opcodes[4]={type:7,string:[49]},this.rules[4].opcodes=[],this.rules[4].opcodes[0]={type:1,children:[1,2]},this.rules[4].opcodes[1]={type:4,index:5},this.rules[4].opcodes[2]={type:4,index:6},this.rules[5].opcodes=[],this.rules[5].opcodes[0]={type:1,children:[1,2]},this.rules[5].opcodes[1]={type:6,string:[48]},this.rules[5].opcodes[2]={type:2,children:[3,4]},this.rules[5].opcodes[3]={type:5,min:49,max:57},this.rules[5].opcodes[4]={type:3,min:0,max:1/0},this.rules[5].opcodes[5]={type:5,min:48,max:57},this.rules[6].opcodes=[],this.rules[6].opcodes[0]={type:7,string:[45]},this.rules[7].opcodes=[],this.rules[7].opcodes[0]={type:7,string:[47]},this.toString=function(){let e="";return e+="; JavaScript Object Notation (JSON) Pointer ABNF syntax\n",e+="; https://datatracker.ietf.org/doc/html/rfc6901\n",e+="json-pointer = *( slash reference-token ) ; MODIFICATION: surrogate text rule used\n",e+="reference-token = *( unescaped / escaped )\n",e+="unescaped = %x00-2E / %x30-7D / %x7F-10FFFF\n",e+=" ; %x2F ('/') and %x7E ('~') are excluded from 'unescaped'\n",e+='escaped = "~" ( "0" / "1" )\n',e+=" ; representing '~' and '/', respectively\n",e+="\n",e+="; https://datatracker.ietf.org/doc/html/rfc6901#section-4\n",e+="array-location = array-index / array-dash\n",e+="array-index = %x30 / ( %x31-39 *(%x30-39) )\n",e+=' ; "0", or digits without a leading "0"\n',e+='array-dash = "-"\n',e+="\n",e+="; Surrogate named rules\n",e+='slash = "/"\n','; JavaScript Object Notation (JSON) Pointer ABNF syntax\n; https://datatracker.ietf.org/doc/html/rfc6901\njson-pointer = *( slash reference-token ) ; MODIFICATION: surrogate text rule used\nreference-token = *( unescaped / escaped )\nunescaped = %x00-2E / %x30-7D / %x7F-10FFFF\n ; %x2F (\'/\') and %x7E (\'~\') are excluded from \'unescaped\'\nescaped = "~" ( "0" / "1" )\n ; representing \'~\' and \'/\', respectively\n\n; https://datatracker.ietf.org/doc/html/rfc6901#section-4\narray-location = array-index / array-dash\narray-index = %x30 / ( %x31-39 *(%x30-39) )\n ; "0", or digits without a leading "0"\narray-dash = "-"\n\n; Surrogate named rules\nslash = "/"\n'}}class Sn extends Error{constructor(e,t=void 0){if(super(e,t),this.name=this.constructor.name,"string"==typeof e&&(this.message=e),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack,null!=t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"cause")&&!("cause"in this)){const{cause:e}=t;this.cause=e,e instanceof Error&&"stack"in e&&(this.stack=`${this.stack}\nCAUSE: ${e.stack}`)}if(null!=t&&"object"==typeof t){const{cause:e,...s}=t;Object.assign(this,s)}}}const wn=Sn;new xn;new xn,new yn,new xn,new yn,new xn,new yn,new xn,new yn;const Bn=e=>{if("string"!=typeof e&&"number"!=typeof e)throw new TypeError("Reference token must be a string or number");return String(e).replace(/~/g,"~0").replace(/\//g,"~1")};const En=class extends wn{},jn=e=>{if(!Array.isArray(e))throw new TypeError("Reference tokens must be a list of strings or numbers");try{return 0===e.length?"":`/${e.map(e=>{if("string"!=typeof e&&"number"!=typeof e)throw new TypeError("Reference token must be a string or number");return Bn(String(e))}).join("/")}`}catch(t){throw new En("Unexpected error during JSON Pointer compilation",{cause:t,referenceTokens:e})}};class On extends Error{constructor(e,t=void 0){if(super(e,t),this.name=this.constructor.name,"string"==typeof e&&(this.message=e),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack,null!=t&&"object"==typeof t&&Object.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}`)}if(null!=t&&"object"==typeof t){const{cause:e,...s}=t;Object.assign(this,s)}}}const kn=On;new function(){this.grammarObject="grammarObject",this.rules=[],this.rules[0]={name:"jsonpath-query",lower:"jsonpath-query",index:0,isBkr:!1},this.rules[1]={name:"segments",lower:"segments",index:1,isBkr:!1},this.rules[2]={name:"B",lower:"b",index:2,isBkr:!1},this.rules[3]={name:"S",lower:"s",index:3,isBkr:!1},this.rules[4]={name:"root-identifier",lower:"root-identifier",index:4,isBkr:!1},this.rules[5]={name:"selector",lower:"selector",index:5,isBkr:!1},this.rules[6]={name:"name-selector",lower:"name-selector",index:6,isBkr:!1},this.rules[7]={name:"string-literal",lower:"string-literal",index:7,isBkr:!1},this.rules[8]={name:"double-quoted",lower:"double-quoted",index:8,isBkr:!1},this.rules[9]={name:"single-quoted",lower:"single-quoted",index:9,isBkr:!1},this.rules[10]={name:"ESC",lower:"esc",index:10,isBkr:!1},this.rules[11]={name:"unescaped",lower:"unescaped",index:11,isBkr:!1},this.rules[12]={name:"escapable",lower:"escapable",index:12,isBkr:!1},this.rules[13]={name:"hexchar",lower:"hexchar",index:13,isBkr:!1},this.rules[14]={name:"non-surrogate",lower:"non-surrogate",index:14,isBkr:!1},this.rules[15]={name:"high-surrogate",lower:"high-surrogate",index:15,isBkr:!1},this.rules[16]={name:"low-surrogate",lower:"low-surrogate",index:16,isBkr:!1},this.rules[17]={name:"HEXDIG",lower:"hexdig",index:17,isBkr:!1},this.rules[18]={name:"wildcard-selector",lower:"wildcard-selector",index:18,isBkr:!1},this.rules[19]={name:"index-selector",lower:"index-selector",index:19,isBkr:!1},this.rules[20]={name:"int",lower:"int",index:20,isBkr:!1},this.rules[21]={name:"DIGIT1",lower:"digit1",index:21,isBkr:!1},this.rules[22]={name:"slice-selector",lower:"slice-selector",index:22,isBkr:!1},this.rules[23]={name:"start",lower:"start",index:23,isBkr:!1},this.rules[24]={name:"end",lower:"end",index:24,isBkr:!1},this.rules[25]={name:"step",lower:"step",index:25,isBkr:!1},this.rules[26]={name:"filter-selector",lower:"filter-selector",index:26,isBkr:!1},this.rules[27]={name:"logical-expr",lower:"logical-expr",index:27,isBkr:!1},this.rules[28]={name:"logical-or-expr",lower:"logical-or-expr",index:28,isBkr:!1},this.rules[29]={name:"logical-and-expr",lower:"logical-and-expr",index:29,isBkr:!1},this.rules[30]={name:"basic-expr",lower:"basic-expr",index:30,isBkr:!1},this.rules[31]={name:"paren-expr",lower:"paren-expr",index:31,isBkr:!1},this.rules[32]={name:"logical-not-op",lower:"logical-not-op",index:32,isBkr:!1},this.rules[33]={name:"test-expr",lower:"test-expr",index:33,isBkr:!1},this.rules[34]={name:"filter-query",lower:"filter-query",index:34,isBkr:!1},this.rules[35]={name:"rel-query",lower:"rel-query",index:35,isBkr:!1},this.rules[36]={name:"current-node-identifier",lower:"current-node-identifier",index:36,isBkr:!1},this.rules[37]={name:"comparison-expr",lower:"comparison-expr",index:37,isBkr:!1},this.rules[38]={name:"literal",lower:"literal",index:38,isBkr:!1},this.rules[39]={name:"comparable",lower:"comparable",index:39,isBkr:!1},this.rules[40]={name:"comparison-op",lower:"comparison-op",index:40,isBkr:!1},this.rules[41]={name:"singular-query",lower:"singular-query",index:41,isBkr:!1},this.rules[42]={name:"rel-singular-query",lower:"rel-singular-query",index:42,isBkr:!1},this.rules[43]={name:"abs-singular-query",lower:"abs-singular-query",index:43,isBkr:!1},this.rules[44]={name:"singular-query-segments",lower:"singular-query-segments",index:44,isBkr:!1},this.rules[45]={name:"name-segment",lower:"name-segment",index:45,isBkr:!1},this.rules[46]={name:"index-segment",lower:"index-segment",index:46,isBkr:!1},this.rules[47]={name:"number",lower:"number",index:47,isBkr:!1},this.rules[48]={name:"frac",lower:"frac",index:48,isBkr:!1},this.rules[49]={name:"exp",lower:"exp",index:49,isBkr:!1},this.rules[50]={name:"true",lower:"true",index:50,isBkr:!1},this.rules[51]={name:"false",lower:"false",index:51,isBkr:!1},this.rules[52]={name:"null",lower:"null",index:52,isBkr:!1},this.rules[53]={name:"function-name",lower:"function-name",index:53,isBkr:!1},this.rules[54]={name:"function-name-first",lower:"function-name-first",index:54,isBkr:!1},this.rules[55]={name:"function-name-char",lower:"function-name-char",index:55,isBkr:!1},this.rules[56]={name:"LCALPHA",lower:"lcalpha",index:56,isBkr:!1},this.rules[57]={name:"function-expr",lower:"function-expr",index:57,isBkr:!1},this.rules[58]={name:"function-argument",lower:"function-argument",index:58,isBkr:!1},this.rules[59]={name:"segment",lower:"segment",index:59,isBkr:!1},this.rules[60]={name:"child-segment",lower:"child-segment",index:60,isBkr:!1},this.rules[61]={name:"bracketed-selection",lower:"bracketed-selection",index:61,isBkr:!1},this.rules[62]={name:"member-name-shorthand",lower:"member-name-shorthand",index:62,isBkr:!1},this.rules[63]={name:"name-first",lower:"name-first",index:63,isBkr:!1},this.rules[64]={name:"name-char",lower:"name-char",index:64,isBkr:!1},this.rules[65]={name:"DIGIT",lower:"digit",index:65,isBkr:!1},this.rules[66]={name:"ALPHA",lower:"alpha",index:66,isBkr:!1},this.rules[67]={name:"descendant-segment",lower:"descendant-segment",index:67,isBkr:!1},this.rules[68]={name:"normalized-path",lower:"normalized-path",index:68,isBkr:!1},this.rules[69]={name:"normal-index-segment",lower:"normal-index-segment",index:69,isBkr:!1},this.rules[70]={name:"normal-selector",lower:"normal-selector",index:70,isBkr:!1},this.rules[71]={name:"normal-name-selector",lower:"normal-name-selector",index:71,isBkr:!1},this.rules[72]={name:"normal-single-quoted",lower:"normal-single-quoted",index:72,isBkr:!1},this.rules[73]={name:"normal-unescaped",lower:"normal-unescaped",index:73,isBkr:!1},this.rules[74]={name:"normal-escapable",lower:"normal-escapable",index:74,isBkr:!1},this.rules[75]={name:"normal-hexchar",lower:"normal-hexchar",index:75,isBkr:!1},this.rules[76]={name:"normal-HEXDIG",lower:"normal-hexdig",index:76,isBkr:!1},this.rules[77]={name:"normal-index-selector",lower:"normal-index-selector",index:77,isBkr:!1},this.rules[78]={name:"dot-prefix",lower:"dot-prefix",index:78,isBkr:!1},this.rules[79]={name:"double-dot-prefix",lower:"double-dot-prefix",index:79,isBkr:!1},this.rules[80]={name:"left-bracket",lower:"left-bracket",index:80,isBkr:!1},this.rules[81]={name:"right-bracket",lower:"right-bracket",index:81,isBkr:!1},this.rules[82]={name:"left-paren",lower:"left-paren",index:82,isBkr:!1},this.rules[83]={name:"right-paren",lower:"right-paren",index:83,isBkr:!1},this.rules[84]={name:"comma",lower:"comma",index:84,isBkr:!1},this.rules[85]={name:"colon",lower:"colon",index:85,isBkr:!1},this.rules[86]={name:"dquote",lower:"dquote",index:86,isBkr:!1},this.rules[87]={name:"squote",lower:"squote",index:87,isBkr:!1},this.rules[88]={name:"questionmark",lower:"questionmark",index:88,isBkr:!1},this.rules[89]={name:"disjunction",lower:"disjunction",index:89,isBkr:!1},this.rules[90]={name:"conjunction",lower:"conjunction",index:90,isBkr:!1},this.udts=[],this.rules[0].opcodes=[],this.rules[0].opcodes[0]={type:2,children:[1,2]},this.rules[0].opcodes[1]={type:4,index:4},this.rules[0].opcodes[2]={type:4,index:1},this.rules[1].opcodes=[],this.rules[1].opcodes[0]={type:3,min:0,max:1/0},this.rules[1].opcodes[1]={type:2,children:[2,3]},this.rules[1].opcodes[2]={type:4,index:3},this.rules[1].opcodes[3]={type:4,index:59},this.rules[2].opcodes=[],this.rules[2].opcodes[0]={type:1,children:[1,2,3,4]},this.rules[2].opcodes[1]={type:6,string:[32]},this.rules[2].opcodes[2]={type:6,string:[9]},this.rules[2].opcodes[3]={type:6,string:[10]},this.rules[2].opcodes[4]={type:6,string:[13]},this.rules[3].opcodes=[],this.rules[3].opcodes[0]={type:3,min:0,max:1/0},this.rules[3].opcodes[1]={type:4,index:2},this.rules[4].opcodes=[],this.rules[4].opcodes[0]={type:7,string:[36]},this.rules[5].opcodes=[],this.rules[5].opcodes[0]={type:1,children:[1,2,3,4,5]},this.rules[5].opcodes[1]={type:4,index:6},this.rules[5].opcodes[2]={type:4,index:18},this.rules[5].opcodes[3]={type:4,index:22},this.rules[5].opcodes[4]={type:4,index:19},this.rules[5].opcodes[5]={type:4,index:26},this.rules[6].opcodes=[],this.rules[6].opcodes[0]={type:4,index:7},this.rules[7].opcodes=[],this.rules[7].opcodes[0]={type:1,children:[1,6]},this.rules[7].opcodes[1]={type:2,children:[2,3,5]},this.rules[7].opcodes[2]={type:4,index:86},this.rules[7].opcodes[3]={type:3,min:0,max:1/0},this.rules[7].opcodes[4]={type:4,index:8},this.rules[7].opcodes[5]={type:4,index:86},this.rules[7].opcodes[6]={type:2,children:[7,8,10]},this.rules[7].opcodes[7]={type:4,index:87},this.rules[7].opcodes[8]={type:3,min:0,max:1/0},this.rules[7].opcodes[9]={type:4,index:9},this.rules[7].opcodes[10]={type:4,index:87},this.rules[8].opcodes=[],this.rules[8].opcodes[0]={type:1,children:[1,2,3,6]},this.rules[8].opcodes[1]={type:4,index:11},this.rules[8].opcodes[2]={type:6,string:[39]},this.rules[8].opcodes[3]={type:2,children:[4,5]},this.rules[8].opcodes[4]={type:4,index:10},this.rules[8].opcodes[5]={type:6,string:[34]},this.rules[8].opcodes[6]={type:2,children:[7,8]},this.rules[8].opcodes[7]={type:4,index:10},this.rules[8].opcodes[8]={type:4,index:12},this.rules[9].opcodes=[],this.rules[9].opcodes[0]={type:1,children:[1,2,3,6]},this.rules[9].opcodes[1]={type:4,index:11},this.rules[9].opcodes[2]={type:6,string:[34]},this.rules[9].opcodes[3]={type:2,children:[4,5]},this.rules[9].opcodes[4]={type:4,index:10},this.rules[9].opcodes[5]={type:6,string:[39]},this.rules[9].opcodes[6]={type:2,children:[7,8]},this.rules[9].opcodes[7]={type:4,index:10},this.rules[9].opcodes[8]={type:4,index:12},this.rules[10].opcodes=[],this.rules[10].opcodes[0]={type:6,string:[92]},this.rules[11].opcodes=[],this.rules[11].opcodes[0]={type:1,children:[1,2,3,4,5]},this.rules[11].opcodes[1]={type:5,min:32,max:33},this.rules[11].opcodes[2]={type:5,min:35,max:38},this.rules[11].opcodes[3]={type:5,min:40,max:91},this.rules[11].opcodes[4]={type:5,min:93,max:55295},this.rules[11].opcodes[5]={type:5,min:57344,max:1114111},this.rules[12].opcodes=[],this.rules[12].opcodes[0]={type:1,children:[1,2,3,4,5,6,7,8]},this.rules[12].opcodes[1]={type:6,string:[98]},this.rules[12].opcodes[2]={type:6,string:[102]},this.rules[12].opcodes[3]={type:6,string:[110]},this.rules[12].opcodes[4]={type:6,string:[114]},this.rules[12].opcodes[5]={type:6,string:[116]},this.rules[12].opcodes[6]={type:7,string:[47]},this.rules[12].opcodes[7]={type:7,string:[92]},this.rules[12].opcodes[8]={type:2,children:[9,10]},this.rules[12].opcodes[9]={type:6,string:[117]},this.rules[12].opcodes[10]={type:4,index:13},this.rules[13].opcodes=[],this.rules[13].opcodes[0]={type:1,children:[1,2]},this.rules[13].opcodes[1]={type:4,index:14},this.rules[13].opcodes[2]={type:2,children:[3,4,5,6]},this.rules[13].opcodes[3]={type:4,index:15},this.rules[13].opcodes[4]={type:7,string:[92]},this.rules[13].opcodes[5]={type:6,string:[117]},this.rules[13].opcodes[6]={type:4,index:16},this.rules[14].opcodes=[],this.rules[14].opcodes[0]={type:1,children:[1,11]},this.rules[14].opcodes[1]={type:2,children:[2,9]},this.rules[14].opcodes[2]={type:1,children:[3,4,5,6,7,8]},this.rules[14].opcodes[3]={type:4,index:65},this.rules[14].opcodes[4]={type:7,string:[97]},this.rules[14].opcodes[5]={type:7,string:[98]},this.rules[14].opcodes[6]={type:7,string:[99]},this.rules[14].opcodes[7]={type:7,string:[101]},this.rules[14].opcodes[8]={type:7,string:[102]},this.rules[14].opcodes[9]={type:3,min:3,max:3},this.rules[14].opcodes[10]={type:4,index:17},this.rules[14].opcodes[11]={type:2,children:[12,13,14]},this.rules[14].opcodes[12]={type:7,string:[100]},this.rules[14].opcodes[13]={type:5,min:48,max:55},this.rules[14].opcodes[14]={type:3,min:2,max:2},this.rules[14].opcodes[15]={type:4,index:17},this.rules[15].opcodes=[],this.rules[15].opcodes[0]={type:2,children:[1,2,7]},this.rules[15].opcodes[1]={type:7,string:[100]},this.rules[15].opcodes[2]={type:1,children:[3,4,5,6]},this.rules[15].opcodes[3]={type:7,string:[56]},this.rules[15].opcodes[4]={type:7,string:[57]},this.rules[15].opcodes[5]={type:7,string:[97]},this.rules[15].opcodes[6]={type:7,string:[98]},this.rules[15].opcodes[7]={type:3,min:2,max:2},this.rules[15].opcodes[8]={type:4,index:17},this.rules[16].opcodes=[],this.rules[16].opcodes[0]={type:2,children:[1,2,7]},this.rules[16].opcodes[1]={type:7,string:[100]},this.rules[16].opcodes[2]={type:1,children:[3,4,5,6]},this.rules[16].opcodes[3]={type:7,string:[99]},this.rules[16].opcodes[4]={type:7,string:[100]},this.rules[16].opcodes[5]={type:7,string:[101]},this.rules[16].opcodes[6]={type:7,string:[102]},this.rules[16].opcodes[7]={type:3,min:2,max:2},this.rules[16].opcodes[8]={type:4,index:17},this.rules[17].opcodes=[],this.rules[17].opcodes[0]={type:1,children:[1,2,3,4,5,6,7]},this.rules[17].opcodes[1]={type:4,index:65},this.rules[17].opcodes[2]={type:7,string:[97]},this.rules[17].opcodes[3]={type:7,string:[98]},this.rules[17].opcodes[4]={type:7,string:[99]},this.rules[17].opcodes[5]={type:7,string:[100]},this.rules[17].opcodes[6]={type:7,string:[101]},this.rules[17].opcodes[7]={type:7,string:[102]},this.rules[18].opcodes=[],this.rules[18].opcodes[0]={type:7,string:[42]},this.rules[19].opcodes=[],this.rules[19].opcodes[0]={type:4,index:20},this.rules[20].opcodes=[],this.rules[20].opcodes[0]={type:1,children:[1,2]},this.rules[20].opcodes[1]={type:7,string:[48]},this.rules[20].opcodes[2]={type:2,children:[3,5,6]},this.rules[20].opcodes[3]={type:3,min:0,max:1},this.rules[20].opcodes[4]={type:7,string:[45]},this.rules[20].opcodes[5]={type:4,index:21},this.rules[20].opcodes[6]={type:3,min:0,max:1/0},this.rules[20].opcodes[7]={type:4,index:65},this.rules[21].opcodes=[],this.rules[21].opcodes[0]={type:5,min:49,max:57},this.rules[22].opcodes=[],this.rules[22].opcodes[0]={type:2,children:[1,5,6,7,11]},this.rules[22].opcodes[1]={type:3,min:0,max:1},this.rules[22].opcodes[2]={type:2,children:[3,4]},this.rules[22].opcodes[3]={type:4,index:23},this.rules[22].opcodes[4]={type:4,index:3},this.rules[22].opcodes[5]={type:4,index:85},this.rules[22].opcodes[6]={type:4,index:3},this.rules[22].opcodes[7]={type:3,min:0,max:1},this.rules[22].opcodes[8]={type:2,children:[9,10]},this.rules[22].opcodes[9]={type:4,index:24},this.rules[22].opcodes[10]={type:4,index:3},this.rules[22].opcodes[11]={type:3,min:0,max:1},this.rules[22].opcodes[12]={type:2,children:[13,14]},this.rules[22].opcodes[13]={type:4,index:85},this.rules[22].opcodes[14]={type:3,min:0,max:1},this.rules[22].opcodes[15]={type:2,children:[16,17]},this.rules[22].opcodes[16]={type:4,index:3},this.rules[22].opcodes[17]={type:4,index:25},this.rules[23].opcodes=[],this.rules[23].opcodes[0]={type:4,index:20},this.rules[24].opcodes=[],this.rules[24].opcodes[0]={type:4,index:20},this.rules[25].opcodes=[],this.rules[25].opcodes[0]={type:4,index:20},this.rules[26].opcodes=[],this.rules[26].opcodes[0]={type:2,children:[1,2,3]},this.rules[26].opcodes[1]={type:4,index:88},this.rules[26].opcodes[2]={type:4,index:3},this.rules[26].opcodes[3]={type:4,index:27},this.rules[27].opcodes=[],this.rules[27].opcodes[0]={type:4,index:28},this.rules[28].opcodes=[],this.rules[28].opcodes[0]={type:2,children:[1,2]},this.rules[28].opcodes[1]={type:4,index:29},this.rules[28].opcodes[2]={type:3,min:0,max:1/0},this.rules[28].opcodes[3]={type:2,children:[4,5,6,7]},this.rules[28].opcodes[4]={type:4,index:3},this.rules[28].opcodes[5]={type:4,index:89},this.rules[28].opcodes[6]={type:4,index:3},this.rules[28].opcodes[7]={type:4,index:29},this.rules[29].opcodes=[],this.rules[29].opcodes[0]={type:2,children:[1,2]},this.rules[29].opcodes[1]={type:4,index:30},this.rules[29].opcodes[2]={type:3,min:0,max:1/0},this.rules[29].opcodes[3]={type:2,children:[4,5,6,7]},this.rules[29].opcodes[4]={type:4,index:3},this.rules[29].opcodes[5]={type:4,index:90},this.rules[29].opcodes[6]={type:4,index:3},this.rules[29].opcodes[7]={type:4,index:30},this.rules[30].opcodes=[],this.rules[30].opcodes[0]={type:1,children:[1,2,3]},this.rules[30].opcodes[1]={type:4,index:31},this.rules[30].opcodes[2]={type:4,index:37},this.rules[30].opcodes[3]={type:4,index:33},this.rules[31].opcodes=[],this.rules[31].opcodes[0]={type:2,children:[1,5,6,7,8,9]},this.rules[31].opcodes[1]={type:3,min:0,max:1},this.rules[31].opcodes[2]={type:2,children:[3,4]},this.rules[31].opcodes[3]={type:4,index:32},this.rules[31].opcodes[4]={type:4,index:3},this.rules[31].opcodes[5]={type:4,index:82},this.rules[31].opcodes[6]={type:4,index:3},this.rules[31].opcodes[7]={type:4,index:27},this.rules[31].opcodes[8]={type:4,index:3},this.rules[31].opcodes[9]={type:4,index:83},this.rules[32].opcodes=[],this.rules[32].opcodes[0]={type:7,string:[33]},this.rules[33].opcodes=[],this.rules[33].opcodes[0]={type:2,children:[1,5]},this.rules[33].opcodes[1]={type:3,min:0,max:1},this.rules[33].opcodes[2]={type:2,children:[3,4]},this.rules[33].opcodes[3]={type:4,index:32},this.rules[33].opcodes[4]={type:4,index:3},this.rules[33].opcodes[5]={type:1,children:[6,7]},this.rules[33].opcodes[6]={type:4,index:34},this.rules[33].opcodes[7]={type:4,index:57},this.rules[34].opcodes=[],this.rules[34].opcodes[0]={type:1,children:[1,2]},this.rules[34].opcodes[1]={type:4,index:35},this.rules[34].opcodes[2]={type:4,index:0},this.rules[35].opcodes=[],this.rules[35].opcodes[0]={type:2,children:[1,2]},this.rules[35].opcodes[1]={type:4,index:36},this.rules[35].opcodes[2]={type:4,index:1},this.rules[36].opcodes=[],this.rules[36].opcodes[0]={type:7,string:[64]},this.rules[37].opcodes=[],this.rules[37].opcodes[0]={type:2,children:[1,2,3,4,5]},this.rules[37].opcodes[1]={type:4,index:39},this.rules[37].opcodes[2]={type:4,index:3},this.rules[37].opcodes[3]={type:4,index:40},this.rules[37].opcodes[4]={type:4,index:3},this.rules[37].opcodes[5]={type:4,index:39},this.rules[38].opcodes=[],this.rules[38].opcodes[0]={type:1,children:[1,2,3,4,5]},this.rules[38].opcodes[1]={type:4,index:47},this.rules[38].opcodes[2]={type:4,index:7},this.rules[38].opcodes[3]={type:4,index:50},this.rules[38].opcodes[4]={type:4,index:51},this.rules[38].opcodes[5]={type:4,index:52},this.rules[39].opcodes=[],this.rules[39].opcodes[0]={type:1,children:[1,2,3]},this.rules[39].opcodes[1]={type:4,index:41},this.rules[39].opcodes[2]={type:4,index:57},this.rules[39].opcodes[3]={type:4,index:38},this.rules[40].opcodes=[],this.rules[40].opcodes[0]={type:1,children:[1,2,3,4,5,6]},this.rules[40].opcodes[1]={type:7,string:[61,61]},this.rules[40].opcodes[2]={type:7,string:[33,61]},this.rules[40].opcodes[3]={type:7,string:[60,61]},this.rules[40].opcodes[4]={type:7,string:[62,61]},this.rules[40].opcodes[5]={type:7,string:[60]},this.rules[40].opcodes[6]={type:7,string:[62]},this.rules[41].opcodes=[],this.rules[41].opcodes[0]={type:1,children:[1,2]},this.rules[41].opcodes[1]={type:4,index:42},this.rules[41].opcodes[2]={type:4,index:43},this.rules[42].opcodes=[],this.rules[42].opcodes[0]={type:2,children:[1,2]},this.rules[42].opcodes[1]={type:4,index:36},this.rules[42].opcodes[2]={type:4,index:44},this.rules[43].opcodes=[],this.rules[43].opcodes[0]={type:2,children:[1,2]},this.rules[43].opcodes[1]={type:4,index:4},this.rules[43].opcodes[2]={type:4,index:44},this.rules[44].opcodes=[],this.rules[44].opcodes[0]={type:3,min:0,max:1/0},this.rules[44].opcodes[1]={type:2,children:[2,3]},this.rules[44].opcodes[2]={type:4,index:3},this.rules[44].opcodes[3]={type:1,children:[4,5]},this.rules[44].opcodes[4]={type:4,index:45},this.rules[44].opcodes[5]={type:4,index:46},this.rules[45].opcodes=[],this.rules[45].opcodes[0]={type:1,children:[1,5]},this.rules[45].opcodes[1]={type:2,children:[2,3,4]},this.rules[45].opcodes[2]={type:4,index:80},this.rules[45].opcodes[3]={type:4,index:6},this.rules[45].opcodes[4]={type:4,index:81},this.rules[45].opcodes[5]={type:2,children:[6,7]},this.rules[45].opcodes[6]={type:4,index:78},this.rules[45].opcodes[7]={type:4,index:62},this.rules[46].opcodes=[],this.rules[46].opcodes[0]={type:2,children:[1,2,3]},this.rules[46].opcodes[1]={type:4,index:80},this.rules[46].opcodes[2]={type:4,index:19},this.rules[46].opcodes[3]={type:4,index:81},this.rules[47].opcodes=[],this.rules[47].opcodes[0]={type:2,children:[1,4,6]},this.rules[47].opcodes[1]={type:1,children:[2,3]},this.rules[47].opcodes[2]={type:4,index:20},this.rules[47].opcodes[3]={type:7,string:[45,48]},this.rules[47].opcodes[4]={type:3,min:0,max:1},this.rules[47].opcodes[5]={type:4,index:48},this.rules[47].opcodes[6]={type:3,min:0,max:1},this.rules[47].opcodes[7]={type:4,index:49},this.rules[48].opcodes=[],this.rules[48].opcodes[0]={type:2,children:[1,2]},this.rules[48].opcodes[1]={type:7,string:[46]},this.rules[48].opcodes[2]={type:3,min:1,max:1/0},this.rules[48].opcodes[3]={type:4,index:65},this.rules[49].opcodes=[],this.rules[49].opcodes[0]={type:2,children:[1,2,6]},this.rules[49].opcodes[1]={type:7,string:[101]},this.rules[49].opcodes[2]={type:3,min:0,max:1},this.rules[49].opcodes[3]={type:1,children:[4,5]},this.rules[49].opcodes[4]={type:7,string:[45]},this.rules[49].opcodes[5]={type:7,string:[43]},this.rules[49].opcodes[6]={type:3,min:1,max:1/0},this.rules[49].opcodes[7]={type:4,index:65},this.rules[50].opcodes=[],this.rules[50].opcodes[0]={type:6,string:[116,114,117,101]},this.rules[51].opcodes=[],this.rules[51].opcodes[0]={type:6,string:[102,97,108,115,101]},this.rules[52].opcodes=[],this.rules[52].opcodes[0]={type:6,string:[110,117,108,108]},this.rules[53].opcodes=[],this.rules[53].opcodes[0]={type:2,children:[1,2]},this.rules[53].opcodes[1]={type:4,index:54},this.rules[53].opcodes[2]={type:3,min:0,max:1/0},this.rules[53].opcodes[3]={type:4,index:55},this.rules[54].opcodes=[],this.rules[54].opcodes[0]={type:4,index:56},this.rules[55].opcodes=[],this.rules[55].opcodes[0]={type:1,children:[1,2,3]},this.rules[55].opcodes[1]={type:4,index:54},this.rules[55].opcodes[2]={type:7,string:[95]},this.rules[55].opcodes[3]={type:4,index:65},this.rules[56].opcodes=[],this.rules[56].opcodes[0]={type:5,min:97,max:122},this.rules[57].opcodes=[],this.rules[57].opcodes[0]={type:2,children:[1,2,3,4,13,14]},this.rules[57].opcodes[1]={type:4,index:53},this.rules[57].opcodes[2]={type:4,index:82},this.rules[57].opcodes[3]={type:4,index:3},this.rules[57].opcodes[4]={type:3,min:0,max:1},this.rules[57].opcodes[5]={type:2,children:[6,7]},this.rules[57].opcodes[6]={type:4,index:58},this.rules[57].opcodes[7]={type:3,min:0,max:1/0},this.rules[57].opcodes[8]={type:2,children:[9,10,11,12]},this.rules[57].opcodes[9]={type:4,index:3},this.rules[57].opcodes[10]={type:4,index:84},this.rules[57].opcodes[11]={type:4,index:3},this.rules[57].opcodes[12]={type:4,index:58},this.rules[57].opcodes[13]={type:4,index:3},this.rules[57].opcodes[14]={type:4,index:83},this.rules[58].opcodes=[],this.rules[58].opcodes[0]={type:1,children:[1,2,3,4]},this.rules[58].opcodes[1]={type:4,index:27},this.rules[58].opcodes[2]={type:4,index:34},this.rules[58].opcodes[3]={type:4,index:57},this.rules[58].opcodes[4]={type:4,index:38},this.rules[59].opcodes=[],this.rules[59].opcodes[0]={type:1,children:[1,2]},this.rules[59].opcodes[1]={type:4,index:60},this.rules[59].opcodes[2]={type:4,index:67},this.rules[60].opcodes=[],this.rules[60].opcodes[0]={type:1,children:[1,2]},this.rules[60].opcodes[1]={type:4,index:61},this.rules[60].opcodes[2]={type:2,children:[3,4]},this.rules[60].opcodes[3]={type:4,index:78},this.rules[60].opcodes[4]={type:1,children:[5,6]},this.rules[60].opcodes[5]={type:4,index:18},this.rules[60].opcodes[6]={type:4,index:62},this.rules[61].opcodes=[],this.rules[61].opcodes[0]={type:2,children:[1,2,3,4,10,11]},this.rules[61].opcodes[1]={type:4,index:80},this.rules[61].opcodes[2]={type:4,index:3},this.rules[61].opcodes[3]={type:4,index:5},this.rules[61].opcodes[4]={type:3,min:0,max:1/0},this.rules[61].opcodes[5]={type:2,children:[6,7,8,9]},this.rules[61].opcodes[6]={type:4,index:3},this.rules[61].opcodes[7]={type:4,index:84},this.rules[61].opcodes[8]={type:4,index:3},this.rules[61].opcodes[9]={type:4,index:5},this.rules[61].opcodes[10]={type:4,index:3},this.rules[61].opcodes[11]={type:4,index:81},this.rules[62].opcodes=[],this.rules[62].opcodes[0]={type:2,children:[1,2]},this.rules[62].opcodes[1]={type:4,index:63},this.rules[62].opcodes[2]={type:3,min:0,max:1/0},this.rules[62].opcodes[3]={type:4,index:64},this.rules[63].opcodes=[],this.rules[63].opcodes[0]={type:1,children:[1,2,3,4]},this.rules[63].opcodes[1]={type:4,index:66},this.rules[63].opcodes[2]={type:7,string:[95]},this.rules[63].opcodes[3]={type:5,min:128,max:55295},this.rules[63].opcodes[4]={type:5,min:57344,max:1114111},this.rules[64].opcodes=[],this.rules[64].opcodes[0]={type:1,children:[1,2]},this.rules[64].opcodes[1]={type:4,index:63},this.rules[64].opcodes[2]={type:4,index:65},this.rules[65].opcodes=[],this.rules[65].opcodes[0]={type:5,min:48,max:57},this.rules[66].opcodes=[],this.rules[66].opcodes[0]={type:1,children:[1,2]},this.rules[66].opcodes[1]={type:5,min:65,max:90},this.rules[66].opcodes[2]={type:5,min:97,max:122},this.rules[67].opcodes=[],this.rules[67].opcodes[0]={type:2,children:[1,2]},this.rules[67].opcodes[1]={type:4,index:79},this.rules[67].opcodes[2]={type:1,children:[3,4,5]},this.rules[67].opcodes[3]={type:4,index:61},this.rules[67].opcodes[4]={type:4,index:18},this.rules[67].opcodes[5]={type:4,index:62},this.rules[68].opcodes=[],this.rules[68].opcodes[0]={type:2,children:[1,2]},this.rules[68].opcodes[1]={type:4,index:4},this.rules[68].opcodes[2]={type:3,min:0,max:1/0},this.rules[68].opcodes[3]={type:4,index:69},this.rules[69].opcodes=[],this.rules[69].opcodes[0]={type:2,children:[1,2,3]},this.rules[69].opcodes[1]={type:4,index:80},this.rules[69].opcodes[2]={type:4,index:70},this.rules[69].opcodes[3]={type:4,index:81},this.rules[70].opcodes=[],this.rules[70].opcodes[0]={type:1,children:[1,2]},this.rules[70].opcodes[1]={type:4,index:71},this.rules[70].opcodes[2]={type:4,index:77},this.rules[71].opcodes=[],this.rules[71].opcodes[0]={type:2,children:[1,2,4]},this.rules[71].opcodes[1]={type:4,index:87},this.rules[71].opcodes[2]={type:3,min:0,max:1/0},this.rules[71].opcodes[3]={type:4,index:72},this.rules[71].opcodes[4]={type:4,index:87},this.rules[72].opcodes=[],this.rules[72].opcodes[0]={type:1,children:[1,2]},this.rules[72].opcodes[1]={type:4,index:73},this.rules[72].opcodes[2]={type:2,children:[3,4]},this.rules[72].opcodes[3]={type:4,index:10},this.rules[72].opcodes[4]={type:4,index:74},this.rules[73].opcodes=[],this.rules[73].opcodes[0]={type:1,children:[1,2,3,4]},this.rules[73].opcodes[1]={type:5,min:32,max:38},this.rules[73].opcodes[2]={type:5,min:40,max:91},this.rules[73].opcodes[3]={type:5,min:93,max:55295},this.rules[73].opcodes[4]={type:5,min:57344,max:1114111},this.rules[74].opcodes=[],this.rules[74].opcodes[0]={type:1,children:[1,2,3,4,5,6,7,8]},this.rules[74].opcodes[1]={type:6,string:[98]},this.rules[74].opcodes[2]={type:6,string:[102]},this.rules[74].opcodes[3]={type:6,string:[110]},this.rules[74].opcodes[4]={type:6,string:[114]},this.rules[74].opcodes[5]={type:6,string:[116]},this.rules[74].opcodes[6]={type:7,string:[39]},this.rules[74].opcodes[7]={type:7,string:[92]},this.rules[74].opcodes[8]={type:2,children:[9,10]},this.rules[74].opcodes[9]={type:6,string:[117]},this.rules[74].opcodes[10]={type:4,index:75},this.rules[75].opcodes=[],this.rules[75].opcodes[0]={type:2,children:[1,2,3]},this.rules[75].opcodes[1]={type:7,string:[48]},this.rules[75].opcodes[2]={type:7,string:[48]},this.rules[75].opcodes[3]={type:1,children:[4,7,10,13]},this.rules[75].opcodes[4]={type:2,children:[5,6]},this.rules[75].opcodes[5]={type:7,string:[48]},this.rules[75].opcodes[6]={type:5,min:48,max:55},this.rules[75].opcodes[7]={type:2,children:[8,9]},this.rules[75].opcodes[8]={type:7,string:[48]},this.rules[75].opcodes[9]={type:6,string:[98]},this.rules[75].opcodes[10]={type:2,children:[11,12]},this.rules[75].opcodes[11]={type:7,string:[48]},this.rules[75].opcodes[12]={type:5,min:101,max:102},this.rules[75].opcodes[13]={type:2,children:[14,15]},this.rules[75].opcodes[14]={type:7,string:[49]},this.rules[75].opcodes[15]={type:4,index:76},this.rules[76].opcodes=[],this.rules[76].opcodes[0]={type:1,children:[1,2]},this.rules[76].opcodes[1]={type:4,index:65},this.rules[76].opcodes[2]={type:5,min:97,max:102},this.rules[77].opcodes=[],this.rules[77].opcodes[0]={type:1,children:[1,2]},this.rules[77].opcodes[1]={type:7,string:[48]},this.rules[77].opcodes[2]={type:2,children:[3,4]},this.rules[77].opcodes[3]={type:4,index:21},this.rules[77].opcodes[4]={type:3,min:0,max:1/0},this.rules[77].opcodes[5]={type:4,index:65},this.rules[78].opcodes=[],this.rules[78].opcodes[0]={type:7,string:[46]},this.rules[79].opcodes=[],this.rules[79].opcodes[0]={type:7,string:[46,46]},this.rules[80].opcodes=[],this.rules[80].opcodes[0]={type:7,string:[91]},this.rules[81].opcodes=[],this.rules[81].opcodes[0]={type:7,string:[93]},this.rules[82].opcodes=[],this.rules[82].opcodes[0]={type:7,string:[40]},this.rules[83].opcodes=[],this.rules[83].opcodes[0]={type:7,string:[41]},this.rules[84].opcodes=[],this.rules[84].opcodes[0]={type:7,string:[44]},this.rules[85].opcodes=[],this.rules[85].opcodes[0]={type:7,string:[58]},this.rules[86].opcodes=[],this.rules[86].opcodes[0]={type:6,string:[34]},this.rules[87].opcodes=[],this.rules[87].opcodes[0]={type:6,string:[39]},this.rules[88].opcodes=[],this.rules[88].opcodes[0]={type:7,string:[63]},this.rules[89].opcodes=[],this.rules[89].opcodes[0]={type:7,string:[124,124]},this.rules[90].opcodes=[],this.rules[90].opcodes[0]={type:7,string:[38,38]},this.toString=function(){let e="";return e+="; JSONPath: Query Expressions for JSON\n",e+="; https://www.rfc-editor.org/rfc/rfc9535\n",e+="\n",e+="; https://www.rfc-editor.org/rfc/rfc9535#section-2.1.1\n",e+="jsonpath-query = root-identifier segments\n",e+="segments = *(S segment)\n",e+="\n",e+="B = %x20 / ; Space\n",e+=" %x09 / ; Horizontal tab\n",e+=" %x0A / ; Line feed or New line\n",e+=" %x0D ; Carriage return\n",e+="S = *B ; optional blank space\n",e+="\n",e+="; https://www.rfc-editor.org/rfc/rfc9535#section-2.2.1\n",e+='root-identifier = "$"\n',e+="\n",e+="; https://www.rfc-editor.org/rfc/rfc9535#section-2.3\n",e+="selector = name-selector /\n",e+=" wildcard-selector /\n",e+=" slice-selector /\n",e+=" index-selector /\n",e+=" filter-selector\n",e+="\n",e+="; https://www.rfc-editor.org/rfc/rfc9535#section-2.3.1.1\n",e+="name-selector = string-literal\n",e+="\n",e+='string-literal = dquote *double-quoted dquote / ; "string", MODIFICATION: surrogate text rule used\n',e+=" squote *single-quoted squote ; 'string', MODIFICATION: surrogate text rule used\n",e+="\n",e+="double-quoted = unescaped /\n",e+=" %x27 / ; '\n",e+=' ESC %x22 / ; \\"\n',e+=" ESC escapable\n",e+="\n",e+="single-quoted = unescaped /\n",e+=' %x22 / ; "\n',e+=" ESC %x27 / ; \\'\n",e+=" ESC escapable\n",e+="\n",e+="ESC = %x5C ; \\ backslash\n",e+="\n",e+="unescaped = %x20-21 / ; see RFC 8259\n",e+=' ; omit 0x22 "\n',e+=" %x23-26 /\n",e+=" ; omit 0x27 '\n",e+=" %x28-5B /\n",e+=" ; omit 0x5C \\\n",e+=" %x5D-D7FF /\n",e+=" ; skip surrogate code points\n",e+=" %xE000-10FFFF\n",e+="\n",e+="escapable = %x62 / ; b BS backspace U+0008\n",e+=" %x66 / ; f FF form feed U+000C\n",e+=" %x6E / ; n LF line feed U+000A\n",e+=" %x72 / ; r CR carriage return U+000D\n",e+=" %x74 / ; t HT horizontal tab U+0009\n",e+=' "/" / ; / slash (solidus) U+002F\n',e+=' "\\" / ; \\ backslash (reverse solidus) U+005C\n',e+=" (%x75 hexchar) ; uXXXX U+XXXX\n",e+="\n",e+="hexchar = non-surrogate /\n",e+=' (high-surrogate "\\" %x75 low-surrogate)\n',e+='non-surrogate = ((DIGIT / "A"/"B"/"C" / "E"/"F") 3HEXDIG) /\n',e+=' ("D" %x30-37 2HEXDIG )\n',e+='high-surrogate = "D" ("8"/"9"/"A"/"B") 2HEXDIG\n',e+='low-surrogate = "D" ("C"/"D"/"E"/"F") 2HEXDIG\n',e+="\n",e+='HEXDIG = DIGIT / "A" / "B" / "C" / "D" / "E" / "F"\n',e+="\n",e+="; https://www.rfc-editor.org/rfc/rfc9535#section-2.3.2.1\n",e+='wildcard-selector = "*"\n',e+="\n",e+="; https://www.rfc-editor.org/rfc/rfc9535#section-2.3.3.1\n",e+="index-selector = int ; decimal integer\n",e+="\n",e+='int = "0" /\n',e+=' (["-"] DIGIT1 *DIGIT) ; - optional\n',e+="DIGIT1 = %x31-39 ; 1-9 non-zero digit\n",e+="\n",e+="; https://www.rfc-editor.org/rfc/rfc9535#section-2.3.4.1\n",e+="slice-selector = [start S] colon S [end S] [colon [S step ]] ; MODIFICATION: surrogate text rule used\n",e+="\n",e+="start = int ; included in selection\n",e+="end = int ; not included in selection\n",e+="step = int ; default: 1\n",e+="\n",e+="; https://www.rfc-editor.org/rfc/rfc9535#section-2.3.5.1\n",e+="filter-selector = questionmark S logical-expr ; MODIFICATION: surrogate text rule used\n",e+="\n",e+="logical-expr = logical-or-expr\n",e+="logical-or-expr = logical-and-expr *(S disjunction S logical-and-expr) ; MODIFICATION: surrogate text rule used\n",e+=" ; disjunction\n",e+=" ; binds less tightly than conjunction\n",e+="logical-and-expr = basic-expr *(S conjunction S basic-expr) ; MODIFICATION: surrogate text rule used\n",e+=" ; conjunction\n",e+=" ; binds more tightly than disjunction\n",e+="\n",e+="basic-expr = paren-expr /\n",e+=" comparison-expr /\n",e+=" test-expr\n",e+="\n",e+="paren-expr = [logical-not-op S] left-paren S logical-expr S right-paren ; MODIFICATION: surrogate text rule used\n",e+=" ; parenthesized expression\n",e+='logical-not-op = "!" ; logical NOT operator\n',e+="\n",e+="test-expr = [logical-not-op S]\n",e+=" (filter-query / ; existence/non-existence\n",e+=" function-expr) ; LogicalType or NodesType\n",e+="filter-query = rel-query / jsonpath-query\n",e+="rel-query = current-node-identifier segments\n",e+='current-node-identifier = "@"\n',e+="\n",e+="comparison-expr = comparable S comparison-op S comparable\n",e+="literal = number / string-literal /\n",e+=" true / false / null\n",e+="comparable = singular-query / ; singular query value\n",e+=" function-expr / ; ValueType\n",e+=" literal\n",e+=" ; MODIFICATION: https://www.rfc-editor.org/errata/eid8352\n",e+='comparison-op = "==" / "!=" /\n',e+=' "<=" / ">=" /\n',e+=' "<" / ">"\n',e+="\n",e+="singular-query = rel-singular-query / abs-singular-query\n",e+="rel-singular-query = current-node-identifier singular-query-segments\n",e+="abs-singular-query = root-identifier singular-query-segments\n",e+="singular-query-segments = *(S (name-segment / index-segment))\n",e+="name-segment = (left-bracket name-selector right-bracket) / ; MODIFICATION: surrogate text rule used\n",e+=" (dot-prefix member-name-shorthand) ; MODIFICATION: surrogate text rule used\n",e+="index-segment = left-bracket index-selector right-bracket ; MODIFICATION: surrogate text rule used\n",e+="\n",e+='number = (int / "-0") [ frac ] [ exp ] ; decimal number\n',e+='frac = "." 1*DIGIT ; decimal fraction\n',e+='exp = "e" [ "-" / "+" ] 1*DIGIT ; decimal exponent\n',e+="true = %x74.72.75.65 ; true\n",e+="false = %x66.61.6c.73.65 ; false\n",e+="null = %x6e.75.6c.6c ; null\n",e+="\n",e+="; https://www.rfc-editor.org/rfc/rfc9535#section-2.4\n",e+="function-name = function-name-first *function-name-char\n",e+="function-name-first = LCALPHA\n",e+='function-name-char = function-name-first / "_" / DIGIT\n',e+='LCALPHA = %x61-7A ; "a".."z"\n',e+="\n",e+="function-expr = function-name left-paren S [function-argument ; MODIFICATION: surrogate text rule used\n",e+=" *(S comma S function-argument)] S right-paren ; MODIFICATION: surrogate text rule used\n",e+="function-argument = logical-expr / ; MODIFICATION: https://www.rfc-editor.org/errata/eid8343\n",e+=" filter-query / ; (includes singular-query)\n",e+=" function-expr /\n",e+=" literal\n",e+="\n",e+="\n",e+="; https://www.rfc-editor.org/rfc/rfc9535#section-2.5\n",e+="segment = child-segment / descendant-segment\n",e+="\n",e+="; https://www.rfc-editor.org/rfc/rfc9535#section-2.5.1.1\n",e+="child-segment = bracketed-selection /\n",e+=" (dot-prefix ; MODIFICATION: surrogate text rule used\n",e+=" (wildcard-selector /\n",e+=" member-name-shorthand))\n",e+="\n",e+="bracketed-selection = left-bracket S selector *(S comma S selector) S right-bracket\n",e+=" ; MODIFICATION: surrogate text rule used\n",e+="\n",e+="member-name-shorthand = name-first *name-char\n",e+="name-first = ALPHA /\n",e+=' "_" /\n',e+=" %x80-D7FF /\n",e+=" ; skip surrogate code points\n",e+=" %xE000-10FFFF\n",e+="name-char = name-first / DIGIT\n",e+="\n",e+="DIGIT = %x30-39 ; 0-9\n",e+="ALPHA = %x41-5A / %x61-7A ; A-Z / a-z\n",e+="\n",e+="; https://www.rfc-editor.org/rfc/rfc9535#section-2.5.2.1\n",e+="descendant-segment = double-dot-prefix (bracketed-selection / ; MODIFICATION: surrogate text rule used\n",e+=" wildcard-selector /\n",e+=" member-name-shorthand)\n",e+="\n",e+="; https://www.rfc-editor.org/rfc/rfc9535#name-normalized-paths\n",e+="normalized-path = root-identifier *(normal-index-segment)\n",e+="normal-index-segment = left-bracket normal-selector right-bracket ; MODIFICATION: surrogate text rule used\n",e+="normal-selector = normal-name-selector / normal-index-selector\n",e+="normal-name-selector = squote *normal-single-quoted squote ; 'string', MODIFICATION: surrogate text rule used\n",e+="normal-single-quoted = normal-unescaped /\n",e+=" ESC normal-escapable\n",e+="normal-unescaped = ; omit %x0-1F control codes\n",e+=" %x20-26 /\n",e+=" ; omit 0x27 '\n",e+=" %x28-5B /\n",e+=" ; omit 0x5C \\\n",e+=" %x5D-D7FF /\n",e+=" ; skip surrogate code points\n",e+=" %xE000-10FFFF\n",e+="\n",e+="normal-escapable = %x62 / ; b BS backspace U+0008\n",e+=" %x66 / ; f FF form feed U+000C\n",e+=" %x6E / ; n LF line feed U+000A\n",e+=" %x72 / ; r CR carriage return U+000D\n",e+=" %x74 / ; t HT horizontal tab U+0009\n",e+=" \"'\" / ; ' apostrophe U+0027\n",e+=' "\\" / ; \\ backslash (reverse solidus) U+005C\n',e+=" (%x75 normal-hexchar)\n",e+=" ; certain values u00xx U+00XX\n",e+='normal-hexchar = "0" "0"\n',e+=" (\n",e+=' ("0" %x30-37) / ; "00"-"07"\n',e+=" ; omit U+0008-U+000A BS HT LF\n",e+=' ("0" %x62) / ; "0b"\n',e+=" ; omit U+000C-U+000D FF CR\n",e+=' ("0" %x65-66) / ; "0e"-"0f"\n',e+=' ("1" normal-HEXDIG)\n',e+=" )\n",e+='normal-HEXDIG = DIGIT / %x61-66 ; "0"-"9", "a"-"f"\n',e+='normal-index-selector = "0" / (DIGIT1 *DIGIT)\n',e+=" ; non-negative decimal integer\n",e+="\n",e+="; Surrogate named rules\n",e+='dot-prefix = "."\n',e+='double-dot-prefix = ".."\n',e+='left-bracket = "["\n',e+='right-bracket = "]"\n',e+='left-paren = "("\n',e+='right-paren = ")"\n',e+='comma = ","\n',e+='colon = ":"\n',e+='dquote = %x22 ; "\n',e+="squote = %x27 ; '\n",e+='questionmark = "?"\n',e+='disjunction = "||"\n',e+='conjunction = "&&"\n','; JSONPath: Query Expressions for JSON\n; https://www.rfc-editor.org/rfc/rfc9535\n\n; https://www.rfc-editor.org/rfc/rfc9535#section-2.1.1\njsonpath-query = root-identifier segments\nsegments = *(S segment)\n\nB = %x20 / ; Space\n %x09 / ; Horizontal tab\n %x0A / ; Line feed or New line\n %x0D ; Carriage return\nS = *B ; optional blank space\n\n; https://www.rfc-editor.org/rfc/rfc9535#section-2.2.1\nroot-identifier = "$"\n\n; https://www.rfc-editor.org/rfc/rfc9535#section-2.3\nselector = name-selector /\n wildcard-selector /\n slice-selector /\n index-selector /\n filter-selector\n\n; https://www.rfc-editor.org/rfc/rfc9535#section-2.3.1.1\nname-selector = string-literal\n\nstring-literal = dquote *double-quoted dquote / ; "string", MODIFICATION: surrogate text rule used\n squote *single-quoted squote ; \'string\', MODIFICATION: surrogate text rule used\n\ndouble-quoted = unescaped /\n %x27 / ; \'\n ESC %x22 / ; \\"\n ESC escapable\n\nsingle-quoted = unescaped /\n %x22 / ; "\n ESC %x27 / ; \\\'\n ESC escapable\n\nESC = %x5C ; \\ backslash\n\nunescaped = %x20-21 / ; see RFC 8259\n ; omit 0x22 "\n %x23-26 /\n ; omit 0x27 \'\n %x28-5B /\n ; omit 0x5C \\\n %x5D-D7FF /\n ; skip surrogate code points\n %xE000-10FFFF\n\nescapable = %x62 / ; b BS backspace U+0008\n %x66 / ; f FF form feed U+000C\n %x6E / ; n LF line feed U+000A\n %x72 / ; r CR carriage return U+000D\n %x74 / ; t HT horizontal tab U+0009\n "/" / ; / slash (solidus) U+002F\n "\\" / ; \\ backslash (reverse solidus) U+005C\n (%x75 hexchar) ; uXXXX U+XXXX\n\nhexchar = non-surrogate /\n (high-surrogate "\\" %x75 low-surrogate)\nnon-surrogate = ((DIGIT / "A"/"B"/"C" / "E"/"F") 3HEXDIG) /\n ("D" %x30-37 2HEXDIG )\nhigh-surrogate = "D" ("8"/"9"/"A"/"B") 2HEXDIG\nlow-surrogate = "D" ("C"/"D"/"E"/"F") 2HEXDIG\n\nHEXDIG = DIGIT / "A" / "B" / "C" / "D" / "E" / "F"\n\n; https://www.rfc-editor.org/rfc/rfc9535#section-2.3.2.1\nwildcard-selector = "*"\n\n; https://www.rfc-editor.org/rfc/rfc9535#section-2.3.3.1\nindex-selector = int ; decimal integer\n\nint = "0" /\n (["-"] DIGIT1 *DIGIT) ; - optional\nDIGIT1 = %x31-39 ; 1-9 non-zero digit\n\n; https://www.rfc-editor.org/rfc/rfc9535#section-2.3.4.1\nslice-selector = [start S] colon S [end S] [colon [S step ]] ; MODIFICATION: surrogate text rule used\n\nstart = int ; included in selection\nend = int ; not included in selection\nstep = int ; default: 1\n\n; https://www.rfc-editor.org/rfc/rfc9535#section-2.3.5.1\nfilter-selector = questionmark S logical-expr ; MODIFICATION: surrogate text rule used\n\nlogical-expr = logical-or-expr\nlogical-or-expr = logical-and-expr *(S disjunction S logical-and-expr) ; MODIFICATION: surrogate text rule used\n ; disjunction\n ; binds less tightly than conjunction\nlogical-and-expr = basic-expr *(S conjunction S basic-expr) ; MODIFICATION: surrogate text rule used\n ; conjunction\n ; binds more tightly than disjunction\n\nbasic-expr = paren-expr /\n comparison-expr /\n test-expr\n\nparen-expr = [logical-not-op S] left-paren S logical-expr S right-paren ; MODIFICATION: surrogate text rule used\n ; parenthesized expression\nlogical-not-op = "!" ; logical NOT operator\n\ntest-expr = [logical-not-op S]\n (filter-query / ; existence/non-existence\n function-expr) ; LogicalType or NodesType\nfilter-query = rel-query / jsonpath-query\nrel-query = current-node-identifier segments\ncurrent-node-identifier = "@"\n\ncomparison-expr = comparable S comparison-op S comparable\nliteral = number / string-literal /\n true / false / null\ncomparable = singular-query / ; singular query value\n function-expr / ; ValueType\n literal\n ; MODIFICATION: https://www.rfc-editor.org/errata/eid8352\ncomparison-op = "==" / "!=" /\n "<=" / ">=" /\n "<" / ">"\n\nsingular-query = rel-singular-query / abs-singular-query\nrel-singular-query = current-node-identifier singular-query-segments\nabs-singular-query = root-identifier singular-query-segments\nsingular-query-segments = *(S (name-segment / index-segment))\nname-segment = (left-bracket name-selector right-bracket) / ; MODIFICATION: surrogate text rule used\n (dot-prefix member-name-shorthand) ; MODIFICATION: surrogate text rule used\nindex-segment = left-bracket index-selector right-bracket ; MODIFICATION: surrogate text rule used\n\nnumber = (int / "-0") [ frac ] [ exp ] ; decimal number\nfrac = "." 1*DIGIT ; decimal fraction\nexp = "e" [ "-" / "+" ] 1*DIGIT ; decimal exponent\ntrue = %x74.72.75.65 ; true\nfalse = %x66.61.6c.73.65 ; false\nnull = %x6e.75.6c.6c ; null\n\n; https://www.rfc-editor.org/rfc/rfc9535#section-2.4\nfunction-name = function-name-first *function-name-char\nfunction-name-first = LCALPHA\nfunction-name-char = function-name-first / "_" / DIGIT\nLCALPHA = %x61-7A ; "a".."z"\n\nfunction-expr = function-name left-paren S [function-argument ; MODIFICATION: surrogate text rule used\n *(S comma S function-argument)] S right-paren ; MODIFICATION: surrogate text rule used\nfunction-argument = logical-expr / ; MODIFICATION: https://www.rfc-editor.org/errata/eid8343\n filter-query / ; (includes singular-query)\n function-expr /\n literal\n\n\n; https://www.rfc-editor.org/rfc/rfc9535#section-2.5\nsegment = child-segment / descendant-segment\n\n; https://www.rfc-editor.org/rfc/rfc9535#section-2.5.1.1\nchild-segment = bracketed-selection /\n (dot-prefix ; MODIFICATION: surrogate text rule used\n (wildcard-selector /\n member-name-shorthand))\n\nbracketed-selection = left-bracket S selector *(S comma S selector) S right-bracket\n ; MODIFICATION: surrogate text rule used\n\nmember-name-shorthand = name-first *name-char\nname-first = ALPHA /\n "_" /\n %x80-D7FF /\n ; skip surrogate code points\n %xE000-10FFFF\nname-char = name-first / DIGIT\n\nDIGIT = %x30-39 ; 0-9\nALPHA = %x41-5A / %x61-7A ; A-Z / a-z\n\n; https://www.rfc-editor.org/rfc/rfc9535#section-2.5.2.1\ndescendant-segment = double-dot-prefix (bracketed-selection / ; MODIFICATION: surrogate text rule used\n wildcard-selector /\n member-name-shorthand)\n\n; https://www.rfc-editor.org/rfc/rfc9535#name-normalized-paths\nnormalized-path = root-identifier *(normal-index-segment)\nnormal-index-segment = left-bracket normal-selector right-bracket ; MODIFICATION: surrogate text rule used\nnormal-selector = normal-name-selector / normal-index-selector\nnormal-name-selector = squote *normal-single-quoted squote ; \'string\', MODIFICATION: surrogate text rule used\nnormal-single-quoted = normal-unescaped /\n ESC normal-escapable\nnormal-unescaped = ; omit %x0-1F control codes\n %x20-26 /\n ; omit 0x27 \'\n %x28-5B /\n ; omit 0x5C \\\n %x5D-D7FF /\n ; skip surrogate code points\n %xE000-10FFFF\n\nnormal-escapable = %x62 / ; b BS backspace U+0008\n %x66 / ; f FF form feed U+000C\n %x6E / ; n LF line feed U+000A\n %x72 / ; r CR carriage return U+000D\n %x74 / ; t HT horizontal tab U+0009\n "\'" / ; \' apostrophe U+0027\n "\\" / ; \\ backslash (reverse solidus) U+005C\n (%x75 normal-hexchar)\n ; certain values u00xx U+00XX\nnormal-hexchar = "0" "0"\n (\n ("0" %x30-37) / ; "00"-"07"\n ; omit U+0008-U+000A BS HT LF\n ("0" %x62) / ; "0b"\n ; omit U+000C-U+000D FF CR\n ("0" %x65-66) / ; "0e"-"0f"\n ("1" normal-HEXDIG)\n )\nnormal-HEXDIG = DIGIT / %x61-66 ; "0"-"9", "a"-"f"\nnormal-index-selector = "0" / (DIGIT1 *DIGIT)\n ; non-negative decimal integer\n\n; Surrogate named rules\ndot-prefix = "."\ndouble-dot-prefix = ".."\nleft-bracket = "["\nright-bracket = "]"\nleft-paren = "("\nright-paren = ")"\ncomma = ","\ncolon = ":"\ndquote = %x22 ; "\nsquote = %x27 ; \'\nquestionmark = "?"\ndisjunction = "||"\nconjunction = "&&"\n'}};const qn=class extends kn{},Mn=e=>{if(!Array.isArray(e))throw new qn("Selectors must be an array, got: "+typeof e,{selectors:e});try{return`$${e.map(e=>{if("string"==typeof e)return`['${(e=>{if("string"!=typeof e)throw new TypeError("Selector must be a string");let t="";for(const s of e){const e=s.codePointAt(0);switch(e){case 8:t+="\\b";break;case 9:t+="\\t";break;case 10:t+="\\n";break;case 12:t+="\\f";break;case 13:t+="\\r";break;case 39:t+="\\'";break;case 92:t+="\\\\";break;default:t+=e<=31?`\\u${e.toString(16).padStart(4,"0")}`:s}}return t})(e)}']`;if("number"==typeof e){if(!Number.isSafeInteger(e)||e<0)throw new TypeError(`Index selector must be a non-negative safe integer, got: ${e}`);return`[${e}]`}throw new TypeError("Selector must be a string or non-negative integer, got: "+typeof e)}).join("")}`}catch(t){throw new qn("Failed to compile normalized JSONPath",{cause:t,selectors:e})}},Cn=(e,t,s,n)=>{const{realm:i}=e,{value:r}=s;if(i.isObject(t)&&i.hasProperty(t,r)){n(i.getProperty(t,r),r)}},$n=(e,t,s,n)=>{const{realm:i}=e,{value:r}=s;if(!i.isArray(t))return;const o=i.getLength(t),c=((e,t)=>e>=0?e:t+e)(r,o);if(c>=0&&c<o){n(i.getElement(t,c),c)}},An=(e,t,s,n)=>{const{realm:i}=e;for(const[e,s]of i.entries(t))n(s,e)},Pn=(e,t)=>e>=0?Math.min(e,t):Math.max(t+e,0),Fn=(e,t,s,n)=>{const{realm:i}=e,{start:r,end:o,step:c}=s;if(!i.isArray(t))return;const a=((e,t,s,n)=>{const i=s??1;if(0===i)return null;let r,o;if(i>0){const s=0,i=n,c=null!==e?Pn(e,n):s,a=null!==t?Pn(t,n):i;r=Math.max(c,0),o=Math.min(a,n)}else{const s=n-1,i=-n-1,c=null!==e?e>=0?Math.min(e,n-1):Math.max(n+e,-1):s,a=null!==t?t>=0?Math.min(t,n-1):Math.max(n+t,-1):i;o=Math.min(c,n-1),r=Math.max(a,-1)}return{lower:r,upper:o,step:i}})(r,o,c,i.getLength(t));if(null===a)return;const{lower:l,upper:u,step:d}=a;if(d>0)for(let e=l;e<u;e+=d){n(i.getElement(t,e),e)}else for(let e=u;e>l;e+=d){n(i.getElement(t,e),e)}},In=(e,t,s,n)=>n.value,Tn=(e,t,s)=>{const{realm:n}=e,{selector:i}=s;switch(i.type){case"NameSelector":{const{value:e}=i;return n.isObject(t)&&n.hasProperty(t,e)?n.getProperty(t,e):void 0}case"IndexSelector":{const{value:e}=i;if(!n.isArray(t))return;const s=n.getLength(t),r=e>=0?e:s+e;return r>=0&&r<s?n.getElement(t,r):void 0}default:return}},Dn=(e,t,s,n)=>{const{selectors:i}=s;for(const s of i)Xn(e,t,s,n)},Vn=(e,t,s)=>{const n=[],i=e=>{n.push(e)},{selector:r}=s;switch(r.type){case"BracketedSelection":Dn(e,t,r,i);break;case"NameSelector":case"WildcardSelector":case"IndexSelector":case"SliceSelector":case"FilterSelector":Xn(e,t,r,i)}return n},Nn=(e,t,s,n)=>{let i=s;for(const t of n){const s=[];if("DescendantSegment"===t.type){const n=i=>{const{realm:r}=e,o=Vn(e,i,t);s.push(...o);for(const[,e]of r.entries(i))n(e)};for(const e of i)n(e)}else for(const n of i){const i=Vn(e,n,t);s.push(...i)}i=s}return i},Rn=(e,t,s,n)=>{const{query:i}=n;let r;switch(i.type){case"RelQuery":r=((e,t,s,n)=>{const{segments:i}=n;return 0===i.length?[s]:Nn(e,0,[s],i)})(e,0,s,i);break;case"JsonPathQuery":r=((e,t,s,n)=>{const{segments:i}=n;return 0===i.length?[t]:Nn(e,0,[t],i)})(e,t,0,i);break;default:r=[]}return o=r,Object.defineProperty(o,"_isNodelist",{value:!0,enumerable:!1,writable:!1}),o;var o};let Ln;const _n=(e,t,s,n)=>{const{name:i,arguments:r}=n,o=e.functions[i];if("function"!=typeof o)return;const c=r.map(n=>((e,t,s,n)=>{switch(n.type){case"Literal":case"RelSingularQuery":case"AbsSingularQuery":case"FunctionExpr":return Jn(e,t,s,n);case"FilterQuery":return Rn(e,t,s,n);case"TestExpr":return"FilterQuery"===n.expression.type?Rn(e,t,s,n.expression):"FunctionExpr"===n.expression.type?Jn(e,t,s,n.expression):Ln(e,t,s,n);case"LogicalOrExpr":case"LogicalAndExpr":case"LogicalNotExpr":case"ComparisonExpr":return Ln(e,t,s,n);default:return}})(e,t,s,n));return o(e.realm,...c)},Jn=(e,t,s,n)=>{switch(n.type){case"Literal":return In(e,t,s,n);case"RelSingularQuery":return((e,t,s,n)=>{let i=s;for(const t of n.segments)if(i=Tn(e,i,t),void 0===i)return;return i})(e,0,s,n);case"AbsSingularQuery":return((e,t,s,n)=>{let i=t;for(const t of n.segments)if(i=Tn(e,i,t),void 0===i)return;return i})(e,t,0,n);case"FunctionExpr":return _n(e,t,s,n);default:return}},Un=(e,t,s,n)=>{const{left:i,op:r,right:o}=n,c=Jn(e,t,s,i),a=Jn(e,t,s,o);return e.realm.compare(c,r,a)},Hn=e=>Array.isArray(e),Gn=(e,t,s,n)=>{switch(n.type){case"LogicalOrExpr":return!!Gn(e,t,s,n.left)||Gn(e,t,s,n.right);case"LogicalAndExpr":return!!Gn(e,t,s,n.left)&&Gn(e,t,s,n.right);case"LogicalNotExpr":return!Gn(e,t,s,n.expression);case"TestExpr":{const{expression:i}=n;if("FilterQuery"===i.type){return Rn(e,t,s,i).length>0}if("FunctionExpr"===i.type){const n=_n(e,t,s,i);return"boolean"==typeof n?n:void 0!==n&&(Hn(n)?n.length>0:Boolean(n))}return!1}case"ComparisonExpr":return Un(e,t,s,n);default:return!1}};Ln=Gn;const zn=Gn,Wn=(e,t,s,n)=>{const{realm:i,root:r}=e,{expression:o}=s;for(const[s,c]of i.entries(t)){zn(e,r,c,o)&&n(c,s)}},Xn=(e,t,s,n)=>{switch(s.type){case"NameSelector":Cn(e,t,s,n);break;case"IndexSelector":$n(e,t,s,n);break;case"WildcardSelector":An(e,t,s,n);break;case"SliceSelector":Fn(e,t,s,n);break;case"FilterSelector":Wn(e,t,s,n)}};new Map;class Kn{node;key;index;parent;parentPath;inList;#e=!1;#t=!1;#s=!1;#n=!1;#i;#r=!1;constructor(e,t,s,n,i){this.node=e,this.parent=t,this.parentPath=s,this.key=n,this.index=i&&"number"==typeof n?n:void 0,this.inList=i}get shouldSkip(){return this.#e}get shouldStop(){return this.#t}get removed(){return this.#s}isRoot(){return null===this.parentPath}get depth(){let e=0,t=this.parentPath;for(;null!==t;)e+=1,t=t.parentPath;return e}getAncestry(){const e=[];let t=this.parentPath;for(;null!==t;)e.push(t),t=t.parentPath;return e}getAncestorNodes(){return this.getAncestry().map(e=>e.node)}getPathKeys(){const e=[];let t=this;for(;null!==t&&void 0!==t.key;)e.unshift(t.key),t=t.parentPath;return e}formatPath(e="jsonpointer"){const t=this.getPathKeys();return 0===t.length?"jsonpath"===e?"$":"":"jsonpath"===e?Mn(t):jn(t)}findParent(e){let t=this.parentPath;for(;null!==t;){if(e(t))return t;t=t.parentPath}return null}find(e){return e(this)?this:this.findParent(e)}skip(){this.#e=!0}stop(){this.#t=!0}replaceWith(e){this.#r&&console.warn("Warning: replaceWith() called on a stale Path. This path belongs to a node whose visit has already completed. The replacement will have no effect. To replace a parent node, do so from the parent's own visitor."),this.#n=!0,this.#i=e,this.node=e}remove(){this.#r&&console.warn("Warning: remove() called on a stale Path. This path belongs to a node whose visit has already completed. The removal will have no effect. To remove a parent node, do so from the parent's own visitor."),this.#s=!0}_getReplacementNode(){return this.#i}_wasReplaced(){return this.#n}_reset(){this.#e=!1,this.#t=!1,this.#s=!1,this.#n=!1,this.#i=void 0}_markStale(){this.#r=!0}}const Yn=Bt(1,$t(hn,We(pt,P("[object Promise]")))),Qn=e=>{const t=e?.element;return void 0===t||"element"===t?"Element":`${t.charAt(0).toUpperCase()}${t.slice(1)}Element`},Zn=e=>fs(e),ei=e=>Rs(e),ti=(e,t,s)=>{Bs(e)?e.value=s:Array.isArray(e)?e[t]=null===s?void 0:s:null===s?delete e[t]:e[t]=s},si=e=>Bs(e)?["key","value"]:Ss(e)||ws(e)?["content"]:[],ni=(e,t)=>{if(void 0!==e[t])return e[t];const s=t.length;for(const n in e){if(!n.includes("|"))continue;const i=n.indexOf(t);if(-1===i)continue;const r=0===i||"|"===n[i-1],o=i+s===n.length||"|"===n[i+s];if(r&&o)return e[n]}},ii=(e,t,s)=>{if(void 0===t)return null;const n=e,i=s?"leave":"enter",r=ni(n,t);if(!s&&"function"==typeof r)return r;if(null!=r){const e=r[i];if("function"==typeof e)return e}const o=n[i];if("function"==typeof o)return o;if(null!=o){const e=ni(o,t);if("function"==typeof e)return e}return null},ri=(e,t={})=>{const{visitFnGetter:s=ii,nodeTypeGetter:n=Qn,exposeEdits:i=!1}=t,r=Symbol("internal-skip"),o=Symbol("break"),c=new Array(e.length).fill(r);return{enter(t){let a=t.node,l=!1;for(let u=0;u<e.length;u+=1)if(c[u]===r){const r=s(e[u],n(a),!1);if("function"==typeof r){const s=ci(t,a),n=r.call(e[u],s);if(Yn(n))throw new $s("Async visitor not supported in sync mode",{visitor:e[u],visitFn:r});if(s.shouldStop){c[u]=o;break}if(s.shouldSkip&&(c[u]=a),s.removed)return void t.remove();if(s._wasReplaced()){const e=s._getReplacementNode();if(!i)return t.replaceWith(e),e;a=e,l=!0}else if(void 0!==n){if(!i)return t.replaceWith(n),n;a=n,l=!0}}}if(l)return t.replaceWith(a),a},leave(t){const i=t.node;for(let a=0;a<e.length;a+=1)if(c[a]===r){const r=s(e[a],n(i),!0);if("function"==typeof r){const s=ci(t,i),n=r.call(e[a],s);if(Yn(n))throw new $s("Async visitor not supported in sync mode",{visitor:e[a],visitFn:r});if(s.shouldStop){c[a]=o;break}if(s.removed)return void t.remove();if(s._wasReplaced()){const e=s._getReplacementNode();return t.replaceWith(e),e}if(void 0!==n)return t.replaceWith(n),n}}else c[a]===i&&(c[a]=r)}}},oi=(e,t={})=>{const{visitFnGetter:s=ii,nodeTypeGetter:n=Qn,exposeEdits:i=!1}=t,r=Symbol("internal-skip"),o=Symbol("break"),c=new Array(e.length).fill(r);return{async enter(t){let a=t.node,l=!1;for(let u=0;u<e.length;u+=1)if(c[u]===r){const r=s(e[u],n(a),!1);if("function"==typeof r){const s=ci(t,a),n=await r.call(e[u],s);if(s.shouldStop){c[u]=o;break}if(s.shouldSkip&&(c[u]=a),s.removed)return void t.remove();if(s._wasReplaced()){const e=s._getReplacementNode();if(!i)return t.replaceWith(e),e;a=e,l=!0}else if(void 0!==n){if(!i)return t.replaceWith(n),n;a=n,l=!0}}}if(l)return t.replaceWith(a),a},async leave(t){const i=t.node;for(let a=0;a<e.length;a+=1)if(c[a]===r){const r=s(e[a],n(i),!0);if("function"==typeof r){const s=ci(t,i),n=await r.call(e[a],s);if(s.shouldStop){c[a]=o;break}if(s.removed)return void t.remove();if(s._wasReplaced()){const e=s._getReplacementNode();return t.replaceWith(e),e}if(void 0!==n)return t.replaceWith(n),n}}else c[a]===i&&(c[a]=r)}}};function ci(e,t){return new Kn(t,e.parent,e.parentPath,e.key,e.inList)}function*ai(e,t,s){const{keyMap:n,state:i,nodeTypeGetter:r,nodePredicate:o,nodeCloneFn:c,detectCycles:a,mutable:l,mutationFn:u}=s,d="function"==typeof n;let p,h,m=Array.isArray(e),g=[e],f=-1,y=[],b=e,v=null,x=null;const S=[];do{f+=1;const e=f===g.length;let s;const w=e&&0!==y.length;if(e){if(s=0===S.length?void 0:v?.key,b=h,h=S.pop(),x=v?.parentPath?.parentPath??null,w)if(l)for(const[e,t]of y)u(b,e,t);else if(m){b=b.slice();let e=0;for(const[t,s]of y){const n=t-e;null===s?(b.splice(n,1),e+=1):b[n]=s}}else{b=c(b);for(const[e,t]of y)b[e]=t}if(void 0!==p){f=p.index,g=p.keys,y=p.edits;const e=p.inArray;if(x=p.parentPath,p=p.prev,w&&!l){const t=e?f:g[f];y.push([t,b])}m=e}}else if(void 0!==h&&(s=m?f:g[f],b=h[s],void 0===b))continue;if(!Array.isArray(b)){if(!o(b))throw new $s(`Invalid AST Node: ${String(b)}`,{node:b});if(a&&S.includes(b))continue;v=new Kn(b,h,x,s,m);const n=ii(t,r(b),e);if(n){for(const[e,s]of Object.entries(i))t[e]=s;const r=yield{visitFn:n,path:v,isLeaving:e};if(v.shouldStop)break;if(v.shouldSkip&&!e)continue;if(v.removed){if(y.push([s,null]),!e)continue}else if(v._wasReplaced()){const t=v._getReplacementNode();if(y.push([s,t]),!e){if(!o(t))continue;b=t}}else if(void 0!==r&&(y.push([s,r]),!e)){if(!o(r))continue;b=r}v._markStale()}}if(!e){if(p={inArray:m,index:f,keys:g,edits:y,parentPath:x,prev:p},m=Array.isArray(b),m)g=b;else if(d)g=n(b);else{const e=r(b);g=void 0!==e?n[e]??[]:[]}f=-1,y=[],void 0!==h&&S.push(h),h=b,x=v}}while(void 0!==p);return 0!==y.length?y.at(-1)[1]:e}ri[Symbol.for("nodejs.util.promisify.custom")]=oi;const li=(e,t,s={})=>{const n=ai(e,t,{keyMap:s.keyMap??si,state:s.state??{},nodeTypeGetter:s.nodeTypeGetter??Qn,nodePredicate:s.nodePredicate??Zn,nodeCloneFn:s.nodeCloneFn??ei,detectCycles:s.detectCycles??!0,mutable:s.mutable??!1,mutationFn:s.mutationFn??ti});let i=n.next();for(;!i.done;){const e=i.value,s=e.visitFn.call(t,e.path);if(Yn(s))throw new $s("Async visitor not supported in sync mode",{visitor:t,visitFn:e.visitFn});i=n.next(s)}return i.value},ui=async(e,t,s={})=>{const n=ai(e,t,{keyMap:s.keyMap??si,state:s.state??{},nodeTypeGetter:s.nodeTypeGetter??Qn,nodePredicate:s.nodePredicate??Zn,nodeCloneFn:s.nodeCloneFn??ei,detectCycles:s.detectCycles??!0,mutable:s.mutable??!1,mutationFn:s.mutationFn??ti});let i=n.next();for(;!i.done;){const e=i.value,s=await e.visitFn.call(t,e.path);i=n.next(s)}return i.value};li[Symbol.for("nodejs.util.promisify.custom")]=ui,Kn.prototype.traverse=function(e,t){return li(this.node,e,t)},Kn.prototype.traverseAsync=function(e,t){return ui(this.node,e,t)};const di=class extends en{specObj;passingOptionsNames=["specObj","parent"];constructor({specObj:e,...t}){super({...t}),this.specObj=e}retrievePassingOptions(){return fn(this.passingOptionsNames,this)}retrieveFixedFields(e){const t=Me(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]}retrieveVisitor(e){return ht(Jt,["visitors",...e],this.specObj)?Me(["visitors",...e],this.specObj):Me(["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 tn&&n?.constructor===tn?Ds(t):(li(t,n,s),n.element)}};const pi=class extends di{specPath;ignoredFields;constructor({specPath:e,ignoredFields:t,...s}){super({...s}),this.specPath=e,this.ignoredFields=t||[]}ObjectElement(e){const t=e.node,s=this.specPath(t),n=this.retrieveFixedFields(s);t.forEach((e,t,i)=>{const r=Ws(t);if(ys(t)&&n.includes(r)&&!this.ignoredFields.includes(r)){const n=this.toRefractedElement([...s,"fixedFields",r],e),o=new L(Ds(t),n);this.copyMetaAndAttributes(i,o),o.classes.push("fixed-field"),this.element.content.push(o)}else this.ignoredFields.includes(r)||this.element.content.push(Ds(i))}),this.copyMetaAndAttributes(t,this.element),e.stop()}},hi=(e,t,s=[])=>{const n=Object.getOwnPropertyDescriptors(t);for(let e of s)delete n[e];Object.defineProperties(e,n)},mi=(e,t=[e])=>{const s=Object.getPrototypeOf(e);return null===s?t:mi(s,[...t,s])},gi=(e,t,s=[])=>{var n;const i=null!==(n=((...e)=>{if(0===e.length)return;let t;const s=e.map(e=>mi(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,r=Object.create(i),o=mi(i);for(let t of e){let e=mi(t);for(let t=e.length-1;t>=0;t--){let n=e[t];-1===o.indexOf(n)&&(hi(r,n,["constructor",...s]),o.push(n))}}return r.constructor=t,r},fi=e=>e.filter((t,s)=>e.indexOf(t)==s),yi=(e,t)=>{const s=t.map(e=>mi(e));let n=0,i=!0;for(;i;){i=!1;for(let r=t.length-1;r>=0;r--){const t=s[r][n];if(null!=t&&(i=!0,null!=Object.getOwnPropertyDescriptor(t,e)))return s[r][0]}n++}},bi=(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(yi(s,e)||{},s),defineProperty(){throw new Error("Cannot define new properties on Proxies created by ts-mixer")},has:(s,n)=>void 0!==yi(n,e)||void 0!==t[n],get:(s,n)=>(yi(n,e)||t)[n],set(t,s,n){const i=yi(s,e);if(void 0===i)throw new Error("Cannot set new properties on Proxies created by ts-mixer");return i[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)))}),vi=null,xi="copy",Si="copy",wi="deep",Bi=new WeakMap,Ei=e=>Bi.get(e),ji=(e,t)=>{var s,n;const i=fi([...Object.getOwnPropertyNames(e),...Object.getOwnPropertyNames(t)]),r={};for(let o of i)r[o]=fi([...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 r},Oi=(e,t)=>{var s,n,i,r;return{property:ji(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:ji(null!==(i=null==e?void 0:e.method)&&void 0!==i?i:{},null!==(r=null==t?void 0:t.method)&&void 0!==r?r:{})}},ki=(e,t)=>{var s,n,i,r,o,c;return{class:fi([...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:Oi(null!==(i=null==e?void 0:e.static)&&void 0!==i?i:{},null!==(r=null==t?void 0:t.static)&&void 0!==r?r:{}),instance:Oi(null!==(o=null==e?void 0:e.instance)&&void 0!==o?o:{},null!==(c=null==t?void 0:t.instance)&&void 0!==c?c:{})}},qi=new Map,Mi=(...e)=>{const t=((...e)=>{var t;const s=new Set,n=new Set([...e]);for(;n.size>0;)for(let e of n){const i=[...mi(e.prototype).map(e=>e.constructor),...null!==(t=Ei(e))&&void 0!==t?t:[]].filter(e=>!s.has(e));for(let e of i)n.add(e);s.add(e),n.delete(e)}return[...s]})(...e).map(e=>qi.get(e)).filter(e=>!!e);return 0==t.length?{}:1==t.length?t[0]:t.reduce((e,t)=>ki(e,t))},Ci=e=>{let t=qi.get(e);return t||(t={},qi.set(e,t)),t};function $i(...e){var t,s,n;const i=e.map(e=>e.prototype),r=vi;if(null!==r){const e=i.map(e=>e[r]).filter(e=>"function"==typeof e),t=function(...t){for(let s of e)s.apply(this,t)},s={[r]:t};i.push(s)}function o(...t){for(const s of e)hi(this,new s(...t));null!==r&&"function"==typeof this[r]&&this[r].apply(this,t)}var c,a;o.prototype="copy"===Si?gi(i,o):(c=i,a=o,bi([...c,{constructor:a}])),Object.setPrototypeOf(o,"copy"===xi?gi(e,null,["prototype"]):bi(e,Function.prototype));let l=o;if("none"!==wi){const i="deep"===wi?Mi(...e):((...e)=>{const t=e.map(e=>Ci(e));return 0===t.length?{}:1===t.length?t[0]:t.reduce((e,t)=>ki(e,t))})(...e);for(let e of null!==(t=null==i?void 0:i.class)&&void 0!==t?t:[]){const t=e(l);t&&(l=t)}Ai(null!==(s=null==i?void 0:i.static)&&void 0!==s?s:{},l),Ai(null!==(n=null==i?void 0:i.instance)&&void 0!==n?n:{},l.prototype)}var u,d;return u=l,d=e,Bi.set(u,d),l}const Ai=(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 Pi=function(){return!1};const Fi=class extends di{specPath;ignoredFields;fieldPatternPredicate=Pi;constructor({specPath:e,ignoredFields:t,fieldPatternPredicate:s,...n}){super({...n}),this.specPath=e,this.ignoredFields=t||[],"function"==typeof s&&(this.fieldPatternPredicate=s)}ObjectElement(e){const t=e.node;t.forEach((e,t,s)=>{const n=Ws(t);if(!this.ignoredFields.includes(n)&&this.fieldPatternPredicate(n)){const n=this.specPath(e),i=this.toRefractedElement(n,e),r=new L(Ds(t),i);this.copyMetaAndAttributes(s,r),r.classes.push("patterned-field"),this.element.content.push(r)}else this.ignoredFields.includes(n)||this.element.content.push(Ds(s))}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const Ii=class extends Fi{constructor(e){super(e),this.fieldPatternPredicate=gn}};const Ti=class{parent;constructor({parent:e}){this.parent=e}},Di=$i(pi,Ti,tn),Vi=$i(pi,tn),Ni=$i(pi,tn),Ri=$i(pi,tn),Li=$i(di,Ti,tn),_i=$i(di,Ti,tn),Ji=$i(di,Ti,tn),Ui=$i(di,Ti,tn),Hi=$i(di,Ti,tn),Gi=$i(Ii,Ti,tn),zi=$i(Ii,Ti,tn),Wi=$i(Ii,Ti,tn),Xi=$i(Ii,Ti,tn);const Ki=class extends Di{constructor(e){super(e),this.element=new as,this.specPath=sn(["document","objects","JSONSchema"])}get defaultDialectIdentifier(){return"http://json-schema.org/draft-04/schema#"}ObjectElement(e){const t=e.node;return this.handleDialectIdentifier(t),this.handleSchemaIdentifier(t),this.parent=this.element,pi.prototype.ObjectElement.call(this,e)}handleDialectIdentifier(e){if(on(this.parent)&&!ys(e.get("$schema")))this.element.meta.set("inheritedDialectIdentifier",this.defaultDialectIdentifier);else if(this.parent instanceof as&&!ys(e.get("$schema"))){const e=nn(Ws(this.parent.meta.get("inheritedDialectIdentifier")),Ws(this.parent.$schema));this.element.meta.set("inheritedDialectIdentifier",e)}}handleSchemaIdentifier(e,t="id"){const s=void 0!==this.parent?Ds(this.parent.meta.get("ancestorsSchemaIdentifiers")??new gs):new gs,n=Ws(e.get(t));gn(n)&&s.push(n),this.element.meta.set("ancestorsSchemaIdentifiers",s)}},Yi=e=>ws(e)&&e.hasKey("$ref");const Qi=class extends Ui{ObjectElement(e){const t=e.node,s=Yi(t)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];this.element=this.toRefractedElement(s,t),e.stop()}ArrayElement(e){const t=e.node;this.element=new gs,this.element.classes.push("json-schema-items"),t.forEach(e=>{const t=Yi(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const Zi=class extends tn{ArrayElement(e){super.enter(e),this.element.classes.push("json-schema-required")}};const er=class extends Xi{constructor(e){super(e),this.element=new _,this.element.classes.push("json-schema-properties"),this.specPath=e=>Yi(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}};const tr=class extends Wi{constructor(e){super(e),this.element=new _,this.element.classes.push("json-schema-patternProperties"),this.specPath=e=>Yi(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}};const sr=class extends zi{constructor(e){super(e),this.element=new _,this.element.classes.push("json-schema-dependencies"),this.specPath=e=>Yi(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}};const nr=class extends tn{ArrayElement(e){super.enter(e),this.element.classes.push("json-schema-enum")}};const ir=class extends tn{StringElement(e){super.enter(e),this.element.classes.push("json-schema-type")}ArrayElement(e){super.enter(e),this.element.classes.push("json-schema-type")}};const rr=class extends Li{constructor(e){super(e),this.element=new gs,this.element.classes.push("json-schema-allOf")}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=Yi(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const or=class extends _i{constructor(e){super(e),this.element=new gs,this.element.classes.push("json-schema-anyOf")}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=Yi(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const cr=class extends Ji{constructor(e){super(e),this.element=new gs,this.element.classes.push("json-schema-oneOf")}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=Yi(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const ar=class extends Gi{constructor(e){super(e),this.element=new _,this.element.classes.push("json-schema-definitions"),this.specPath=e=>Yi(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}};const lr=class extends Hi{constructor(e){super(e),this.element=new gs,this.element.classes.push("json-schema-links")}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=this.toRefractedElement(["document","objects","LinkDescription"],e);this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const ur=class extends Vi{constructor(e){super(e),this.element=new ls,this.specPath=sn(["document","objects","JSONReference"])}ObjectElement(e){pi.prototype.ObjectElement.call(this,e),ys(this.element.$ref)&&this.element.classes.push("reference-element")}};const dr=class extends tn{StringElement(e){super.enter(e),this.element.classes.push("reference-value")}};const pr=function(){return!0};const hr=Be(function(e,t,s){return Bt(Math.max(e.length,t.length,s.length),function(){return e.apply(this,arguments)?t.apply(this,arguments):s.apply(this,arguments)})});const mr=r(function(e){return function(t,s){return e(t,s)?-1:e(s,t)?1:0}});var gr=y(function(e,t){return Array.prototype.slice.call(t,0).sort(e)});const fr=gr;const yr=r(function(e){return o(0,e)});function br(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}const vr=r(br);const xr=Pt(be);const Sr=Bt(1,Jt(Array.isArray)?Array.isArray:We(C,Ke("Array")));const wr=$t(Sr,dn);function Br(e){return function(e){if(Array.isArray(e))return Er(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 Er(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)?Er(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 Er(e,t){(null==t||t>e.length)&&(t=e.length);for(var s=0,n=Array(t);s<t;s++)n[s]=e[s];return n}var jr=We(fr(mr(function(e,t){return e.length>t.length})),yr,Oe("length")),Or=Kt(function(e,t,s){var n=s.apply(void 0,Br(e));return xr(n)?vr(n):t});const kr=hr(wr,function(e){var t=jr(e);return Bt(t,function(){for(var t=arguments.length,s=new Array(t),n=0;n<t;n++)s[n]=arguments[n];return Ue(Or(s),void 0,e)})},rn);const qr=class extends di{alternator;constructor({alternator:e,...t}){super({...t}),this.alternator=e}enter(e){const t=e.node,s=this.alternator.map(({predicate:e,specPath:t})=>hr(e,sn(t),rn)),n=kr(s)(t);this.element=this.toRefractedElement(n,t),e.stop()}};const Mr=class extends qr{constructor(e){super(e),this.alternator=[{predicate:Yi,specPath:["document","objects","JSONReference"]},{predicate:pr,specPath:["document","objects","JSONSchema"]}]}};const Cr=class extends Ri{constructor(e){super(e),this.element=new us,this.specPath=sn(["document","objects","Media"])}};const $r=class extends Ni{constructor(e){super(e),this.element=new ds,this.specPath=sn(["document","objects","LinkDescription"])}},Ar={visitors:{value:tn,JSONSchemaOrJSONReferenceVisitor:Mr,document:{objects:{JSONSchema:{element:"jSONSchemaDraft4",$visitor:Ki,fixedFields:{id:{$visitor:tn,alias:"idField"},$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:Mr,items:{$visitor:Qi,alias:"itemsField"},maxItems:{$ref:"#/visitors/value"},minItems:{$ref:"#/visitors/value"},uniqueItems:{$ref:"#/visitors/value"},maxProperties:{$ref:"#/visitors/value"},minProperties:{$ref:"#/visitors/value"},required:Zi,properties:er,additionalProperties:Mr,patternProperties:tr,dependencies:sr,enum:nr,type:ir,allOf:rr,anyOf:or,oneOf:cr,not:Mr,definitions:ar,title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},format:{$ref:"#/visitors/value"},base:{$ref:"#/visitors/value"},links:{$visitor:lr,alias:"linksField"},media:{$ref:"#/visitors/document/objects/Media"},readOnly:{$ref:"#/visitors/value"}}},JSONReference:{element:"jSONReference",$visitor:ur,fixedFields:{$ref:dr}},Media:{element:"media",$visitor:Cr,fixedFields:{binaryEncoding:{$ref:"#/visitors/value"},type:{$ref:"#/visitors/value"}}},LinkDescription:{element:"linkDescription",$visitor:$r,fixedFields:{href:{$ref:"#/visitors/value"},rel:{$ref:"#/visitors/value"},title:{$ref:"#/visitors/value"},targetSchema:Mr,mediaType:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},encType:{$ref:"#/visitors/value"},schema:Mr}}}}}},Pr=cs(Ar),Fr=e=>Object.entries(e).map(([e,t])=>zt(t)?{name:e,...t}:{name:e,$visitor:t});Object.defineProperty(as,"fixedFields",{get:()=>Fr(Pr.visitors.document.objects.JSONSchema.fixedFields),enumerable:!0}),Object.defineProperty(ls,"fixedFields",{get:()=>Fr(Pr.visitors.document.objects.JSONReference.fixedFields),enumerable:!0}),Object.defineProperty(us,"fixedFields",{get:()=>Fr(Pr.visitors.document.objects.Media.fixedFields),enumerable:!0}),Object.defineProperty(ds,"fixedFields",{get:()=>Fr(Pr.visitors.document.objects.LinkDescription.fixedFields),enumerable:!0});const Ir=class extends as{constructor(e,t,s){super(e,t,s),this.element="JSONSchemaDraft6"}get idField(){throw new p("id keyword from Core vocabulary has been renamed to $id.")}set idField(e){throw new p("id keyword from Core vocabulary has been renamed to $id.")}get $id(){return this.get("$id")}set $id(e){this.set("$id",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get containsField(){return this.get("contains")}set containsField(e){this.set("contains",e)}get itemsField(){return this.get("items")}set itemsField(e){this.set("items",e)}get propertyNames(){return this.get("propertyNames")}set propertyNames(e){this.set("propertyNames",e)}get const(){return this.get("const")}set const(e){this.set("const",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}};const Tr=class extends ds{get hrefSchema(){return this.get("hrefSchema")}set hrefSchema(e){this.set("hrefSchema",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get schema(){throw new p("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}set schema(e){throw new p("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}get submissionSchema(){return this.get("submissionSchema")}set submissionSchema(e){this.set("submissionSchema",e)}get method(){throw new p("method keyword from Hyper-Schema vocabulary has been removed.")}set method(e){throw new p("method keyword from Hyper-Schema vocabulary has been removed.")}get encType(){throw new p("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}set encType(e){throw new p("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}get submissionEncType(){return this.get("submissionEncType")}set submissionEncType(e){this.set("submissionEncType",e)}};var Dr=Be(function e(t,s,n){if(0===t.length)return s;var i=t[0];if(t.length>1){var r=je(i,n);(be(r)||"object"!=typeof r)&&(r=Ee(t[1])?[]:{}),s=e(Array.prototype.slice.call(t,1),s,r)}return function(e,t,s){if(Ee(e)&&Ae(s)){var n=e<0?s.length+e:e,i=[].concat(s);return i[n]=t,i}var r={};for(var o in s)r[o]=s[o];return r[e]=t,r}(i,s,n)});const Vr=Dr;const Nr=Be(function(e,t,s){var n=Array.prototype.slice.call(s,0);return n.splice(e,t),n});var Rr=Be(function(e,t,s){return Vr([e],t,s)});const Lr=Rr;var _r=y(function e(t,s){if(null==s)return s;switch(t.length){case 0:return s;case 1:return function(e,t){if(null==t)return t;if(Ee(e)&&Ae(t))return Nr(e,1,t);var s={};for(var n in t)s[n]=t[n];return delete s[e],s}(t[0],s);default:var n=t[0],i=Array.prototype.slice.call(t,1);return null==s[n]?function(e,t){if(Ee(e)&&Ae(t))return[].concat(t);var s={};for(var n in t)s[n]=t[n];return s}(n,s):Lr(n,e(i,s[n]),s)}});const Jr=_r;const Ur=class extends Ki{constructor(e){super(e),this.element=new Ir}get defaultDialectIdentifier(){return"http://json-schema.org/draft-06/schema#"}BooleanElement(e){this.enter(e),this.element.classes.push("boolean-json-schema")}handleSchemaIdentifier(e,t="$id"){return super.handleSchemaIdentifier(e,t)}};const Hr=class extends Qi{BooleanElement(e){this.element=this.toRefractedElement(["document","objects","JSONSchema"],e.node),e.stop()}};const Gr=class extends tn{ArrayElement(e){this.enter(e),this.element.classes.push("json-schema-examples")}};const zr=class extends $r{constructor(e){super(e),this.element=new Tr}},Wr=We(Vr(["visitors","document","objects","JSONSchema","element"],"jSONSchemaDraft6"),Vr(["visitors","document","objects","JSONSchema","$visitor"],Ur),Jr(["visitors","document","objects","JSONSchema","fixedFields","id"]),Vr(["visitors","document","objects","JSONSchema","fixedFields","$id"],{$ref:"#/visitors/value"}),Vr(["visitors","document","objects","JSONSchema","fixedFields","contains"],{$visitor:Ar.visitors.JSONSchemaOrJSONReferenceVisitor,alias:"containsField"}),Vr(["visitors","document","objects","JSONSchema","fixedFields","items"],{$visitor:Hr,alias:"itemsField"}),Vr(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],Ar.visitors.JSONSchemaOrJSONReferenceVisitor),Vr(["visitors","document","objects","JSONSchema","fixedFields","const"],{$ref:"#/visitors/value"}),Vr(["visitors","document","objects","JSONSchema","fixedFields","examples"],Gr),Vr(["visitors","document","objects","LinkDescription","$visitor"],zr),Vr(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],Ar.visitors.JSONSchemaOrJSONReferenceVisitor),Jr(["visitors","document","objects","LinkDescription","fixedFields","schema"]),Vr(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],Ar.visitors.JSONSchemaOrJSONReferenceVisitor),Jr(["visitors","document","objects","LinkDescription","fixedFields","method"]),Jr(["visitors","document","objects","LinkDescription","fixedFields","encType"]),Vr(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"],{$ref:"#/visitors/value"}))(Ar),Xr=cs(Wr),Kr=e=>Object.entries(e).map(([e,t])=>zt(t)?{name:e,...t}:{name:e,$visitor:t});Object.defineProperty(Ir,"fixedFields",{get:()=>Kr(Xr.visitors.document.objects.JSONSchema.fixedFields),enumerable:!0}),Object.defineProperty(Tr,"fixedFields",{get:()=>Kr(Xr.visitors.document.objects.LinkDescription.fixedFields),enumerable:!0});const Yr=class extends Ir{constructor(e,t,s){super(e,t,s),this.element="JSONSchemaDraft7"}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",e)}get itemsField(){return this.get("items")}set itemsField(e){this.set("items",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 not(){return this.get("not")}set not(e){this.set("not",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 media(){throw new p('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}set media(e){throw new p('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}get writeOnly(){return this.get("writeOnly")}set writeOnly(e){this.set("writeOnly",e)}};const Qr=class extends Tr{get anchor(){return this.get("anchor")}set anchor(e){this.set("anchor",e)}get anchorPointer(){return this.get("anchorPointer")}set anchorPointer(e){this.set("anchorPointer",e)}get templatePointers(){return this.get("templatePointers")}set templatePointers(e){this.set("templatePointers",e)}get templateRequired(){return this.get("templateRequired")}set templateRequired(e){this.set("templateRequired",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){throw new p("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}set mediaType(e){throw new p("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}get targetMediaType(){return this.get("targetMediaType")}set targetMediaType(e){this.set("targetMediaType",e)}get targetHints(){return this.get("targetHints")}set targetHints(e){this.set("targetHints",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",e)}get hrefSchema(){return this.get("hrefSchema")}set hrefSchema(e){this.set("hrefSchema",e)}get headerSchema(){return this.get("headerSchema")}set headerSchema(e){this.set("headerSchema",e)}get submissionSchema(){return this.get("submissionSchema")}set submissionSchema(e){this.set("submissionSchema",e)}get submissionEncType(){throw new p("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}set submissionEncType(e){throw new p("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}get submissionMediaType(){return this.get("submissionMediaType")}set submissionMediaType(e){this.set("submissionMediaType",e)}};const Zr=class extends Ur{constructor(e){super(e),this.element=new Yr}get defaultDialectIdentifier(){return"http://json-schema.org/draft-07/schema#"}};const eo=class extends zr{constructor(e){super(e),this.element=new Qr}},to=We(Vr(["visitors","document","objects","JSONSchema","element"],"jSONSchemaDraft7"),Vr(["visitors","document","objects","JSONSchema","$visitor"],Zr),Vr(["visitors","document","objects","JSONSchema","fixedFields","$comment"],Wr.visitors.value),Vr(["visitors","document","objects","JSONSchema","fixedFields","if"],Wr.visitors.JSONSchemaOrJSONReferenceVisitor),Vr(["visitors","document","objects","JSONSchema","fixedFields","then"],Wr.visitors.JSONSchemaOrJSONReferenceVisitor),Vr(["visitors","document","objects","JSONSchema","fixedFields","else"],Wr.visitors.JSONSchemaOrJSONReferenceVisitor),Jr(["visitors","document","objects","JSONSchema","fixedFields","media"]),Vr(["visitors","document","objects","JSONSchema","fixedFields","contentEncoding"],Wr.visitors.value),Vr(["visitors","document","objects","JSONSchema","fixedFields","contentMediaType"],Wr.visitors.value),Vr(["visitors","document","objects","JSONSchema","fixedFields","writeOnly"],Wr.visitors.value),Vr(["visitors","document","objects","LinkDescription","$visitor"],eo),Vr(["visitors","document","objects","LinkDescription","fixedFields","anchor"],Wr.visitors.value),Vr(["visitors","document","objects","LinkDescription","fixedFields","anchorPointer"],Wr.visitors.value),Jr(["visitors","document","objects","LinkDescription","fixedFields","mediaType"]),Vr(["visitors","document","objects","LinkDescription","fixedFields","targetMediaType"],Wr.visitors.value),Vr(["visitors","document","objects","LinkDescription","fixedFields","targetHints"],Wr.visitors.value),Vr(["visitors","document","objects","LinkDescription","fixedFields","description"],Wr.visitors.value),Vr(["visitors","document","objects","LinkDescription","fixedFields","$comment"],Wr.visitors.value),Vr(["visitors","document","objects","LinkDescription","fixedFields","headerSchema"],Wr.visitors.JSONSchemaOrJSONReferenceVisitor),Jr(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"]),Vr(["visitors","document","objects","LinkDescription","fixedFields","submissionMediaType"],Wr.visitors.value))(Wr),so=cs(to),no=e=>Object.entries(e).map(([e,t])=>zt(t)?{name:e,...t}:{name:e,$visitor:t});Object.defineProperty(Yr,"fixedFields",{get:()=>no(so.visitors.document.objects.JSONSchema.fixedFields),enumerable:!0}),Object.defineProperty(Qr,"fixedFields",{get:()=>no(so.visitors.document.objects.LinkDescription.fixedFields),enumerable:!0});const io=class extends Yr{constructor(e,t,s){super(e,t,s),this.element="schema",this.classes.push("json-schema-draft-7")}get not(){return this.get("not")}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 itemsField(){return this.get("items")}set itemsField(e){this.set("items",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get contains(){return this.get("contains")}set contains(e){this.set("contains",e)}get propertyNames(){return this.get("propertyNames")}set propertyNames(e){this.set("propertyNames",e)}get discriminator(){return this.get("discriminator")}get externalDocs(){return this.get("externalDocs")}get deprecated(){return this.get("deprecated")}};const ro=class extends _{constructor(e,t,s){super(e,t,s),this.element="securityRequirement"}};const oo=class extends _{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 co=class extends _{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 protocol(){return this.get("protocol")}set protocol(e){this.set("protocol",e)}get protocolVersion(){return this.get("protocolVersion")}set protocolVersion(e){this.set("protocolVersion",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)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}};const ao=class extends _{constructor(e,t,s){super(e,t,s),this.element="serverBindings"}get http(){return this.get("http")}set http(e){this.set("http",e)}get ws(){return this.get("ws")}set ws(e){this.set("ws",e)}get kafka(){return this.get("kafka")}set kafka(e){this.set("kafka",e)}get anypointmq(){return this.get("anypointmq")}set anypointmq(e){this.set("anypointmq",e)}get amqp(){return this.get("amqp")}set amqp(e){this.set("amqp",e)}get amqp1(){return this.get("amqp1")}set amqp1(e){this.set("amqp1",e)}get mqtt(){return this.get("mqtt")}set mqtt(e){this.set("mqtt",e)}get mqtt5(){return this.get("mqtt5")}set mqtt5(e){this.set("mqtt5",e)}get nats(){return this.get("nats")}set nats(e){this.set("nats",e)}get jms(){return this.get("jms")}set jms(e){this.set("jms",e)}get sns(){return this.get("sns")}set sns(e){this.set("sns",e)}get solace(){return this.get("solace")}set solace(e){this.set("solace",e)}get sqs(){return this.get("sqs")}set sqs(e){this.set("sqs",e)}get stomp(){return this.get("stomp")}set stomp(e){this.set("stomp",e)}get redis(){return this.get("redis")}set redis(e){this.set("redis",e)}get mercure(){return this.get("mercure")}set mercure(e){this.set("mercure",e)}get googlepubsub(){return this.get("googlepubsub")}set googlepubsub(e){this.set("googlepubsub",e)}get ibmmq(){return this.get("ibmmq")}set ibmmq(e){this.set("ibmmq",e)}};const lo=class extends _{constructor(e,t,s){super(e,t,s),this.element="servers"}};const uo=class extends _{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)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}};const po=class extends _{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 ho=class extends gs{constructor(e,t,s){super(e,t,s),this.element="tags"}};const mo=class extends _{constructor(e,t,s){super(e,t,s),this.element="amqpChannelBinding",this.classes.push("channel-binding")}get is(){return this.get("is")}set is(e){this.set("is",e)}get exchange(){return this.get("exchange")}set exchange(e){this.set("exchange",e)}get queue(){return this.get("queue")}set queue(e){this.set("queue",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const go=class extends _{constructor(e,t,s){super(e,t,s),this.element="amqpMessageBinding",this.classes.push("message-binding")}get contentEncoding(){return this.get("contentEncoding")}set contentEncoding(e){this.set("contentEncoding",e)}get messageType(){return this.get("messageType")}set messageType(e){this.set("messageType",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const fo=class extends _{constructor(e,t,s){super(e,t,s),this.element="amqpOperationBinding",this.classes.push("operation-binding")}get expiration(){return this.get("expiration")}set expiration(e){this.set("expiration",e)}get userId(){return this.get("userId")}set userId(e){this.set("userId",e)}get cc(){return this.get("cc")}set cc(e){this.set("cc",e)}get priority(){return this.get("priority")}set priority(e){this.set("priority",e)}get deliveryMode(){return this.get("deliveryMode")}set deliveryMode(e){this.set("deliveryMode",e)}get mandatory(){return this.get("mandatory")}set mandatory(e){this.set("mandatory",e)}get bcc(){return this.get("bcc")}set bcc(e){this.set("bcc",e)}get replyTo(){return this.get("replyTo")}set replyTo(e){this.set("replyTo",e)}get timestamp(){return this.get("timestamp")}set timestamp(e){this.set("timestamp",e)}get ack(){return this.get("ack")}set ack(e){this.set("ack",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const yo=class extends _{constructor(e,t,s){super(e,t,s),this.element="amqpServerBinding",this.classes.push("server-binding")}};const bo=class extends _{constructor(e,t,s){super(e,t,s),this.element="amqp1ChannelBinding",this.classes.push("channel-binding")}};const vo=class extends _{constructor(e,t,s){super(e,t,s),this.element="amqp1MessageBinding",this.classes.push("message-binding")}};const xo=class extends _{constructor(e,t,s){super(e,t,s),this.element="amqp1OperationBinding",this.classes.push("operation-binding")}};const So=class extends _{constructor(e,t,s){super(e,t,s),this.element="amqp1ServerBinding",this.classes.push("server-binding")}};const wo=class extends _{constructor(e,t,s){super(e,t,s),this.element="anypointmqChannelBinding",this.classes.push("channel-binding")}get destination(){return this.get("destination")}set destination(e){this.set("destination",e)}get destinationType(){return this.get("destinationType")}set destinationType(e){this.set("destinationType",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const Bo=class extends _{constructor(e,t,s){super(e,t,s),this.element="anypointmqMessageBinding",this.classes.push("message-binding")}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const Eo=class extends _{constructor(e,t,s){super(e,t,s),this.element="anypointmqOperationBinding",this.classes.push("operation-binding")}};const jo=class extends _{constructor(e,t,s){super(e,t,s),this.element="anypointmqServerBinding",this.classes.push("server-binding")}};const Oo=class extends _{constructor(e,t,s){super(e,t,s),this.element="googlepubsubChannelBinding",this.classes.push("channel-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}get labels(){return this.get("labels")}set labels(e){this.set("labels",e)}get messageRetentionDuration(){return this.get("messageRetentionDuration")}set messageRetentionDuration(e){this.set("messageRetentionDuration",e)}get messageStoragePolicy(){return this.get("messageStoragePolicy")}set messageStoragePolicy(e){this.set("messageStoragePolicy",e)}get schemaSettings(){return this.get("schemaSettings")}set schemaSettings(e){this.set("schemaSettings",e)}get topic(){return this.get("topic")}set topic(e){this.set("topic",e)}};const ko=class extends _{constructor(e,t,s){super(e,t,s),this.element="googlepubsubMessageBinding",this.classes.push("message-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}get attributesField(){return this.get("attributes")}set attributesField(e){this.set("attributes",e)}get orderingKey(){return this.get("orderingKey")}set orderingKey(e){this.set("orderingKey",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}};const qo=class extends _{constructor(e,t,s){super(e,t,s),this.element="googlepubsubOperationBinding",this.classes.push("operation-binding")}};const Mo=class extends _{constructor(e,t,s){super(e,t,s),this.element="googlepubsubServerBinding",this.classes.push("server-binding")}};const Co=class extends _{constructor(e,t,s){super(e,t,s),this.element="httpChannelBinding",this.classes.push("channel-binding")}};const $o=class extends _{constructor(e,t,s){super(e,t,s),this.element="httpMessageBinding",this.classes.push("message-binding")}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const Ao=class extends _{constructor(e,t,s){super(e,t,s),this.element="httpOperationBinding",this.classes.push("operation-binding")}get type(){return this.get("type")}set type(e){this.set("type",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get query(){return this.get("query")}set query(e){this.set("query",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const Po=class extends _{constructor(e,t,s){super(e,t,s),this.element="httpServerBinding",this.classes.push("server-binding")}};const Fo=class extends _{constructor(e,t,s){super(e,t,s),this.element="ibmmqChannelBinding",this.classes.push("channel-binding")}get destinationType(){return this.get("destinationType")}set destinationType(e){this.set("destinationType",e)}get queue(){return this.get("queue")}set queue(e){this.set("queue",e)}get topic(){return this.get("topic")}set topic(e){this.set("topic",e)}get maxMsgLength(){return this.get("maxMsgLength")}set maxMsgLength(e){this.set("maxMsgLength",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const Io=class extends _{constructor(e,t,s){super(e,t,s),this.element="ibmmqMessageBinding",this.classes.push("message-binding")}get type(){return this.get("type")}set type(e){this.set("type",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get expiry(){return this.get("expiry")}set expiry(e){this.set("expiry",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const To=class extends _{constructor(e,t,s){super(e,t,s),this.element="ibmmqOperationBinding",this.classes.push("operation-binding")}};const Do=class extends _{constructor(e,t,s){super(e,t,s),this.element="ibmmqServerBinding",this.classes.push("server-binding")}get groupId(){return this.get("groupId")}set groupId(e){this.set("groupId",e)}get ccdtQueueManagerName(){return this.get("ccdtQueueManagerName")}set ccdtQueueManagerName(e){this.set("ccdtQueueManagerName",e)}get cipherSpec(){return this.get("cipherSpec")}set cipherSpec(e){this.set("cipherSpec",e)}get multiEndpointServer(){return this.get("multiEndpointServer")}set multiEndpointServer(e){this.set("multiEndpointServer",e)}get heartBeatInterval(){return this.get("heartBeatInterval")}set heartBeatInterval(e){this.set("heartBeatInterval",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const Vo=class extends _{constructor(e,t,s){super(e,t,s),this.element="jmsChannelBinding",this.classes.push("channel-binding")}};const No=class extends _{constructor(e,t,s){super(e,t,s),this.element="jmsMessageBinding",this.classes.push("message-binding")}};const Ro=class extends _{constructor(e,t,s){super(e,t,s),this.element="jmsOperationBinding",this.classes.push("operation-binding")}};const Lo=class extends _{constructor(e,t,s){super(e,t,s),this.element="jmsServerBinding",this.classes.push("server-binding")}};const _o=class extends _{constructor(e,t,s){super(e,t,s),this.element="kafkaChannelBinding",this.classes.push("channel-binding")}get topic(){return this.get("topic")}set topic(e){this.set("topic",e)}get partitions(){return this.get("partitions")}set partitions(e){this.set("partitions",e)}get replicas(){return this.get("replicas")}set replicas(e){this.set("replicas",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const Jo=class extends _{constructor(e,t,s){super(e,t,s),this.element="kafkaMessageBinding",this.classes.push("message-binding")}get key(){return this.get("key")}set key(e){this.set("key",e)}get schemaIdLocation(){return this.get("schemaIdLocation")}set schemaIdLocation(e){this.set("schemaIdLocation",e)}get schemaIdPayloadEncoding(){return this.get("schemaIdPayloadEncoding")}set schemaIdPayloadEncoding(e){this.set("schemaIdPayloadEncoding",e)}get schemaLookupStrategy(){return this.get("schemaLookupStrategy")}set schemaLookupStrategy(e){this.set("schemaLookupStrategy",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const Uo=class extends _{constructor(e,t,s){super(e,t,s),this.element="kafkaOperationBinding",this.classes.push("operation-binding")}get groupId(){return this.get("groupId")}set groupId(e){this.set("groupId",e)}get clientId(){return this.get("clientId")}set clientId(e){this.set("clientId",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const Ho=class extends _{constructor(e,t,s){super(e,t,s),this.element="kafkaServerBinding",this.classes.push("server-binding")}get schemaRegistryUrl(){return this.get("schemaRegistryUrl")}set schemaRegistryUrl(e){this.set("schemaRegistryUrl",e)}get schemaRegistryVendor(){return this.get("schemaRegistryVendor")}set schemaRegistryVendor(e){this.set("schemaRegistryVendor",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const Go=class extends _{constructor(e,t,s){super(e,t,s),this.element="mercureChannelBinding",this.classes.push("channel-binding")}};const zo=class extends _{constructor(e,t,s){super(e,t,s),this.element="mercureMessageBinding",this.classes.push("message-binding")}};const Wo=class extends _{constructor(e,t,s){super(e,t,s),this.element="mercureOperationBinding",this.classes.push("operation-binding")}};const Xo=class extends _{constructor(e,t,s){super(e,t,s),this.element="mercureServerBinding",this.classes.push("server-binding")}};const Ko=class extends _{constructor(e,t,s){super(e,t,s),this.element="mqttChannelBinding",this.classes.push("channel-binding")}};const Yo=class extends _{constructor(e,t,s){super(e,t,s),this.element="mqttMessageBinding",this.classes.push("message-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const Qo=class extends _{constructor(e,t,s){super(e,t,s),this.element="mqttOperationBinding",this.classes.push("operation-binding")}get qos(){return this.get("qos")}set qos(e){this.set("qos",e)}get retain(){return this.get("retain")}set retain(e){this.set("retain",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const Zo=class extends _{constructor(e,t,s){super(e,t,s),this.element="mqttServerBinding",this.classes.push("server-binding")}get clientId(){return this.get("clientId")}set clientId(e){this.set("clientId",e)}get cleanSession(){return this.get("cleanSession")}set cleanSession(e){this.set("cleanSession",e)}get lastWill(){return this.get("lastWill")}set lastWill(e){this.set("lastWill",e)}get keepAlive(){return this.get("keepAlive")}set keepAlive(e){this.set("keepAlive",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const ec=class extends _{constructor(e,t,s){super(e,t,s),this.element="mqtt5ChannelBinding",this.classes.push("channel-binding")}};const tc=class extends _{constructor(e,t,s){super(e,t,s),this.element="mqtt5MessageBinding",this.classes.push("message-binding")}};const sc=class extends _{constructor(e,t,s){super(e,t,s),this.element="mqtt5OperationBinding",this.classes.push("operation-binding")}};const nc=class extends _{constructor(e,t,s){super(e,t,s),this.element="mqtt5ServerBinding",this.classes.push("server-binding")}};const ic=class extends _{constructor(e,t,s){super(e,t,s),this.element="natsChannelBinding",this.classes.push("channel-binding")}};const rc=class extends _{constructor(e,t,s){super(e,t,s),this.element="natsMessageBinding",this.classes.push("message-binding")}};const oc=class extends _{constructor(e,t,s){super(e,t,s),this.element="natsOperationBinding",this.classes.push("operation-binding")}get queue(){return this.get("queue")}set queue(e){this.set("queue",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const cc=class extends _{constructor(e,t,s){super(e,t,s),this.element="natsServerBinding",this.classes.push("server-binding")}};const ac=class extends _{constructor(e,t,s){super(e,t,s),this.element="pulsarChannelBinding",this.classes.push("channel-binding")}get namespace(){return this.get("namespace")}set namespace(e){this.set("namespace",e)}get persistence(){return this.get("persistence")}set persistence(e){this.set("persistence",e)}get compaction(){return this.get("compaction")}set compaction(e){this.set("compaction",e)}get"geo-replication"(){return this.get("geo-replication")}set"geo-replication"(e){this.set("geo-replication",e)}get retention(){return this.get("retention")}set retention(e){this.set("retention",e)}get ttl(){return this.get("ttl")}set ttl(e){this.set("ttl",e)}get deduplication(){return this.get("deduplication")}set deduplication(e){this.set("deduplication",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const lc=class extends _{constructor(e,t,s){super(e,t,s),this.element="pulsarMessageBinding",this.classes.push("message-binding")}};const uc=class extends _{constructor(e,t,s){super(e,t,s),this.element="pulsarOperationBinding",this.classes.push("operation-binding")}};const dc=class extends _{constructor(e,t,s){super(e,t,s),this.element="pulsarServerBinding",this.classes.push("server-binding")}get tenant(){return this.get("tenant")}set tenant(e){this.set("tenant",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const pc=class extends _{constructor(e,t,s){super(e,t,s),this.element="redisChannelBinding",this.classes.push("channel-binding")}};const hc=class extends _{constructor(e,t,s){super(e,t,s),this.element="redisMessageBinding",this.classes.push("message-binding")}};const mc=class extends _{constructor(e,t,s){super(e,t,s),this.element="redisOperationBinding",this.classes.push("operation-binding")}};const gc=class extends _{constructor(e,t,s){super(e,t,s),this.element="redisServerBinding",this.classes.push("server-binding")}};const fc=class extends _{constructor(e,t,s){super(e,t,s),this.element="snsChannelBinding",this.classes.push("channel-binding")}};const yc=class extends _{constructor(e,t,s){super(e,t,s),this.element="snsMessageBinding",this.classes.push("message-binding")}};const bc=class extends _{constructor(e,t,s){super(e,t,s),this.element="snsOperationBinding",this.classes.push("operation-binding")}};const vc=class extends _{constructor(e,t,s){super(e,t,s),this.element="snsServerBinding",this.classes.push("server-binding")}};const xc=class extends _{constructor(e,t,s){super(e,t,s),this.element="solaceChannelBinding",this.classes.push("channel-binding")}};const Sc=class extends _{constructor(e,t,s){super(e,t,s),this.element="solaceMessageBinding",this.classes.push("message-binding")}};const wc=class extends _{constructor(e,t,s){super(e,t,s),this.element="solaceOperationBinding",this.classes.push("operation-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}get destinations(){return this.get("destinations")}set destinations(e){this.set("destinations",e)}};const Bc=class extends _{constructor(e,t,s){super(e,t,s),this.element="solaceServerBinding",this.classes.push("server-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}get msgVpn(){return this.get("msgVpn")}set msgVpn(e){this.set("msgVpn",e)}};const Ec=class extends _{constructor(e,t,s){super(e,t,s),this.element="sqsChannelBinding",this.classes.push("channel-binding")}};const jc=class extends _{constructor(e,t,s){super(e,t,s),this.element="sqsMessageBinding",this.classes.push("message-binding")}};const Oc=class extends _{constructor(e,t,s){super(e,t,s),this.element="sqsOperationBinding",this.classes.push("operation-binding")}};const kc=class extends _{constructor(e,t,s){super(e,t,s),this.element="sqsServerBinding",this.classes.push("server-binding")}};const qc=class extends _{constructor(e,t,s){super(e,t,s),this.element="stompChannelBinding",this.classes.push("channel-binding")}};const Mc=class extends _{constructor(e,t,s){super(e,t,s),this.element="stompMessageBinding",this.classes.push("message-binding")}};const Cc=class extends _{constructor(e,t,s){super(e,t,s),this.element="stompOperationBinding",this.classes.push("operation-binding")}};const $c=class extends _{constructor(e,t,s){super(e,t,s),this.element="stompServerBinding",this.classes.push("server-binding")}};const Ac=class extends _{constructor(e,t,s){super(e,t,s),this.element="webSocketChannelBinding",this.classes.push("channel-binding")}get method(){return this.get("method")}set method(e){this.set("method",e)}get query(){return this.get("query")}set query(e){this.set("query",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}};const Pc=class extends _{constructor(e,t,s){super(e,t,s),this.element="webSocketMessageBinding",this.classes.push("message-binding")}};const Fc=class extends _{constructor(e,t,s){super(e,t,s),this.element="webSocketOperationBinding",this.classes.push("operation-binding")}};const Ic=class extends _{constructor(e,t,s){super(e,t,s),this.element="webSocketServerBinding",this.classes.push("server-binding")}},Tc={namespace:e=>{const{base:t}=e;return t.register("asyncApi2",J),t.register("asyncApiVersion",H),t.register("channelBindings",G),t.register("channelItem",z),t.register("channels",W),t.register("components",X),t.register("contact",K),t.register("correlationID",Y),t.register("defaultContentType",Q),t.register("externalDocumentation",Z),t.register("identifier",ee),t.register("info",te),t.register("license",se),t.register("message",ne),t.register("messageBindings",ie),t.register("messageExample",re),t.register("messageTrait",oe),t.register("oAuthFlow",ce),t.register("oAuthFlows",ae),t.register("operation",le),t.register("operationBindings",ue),t.register("operationTrait",de),t.register("parameter",pe),t.register("parameters",he),t.register("reference",me),t.register("schema",io),t.register("securityRequirement",ro),t.register("securityScheme",oo),t.register("server",co),t.register("serverBindings",ao),t.register("servers",lo),t.register("serverVariable",uo),t.register("tag",po),t.register("tags",ho),t.register("amqpChannelBinding",mo),t.register("amqpMessageBinding",go),t.register("amqpOperationBinding",fo),t.register("amqpServerBinding",yo),t.register("amqp1ChannelBinding",bo),t.register("amqp1MessageBinding",vo),t.register("amqp1OperationBinding",xo),t.register("amqp1ServerBinding",So),t.register("anypointmqChannelBinding",wo),t.register("anypointmqMessageBinding",Bo),t.register("anypointmqOperationBinding",Eo),t.register("anypointmqServerBinding",jo),t.register("googlepubsubChannelBinding",Oo),t.register("googlepubsubMessageBinding",ko),t.register("googlepubsubOperationBinding",qo),t.register("googlepubsubServerBinding",Mo),t.register("httpChannelBinding",Co),t.register("httpMessageBinding",$o),t.register("httpOperationBinding",Ao),t.register("httpServerBinding",Po),t.register("ibmmqChannelBinding",Fo),t.register("ibmmqMessageBinding",Io),t.register("ibmmqOperationBinding",To),t.register("ibmmqServerBinding",Do),t.register("jmsChannelBinding",Vo),t.register("jmsMessageBinding",No),t.register("jmsOperationBinding",Ro),t.register("jmsServerBinding",Lo),t.register("kafkaChannelBinding",_o),t.register("kafkaMessageBinding",Jo),t.register("kafkaOperationBinding",Uo),t.register("kafkaServerBinding",Ho),t.register("mercureChannelBinding",Go),t.register("mercureMessageBinding",zo),t.register("mercureOperationBinding",Wo),t.register("mercureServerBinding",Xo),t.register("mqttChannelBinding",Ko),t.register("mqttMessageBinding",Yo),t.register("mqttOperationBinding",Qo),t.register("mqttServerBinding",Zo),t.register("mqtt5ChannelBinding",ec),t.register("mqtt5MessageBinding",tc),t.register("mqtt5OperationBinding",sc),t.register("mqtt5ServerBinding",nc),t.register("natsChannelBinding",ic),t.register("natsMessageBinding",rc),t.register("natsOperationBinding",oc),t.register("natsServerBinding",cc),t.register("pulsarChannelBinding",ac),t.register("pulsarMessageBinding",lc),t.register("pulsarOperationBinding",uc),t.register("pulsarServerBinding",dc),t.register("redisChannelBinding",pc),t.register("redisMessageBinding",hc),t.register("redisOperationBinding",mc),t.register("redisServerBinding",gc),t.register("snsChannelBinding",fc),t.register("snsMessageBinding",yc),t.register("snsOperationBinding",bc),t.register("snsServerBinding",vc),t.register("solaceChannelBinding",xc),t.register("solaceMessageBinding",Sc),t.register("solaceOperationBinding",wc),t.register("solaceServerBinding",Bc),t.register("sqsChannelBinding",Ec),t.register("sqsMessageBinding",jc),t.register("sqsOperationBinding",Oc),t.register("sqsServerBinding",kc),t.register("stompChannelBinding",qc),t.register("stompMessageBinding",Mc),t.register("stompOperationBinding",Cc),t.register("stompServerBinding",$c),t.register("webSocketChannelBinding",Ac),t.register("webSocketMessageBinding",Pc),t.register("webSocketOperationBinding",Fc),t.register("webSocketServerBinding",Ic),t}};class Dc extends _{static primaryClass="components-schemas";constructor(e,t,s){super(e,t,s),this.classes.push(Dc.primaryClass)}}const Vc=Dc;class Nc extends _{static primaryClass="components-servers";constructor(e,t,s){super(e,t,s),this.classes.push(Nc.primaryClass)}}const Rc=Nc;class Lc extends _{static primaryClass="components-server-variables";constructor(e,t,s){super(e,t,s),this.classes.push(Lc.primaryClass)}}const _c=Lc;class Jc extends _{static primaryClass="components-messages";constructor(e,t,s){super(e,t,s),this.classes.push(Jc.primaryClass)}}const Uc=Jc;class Hc extends _{static primaryClass="components-security-schemes";constructor(e,t,s){super(e,t,s),this.classes.push(Hc.primaryClass)}}const Gc=Hc;class zc extends _{static primaryClass="components-parameters";constructor(e,t,s){super(e,t,s),this.classes.push(zc.primaryClass)}}const Wc=zc;class Xc extends _{static primaryClass="components-correlation-ids";constructor(e,t,s){super(e,t,s),this.classes.push(Xc.primaryClass)}}const Kc=Xc;class Yc extends _{static primaryClass="components-operation-traits";constructor(e,t,s){super(e,t,s),this.classes.push(Yc.primaryClass)}}const Qc=Yc;class Zc extends _{static primaryClass="components-message-traits";constructor(e,t,s){super(e,t,s),this.classes.push(Zc.primaryClass)}}const ea=Zc;class ta extends _{static primaryClass="components-server-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(ta.primaryClass)}}const sa=ta;class na extends _{static primaryClass="components-channel-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(na.primaryClass)}}const ia=na;class ra extends _{static primaryClass="components-operation-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(ra.primaryClass)}}const oa=ra;class ca extends _{static primaryClass="components-message-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(ca.primaryClass)}}const aa=ca;class la extends _{static primaryClass="server-variables";constructor(e,t,s){super(e,t,s),this.classes.push(la.primaryClass)}}const ua=la;class da extends gs{static primaryClass="channel-item-server-names-list";constructor(e,t,s){super(e,t,s),this.classes.push(da.primaryClass)}}const pa=da;class ha extends _{static primaryClass="oauth-flow-scopes";constructor(e,t,s){super(e,t,s),this.classes.push(ha.primaryClass)}}const ma=ha;class ga extends gs{static primaryClass="operation-traits";constructor(e,t,s){super(e,t,s),this.classes.push(ga.primaryClass)}}const fa=ga;class ya extends gs{static primaryClass="server-security";constructor(e,t,s){super(e,t,s),this.classes.push(ya.primaryClass)}}const ba=ya;class va extends _{static primaryClass="operation-message-map";constructor(e,t,s){super(e,t,s),this.classes.push(va.primaryClass)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}}const xa=va;class Sa extends gs{static primaryClass="operation-message";constructor(e,t,s){super(e,t,s),this.classes.push(Sa.primaryClass)}}const wa=Sa;class Ba extends gs{static primaryClass="operation-security";constructor(e,t,s){super(e,t,s),this.classes.push(Ba.primaryClass)}}const Ea=Ba;class ja extends gs{static primaryClass="operation-trait-security";constructor(e,t,s){super(e,t,s),this.classes.push(ja.primaryClass)}}const Oa=ja;class ka extends gs{static primaryClass="message-examples";constructor(e,t,s){super(e,t,s),this.classes.push(ka.primaryClass)}}const qa=ka;class Ma extends gs{static primaryClass="message-traits";constructor(e,t,s){super(e,t,s),this.classes.push(Ma.primaryClass)}}const Ca=Ma;class $a extends gs{static primaryClass="message-trait-examples";constructor(e,t,s){super(e,t,s),this.classes.push($a.primaryClass)}}const Aa=$a,Pa={AsyncApi2Element:{asyncapi:(...e)=>new H(...e),identifier:(...e)=>new ee(...e),info:(...e)=>new te(...e),servers:(...e)=>new lo(...e),defaultContentType:(...e)=>new Q(...e),channels:(...e)=>new W(...e),components:(...e)=>new X(...e),tags:(...e)=>new ho(...e),externalDocs:(...e)=>new Z(...e)},InfoElement:{contact:(...e)=>new K(...e),license:(...e)=>new se(...e)},ServersElement:{"[key: *]":function(...e){return new co(...e)}},ServerElement:{variables:(...e)=>new ua(...e),security:(...e)=>new ba(...e),tags:(...e)=>new ho(...e),bindings:(...e)=>new ao(...e)},ServerVariableElement:{enum:(...e)=>new gs(...e),examples:(...e)=>new gs(...e)},SecurityRequirementElement:{"[key: *]":function(...e){return new gs(...e)}},ChannelsElement:{"[key: *]":function(...e){return new z(...e)}},ChannelItemElement:{servers:(...e)=>new pa(...e),subscribe:(...e)=>new le(...e),publish:(...e)=>new le(...e),parameters:(...e)=>new pe(...e),bindings:(...e)=>new G(...e)},OperationElement:{tags:(...e)=>new ho(...e),externalDocs:(...e)=>new Z(...e),bindings:(...e)=>new ue(...e),traits:(...e)=>new fa(...e),message:(...e)=>new ne(...e)},ComponentsElement:{schemas:(...e)=>new Vc(...e),servers:(...e)=>new Rc(...e),serverVariables:(...e)=>new _c(...e),messages:(...e)=>new Uc(...e),securitySchemes:(...e)=>new Gc(...e),parameters:(...e)=>new Wc(...e),correlationIds:(...e)=>new Kc(...e),operationTraits:(...e)=>new Qc(...e),messageTraits:(...e)=>new ea(...e),serverBindings:(...e)=>new sa(...e),channelBindings:(...e)=>new ia(...e),operationBindings:(...e)=>new oa(...e),messageBindings:(...e)=>new aa(...e)},TagElement:{externalDocs:(...e)=>new Z(...e)},MessageElement:{headers:(...e)=>new io(...e),correlationId:(...e)=>new Y(...e),tags:(...e)=>new ho(...e),externalDocs:(...e)=>new Z(...e),bindings:(...e)=>new ie(...e),examples:(...e)=>new gs(...e),traits:(...e)=>new gs(...e),payload(...e){const{context:t}=this,s=nn(f.latest(),Ws(t.schemaFormat));return f.includes(s)?new io(...e):new _(...e)}},SecuritySchemeElement:{flows:(...e)=>new ae(...e)},OAuthFlowsElement:{implicit:(...e)=>new ce(...e),password:(...e)=>new ce(...e),clientCredentials:(...e)=>new ce(...e),authorizationCode:(...e)=>new ce(...e)},OAuthFlow:{scopes:(...e)=>new ma(...e)},ParametersElement:{"[key: *]":function(...e){return new pe(...e)}},ParameterElement:{schema:(...e)=>new io(...e)},OperationTraitElement:{tags:(...e)=>new ho(...e),externalDocs:(...e)=>new Z(...e),bindings:(...e)=>new ue(...e)},MessageTraitElement:{headers:(...e)=>new io(...e),correlationId:(...e)=>new Y(...e),tags:(...e)=>new ho(...e),externalDocs:(...e)=>new Z(...e),bindings:(...e)=>new ie(...e),examples:(...e)=>new gs(...e)},MessageExampleElement:{headers:(...e)=>new _(...e)},OperationBindingsElement:{http:(...e)=>new Ao(...e),ws:(...e)=>new Fc(...e),kafka:(...e)=>new Uo(...e),anypointmq:(...e)=>new Eo(...e),amqp:(...e)=>new fo(...e),amqp1:(...e)=>new xo(...e),mqtt:(...e)=>new Qo(...e),mqtt5:(...e)=>new sc(...e),nats:(...e)=>new oc(...e),jms:(...e)=>new Ro(...e),sns:(...e)=>new bc(...e),solace:(...e)=>new wc(...e),sqs:(...e)=>new Oc(...e),stomp:(...e)=>new Cc(...e),redis:(...e)=>new mc(...e),mercure:(...e)=>new Wo(...e),googlepubsub:(...e)=>new qo(...e),ibmmq:(...e)=>new To(...e),pulsar:(...e)=>new uc(...e)},MessageBindingsElement:{http:(...e)=>new $o(...e),ws:(...e)=>new Pc(...e),kafka:(...e)=>new Jo(...e),anypointmq:(...e)=>new Bo(...e),amqp:(...e)=>new go(...e),amqp1:(...e)=>new vo(...e),mqtt:(...e)=>new Yo(...e),mqtt5:(...e)=>new tc(...e),nats:(...e)=>new rc(...e),jms:(...e)=>new No(...e),sns:(...e)=>new yc(...e),solace:(...e)=>new Sc(...e),sqs:(...e)=>new jc(...e),stomp:(...e)=>new Mc(...e),redis:(...e)=>new hc(...e),mercure:(...e)=>new zo(...e),ibmmq:(...e)=>new Io(...e),googlepubsub:(...e)=>new ko(...e),pulsar:(...e)=>new lc(...e)},ServerBindingsElement:{http:(...e)=>new Po(...e),ws:(...e)=>new Ic(...e),kafka:(...e)=>new Ho(...e),anypointmq:(...e)=>new jo(...e),amqp:(...e)=>new yo(...e),amqp1:(...e)=>new So(...e),mqtt:(...e)=>new Zo(...e),mqtt5:(...e)=>new nc(...e),nats:(...e)=>new cc(...e),jms:(...e)=>new Lo(...e),sns:(...e)=>new vc(...e),solace:(...e)=>new Bc(...e),sqs:(...e)=>new kc(...e),stomp:(...e)=>new $c(...e),redis:(...e)=>new gc(...e),mercure:(...e)=>new Xo(...e),ibmmq:(...e)=>new Do(...e),googlepubsub:(...e)=>new Mo(...e),pulsar:(...e)=>new dc(...e)},ChannelBindingsElement:{http:(...e)=>new Co(...e),ws:(...e)=>new Ac(...e),kafka:(...e)=>new _o(...e),anypointmq:(...e)=>new wo(...e),amqp:(...e)=>new mo(...e),amqp1:(...e)=>new bo(...e),mqtt:(...e)=>new Ko(...e),mqtt5:(...e)=>new ec(...e),nats:(...e)=>new ic(...e),jms:(...e)=>new Vo(...e),sns:(...e)=>new fc(...e),solace:(...e)=>new xc(...e),sqs:(...e)=>new Ec(...e),stomp:(...e)=>new qc(...e),redis:(...e)=>new pc(...e),mercure:(...e)=>new Go(...e),ibmmq:(...e)=>new Fo(...e),googlepubsub:(...e)=>new Oo(...e),pulsar:(...e)=>new ac(...e)},SchemaElement:{allOf(...e){const t=new gs(...e);return t.classes.push("json-schema-allOf"),t},anyOf(...e){const t=new gs(...e);return t.classes.push("json-schema-anyOf"),t},oneOf(...e){const t=new gs(...e);return t.classes.push("json-schema-oneOf"),t},not:(...e)=>new io(...e),if:(...e)=>new io(...e),then:(...e)=>new io(...e),else:(...e)=>new io(...e),enum:(...e)=>new gs(...e),items:(...e)=>new io(...e),additionalItems:(...e)=>new io(...e),contains:(...e)=>new io(...e),required(...e){const t=new gs(...e);return t.classes.push("json-schema-required"),t},properties(...e){const t=new _(...e);return t.classes.push("json-schema-properties"),t},patternProperties(...e){const t=new _(...e);return t.classes.push("json-schema-patternProperties"),t},additionalProperties:(...e)=>new io(...e),dependencies(...e){const t=new _(...e);return t.classes.push("json-schema-dependencies"),t},propertyNames:(...e)=>new io(...e),examples(...e){const t=new gs(...e);return t.classes.push("json-schema-examples"),t},definitions(...e){const t=new _(...e);return t.classes.push("json-schema-definitions"),t},externalDocs:(...e)=>new Z(...e)},HttpOperationBindingElement:{query:(...e)=>new io(...e)},HttpMessageBindingElement:{headers:(...e)=>new io(...e)},WebSocketChannelBindingElement:{query:(...e)=>new io(...e),headers:(...e)=>new io(...e)},KafkaOperationBindingElement:{groupId:(...e)=>new io(...e),clientId:(...e)=>new io(...e)},KafkaMessageBindingElement:{key:(...e)=>new io(...e)},AnypointmqMessageBindingElement:{headers:(...e)=>new io(...e)},AmqpChannelBindingElement:{exchange:(...e)=>new _(...e),queue:(...e)=>new _(...e)},AmqpOperationBindingElement:{cc:(...e)=>new gs(...e),bcc:(...e)=>new gs(...e)},IbmmqChannelBindingElement:{queue:(...e)=>new _(...e),topic:(...e)=>new _(...e)},MqttServerBindingElement:{lastWill:(...e)=>new _(...e)},SolaceOperationBindingElement:{destinations:(...e)=>new gs(...e)},GooglepubsubChannelBindingElement:{labels:(...e)=>new _(...e),messageStoragePolicy:(...e)=>new _(...e),schemaSettings:(...e)=>new _(...e)},GooglepubsubMessageBindingElement:{attributes:(...e)=>new _(...e),schema:(...e)=>new _(...e)},PulsarChannelBindingElement:{"geo-replication":function(...e){return new gs(...e)},retention:(...e)=>new _(...e)},TagsElement:{"<*>":function(...e){return new po(...e)}},[Vc.primaryClass]:{"[key: *]":function(...e){return new io(...e)}},[Rc.primaryClass]:{"[key: *]":function(...e){return new co(...e)}},[_c.primaryClass]:{"[key: *]":function(...e){return new uo(...e)}},[Uc.primaryClass]:{"[key: *]":function(...e){return new ne(...e)}},[Gc.primaryClass]:{"[key: *]":function(...e){return new oo(...e)}},[Wc.primaryClass]:{"[key: *]":function(...e){return new pe(...e)}},[Kc.primaryClass]:{"[key: *]":function(...e){return new Y(...e)}},[Qc.primaryClass]:{"[key: *]":function(...e){return new de(...e)}},[ea.primaryClass]:{"[key: *]":function(...e){return new oe(...e)}},[sa.primaryClass]:{"[key: *]":function(...e){return new ao(...e)}},[ia.primaryClass]:{"[key: *]":function(...e){return new G(...e)}},[oa.primaryClass]:{"[key: *]":function(...e){return new ue(...e)}},[aa.primaryClass]:{"[key: *]":function(...e){return new ie(...e)}},[ua.primaryClass]:{"[key: *]":function(...e){return new uo(...e)}},"json-schema-properties":{"[key: *]":function(...e){return new io(...e)}},[ba.primaryClass]:{"<*>":function(...e){return new ro(...e)}},[fa.primaryClass]:{"<*>":function(...e){return new de(...e)}},[xa.primaryClass]:{oneOf:(...e)=>new wa(...e)},[wa.primaryClass]:{"<*>":function(...e){return new ne(...e)}},[Ea.primaryClass]:{"<*>":function(...e){return new ro(...e)}},[Oa.primaryClass]:{"<*>":function(...e){return new ro(...e)}},[qa.primaryClass]:{"<*>":function(...e){return new re(...e)}},[Ca.primaryClass]:{"<*>":function(...e){return new oe(...e)}},[Aa.primaryClass]:{"<*>":function(...e){return new re(...e)}},"json-schema-allOf":{"<*>":function(...e){return new io(...e)}},"json-schema-anyOf":{"<*>":function(...e){return new io(...e)}},"json-schema-oneOf":{"<*>":function(...e){return new io(...e)}}},Fa=(e,t)=>{const s=Qn(e),n=Pa[s]||Pa[Ws(e.classes.first)];return void 0===n?void 0:Object.hasOwn(n,"[key: *]")?n["[key: *]"]:n[t]},Ia=()=>()=>({visitor:{StringElement(e){const t=e.node;if(!(e=>ys(e)&&js(e,["yaml-e-node","yaml-e-scalar"]))(t))return;const s=e.getAncestorNodes().reverse().filter(fs),n=s.at(-1);let i,r;if(Ss(n)?(r=t,i=Fa(n,"<*>")):Bs(n)&&(r=s.at(-2),i=Fa(r,Ws(n.key))),"function"!=typeof i)return;const o=i.call({context:r},void 0,Ds(t.meta),Ds(t.attributes));Cs.transfer(t,o),e.replaceWith(o)}}}),Ta=e=>e instanceof J,Da=e=>e instanceof H,Va=e=>e instanceof G,Na=e=>e instanceof z,Ra=e=>e instanceof W,La=e=>e instanceof X,_a=e=>e instanceof K,Ja=e=>e instanceof ee,Ua=e=>e instanceof te,Ha=e=>e instanceof se,Ga=e=>e instanceof le,za=e=>e instanceof pe,Wa=e=>e instanceof he,Xa=e=>e instanceof me,Ka=e=>e instanceof io,Ya=e=>xs(e)&&js(e,["boolean-json-schema"]),Qa=e=>e instanceof ro,Za=e=>e instanceof co,el=e=>e instanceof ao,tl=e=>e instanceof lo,sl=e=>e instanceof uo;var nl=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=it,e.prototype["@@transducer/result"]=rt,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?br(s):s},e}();function il(e){return function(t){return new nl(e,t)}}const rl=y(st(["take"],il,function(e,t){return Ge(0,e<0?1/0:e,t)}));const ol=y(function(e,t){return P(rl(e.length,t),e)}),cl=e=>ws(e)&&e.hasKey("$ref"),al=e=>ys(e.key)&&ol("x-",Ws(e.key));const ll=class{element;constructor(e){Object.assign(this,e)}copyMetaAndAttributes(e,t){if(!e.isMetaEmpty||!t.isMetaEmpty){const s=t.isMetaEmpty?new _:t.meta,n=e.isMetaEmpty?new _:e.meta;t.meta=Zs(s,n)}if(!e.isAttributesEmpty||!t.isAttributesEmpty){const s=t.isAttributesEmpty?new _:t.attributes,n=e.isAttributesEmpty?new _:e.attributes;t.attributes=Zs(s,n)}Cs.transfer(e,t)}};const ul=class extends ll{enter(e){this.element=Ds(e.node),e.stop()}};const dl=class extends ll{specObj;passingOptionsNames=["specObj"];constructor({specObj:e,...t}){super({...t}),this.specObj=e}retrievePassingOptions(){return fn(this.passingOptionsNames,this)}retrieveFixedFields(e){const t=Me(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]}retrieveVisitor(e){return ht(Jt,["visitors",...e],this.specObj)?Me(["visitors",...e],this.specObj):Me(["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 ul&&n?.constructor===ul?Ds(t):(li(t,n),n.element)}};const pl=class extends dl{alternator;constructor({alternator:e,...t}){super({...t}),this.alternator=e}enter(e){const t=e.node,s=this.alternator.map(({predicate:e,specPath:t})=>hr(e,sn(t),rn)),n=kr(s)(t);this.element=this.toRefractedElement(n,t),e.stop()}};const hl=class extends dl{specPath;ignoredFields;canSupportSpecificationExtensions=!0;specificationExtensionPredicate=al;constructor({specPath:e,ignoredFields:t,canSupportSpecificationExtensions:s,specificationExtensionPredicate:n,...i}){super({...i}),this.specPath=e,this.ignoredFields=t||[],"boolean"==typeof s&&(this.canSupportSpecificationExtensions=s),"function"==typeof n&&(this.specificationExtensionPredicate=n)}ObjectElement(e){const t=e.node,s=this.specPath(t),n=this.retrieveFixedFields(s);t.forEach((e,t,i)=>{const r=Ws(t);if(ys(t)&&n.includes(r)&&!this.ignoredFields.includes(r)){const n=this.toRefractedElement([...s,"fixedFields",r],e),o=new L(Ds(t),n);o.classes.push("fixed-field"),this.copyMetaAndAttributes(i,o),this.element.content.push(o)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(i)){const e=this.toRefractedElement(["document","extension"],i);this.element.content.push(e)}else this.ignoredFields.includes(r)||this.element.content.push(Ds(i))}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const ml=class extends dl{specPath;ignoredFields;fieldPatternPredicate=Pi;canSupportSpecificationExtensions=!1;specificationExtensionPredicate=al;constructor({specPath:e,ignoredFields:t,fieldPatternPredicate:s,canSupportSpecificationExtensions:n,specificationExtensionPredicate:i,...r}){super({...r}),this.specPath=e,this.ignoredFields=t||[],"function"==typeof s&&(this.fieldPatternPredicate=s),"boolean"==typeof n&&(this.canSupportSpecificationExtensions=n),"function"==typeof i&&(this.specificationExtensionPredicate=i)}ObjectElement(e){const t=e.node;t.forEach((e,t,s)=>{const n=Ws(t);if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(s)){const e=this.toRefractedElement(["document","extension"],s);this.element.content.push(e)}else if(!this.ignoredFields.includes(n)&&this.fieldPatternPredicate(n)){const n=this.specPath(e),i=this.toRefractedElement(n,e),r=new L(Ds(t),i);this.copyMetaAndAttributes(s,r),r.classes.push("patterned-field"),this.element.content.push(r)}else this.ignoredFields.includes(n)||this.element.content.push(Ds(s))}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const gl=class extends ml{constructor(e){super(e),this.fieldPatternPredicate=gn}};function fl(e,t,s){var n,i=typeof e;switch(i){case"string":case"number":return 0===e&&1/e==-1/0?!!s._items["-0"]||(t&&(s._items["-0"]=!0),!1):null!==s._nativeSet?t?(n=s._nativeSet.size,s._nativeSet.add(e),s._nativeSet.size===n):s._nativeSet.has(e):i in s._items?e in s._items[i]||(t&&(s._items[i][e]=!0),!1):(t&&(s._items[i]={},s._items[i][e]=!0),!1);case"boolean":if(i in s._items){var r=e?1:0;return!!s._items[i][r]||(t&&(s._items[i][r]=!0),!1)}return t&&(s._items[i]=e?[!1,!0]:[!0,!1]),!1;case"function":return null!==s._nativeSet?t?(n=s._nativeSet.size,s._nativeSet.add(e),s._nativeSet.size===n):s._nativeSet.has(e):i in s._items?!!Ye(e,s._items[i])||(t&&s._items[i].push(e),!1):(t&&(s._items[i]=[e]),!1);case"undefined":return!!s._items[i]||(t&&(s._items[i]=!0),!1);case"object":if(null===e)return!!s._items.null||(t&&(s._items.null=!0),!1);default:return(i=Object.prototype.toString.call(e))in s._items?!!Ye(e,s._items[i])||(t&&s._items[i].push(e),!1):(t&&(s._items[i]=[e]),!1)}}const yl=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}return e.prototype.add=function(e){return!fl(e,!0,this)},e.prototype.has=function(e){return fl(e,!1,this)},e}();const bl=y(function(e,t){for(var s=[],n=0,i=e.length,r=t.length,o=new yl,c=0;c<r;c+=1)o.add(t[c]);for(;n<i;)o.add(e[n])&&(s[s.length]=e[n]),n+=1;return s}),vl=$i(dl,ul),xl=$i(hl,ul),Sl=$i(ml,ul),wl=$i(gl,ul),Bl=$i(hl,ml),El=$i(pl,ul);const jl=class extends Bl{specPathFixedFields;specPathPatternedFields;constructor({specPathFixedFields:e,specPathPatternedFields:t,...s}){super({...s}),this.specPathFixedFields=e,this.specPathPatternedFields=t}ObjectElement(e){const t=e.node,{specPath:s,ignoredFields:n}=this;try{this.specPath=this.specPathFixedFields;const s=this.retrieveFixedFields(this.specPath(t));this.ignoredFields=[...n,...bl(t.keys(),s)],hl.prototype.ObjectElement.call(this,e),this.specPath=this.specPathPatternedFields,this.ignoredFields=s,ml.prototype.ObjectElement.call(this,e);const i=t.keys();this.element.content.sort((e,t)=>i.indexOf(Ws(e.key))-i.indexOf(Ws(t.key)))}catch(e){throw this.specPath=s,e}e.stop()}};const Ol=class extends dl{MemberElement(e){const t=e.node;this.element=Ds(t),this.element.classes.push("specification-extension"),e.stop()}};function kl(e){return void 0===e?new hs:ql(e)}function ql(e){if(e instanceof V)return e;if("string"==typeof e)return new U(e);if("number"==typeof e)return new ps(e);if("boolean"==typeof e)return new ms(e);if(null===e)return new hs;if(Array.isArray(e))return new gs(e.map(kl));if("object"==typeof e)return new _(e);throw new Error("Cannot refract value of type "+typeof e)}V.prototype.ObjectElement=_,V.prototype.ArrayElement=gs,V.prototype.RefElement=_s,V.prototype.MemberElement=L,V.prototype.refract=ql;var Ml=Be(function(e,t,s){var n,i={};for(n in s=s||{},t=t||{})x(n,t)&&(i[n]=x(n,s)?e(n,t[n],s[n]):t[n]);for(n in s)x(n,s)&&!x(n,i)&&(i[n]=s[n]);return i});const Cl=Ml;var $l=Be(function e(t,s,n){return Cl(function(s,n,i){return nt(n)&&nt(i)?e(t,n,i):t(s,n,i)},s,n)});const Al=$l;const Pl=y(function(e,t){return Al(function(e,t,s){return s},e,t)});const Fl=Be(function(e,t,s){return nn(e,Oe(t,s))});const Il=Ge(0,-1);var Tl=y(function(e,t){return e.apply(this,t)});const Dl=Tl;const Vl=Pt(Jt);const Nl=$t(Sr,un);const Rl=Bt(3,function(e,t,s){var n=Me(e,s),i=Me(Il(e),s);if(!Vl(n)&&!Nl(e)){var r=Ne(n,i);return Dl(r,t)}});const Ll=class{namespace;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};if(e.isMetaEmpty||(t.meta=this.serialiseObject(e.meta)),e.isAttributesEmpty||(t.attributes=this.serialiseObject(e.attributes)),!(e instanceof Cs)){const s=Cs.from(e);s&&(t.meta||(t.meta={}),t.meta.__mappings__=this.serialise(s))}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));let s;t.element!==e.element&&(t.element=e.element);let n=e.meta;if(e.meta?.__mappings__){const{__mappings__:t,...i}=e.meta;s=t,n=Object.keys(i).length>0?i:void 0}if(n&&this.deserialiseObject(n,t.meta),s){this.deserialise(s).applyTo(t)}e.attributes&&this.deserialiseObject(e.attributes,t.attributes);const i=this.deserialiseContent(e.content);return void 0===i&&null!==t.content||(t.content=i),t}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t=e,s={key:this.serialise(t.key)};return t.value&&(s.value=this.serialise(t.value)),s}if(e&&Array.isArray(e)){if(0===e.length)return;return e.map(e=>this.serialise(e))}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(Array.isArray(e))return e.map(e=>this.deserialise(e))}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]))})}},_l=e=>null===e,Jl=e=>"string"==typeof e,Ul=e=>"number"==typeof e,Hl=e=>"boolean"==typeof e,Gl=e=>null!==e&&"object"==typeof e;class zl{elementMap={};elementDetection=[];Element;KeyValuePair;_elements;_attributeElementKeys=[];_attributeElementArrayKeys=[];constructor(e){this.Element=V,this.KeyValuePair=F,e&&e.noDefault||this.useDefault()}use(e){return e.namespace&&e.namespace({base:this}),e.load&&e.load({base:this}),this}useDefault(){return this.register("null",hs).register("string",U).register("number",ps).register("boolean",ms).register("array",gs).register("object",_).register("member",L).register("ref",_s).register("link",Ls).register("sourceMap",Cs),this.detect(_l,hs,!1).detect(Jl,U,!1).detect(Ul,ps,!1).detect(Hl,ms,!1).detect(Array.isArray,gs,!1).detect(Gl,_,!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(const[s,n]of this.elementDetection)if(s(e)){t=new n(e);break}return t}getElementClass(e){const t=this.elementMap[e];return void 0===t?this.Element:t}fromRefract(e){return this.serialiser.deserialise(e)}toRefract(e){return this.serialiser.serialise(e)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach(e=>{const t=e[0].toUpperCase()+e.substring(1);this._elements[t]=this.elementMap[e]})),this._elements}get serialiser(){return new Ll(this)}}Ll.prototype.Namespace=zl;const Wl=zl,Xl=new Wl,Kl={isElement:fs,isStringElement:ys,isNumberElement:bs,isNullElement:vs,isBooleanElement:xs,isArrayElement:Ss,isObjectElement:ws,isMemberElement:Bs,isPrimitiveElement:e=>ws(e)&&"object"===e.element||Ss(e)&&"array"===e.element||xs(e)&&"boolean"===e.element||bs(e)&&"number"===e.element||ys(e)&&"string"===e.element||vs(e)&&"null"===e.element||Bs(e)&&"member"===e.element,isLinkElement:Gs,isRefElement:zs,isAnnotationElement:e=>e instanceof Js,isCommentElement:e=>e instanceof Us,isParseResultElement:e=>e instanceof Hs,isSourceMapElement:e=>e instanceof Cs,hasElementSourceMap:Es,includesSymbols:(e,t)=>{if(0===t.length)return!0;if(!e.hasAttributesProperty("symbols"))return!1;const s=e.attributes.get("symbols");return!!Ss(s)&&t.every(e=>s.includes(e))},includesClasses:js},Yl={toolboxCreator:()=>({predicates:Kl,namespace:Xl}),visitorOptions:{exposeEdits:!0}},Ql=(e,t,s={})=>{if(0===t.length)return e;const n=Pl(Yl,s),{toolboxCreator:i,visitorOptions:r}=n,o=i(),c=t.map(e=>e(o)),a=ri(c.map(Fl({},"visitor")),r);c.forEach(Rl(["pre"],[]));const l=li(e,a);return c.forEach(Rl(["post"],[])),l};Ql[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,s={})=>{if(0===t.length)return e;const n=Pl(Yl,s),{toolboxCreator:i,visitorOptions:r}=n,o=i(),c=t.map(e=>e(o)),a=oi(c.map(Fl({},"visitor")),r);await Promise.allSettled(c.map(Rl(["pre"],[])));const l=await ui(e,a);return await Promise.allSettled(c.map(Rl(["post"],[]))),l};const Zl=class extends xl{constructor(e){super(e),this.element=new J,this.specPath=sn(["document","objects","AsyncApi"]),this.canSupportSpecificationExtensions=!0}};const eu=class extends vl{StringElement(e){const t=e.node,s=new H(Ws(t));this.copyMetaAndAttributes(t,s),this.element=s,e.stop()}};const tu=class extends vl{StringElement(e){const t=e.node,s=new ee(Ws(t));this.copyMetaAndAttributes(t,s),this.element=s,e.stop()}};const su=class extends xl{constructor(e){super(e),this.element=new te,this.specPath=sn(["document","objects","Info"]),this.canSupportSpecificationExtensions=!0}};const nu=class extends ul{StringElement(e){const t=e.node;this.element=new U(Ws(t)),this.copyMetaAndAttributes(t,this.element),this.element.classes.push("api-version"),this.element.classes.push("version"),e.stop()}};const iu=class extends xl{constructor(e){super(e),this.element=new K,this.specPath=sn(["document","objects","Contact"]),this.canSupportSpecificationExtensions=!0}};const ru=class extends xl{constructor(e){super(e),this.element=new Y,this.specPath=sn(["document","objects","CorrelationID"]),this.canSupportSpecificationExtensions=!0}};const ou=class extends vl{StringElement(e){const t=e.node,s=new Q(Ws(t));this.copyMetaAndAttributes(t,s),this.element=s,e.stop()}};const cu=class extends xl{constructor(e){super(e),this.element=new se,this.specPath=sn(["document","objects","License"]),this.canSupportSpecificationExtensions=!0}};const au=class extends xl{constructor(e){super(e),this.element=new ae,this.specPath=sn(["document","objects","OAuthFlows"]),this.canSupportSpecificationExtensions=!0}};const lu=class extends xl{constructor(e){super(e),this.element=new ce,this.specPath=sn(["document","objects","OAuthFlow"]),this.canSupportSpecificationExtensions=!0}};const uu=class extends wl{constructor(e){super(e),this.element=new ma,this.specPath=sn(["value"])}};const du=y(function(e,t){if(s=e,"[object RegExp]"!==Object.prototype.toString.call(s))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+pt(e));var s;return function(e){return new RegExp(e.source,e.flags?e.flags:(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":"")+(e.dotAll?"s":""))}(e).test(t)});const pu=class extends Sl{constructor(e){super(e),this.element=new lo,this.element.classes.push("servers"),this.specPath=e=>cl(e)?["document","objects","Reference"]:["document","objects","Server"],this.canSupportSpecificationExtensions=!1,this.fieldPatternPredicate=du(/^[A-Za-z0-9_-]+$/)}ObjectElement(e){Sl.prototype.ObjectElement.call(this,e),this.element.filter(Xa).forEach(e=>{e.meta.set("referenced-element","server")})}};const hu=class extends xl{constructor(e){super(e),this.element=new co,this.specPath=sn(["document","objects","Server"]),this.canSupportSpecificationExtensions=!0}};const mu=class extends ul{StringElement(e){super.enter(e),this.element.classes.push("server-url")}};const gu=class extends El{constructor(e){super(e),this.alternator=[{predicate:cl,specPath:["document","objects","Reference"]},{predicate:pr,specPath:["document","objects","ServerBindings"]}]}ObjectElement(e){pl.prototype.enter.call(this,e),Xa(this.element)&&this.element.meta.set("referenced-element","serverBindings")}};const fu=class extends wl{constructor(e){super(e),this.element=new ua,this.specPath=e=>cl(e)?["document","objects","Reference"]:["document","objects","ServerVariable"]}};const yu=class extends vl{constructor(e){super(e),this.element=new ba}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const bu=class extends xl{constructor(e){super(e),this.element=new uo,this.specPath=sn(["document","objects","ServerVariable"]),this.canSupportSpecificationExtensions=!0}};const vu=class extends xl{constructor(e){super(e),this.element=new ao,this.specPath=sn(["document","objects","ServerBindings"]),this.canSupportSpecificationExtensions=!0}};const xu=class extends xl{constructor(e){super(e),this.element=new oo,this.specPath=sn(["document","objects","SecurityScheme"]),this.canSupportSpecificationExtensions=!0}};const Su=class extends wl{constructor(e){super(e),this.element=new ro,this.specPath=sn(["value"])}};const wu=class extends xl{constructor(e){super(e),this.element=new me,this.specPath=sn(["document","objects","Reference"]),this.canSupportSpecificationExtensions=!1}ObjectElement(e){xl.prototype.ObjectElement.call(this,e),ys(this.element.$ref)&&this.element.classes.push("reference-element")}};const Bu=class extends ul{StringElement(e){super.enter(e),this.element.classes.push("reference-value")}};const Eu=class extends xl{constructor(e){super(e),this.specPath=sn(["document","objects","Schema"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){this.element=new io,xl.prototype.ObjectElement.call(this,e)}BooleanElement(e){super.enter(e),this.element.classes.push("boolean-json-schema")}},ju=to.visitors.JSONSchemaOrJSONReferenceVisitor;const Ou=class extends ju{enter(e){ju.prototype.enter.call(this,e),Xa(this.element)&&this.element.meta.set("referenced-element","schema")}},ku=to.visitors.document.objects.JSONSchema.fixedFields.allOf;const qu=class extends ku{ArrayElement(e){ku.prototype.ArrayElement.call(this,e),this.element.filter(Xa).forEach(e=>{e.meta.set("referenced-element","schema")})}},Mu=to.visitors.document.objects.JSONSchema.fixedFields.anyOf;const Cu=class extends Mu{ArrayElement(e){Mu.prototype.ArrayElement.call(this,e),this.element.filter(Xa).forEach(e=>{e.meta.set("referenced-element","schema")})}},$u=to.visitors.document.objects.JSONSchema.fixedFields.oneOf;const Au=class extends $u{ArrayElement(e){$u.prototype.ArrayElement.call(this,e),this.element.filter(Xa).forEach(e=>{e.meta.set("referenced-element","schema")})}},Pu=to.visitors.document.objects.JSONSchema.fixedFields.definitions;const Fu=class extends Pu{ObjectElement(e){Pu.prototype.ObjectElement.call(this,e),this.element.filter(Xa).forEach(e=>{e.meta.set("referenced-element","schema")})}},Iu=to.visitors.document.objects.JSONSchema.fixedFields.dependencies;const Tu=class extends Iu{ObjectElement(e){Iu.prototype.ObjectElement.call(this,e),this.element.filter(Xa).forEach(e=>{e.meta.set("referenced-element","schema")})}},Du=to.visitors.document.objects.JSONSchema.fixedFields.items.$visitor;const Vu=class extends Du{ObjectElement(e){Du.prototype.ObjectElement.call(this,e),Xa(this.element)&&this.element.meta.set("referenced-element","schema")}ArrayElement(e){Du.prototype.ArrayElement.call(this,e),this.element.filter(Xa).forEach(e=>{e.meta.set("referenced-element","schema")})}},Nu=to.visitors.document.objects.JSONSchema.fixedFields.patternProperties;const Ru=class extends Nu{ObjectElement(e){Nu.prototype.ObjectElement.call(this,e),this.element.filter(Xa).forEach(e=>{e.meta.set("referenced-element","schema")})}},Lu=to.visitors.document.objects.JSONSchema.fixedFields.properties;const _u=class extends Lu{ObjectElement(e){Lu.prototype.ObjectElement.call(this,e),this.element.filter(Xa).forEach(e=>{e.meta.set("referenced-element","schema")})}},Ju=jt(e=>e===to.visitors.JSONSchemaOrJSONReferenceVisitor?Ou:e,to.visitors.document.objects.JSONSchema.fixedFields);const Uu=class extends Sl{constructor(e){super(e),this.element=new he,this.specPath=e=>cl(e)?["document","objects","Reference"]:["document","objects","Parameter"],this.canSupportSpecificationExtensions=!1,this.fieldPatternPredicate=e=>"string"==typeof e&&/^[A-Za-z0-9_-]+$/.test(e)}ObjectElement(e){Sl.prototype.ObjectElement.call(this,e),this.element.filter(Xa).forEach(e=>{e.meta.set("referenced-element","parameter")})}};const Hu=class extends xl{constructor(e){super(e),this.element=new pe,this.specPath=sn(["document","objects","Parameter"]),this.canSupportSpecificationExtensions=!0}};const Gu=class extends El{constructor(e){super(e),this.alternator=[{predicate:cl,specPath:["document","objects","Reference"]},{predicate:pr,specPath:["document","objects","Schema"]}]}ObjectElement(e){pl.prototype.enter.call(this,e),Xa(this.element)&&this.element.meta.set("referenced-element","schema")}};const zu=class extends xl{constructor(e){super(e),this.element=new Z,this.specPath=sn(["document","objects","ExternalDocumentation"]),this.canSupportSpecificationExtensions=!0}};const Wu=class extends xl{constructor(e){super(e),this.element=new X,this.specPath=sn(["document","objects","Components"]),this.canSupportSpecificationExtensions=!0}};const Xu=class extends wl{constructor(e){super(e),this.element=new Vc,this.specPath=e=>cl(e)?["document","objects","Reference"]:["document","objects","Schema"]}ObjectElement(e){wl.prototype.ObjectElement.call(this,e),this.element.filter(Xa).forEach(e=>{e.meta.set("referenced-element","schema")})}};const Ku=class extends wl{constructor(e){super(e),this.element=new Rc,this.specPath=e=>cl(e)?["document","objects","Reference"]:["document","objects","Server"]}ObjectElement(e){wl.prototype.ObjectElement.call(this,e),this.element.filter(Xa).forEach(e=>{e.meta.set("referenced-element","server")})}};const Yu=class extends wl{constructor(e){super(e),this.element=new _c,this.specPath=e=>cl(e)?["document","objects","Reference"]:["document","objects","ServerVariable"]}ObjectElement(e){wl.prototype.ObjectElement.call(this,e),this.element.filter(Xa).forEach(e=>{e.meta.set("referenced-element","serverVariable")})}};class Qu extends _{static primaryClass="components-channels";constructor(e,t,s){super(e,t,s),this.classes.push(Qu.primaryClass)}}const Zu=Qu;const ed=class extends wl{constructor(e){super(e),this.element=new Zu,this.specPath=sn(["document","objects","ChannelItem"])}};const td=class extends wl{constructor(e){super(e),this.element=new Uc,this.specPath=e=>cl(e)?["document","objects","Reference"]:["document","objects","Message"]}ObjectElement(e){wl.prototype.ObjectElement.call(this,e),this.element.filter(Xa).forEach(e=>{e.meta.set("referenced-element","message")})}};const sd=class extends wl{constructor(e){super(e),this.element=new Gc,this.specPath=e=>cl(e)?["document","objects","Reference"]:["document","objects","SecurityScheme"]}ObjectElement(e){wl.prototype.ObjectElement.call(this,e),this.element.filter(Xa).forEach(e=>{e.meta.set("referenced-element","securityScheme")})}};const nd=class extends wl{constructor(e){super(e),this.element=new Wc,this.specPath=e=>cl(e)?["document","objects","Reference"]:["document","objects","Parameter"]}ObjectElement(e){wl.prototype.ObjectElement.call(this,e),this.element.filter(Xa).forEach(e=>{e.meta.set("referenced-element","parameter")})}};const id=class extends wl{constructor(e){super(e),this.element=new Kc,this.specPath=e=>cl(e)?["document","objects","Reference"]:["document","objects","CorrelationID"]}ObjectElement(e){wl.prototype.ObjectElement.call(this,e),this.element.filter(Xa).forEach(e=>{e.meta.set("referenced-element","correlationID")})}};const rd=class extends wl{constructor(e){super(e),this.element=new Qc,this.specPath=e=>cl(e)?["document","objects","Reference"]:["document","objects","OperationTrait"]}ObjectElement(e){wl.prototype.ObjectElement.call(this,e),this.element.filter(Xa).forEach(e=>{e.meta.set("referenced-element","operationTrait")})}};const od=class extends wl{constructor(e){super(e),this.element=new ea,this.specPath=e=>cl(e)?["document","objects","Reference"]:["document","objects","MessageTrait"]}ObjectElement(e){wl.prototype.ObjectElement.call(this,e),this.element.filter(Xa).forEach(e=>{e.meta.set("referenced-element","messageTrait")})}};const cd=class extends wl{constructor(e){super(e),this.element=new sa,this.specPath=e=>cl(e)?["document","objects","Reference"]:["document","objects","ServerBindings"]}ObjectElement(e){wl.prototype.ObjectElement.call(this,e),this.element.filter(Xa).forEach(e=>{e.meta.set("referenced-element","serverBindings")})}};const ad=class extends wl{constructor(e){super(e),this.element=new ia,this.specPath=e=>cl(e)?["document","objects","Reference"]:["document","objects","ChannelBindings"]}ObjectElement(e){wl.prototype.ObjectElement.call(this,e),this.element.filter(Xa).forEach(e=>{e.meta.set("referenced-element","channelBindings")})}};const ld=class extends wl{constructor(e){super(e),this.element=new oa,this.specPath=e=>cl(e)?["document","objects","Reference"]:["document","objects","OperationBindings"]}ObjectElement(e){wl.prototype.ObjectElement.call(this,e),this.element.filter(Xa).forEach(e=>{e.meta.set("referenced-element","operationBindings")})}};const ud=class extends wl{constructor(e){super(e),this.element=new aa,this.specPath=e=>cl(e)?["document","objects","Reference"]:["document","objects","MessageBindings"]}ObjectElement(e){wl.prototype.ObjectElement.call(this,e),this.element.filter(Xa).forEach(e=>{e.meta.set("referenced-element","messageBindings")})}};const dd=class extends xl{constructor(e){super(e),this.element=new le,this.specPath=sn(["document","objects","Operation"])}};const pd=class extends vl{constructor(e){super(e),this.element=new Ea}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const hd=class extends El{constructor(e){super(e),this.alternator=[{predicate:cl,specPath:["document","objects","Reference"]},{predicate:pr,specPath:["document","objects","OperationBindings"]}]}ObjectElement(e){pl.prototype.enter.call(this,e),Xa(this.element)&&this.element.meta.set("referenced-element","operationBindings")}};const md=class extends vl{constructor(e){super(e),this.element=new fa}ArrayElement(e){const t=e.node;t.forEach(e=>{let t;cl(e)?(t=this.toRefractedElement(["document","objects","Reference"],e),t.meta.set("referenced-element","operationTrait")):t=this.toRefractedElement(["document","objects","OperationTrait"],e),this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const gd=class extends vl{ObjectElement(e){const t=e.node;if(cl(t))this.element=this.toRefractedElement(["document","objects","Reference"],t),this.element.meta.set("referenced-element","message");else if(Ss(t.get("oneOf"))){this.element=new xa;const e=new wa;t.get("oneOf").forEach(t=>{let s;const n=t;cl(n)?(s=this.toRefractedElement(["document","objects","Reference"],n),s.meta.set("referenced-element","message")):s=this.toRefractedElement(["document","objects","Message"],n),e.push(s)}),this.element.oneOf=e}else this.element=this.toRefractedElement(["document","objects","Message"],t);this.copyMetaAndAttributes(t,this.element),e.stop()}};const fd=class extends vl{constructor(e){super(e),this.element=new ho}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=this.toRefractedElement(["document","objects","Tag"],e);this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const yd=class extends xl{constructor(e){super(e),this.element=new po,this.specPath=sn(["document","objects","Tag"]),this.canSupportSpecificationExtensions=!0}};const bd=class extends wl{constructor(e){super(e),this.element=new W,this.specPath=sn(["document","objects","ChannelItem"])}};const vd=class extends xl{constructor(e){super(e),this.element=new G,this.specPath=sn(["document","objects","ChannelBindings"]),this.canSupportSpecificationExtensions=!0}};const xd=class extends xl{constructor(e){super(e),this.element=new z,this.specPath=sn(["document","objects","ChannelItem"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){xl.prototype.ObjectElement.call(this,e),ys(this.element.$ref)&&(this.element.classes.push("reference-element"),this.element.meta.set("referenced-element","channelItem"))}};const Sd=class extends ul{StringElement(e){super.enter(e),this.element.classes.push("reference-value")}};const wd=class extends vl{constructor(e){super(e),this.element=new pa}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=Ds(e);ys(t)&&t.classes.push("server-name"),this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const Bd=class extends El{constructor(e){super(e),this.alternator=[{predicate:cl,specPath:["document","objects","Reference"]},{predicate:pr,specPath:["document","objects","ChannelBindings"]}]}ObjectElement(e){pl.prototype.enter.call(this,e),Xa(this.element)&&this.element.meta.set("referenced-element","channelBindings")}};const Ed=class extends xl{constructor(e){super(e),this.element=new ie,this.specPath=sn(["document","objects","MessageBindings"]),this.canSupportSpecificationExtensions=!0}};const jd=class extends xl{constructor(e){super(e),this.element=new re,this.specPath=sn(["document","objects","MessageExample"]),this.canSupportSpecificationExtensions=!0}};const Od=class extends xl{constructor(e){super(e),this.element=new oe,this.specPath=sn(["document","objects","MessageTrait"]),this.canSupportSpecificationExtensions=!0}};const kd=class extends El{constructor(e){super(e),this.alternator=[{predicate:cl,specPath:["document","objects","Reference"]},{predicate:pr,specPath:["document","objects","Schema"]}]}ObjectElement(e){pl.prototype.enter.call(this,e),Xa(this.element)&&this.element.meta.set("referenced-element","schema")}};const qd=class extends El{constructor(e){super(e),this.alternator=[{predicate:cl,specPath:["document","objects","Reference"]},{predicate:pr,specPath:["document","objects","CorrelationID"]}]}ObjectElement(e){pl.prototype.enter.call(this,e),Xa(this.element)&&this.element.meta.set("referenced-element","correlationID")}};const Md=class extends El{constructor(e){super(e),this.alternator=[{predicate:cl,specPath:["document","objects","Reference"]},{predicate:pr,specPath:["document","objects","MessageBindings"]}]}ObjectElement(e){pl.prototype.enter.call(this,e),Xa(this.element)&&this.element.meta.set("referenced-element","messageBindings")}};const Cd=class extends vl{constructor(e){super(e),this.element=new Aa}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=this.toRefractedElement(["document","objects","MessageExample"],e);this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const $d=class extends xl{constructor(e){super(e),this.element=new ne,this.specPath=sn(["document","objects","Message"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){xl.prototype.ObjectElement.call(this,e);const t=e.node,s=this.element.get("payload"),n=nn(f.latest(),Ws(t.get("schemaFormat")));if(f.includes(n)&&cl(s)){const e=this.toRefractedElement(["document","objects","Reference"],s);e.meta.set("referenced-element","schema"),this.element.payload=e}else f.includes(n)&&ws(this.element.payload)&&(this.element.payload=this.toRefractedElement(["document","objects","Schema"],s))}};const Ad=class extends El{constructor(e){super(e),this.alternator=[{predicate:cl,specPath:["document","objects","Reference"]},{predicate:pr,specPath:["document","objects","Schema"]}]}ObjectElement(e){pl.prototype.enter.call(this,e),Xa(this.element)&&this.element.meta.set("referenced-element","schema")}};const Pd=class extends El{constructor(e){super(e),this.alternator=[{predicate:cl,specPath:["document","objects","Reference"]},{predicate:pr,specPath:["document","objects","CorrelationID"]}]}ObjectElement(e){pl.prototype.enter.call(this,e),Xa(this.element)&&this.element.meta.set("referenced-element","correlationID")}};const Fd=class extends El{constructor(e){super(e),this.alternator=[{predicate:cl,specPath:["document","objects","Reference"]},{predicate:pr,specPath:["document","objects","MessageBindings"]}]}ObjectElement(e){pl.prototype.enter.call(this,e),Xa(this.element)&&this.element.meta.set("referenced-element","messageBindings")}};const Id=class extends vl{constructor(e){super(e),this.element=new qa}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=this.toRefractedElement(["document","objects","MessageExample"],e);this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const Td=class extends vl{constructor(e){super(e),this.element=new Ca}ArrayElement(e){const t=e.node;t.forEach(e=>{let t;cl(e)?(t=this.toRefractedElement(["document","objects","Reference"],e),t.meta.set("referenced-element","messageTrait")):t=this.toRefractedElement(["document","objects","MessageTrait"],e),this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const Dd=class extends xl{constructor(e){super(e),this.element=new ue,this.specPath=sn(["document","objects","OperationBindings"]),this.canSupportSpecificationExtensions=!0}};const Vd=class extends xl{constructor(e){super(e),this.element=new de,this.specPath=sn(["document","objects","OperationTrait"]),this.canSupportSpecificationExtensions=!0}};const Nd=class extends vl{constructor(e){super(e),this.element=new Oa}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const Rd=class extends El{constructor(e){super(e),this.alternator=[{predicate:cl,specPath:["document","objects","Reference"]},{predicate:pr,specPath:["document","objects","OperationBindings"]}]}ObjectElement(e){pl.prototype.enter.call(this,e),Xa(this.element)&&this.element.meta.set("referenced-element","operationBindings")}};const Ld=class extends xl{constructor(e){super(e),this.element=new mo,this.specPath=sn(["document","objects","bindings","amqp","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const _d=class extends xl{constructor(e){super(e),this.element=new go,this.specPath=sn(["document","objects","bindings","amqp","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Jd=class extends xl{constructor(e){super(e),this.element=new fo,this.specPath=sn(["document","objects","bindings","amqp","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Ud=class extends xl{constructor(e){super(e),this.element=new yo,this.specPath=sn(["document","objects","bindings","amqp","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const Hd=class extends xl{constructor(e){super(e),this.element=new bo,this.specPath=sn(["document","objects","bindings","amqp1","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Gd=class extends xl{constructor(e){super(e),this.element=new vo,this.specPath=sn(["document","objects","bindings","amqp1","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const zd=class extends xl{constructor(e){super(e),this.element=new xo,this.specPath=sn(["document","objects","bindings","amqp1","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Wd=class extends xl{constructor(e){super(e),this.element=new So,this.specPath=sn(["document","objects","bindings","amqp1","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const Xd=class extends xl{constructor(e){super(e),this.element=new wo,this.specPath=sn(["document","objects","bindings","anypointmq","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Kd=class extends xl{constructor(e){super(e),this.element=new Bo,this.specPath=sn(["document","objects","bindings","anypointmq","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Yd=class extends xl{constructor(e){super(e),this.element=new Eo,this.specPath=sn(["document","objects","bindings","anypointmq","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Qd=class extends xl{constructor(e){super(e),this.element=new jo,this.specPath=sn(["document","objects","bindings","anypointmq","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const Zd=class extends xl{constructor(e){super(e),this.element=new Co,this.specPath=sn(["document","objects","bindings","http","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const ep=class extends xl{constructor(e){super(e),this.element=new $o,this.specPath=sn(["document","objects","bindings","http","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const tp=class extends xl{constructor(e){super(e),this.element=new Ao,this.specPath=sn(["document","objects","bindings","http","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const sp=class extends xl{constructor(e){super(e),this.element=new Po,this.specPath=sn(["document","objects","bindings","http","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const np=class extends xl{constructor(e){super(e),this.element=new Oo,this.specPath=sn(["document","objects","bindings","googlepubsub","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const ip=class extends xl{constructor(e){super(e),this.element=new ko,this.specPath=sn(["document","objects","bindings","googlepubusb","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const rp=class extends xl{constructor(e){super(e),this.element=new qo,this.specPath=sn(["document","objects","bindings","googlepubsub","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const op=class extends xl{constructor(e){super(e),this.element=new Mo,this.specPath=sn(["document","objects","bindings","googlepubsub","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const cp=class extends xl{constructor(e){super(e),this.element=new Fo,this.specPath=sn(["document","objects","bindings","ibmmq","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const ap=class extends xl{constructor(e){super(e),this.element=new Io,this.specPath=sn(["document","objects","bindings","ibmmq","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const lp=class extends xl{constructor(e){super(e),this.element=new To,this.specPath=sn(["document","objects","bindings","ibmmq","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const up=class extends xl{constructor(e){super(e),this.element=new Do,this.specPath=sn(["document","objects","bindings","ibmmq","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const dp=class extends xl{constructor(e){super(e),this.element=new Vo,this.specPath=sn(["document","objects","bindings","jms","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const pp=class extends xl{constructor(e){super(e),this.element=new No,this.specPath=sn(["document","objects","bindings","jms","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const hp=class extends xl{constructor(e){super(e),this.element=new Ro,this.specPath=sn(["document","objects","bindings","jms","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const mp=class extends xl{constructor(e){super(e),this.element=new Lo,this.specPath=sn(["document","objects","bindings","jms","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const gp=class extends xl{constructor(e){super(e),this.element=new _o,this.specPath=sn(["document","objects","bindings","kafka","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const fp=class extends xl{constructor(e){super(e),this.element=new Jo,this.specPath=sn(["document","objects","bindings","kafka","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const yp=class extends xl{constructor(e){super(e),this.element=new Uo,this.specPath=sn(["document","objects","bindings","kafka","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const bp=class extends xl{constructor(e){super(e),this.element=new Ho,this.specPath=sn(["document","objects","bindings","kafka","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const vp=class extends xl{constructor(e){super(e),this.element=new Go,this.specPath=sn(["document","objects","bindings","mercure","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const xp=class extends xl{constructor(e){super(e),this.element=new zo,this.specPath=sn(["document","objects","bindings","mercure","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Sp=class extends xl{constructor(e){super(e),this.element=new Wo,this.specPath=sn(["document","objects","bindings","mercure","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const wp=class extends xl{constructor(e){super(e),this.element=new Xo,this.specPath=sn(["document","objects","bindings","mercure","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const Bp=class extends xl{constructor(e){super(e),this.element=new Ko,this.specPath=sn(["document","objects","bindings","mqtt","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Ep=class extends xl{constructor(e){super(e),this.element=new Yo,this.specPath=sn(["document","objects","bindings","mqtt","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const jp=class extends xl{constructor(e){super(e),this.element=new Qo,this.specPath=sn(["document","objects","bindings","mqtt","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Op=class extends xl{constructor(e){super(e),this.element=new Zo,this.specPath=sn(["document","objects","bindings","mqtt","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const kp=class extends xl{constructor(e){super(e),this.element=new ec,this.specPath=sn(["document","objects","bindings","mqtt5","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const qp=class extends xl{constructor(e){super(e),this.element=new tc,this.specPath=sn(["document","objects","bindings","mqtt5","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Mp=class extends xl{constructor(e){super(e),this.element=new sc,this.specPath=sn(["document","objects","bindings","mqtt5","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Cp=class extends xl{constructor(e){super(e),this.element=new nc,this.specPath=sn(["document","objects","bindings","mqtt5","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const $p=class extends xl{constructor(e){super(e),this.element=new ic,this.specPath=sn(["document","objects","bindings","nats","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Ap=class extends xl{constructor(e){super(e),this.element=new rc,this.specPath=sn(["document","objects","bindings","nats","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Pp=class extends xl{constructor(e){super(e),this.element=new oc,this.specPath=sn(["document","objects","bindings","nats","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Fp=class extends xl{constructor(e){super(e),this.element=new cc,this.specPath=sn(["document","objects","bindings","nats","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const Ip=class extends xl{constructor(e){super(e),this.element=new ac,this.specPath=sn(["document","objects","bindings","pulsar","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Tp=class extends xl{constructor(e){super(e),this.element=new lc,this.specPath=sn(["document","objects","bindings","pulsar","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Dp=class extends xl{constructor(e){super(e),this.element=new uc,this.specPath=sn(["document","objects","bindings","pulsar","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Vp=class extends xl{constructor(e){super(e),this.element=new dc,this.specPath=sn(["document","objects","bindings","pulsar","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const Np=class extends xl{constructor(e){super(e),this.element=new pc,this.specPath=sn(["document","objects","bindings","redis","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Rp=class extends xl{constructor(e){super(e),this.element=new hc,this.specPath=sn(["document","objects","bindings","redis","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Lp=class extends xl{constructor(e){super(e),this.element=new mc,this.specPath=sn(["document","objects","bindings","redis","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const _p=class extends xl{constructor(e){super(e),this.element=new gc,this.specPath=sn(["document","objects","bindings","redis","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const Jp=class extends xl{constructor(e){super(e),this.element=new fc,this.specPath=sn(["document","objects","bindings","sns","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Up=class extends xl{constructor(e){super(e),this.element=new yc,this.specPath=sn(["document","objects","bindings","sns","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Hp=class extends xl{constructor(e){super(e),this.element=new bc,this.specPath=sn(["document","objects","bindings","sns","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Gp=class extends xl{constructor(e){super(e),this.element=new vc,this.specPath=sn(["document","objects","bindings","sns","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const zp=class extends xl{constructor(e){super(e),this.element=new xc,this.specPath=sn(["document","objects","bindings","solace","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Wp=class extends xl{constructor(e){super(e),this.element=new Sc,this.specPath=sn(["document","objects","bindings","solace","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Xp=class extends xl{constructor(e){super(e),this.element=new wc,this.specPath=sn(["document","objects","bindings","solace","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Kp=class extends xl{constructor(e){super(e),this.element=new Bc,this.specPath=sn(["document","objects","bindings","solace","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const Yp=class extends xl{constructor(e){super(e),this.element=new Ec,this.specPath=sn(["document","objects","bindings","sqs","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Qp=class extends xl{constructor(e){super(e),this.element=new jc,this.specPath=sn(["document","objects","bindings","sqs","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Zp=class extends xl{constructor(e){super(e),this.element=new Oc,this.specPath=sn(["document","objects","bindings","sqs","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const eh=class extends xl{constructor(e){super(e),this.element=new kc,this.specPath=sn(["document","objects","bindings","sqs","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const th=class extends xl{constructor(e){super(e),this.element=new qc,this.specPath=sn(["document","objects","bindings","stomp","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const sh=class extends xl{constructor(e){super(e),this.element=new Mc,this.specPath=sn(["document","objects","bindings","stomp","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const nh=class extends xl{constructor(e){super(e),this.element=new Cc,this.specPath=sn(["document","objects","bindings","stomp","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const ih=class extends xl{constructor(e){super(e),this.element=new $c,this.specPath=sn(["document","objects","bindings","stomp","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const rh=class extends xl{constructor(e){super(e),this.element=new Ac,this.specPath=sn(["document","objects","bindings","ws","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const oh=class extends xl{constructor(e){super(e),this.element=new Pc,this.specPath=sn(["document","objects","bindings","ws","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const ch=class extends xl{constructor(e){super(e),this.element=new Fc,this.specPath=sn(["document","objects","bindings","ws","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const ah=class extends xl{constructor(e){super(e),this.element=new Ic,this.specPath=sn(["document","objects","bindings","ws","ServerBinding"]),this.canSupportSpecificationExtensions=!1}},lh={element:"reference",$visitor:wu,fixedFields:{$ref:Bu}},uh={element:"schema",$visitor:Eu,fixedFields:{...Ju,allOf:qu,anyOf:Cu,oneOf:Au,items:{$visitor:Vu,alias:"itemsField"},properties:_u,patternProperties:Ru,dependencies:Tu,definitions:Fu,discriminator:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},deprecated:{$ref:"#/visitors/value"}}},dh={visitors:{value:ul,document:{objects:{AsyncApi:{element:"asyncApi2",$visitor:Zl,fixedFields:{asyncapi:{$ref:"#/visitors/document/objects/AsyncApiVersion"},id:{$visitor:tu,alias:"idField"},info:{$ref:"#/visitors/document/objects/Info"},servers:{$ref:"#/visitors/document/objects/Servers"},defaultContentType:{$ref:"#/visitors/document/objects/DefaultContentType"},channels:{$ref:"#/visitors/document/objects/Channels"},components:{$ref:"#/visitors/document/objects/Components"},tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},AsyncApiVersion:{element:"asyncApiVersion",$visitor:eu},Identifier:{element:"identifier",$visitor:tu},Info:{element:"info",$visitor:su,fixedFields:{title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},termsOfService:{$ref:"#/visitors/value"},version:nu,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"}}},Contact:{element:"contact",$visitor:iu,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"},email:{$ref:"#/visitors/value"}}},License:{element:"license",$visitor:cu,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Servers:{element:"servers",$visitor:pu},Server:{element:"server",$visitor:hu,fixedFields:{url:mu,protocol:{$ref:"#/visitors/value"},protocolVersion:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},variables:fu,security:yu,tags:{$ref:"#/visitors/document/objects/Tags"},bindings:gu}},ServerVariable:{element:"serverVariable",$visitor:bu,fixedFields:{enum:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},examples:{$ref:"#/visitors/value"}}},DefaultContentType:{element:"defaultContentType",$visitor:ou},Channels:{element:"channels",$visitor:bd},ChannelItem:{element:"channelItem",$visitor:xd,fixedFields:{$ref:Sd,description:{$ref:"#/visitors/value"},servers:wd,subscribe:{$ref:"#/visitors/document/objects/Operation"},publish:{$ref:"#/visitors/document/objects/Operation"},parameters:{$ref:"#/visitors/document/objects/Parameters"},bindings:Bd}},Operation:{element:"operation",$visitor:dd,fixedFields:{operationId:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},security:pd,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:hd,traits:md,message:gd}},OperationTrait:{element:"operationTrait",$visitor:Vd,fixedFields:{operationId:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},security:Nd,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:Rd}},Message:{element:"message",$visitor:$d,fixedFields:{messageId:{$ref:"#/visitors/value"},headers:Ad,payload:{$ref:"#/visitors/value"},correlationId:Pd,schemaFormat:{$ref:"#/visitors/value"},contentType:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},title:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:Fd,examples:Id,traits:Td}},MessageTrait:{element:"messageTrait",$visitor:Od,fixedFields:{messageId:{$ref:"#/visitors/value"},headers:kd,correlationId:qd,schemaFormat:{$ref:"#/visitors/value"},contentType:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},title:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:Md,examples:Cd}},MessageExample:{element:"messageExample",$visitor:jd,fixedFields:{headers:{$ref:"#/visitors/value"},payload:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"}}},Tags:{element:"tags",$visitor:fd},Tag:{element:"tag",$visitor:yd,fixedFields:{name:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},ExternalDocumentation:{element:"externalDocumentation",$visitor:zu,fixedFields:{description:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Components:{element:"components",$visitor:Wu,fixedFields:{schemas:Xu,servers:Ku,serverVariables:Yu,channels:ed,messages:td,securitySchemes:sd,parameters:nd,correlationIds:id,operationTraits:rd,messageTraits:od,serverBindings:cd,channelBindings:ad,operationBindings:ld,messageBindings:ud}},JSONReference:lh,Reference:lh,JSONSchema:uh,Schema:uh,LinkDescription:to.visitors.document.objects.LinkDescription,SecurityScheme:{element:"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"}}},SecurityRequirement:{element:"securityRequirement",$visitor:Su},OAuthFlows:{element:"oAuthFlows",$visitor:au,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:{element:"oAuthFlow",$visitor:lu,fixedFields:{authorizationUrl:{$ref:"#/visitors/value"},tokenUrl:{$ref:"#/visitors/value"},refreshUrl:{$ref:"#/visitors/value"},scopes:uu}},ServerBindings:{element:"serverBindings",$visitor:vu,fixedFields:{http:{$ref:"#/visitors/document/objects/bindings/http/ServerBinding"},ws:{$ref:"#/visitors/document/objects/bindings/ws/ServerBinding"},kafka:{$ref:"#/visitors/document/objects/bindings/kafka/ServerBinding"},anypointmq:{$ref:"#/visitors/document/objects/bindings/anypointmq/ServerBinding"},amqp:{$ref:"#/visitors/document/objects/bindings/amqp/ServerBinding"},amqp1:{$ref:"#/visitors/document/objects/bindings/amqp1/ServerBinding"},mqtt:{$ref:"#/visitors/document/objects/bindings/mqtt/ServerBinding"},mqtt5:{$ref:"#/visitors/document/objects/bindings/mqtt5/ServerBinding"},nats:{$ref:"#/visitors/document/objects/bindings/nats/ServerBinding"},jms:{$ref:"#/visitors/document/objects/bindings/jms/ServerBinding"},sns:{$ref:"#/visitors/document/objects/bindings/sns/ServerBinding"},solace:{$ref:"#/visitors/document/objects/bindings/solace/ServerBinding"},sqs:{$ref:"#/visitors/document/objects/bindings/sqs/ServerBinding"},stomp:{$ref:"#/visitors/document/objects/bindings/stomp/ServerBinding"},redis:{$ref:"#/visitors/document/objects/bindings/redis/ServerBinding"},mercure:{$ref:"#/visitors/document/objects/bindings/mercure/ServerBinding"},ibmmq:{$ref:"#/visitors/document/objects/bindings/ibmmq/ServerBinding"},googlepubsub:{$ref:"#/visitors/document/objects/bindings/googlepubsub/ServerBinding"},pulsar:{$ref:"#/visitors/document/objects/bindings/pulsar/ServerBinding"}}},Parameters:{element:"parameters",$visitor:Uu},Parameter:{element:"parameter",$visitor:Hu,fixedFields:{description:{$ref:"#/visitors/value"},schema:Gu,location:{$ref:"#/visitors/value"}}},ChannelBindings:{element:"channelBindings",$visitor:vd,fixedFields:{http:{$ref:"#/visitors/document/objects/bindings/http/ChannelBinding"},ws:{$ref:"#/visitors/document/objects/bindings/ws/ChannelBinding"},kafka:{$ref:"#/visitors/document/objects/bindings/kafka/ChannelBinding"},anypointmq:{$ref:"#/visitors/document/objects/bindings/anypointmq/ChannelBinding"},amqp:{$ref:"#/visitors/document/objects/bindings/amqp/ChannelBinding"},amqp1:{$ref:"#/visitors/document/objects/bindings/amqp1/ChannelBinding"},mqtt:{$ref:"#/visitors/document/objects/bindings/mqtt/ChannelBinding"},mqtt5:{$ref:"#/visitors/document/objects/bindings/mqtt5/ChannelBinding"},nats:{$ref:"#/visitors/document/objects/bindings/nats/ChannelBinding"},jms:{$ref:"#/visitors/document/objects/bindings/jms/ChannelBinding"},sns:{$ref:"#/visitors/document/objects/bindings/sns/ChannelBinding"},solace:{$ref:"#/visitors/document/objects/bindings/solace/ChannelBinding"},sqs:{$ref:"#/visitors/document/objects/bindings/sqs/ChannelBinding"},stomp:{$ref:"#/visitors/document/objects/bindings/stomp/ChannelBinding"},redis:{$ref:"#/visitors/document/objects/bindings/redis/ChannelBinding"},mercure:{$ref:"#/visitors/document/objects/bindings/mercure/ChannelBinding"},ibmmq:{$ref:"#/visitors/document/objects/bindings/ibmmq/ChannelBinding"},googlepubsub:{$ref:"#/visitors/document/objects/bindings/googlepubsub/ChannelBinding"},pulsar:{$ref:"#/visitors/document/objects/bindings/pulsar/ChannelBinding"}}},OperationBindings:{element:"operationBindings",$visitor:Dd,fixedFields:{http:{$ref:"#/visitors/document/objects/bindings/http/OperationBinding"},ws:{$ref:"#/visitors/document/objects/bindings/ws/OperationBinding"},kafka:{$ref:"#/visitors/document/objects/bindings/kafka/OperationBinding"},anypointmq:{$ref:"#/visitors/document/objects/bindings/anypointmq/OperationBinding"},amqp:{$ref:"#/visitors/document/objects/bindings/amqp/OperationBinding"},amqp1:{$ref:"#/visitors/document/objects/bindings/amqp1/OperationBinding"},mqtt:{$ref:"#/visitors/document/objects/bindings/mqtt/OperationBinding"},mqtt5:{$ref:"#/visitors/document/objects/bindings/mqtt5/OperationBinding"},nats:{$ref:"#/visitors/document/objects/bindings/nats/OperationBinding"},jms:{$ref:"#/visitors/document/objects/bindings/jms/OperationBinding"},sns:{$ref:"#/visitors/document/objects/bindings/sns/OperationBinding"},solace:{$ref:"#/visitors/document/objects/bindings/solace/OperationBinding"},sqs:{$ref:"#/visitors/document/objects/bindings/sqs/OperationBinding"},stomp:{$ref:"#/visitors/document/objects/bindings/stomp/OperationBinding"},redis:{$ref:"#/visitors/document/objects/bindings/redis/OperationBinding"},mercure:{$ref:"#/visitors/document/objects/bindings/mercure/OperationBinding"},googlepubsub:{$ref:"#/visitors/document/objects/bindings/googlepubsub/OperationBinding"},ibmmq:{$ref:"#/visitors/document/objects/bindings/ibmmq/OperationBinding"},pulsar:{$ref:"#/visitors/document/objects/bindings/pulsar/OperationBinding"}}},MessageBindings:{element:"messageBindings",$visitor:Ed,fixedFields:{http:{$ref:"#/visitors/document/objects/bindings/http/MessageBinding"},ws:{$ref:"#/visitors/document/objects/bindings/ws/MessageBinding"},kafka:{$ref:"#/visitors/document/objects/bindings/kafka/MessageBinding"},anypointmq:{$ref:"#/visitors/document/objects/bindings/anypointmq/MessageBinding"},amqp:{$ref:"#/visitors/document/objects/bindings/amqp/MessageBinding"},amqp1:{$ref:"#/visitors/document/objects/bindings/amqp1/MessageBinding"},mqtt:{$ref:"#/visitors/document/objects/bindings/mqtt/MessageBinding"},mqtt5:{$ref:"#/visitors/document/objects/bindings/mqtt5/MessageBinding"},nats:{$ref:"#/visitors/document/objects/bindings/nats/MessageBinding"},jms:{$ref:"#/visitors/document/objects/bindings/jms/MessageBinding"},sns:{$ref:"#/visitors/document/objects/bindings/sns/MessageBinding"},solace:{$ref:"#/visitors/document/objects/bindings/solace/MessageBinding"},sqs:{$ref:"#/visitors/document/objects/bindings/sqs/MessageBinding"},stomp:{$ref:"#/visitors/document/objects/bindings/stomp/MessageBinding"},redis:{$ref:"#/visitors/document/objects/bindings/redis/MessageBinding"},mercure:{$ref:"#/visitors/document/objects/bindings/mercure/MessageBinding"},ibmmq:{$ref:"#/visitors/document/objects/bindings/ibmmq/MessageBinding"},googlepubsub:{$ref:"#/visitors/document/objects/bindings/googlepubsub/MessageBinding"},pulsar:{$ref:"#/visitors/document/objects/bindings/pulsar/MessageBinding"}}},CorrelationID:{element:"correlationID",$visitor:ru,fixedFields:{description:{$ref:"#/visitors/value"},location:{$ref:"#/visitors/value"}}},bindings:{http:{ServerBinding:{element:"httpServerBinding",$visitor:sp},ChannelBinding:{element:"httpChannelBinding",$visitor:Zd},OperationBinding:{element:"httpOperationBinding",$visitor:tp,fixedFields:{type:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},query:Ou,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{element:"httpMessageBinding",$visitor:ep,fixedFields:{headers:Ou,bindingVersion:{$ref:"#/visitors/value"}}}},ws:{ServerBinding:{element:"webSocketServerBinding",$visitor:ah},ChannelBinding:{element:"webSocketChannelBinding",$visitor:rh,fixedFields:{method:{$ref:"#/visitors/value"},query:Ou,headers:Ou,bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{element:"webSocketOperationBinding",$visitor:ch},MessageBinding:{element:"webSocketMessageBinding",$visitor:oh}},kafka:{ServerBinding:{element:"kafkaServerBinding",$visitor:bp,fixedFields:{schemaRegistryUrl:{$ref:"#/visitors/value"},schemaRegistryVendor:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{element:"kafkaChannelBinding",$visitor:gp,fixedFields:{topic:{$ref:"#/visitors/value"},partitions:{$ref:"#/visitors/value"},replicas:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{element:"kafkaOperationBinding",$visitor:yp,fixedFields:{groupId:Ou,clientId:Ou,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{element:"kafkaMessageBinding",$visitor:fp,fixedFields:{key:Ou,schemaIdLocation:{$ref:"#/visitors/value"},schemaIdPayloadEncoding:{$ref:"#/visitors/value"},schemaLookupStrategy:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},anypointmq:{ServerBinding:{element:"anypointmqServerBinding",$visitor:Qd},ChannelBinding:{element:"anypointmqChannelBinding",$visitor:Xd,fixedFields:{destination:{$ref:"#/visitors/value"},destinationType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{element:"anypointmqOperationBinding",$visitor:Yd},MessageBinding:{element:"anypointmqMessageBinding",$visitor:Kd,fixedFields:{headers:Ou,bindingVersion:{$ref:"#/visitors/value"}}}},amqp:{ServerBinding:{element:"amqpServerBinding",$visitor:Ud},ChannelBinding:{element:"amqpChannelBinding",$visitor:Ld,fixedFields:{is:{$ref:"#/visitors/value"},exchange:{$ref:"#/visitors/value"},queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{element:"amqpOperationBinding",$visitor:Jd,fixedFields:{expiration:{$ref:"#/visitors/value"},userId:{$ref:"#/visitors/value"},cc:{$ref:"#/visitors/value"},priority:{$ref:"#/visitors/value"},deliveryMode:{$ref:"#/visitors/value"},mandatory:{$ref:"#/visitors/value"},bcc:{$ref:"#/visitors/value"},replyTo:{$ref:"#/visitors/value"},timestamp:{$ref:"#/visitors/value"},ack:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{element:"amqpMessageBinding",$visitor:_d,fixedFields:{contentEncoding:{$ref:"#/visitors/value"},messageType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},amqp1:{ServerBinding:{element:"amqp1ServerBinding",$visitor:Wd},ChannelBinding:{element:"amqp1ChannelBinding",$visitor:Hd},OperationBinding:{element:"amqp1OperationBinding",$visitor:zd},MessageBinding:{element:"amqp1MessageBinding",$visitor:Gd}},mqtt:{ServerBinding:{element:"mqttServerBinding",$visitor:Op,fixedFields:{clientId:{$ref:"#/visitors/value"},cleanSession:{$ref:"#/visitors/value"},lastWill:{$ref:"#/visitors/value"},keepAlive:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{element:"mqttChannelBinding",$visitor:Bp},OperationBinding:{element:"mqttOperationBinding",$visitor:jp,fixedFields:{qos:{$ref:"#/visitors/value"},retain:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{element:"mqttMessageBinding",$visitor:Ep,fixedFields:{bindingVersion:{$ref:"#/visitors/value"}}}},mqtt5:{ServerBinding:{element:"mqtt5ServerBinding",$visitor:Cp},ChannelBinding:{element:"mqtt5ChannelBinding",$visitor:kp},OperationBinding:{element:"mqtt5OperationBinding",$visitor:Mp},MessageBinding:{element:"mqtt5MessageBinding",$visitor:qp}},nats:{ServerBinding:{element:"natsServerBinding",$visitor:Fp},ChannelBinding:{element:"natsChannelBinding",$visitor:$p},OperationBinding:{element:"natsOperationBinding",$visitor:Pp,fixedFields:{queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{element:"natsMessageBinding",$visitor:Ap}},pulsar:{ServerBinding:{element:"pulsarServerBinding",$visitor:Vp,fixedFields:{tenant:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{element:"pulsarChannelBinding",$visitor:Ip,fixedFields:{namespace:{$ref:"#/visitors/value"},persistence:{$ref:"#/visitors/value"},compaction:{$ref:"#/visitors/value"},"geo-replication":{$ref:"#/visitors/value"},retention:{$ref:"#/visitors/value"},ttl:{$ref:"#/visitors/value"},deduplication:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{element:"pulsarOperationBinding",$visitor:Dp},MessageBinding:{element:"pulsarMessageBinding",$visitor:Tp}},jms:{ServerBinding:{element:"jmsServerBinding",$visitor:mp},ChannelBinding:{element:"jmsChannelBinding",$visitor:dp},OperationBinding:{element:"jmsOperationBinding",$visitor:hp},MessageBinding:{element:"jmsMessageBinding",$visitor:pp}},sns:{ServerBinding:{element:"snsServerBinding",$visitor:Gp},ChannelBinding:{element:"snsChannelBinding",$visitor:Jp},OperationBinding:{element:"snsOperationBinding",$visitor:Hp},MessageBinding:{element:"snsMessageBinding",$visitor:Up}},solace:{ServerBinding:{element:"solaceServerBinding",$visitor:Kp,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},msgVpn:{$ref:"#/visitors/value"}}},ChannelBinding:{element:"solaceChannelBinding",$visitor:zp},OperationBinding:{element:"solaceOperationBinding",$visitor:Xp,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},destinations:{$ref:"#/visitors/value"}}},MessageBinding:{element:"solaceMessageBinding",$visitor:Wp}},sqs:{ServerBinding:{element:"sqsServerBinding",$visitor:eh},ChannelBinding:{element:"sqsChannelBinding",$visitor:Yp},OperationBinding:{element:"sqsOperationBinding",$visitor:Zp},MessageBinding:{element:"sqsMessageBinding",$visitor:Qp}},stomp:{ServerBinding:{element:"stompServerBinding",$visitor:ih},ChannelBinding:{element:"stompChannelBinding",$visitor:th},OperationBinding:{element:"stompOperationBinding",$visitor:nh},MessageBinding:{element:"stompMessageBinding",$visitor:sh}},redis:{ServerBinding:{element:"redisServerBinding",$visitor:_p},ChannelBinding:{element:"redisChannelBinding",$visitor:Np},OperationBinding:{element:"redisOperationBinding",$visitor:Lp},MessageBinding:{element:"redisMessageBinding",$visitor:Rp}},mercure:{ServerBinding:{element:"mercureServerBinding",$visitor:wp},ChannelBinding:{element:"mercureChannelBinding",$visitor:vp},OperationBinding:{element:"mercureOperationBinding",$visitor:Sp},MessageBinding:{element:"mercureMessageBinding",$visitor:xp}},googlepubsub:{ServerBinding:{element:"googlepubsubServerBinding",$visitor:op},ChannelBinding:{element:"googlepubsubChannelBinding",$visitor:np,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},labels:{$ref:"#/visitors/value"},messageRetentionDuration:{$ref:"#/visitors/value"},messageStoragePolicy:{$ref:"#/visitors/value"},schemaSettings:{$ref:"#/visitors/value"},topic:{$ref:"#/visitors/value"}}},OperationBinding:{element:"googlepubsubOperationBinding",$visitor:rp},MessageBinding:{element:"googlepubsubMessageBinding",$visitor:ip,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},attributes:{$visitor:ul,alias:"attributesField"},orderingKey:{$ref:"#/visitors/value"},schema:{$ref:"#/visitors/value"}}}},ibmmq:{ServerBinding:{element:"ibmmqServerBinding",$visitor:up,fixedFields:{groupId:{$ref:"#/visitors/value"},ccdtQueueManagerName:{$ref:"#/visitors/value"},cipherSpec:{$ref:"#/visitors/value"},multiEndpointServer:{$ref:"#/visitors/value"},heartBeatInterval:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{element:"ibmmqChannelBinding",$visitor:cp,fixedFields:{destinationType:{$ref:"#/visitors/value"},queue:{$ref:"#/visitors/value"},topic:{$ref:"#/visitors/value"},maxMsgLength:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{element:"ibmmqMessageBinding",$visitor:ap,fixedFields:{type:{$ref:"#/visitors/value"},headers:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},expiry:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{element:"ibmmqOperationBinding",$visitor:lp}}}},extension:{$visitor:Ol}}}},ph=()=>{const e=new Wl,t={...n,...s,isStringElement:ys};return e.use(Tc),{predicates:t,namespace:e}},hh=(e,{element:t="asyncApi2",plugins:s=[],specificationObj:n=dh}={})=>{const i=ql(e),r=cs(n),o=r.elementMap[t];if(!o)throw new Error(`Unknown element type: "${t}"`);const c=new(Me(o,r))({specObj:r});return li(i,c),Ql(c.element,s,{toolboxCreator:ph})},mh=(e,t={})=>hh(e,{...t,element:"asyncApi2"}),gh=(e,t={})=>hh(e,{...t,element:"asyncApiVersion"}),fh=(e,t={})=>hh(e,{...t,element:"identifier"}),yh=(e,t={})=>hh(e,{...t,element:"defaultContentType"}),bh=(e,t={})=>hh(e,{...t,element:"channels"}),vh=(e,t={})=>hh(e,{...t,element:"servers"}),xh=(e,t={})=>hh(e,{...t,element:"parameters"}),Sh=(e,t={})=>hh(e,{...t,element:"tags"}),wh=(e,t={})=>hh(e,{...t,element:"channelBindings"}),Bh=(e,t={})=>hh(e,{...t,element:"channelItem"}),Eh=(e,t={})=>hh(e,{...t,element:"components"}),jh=(e,t={})=>hh(e,{...t,element:"contact"}),Oh=(e,t={})=>hh(e,{...t,element:"correlationID"}),kh=(e,t={})=>hh(e,{...t,element:"externalDocumentation"}),qh=(e,t={})=>hh(e,{...t,element:"info"}),Mh=(e,t={})=>hh(e,{...t,element:"license"}),Ch=(e,t={})=>hh(e,{...t,element:"message"}),$h=(e,t={})=>hh(e,{...t,element:"messageBindings"}),Ah=(e,t={})=>hh(e,{...t,element:"messageExample"}),Ph=(e,t={})=>hh(e,{...t,element:"messageTrait"}),Fh=(e,t={})=>hh(e,{...t,element:"oAuthFlow"}),Ih=(e,t={})=>hh(e,{...t,element:"oAuthFlows"}),Th=(e,t={})=>hh(e,{...t,element:"operation"}),Dh=(e,t={})=>hh(e,{...t,element:"operationBindings"}),Vh=(e,t={})=>hh(e,{...t,element:"operationTrait"}),Nh=(e,t={})=>hh(e,{...t,element:"parameter"}),Rh=(e,t={})=>hh(e,{...t,element:"reference"}),Lh=(e,t={})=>hh(e,{...t,element:"schema"}),_h=(e,t={})=>hh(e,{...t,element:"securityRequirement"}),Jh=(e,t={})=>hh(e,{...t,element:"securityScheme"}),Uh=(e,t={})=>hh(e,{...t,element:"server"}),Hh=(e,t={})=>hh(e,{...t,element:"serverBindings"}),Gh=(e,t={})=>hh(e,{...t,element:"serverVariable"}),zh=(e,t={})=>hh(e,{...t,element:"tag"}),Wh=(e,t={})=>hh(e,{...t,element:"amqpChannelBinding"}),Xh=(e,t={})=>hh(e,{...t,element:"amqpMessageBinding"}),Kh=(e,t={})=>hh(e,{...t,element:"amqpOperationBinding"}),Yh=(e,t={})=>hh(e,{...t,element:"amqpServerBinding"}),Qh=(e,t={})=>hh(e,{...t,element:"amqp1ChannelBinding"}),Zh=(e,t={})=>hh(e,{...t,element:"amqp1MessageBinding"}),em=(e,t={})=>hh(e,{...t,element:"amqp1OperationBinding"}),tm=(e,t={})=>hh(e,{...t,element:"amqp1ServerBinding"}),sm=(e,t={})=>hh(e,{...t,element:"anypointmqChannelBinding"}),nm=(e,t={})=>hh(e,{...t,element:"anypointmqMessageBinding"}),im=(e,t={})=>hh(e,{...t,element:"anypointmqOperationBinding"}),rm=(e,t={})=>hh(e,{...t,element:"anypointmqServerBinding"}),om=(e,t={})=>hh(e,{...t,element:"googlepubsubChannelBinding"}),cm=(e,t={})=>hh(e,{...t,element:"googlepubsubMessageBinding"}),am=(e,t={})=>hh(e,{...t,element:"googlepubsubOperationBinding"}),lm=(e,t={})=>hh(e,{...t,element:"googlepubsubServerBinding"}),um=(e,t={})=>hh(e,{...t,element:"httpChannelBinding"}),dm=(e,t={})=>hh(e,{...t,element:"httpMessageBinding"}),pm=(e,t={})=>hh(e,{...t,element:"httpOperationBinding"}),hm=(e,t={})=>hh(e,{...t,element:"httpServerBinding"}),mm=(e,t={})=>hh(e,{...t,element:"ibmmqChannelBinding"}),gm=(e,t={})=>hh(e,{...t,element:"ibmmqMessageBinding"}),fm=(e,t={})=>hh(e,{...t,element:"ibmmqOperationBinding"}),ym=(e,t={})=>hh(e,{...t,element:"ibmmqServerBinding"}),bm=(e,t={})=>hh(e,{...t,element:"jmsChannelBinding"}),vm=(e,t={})=>hh(e,{...t,element:"jmsMessageBinding"}),xm=(e,t={})=>hh(e,{...t,element:"jmsOperationBinding"}),Sm=(e,t={})=>hh(e,{...t,element:"jmsServerBinding"}),wm=(e,t={})=>hh(e,{...t,element:"kafkaChannelBinding"}),Bm=(e,t={})=>hh(e,{...t,element:"kafkaMessageBinding"}),Em=(e,t={})=>hh(e,{...t,element:"kafkaOperationBinding"}),jm=(e,t={})=>hh(e,{...t,element:"kafkaServerBinding"}),Om=(e,t={})=>hh(e,{...t,element:"mercureChannelBinding"}),km=(e,t={})=>hh(e,{...t,element:"mercureMessageBinding"}),qm=(e,t={})=>hh(e,{...t,element:"mercureOperationBinding"}),Mm=(e,t={})=>hh(e,{...t,element:"mercureServerBinding"}),Cm=(e,t={})=>hh(e,{...t,element:"mqttChannelBinding"}),$m=(e,t={})=>hh(e,{...t,element:"mqttMessageBinding"}),Am=(e,t={})=>hh(e,{...t,element:"mqttOperationBinding"}),Pm=(e,t={})=>hh(e,{...t,element:"mqttServerBinding"}),Fm=(e,t={})=>hh(e,{...t,element:"mqtt5ChannelBinding"}),Im=(e,t={})=>hh(e,{...t,element:"mqtt5MessageBinding"}),Tm=(e,t={})=>hh(e,{...t,element:"mqtt5OperationBinding"}),Dm=(e,t={})=>hh(e,{...t,element:"mqtt5ServerBinding"}),Vm=(e,t={})=>hh(e,{...t,element:"natsChannelBinding"}),Nm=(e,t={})=>hh(e,{...t,element:"natsMessageBinding"}),Rm=(e,t={})=>hh(e,{...t,element:"natsOperationBinding"}),Lm=(e,t={})=>hh(e,{...t,element:"natsServerBinding"}),_m=(e,t={})=>hh(e,{...t,element:"pulsarChannelBinding"}),Jm=(e,t={})=>hh(e,{...t,element:"pulsarMessageBinding"}),Um=(e,t={})=>hh(e,{...t,element:"pulsarOperationBinding"}),Hm=(e,t={})=>hh(e,{...t,element:"pulsarServerBinding"}),Gm=(e,t={})=>hh(e,{...t,element:"redisChannelBinding"}),zm=(e,t={})=>hh(e,{...t,element:"redisMessageBinding"}),Wm=(e,t={})=>hh(e,{...t,element:"redisOperationBinding"}),Xm=(e,t={})=>hh(e,{...t,element:"redisServerBinding"}),Km=(e,t={})=>hh(e,{...t,element:"snsChannelBinding"}),Ym=(e,t={})=>hh(e,{...t,element:"snsMessageBinding"}),Qm=(e,t={})=>hh(e,{...t,element:"snsOperationBinding"}),Zm=(e,t={})=>hh(e,{...t,element:"snsServerBinding"}),eg=(e,t={})=>hh(e,{...t,element:"solaceChannelBinding"}),tg=(e,t={})=>hh(e,{...t,element:"solaceMessageBinding"}),sg=(e,t={})=>hh(e,{...t,element:"solaceOperationBinding"}),ng=(e,t={})=>hh(e,{...t,element:"solaceServerBinding"}),ig=(e,t={})=>hh(e,{...t,element:"sqsChannelBinding"}),rg=(e,t={})=>hh(e,{...t,element:"sqsMessageBinding"}),og=(e,t={})=>hh(e,{...t,element:"sqsOperationBinding"}),cg=(e,t={})=>hh(e,{...t,element:"sqsServerBinding"}),ag=(e,t={})=>hh(e,{...t,element:"stompChannelBinding"}),lg=(e,t={})=>hh(e,{...t,element:"stompMessageBinding"}),ug=(e,t={})=>hh(e,{...t,element:"stompOperationBinding"}),dg=(e,t={})=>hh(e,{...t,element:"stompServerBinding"}),pg=(e,t={})=>hh(e,{...t,element:"webSocketChannelBinding"}),hg=(e,t={})=>hh(e,{...t,element:"webSocketMessageBinding"}),mg=(e,t={})=>hh(e,{...t,element:"webSocketOperationBinding"}),gg=(e,t={})=>hh(e,{...t,element:"webSocketServerBinding"}),fg=hh;return t})());