@speclynx/apidom-ns-asyncapi-2 2.1.0 → 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:()=>Na,Amqp1ChannelBindingElement:()=>Ur,Amqp1MessageBindingElement:()=>Hr,Amqp1OperationBindingElement:()=>Gr,Amqp1ServerBindingElement:()=>zr,AmqpChannelBindingElement:()=>Rr,AmqpMessageBindingElement:()=>_r,AmqpOperationBindingElement:()=>Lr,AmqpServerBindingElement:()=>Jr,AnypointmqChannelBindingElement:()=>Wr,AnypointmqMessageBindingElement:()=>Xr,AnypointmqOperationBindingElement:()=>Kr,AnypointmqServerBindingElement:()=>Yr,AsyncAPIMediaTypes:()=>g,AsyncApi2Element:()=>J,AsyncApiVersionElement:()=>H,BaseAlternatingVisitor:()=>Ya,BaseFixedFieldsVisitor:()=>za,BaseMapVisitor:()=>Xa,BaseMixedFieldsVisitor:()=>Ka,BasePatternedFieldsVisitor:()=>Wa,BaseSpecificationVisitor:()=>Ga,ChannelBindingsElement:()=>G,ChannelItemElement:()=>z,ChannelsElement:()=>W,ComponentsElement:()=>X,ContactElement:()=>K,CorrelationIDElement:()=>Y,DefaultContentTypeElement:()=>Q,ExternalDocumentationElement:()=>Z,FallbackVisitor:()=>Da,FixedFieldsVisitor:()=>Ra,GooglepubsubChannelBindingElement:()=>Qr,GooglepubsubMessageBindingElement:()=>Zr,GooglepubsubOperationBindingElement:()=>eo,GooglepubsubServerBindingElement:()=>to,HttpChannelBindingElement:()=>so,HttpMessageBindingElement:()=>no,HttpOperationBindingElement:()=>io,HttpServerBindingElement:()=>ro,IbmmqChannelBindingElement:()=>oo,IbmmqMessageBindingElement:()=>co,IbmmqOperationBindingElement:()=>ao,IbmmqServerBindingElement:()=>lo,IdentifierElement:()=>ee,InfoElement:()=>te,JmsChannelBindingElement:()=>uo,JmsMessageBindingElement:()=>po,JmsOperationBindingElement:()=>ho,JmsServerBindingElement:()=>mo,KafkaChannelBindingElement:()=>go,KafkaMessageBindingElement:()=>fo,KafkaOperationBindingElement:()=>yo,KafkaServerBindingElement:()=>bo,LicenseElement:()=>se,MapVisitor:()=>La,MercureChannelBindingElement:()=>vo,MercureMessageBindingElement:()=>xo,MercureOperationBindingElement:()=>So,MercureServerBindingElement:()=>wo,MessageBindingsElement:()=>ie,MessageElement:()=>ne,MessageExampleElement:()=>re,MessageTraitElement:()=>oe,MixedFieldsVisitor:()=>Qa,Mqtt5ChannelBindingElement:()=>ko,Mqtt5MessageBindingElement:()=>qo,Mqtt5OperationBindingElement:()=>Mo,Mqtt5ServerBindingElement:()=>Co,MqttChannelBindingElement:()=>Bo,MqttMessageBindingElement:()=>Eo,MqttOperationBindingElement:()=>jo,MqttServerBindingElement:()=>Oo,NatsChannelBindingElement:()=>$o,NatsMessageBindingElement:()=>Ao,NatsOperationBindingElement:()=>Po,NatsServerBindingElement:()=>Io,OAuthFlowElement:()=>ce,OAuthFlowsElement:()=>ae,OperationBindingsElement:()=>ue,OperationElement:()=>le,OperationTraitElement:()=>de,ParameterElement:()=>pe,ParametersElement:()=>he,PatternedFieldsVisitor:()=>_a,PulsarChannelBindingElement:()=>Fo,PulsarMessageBindingElement:()=>To,PulsarOperationBindingElement:()=>Do,PulsarServerBindingElement:()=>Vo,RedisChannelBindingElement:()=>No,RedisMessageBindingElement:()=>Ro,RedisOperationBindingElement:()=>_o,RedisServerBindingElement:()=>Lo,ReferenceElement:()=>me,SchemaElement:()=>$r,SecurityRequirementElement:()=>Ar,SecuritySchemeElement:()=>Pr,ServerBindingsElement:()=>Fr,ServerElement:()=>Ir,ServerVariableElement:()=>Dr,ServersElement:()=>Tr,SnsChannelBindingElement:()=>Jo,SnsMessageBindingElement:()=>Uo,SnsOperationBindingElement:()=>Ho,SnsServerBindingElement:()=>Go,SolaceChannelBindingElement:()=>zo,SolaceMessageBindingElement:()=>Wo,SolaceOperationBindingElement:()=>Xo,SolaceServerBindingElement:()=>Ko,SpecificationExtensionVisitor:()=>Za,SpecificationVisitor:()=>Va,SqsChannelBindingElement:()=>Yo,SqsMessageBindingElement:()=>Qo,SqsOperationBindingElement:()=>Zo,SqsServerBindingElement:()=>ec,StompChannelBindingElement:()=>tc,StompMessageBindingElement:()=>sc,StompOperationBindingElement:()=>nc,StompServerBindingElement:()=>ic,TagElement:()=>Vr,TagsElement:()=>Nr,Visitor:()=>Ta,WebSocketChannelBindingElement:()=>rc,WebSocketMessageBindingElement:()=>oc,WebSocketOperationBindingElement:()=>cc,WebSocketServerBindingElement:()=>ac,default:()=>lc,isAsyncApi2Element:()=>la,isAsyncApiExtension:()=>Fa,isAsyncApiVersionElement:()=>ua,isBooleanJsonSchemaElement:()=>Ea,isChannelBindingsElement:()=>da,isChannelItemElement:()=>pa,isChannelsElement:()=>ha,isComponentsElement:()=>ma,isContactElement:()=>ga,isIdentifierElement:()=>fa,isInfoElement:()=>ya,isLicenseElement:()=>ba,isOperationElement:()=>va,isParameterElement:()=>xa,isParametersElement:()=>Sa,isReferenceElement:()=>wa,isReferenceLikeElement:()=>Ia,isSchemaElement:()=>Ba,isSecurityRequirementElement:()=>ja,isServerBindingsElement:()=>ka,isServerElement:()=>Oa,isServerVariableElement:()=>Ma,isServersElement:()=>qa,mediaTypes:()=>f,refract:()=>Rm,refractAmqp1ChannelBinding:()=>wh,refractAmqp1MessageBinding:()=>Bh,refractAmqp1OperationBinding:()=>Eh,refractAmqp1ServerBinding:()=>jh,refractAmqpChannelBinding:()=>bh,refractAmqpMessageBinding:()=>vh,refractAmqpOperationBinding:()=>xh,refractAmqpServerBinding:()=>Sh,refractAnypointmqChannelBinding:()=>Oh,refractAnypointmqMessageBinding:()=>kh,refractAnypointmqOperationBinding:()=>qh,refractAnypointmqServerBinding:()=>Mh,refractAsyncApi2:()=>Vp,refractAsyncApiVersion:()=>Np,refractChannelBindings:()=>Gp,refractChannelItem:()=>zp,refractChannels:()=>Lp,refractComponents:()=>Wp,refractContact:()=>Xp,refractCorrelationID:()=>Kp,refractDefaultContentType:()=>_p,refractExternalDocumentation:()=>Yp,refractGooglepubsubChannelBinding:()=>Ch,refractGooglepubsubMessageBinding:()=>$h,refractGooglepubsubOperationBinding:()=>Ah,refractGooglepubsubServerBinding:()=>Ph,refractHttpChannelBinding:()=>Ih,refractHttpMessageBinding:()=>Fh,refractHttpOperationBinding:()=>Th,refractHttpServerBinding:()=>Dh,refractIbmmqChannelBinding:()=>Vh,refractIbmmqMessageBinding:()=>Nh,refractIbmmqOperationBinding:()=>Rh,refractIbmmqServerBinding:()=>_h,refractIdentifier:()=>Rp,refractInfo:()=>Qp,refractJmsChannelBinding:()=>Lh,refractJmsMessageBinding:()=>Jh,refractJmsOperationBinding:()=>Uh,refractJmsServerBinding:()=>Hh,refractKafkaChannelBinding:()=>Gh,refractKafkaMessageBinding:()=>zh,refractKafkaOperationBinding:()=>Wh,refractKafkaServerBinding:()=>Xh,refractLicense:()=>Zp,refractMercureChannelBinding:()=>Kh,refractMercureMessageBinding:()=>Yh,refractMercureOperationBinding:()=>Qh,refractMercureServerBinding:()=>Zh,refractMessage:()=>eh,refractMessageBindings:()=>th,refractMessageExample:()=>sh,refractMessageTrait:()=>nh,refractMqtt5ChannelBinding:()=>im,refractMqtt5MessageBinding:()=>rm,refractMqtt5OperationBinding:()=>om,refractMqtt5ServerBinding:()=>cm,refractMqttChannelBinding:()=>em,refractMqttMessageBinding:()=>tm,refractMqttOperationBinding:()=>sm,refractMqttServerBinding:()=>nm,refractNatsChannelBinding:()=>am,refractNatsMessageBinding:()=>lm,refractNatsOperationBinding:()=>um,refractNatsServerBinding:()=>dm,refractOAuthFlow:()=>ih,refractOAuthFlows:()=>rh,refractOperation:()=>oh,refractOperationBindings:()=>ch,refractOperationTrait:()=>ah,refractParameter:()=>lh,refractParameters:()=>Up,refractPulsarChannelBinding:()=>pm,refractPulsarMessageBinding:()=>hm,refractPulsarOperationBinding:()=>mm,refractPulsarServerBinding:()=>gm,refractRedisChannelBinding:()=>fm,refractRedisMessageBinding:()=>ym,refractRedisOperationBinding:()=>bm,refractRedisServerBinding:()=>vm,refractReference:()=>uh,refractSchema:()=>dh,refractSecurityRequirement:()=>ph,refractSecurityScheme:()=>hh,refractServer:()=>mh,refractServerBindings:()=>gh,refractServerVariable:()=>fh,refractServers:()=>Jp,refractSnsChannelBinding:()=>xm,refractSnsMessageBinding:()=>Sm,refractSnsOperationBinding:()=>wm,refractSnsServerBinding:()=>Bm,refractSolaceChannelBinding:()=>Em,refractSolaceMessageBinding:()=>jm,refractSolaceOperationBinding:()=>Om,refractSolaceServerBinding:()=>km,refractSqsChannelBinding:()=>qm,refractSqsMessageBinding:()=>Mm,refractSqsOperationBinding:()=>Cm,refractSqsServerBinding:()=>$m,refractStompChannelBinding:()=>Am,refractStompMessageBinding:()=>Pm,refractStompOperationBinding:()=>Im,refractStompServerBinding:()=>Fm,refractTag:()=>yh,refractTags:()=>Hp,refractWebSocketChannelBinding:()=>Tm,refractWebSocketMessageBinding:()=>Dm,refractWebSocketOperationBinding:()=>Vm,refractWebSocketServerBinding:()=>Nm,refractorPluginReplaceEmptyElement:()=>aa});var s={};e.r(s),e.d(s,{isAsyncApi2Element:()=>la,isAsyncApiVersionElement:()=>ua,isBooleanJsonSchemaElement:()=>Ea,isChannelBindingsElement:()=>da,isChannelItemElement:()=>pa,isChannelsElement:()=>ha,isComponentsElement:()=>ma,isContactElement:()=>ga,isIdentifierElement:()=>fa,isInfoElement:()=>ya,isLicenseElement:()=>ba,isOperationElement:()=>va,isParameterElement:()=>xa,isParametersElement:()=>Sa,isReferenceElement:()=>wa,isSchemaElement:()=>Ba,isSecurityRequirementElement:()=>ja,isServerBindingsElement:()=>ka,isServerElement:()=>Oa,isServerVariableElement:()=>Ma,isServersElement:()=>qa});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:()=>Fa,isReferenceLikeElement:()=>Ia});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,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||!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 c=s.length-1;c>=0;){if(s[c]===e)return n[c]===t;c-=1}switch(o){case"Map":return e.size===t.size&&$(e.entries(),t.entries(),s.concat([e]),n.concat([t]));case"Set":return e.size===t.size&&$(e.values(),t.values(),s.concat([e]),n.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var a=M(e);if(a.length!==M(t).length)return!1;var l=s.concat([e]),u=n.concat([t]);for(c=a.length-1;c>=0;){var d=a[c];if(!x(d,t)||!A(t[d],e[d],l,u))return!1;c-=1}return!0}const P=y(function(e,t){return A(e,t,[],[])});const I=class{key;value;constructor(e,t){this.key=e,this.value=t}toValue(){return{key:this.key?.toValue(),value:this.value?.toValue()}}};class F{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 F(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 F(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=F;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 I)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 I){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 I?e.toValue():Array.isArray(e)?e.map(e=>e.toValue()):e}equals(e){return P(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 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 _=class extends V{constructor(e,t,s,n){super(new I,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 L=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 _(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 L{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 L{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 L{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 L{constructor(e,t,s){super(e,t,s),this.element="channels"}};const X=class extends L{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 L{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 L{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 L{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 L{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 L{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 L{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 L{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 L{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 L{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 L{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 L{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 L{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 L{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 L{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 L{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 L{constructor(e,t,s){super(e,t,s),this.element="parameters"}};const me=class extends L{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=y(function(e,t){return ge(function(s,n){return s[n]=e(t[n],n,t),s},{},M(t))});const ye=r(function(e){return null==e});var be=y(function(e,t){if(0===e.length||ye(t))return!1;for(var s=t,n=0;n<e.length;){if(ye(s)||!x(e[n],s))return!1;s=s[e[n]],n+=1}return!0});const ve=be;var xe=y(function(e,t){return ve([e],t)});const Se=xe;function we(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 Be=Number.isInteger||function(e){return(e|0)===e};const Ee=function(e,t){if(null!=t)return Be(e)?o(e,t):t[e]};const je=y(Ee);const Oe=we(function(e,t,s){return e(je(t,s))});function ke(e,t){for(var s=t,n=0;n<e.length;n+=1){if(null==s)return;var i=e[n];s=Be(i)?o(i,s):s[i]}return s}const qe=y(ke);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,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 Ce(e,t){return function(){return t.call(this,e.apply(this,arguments))}}const $e=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function Ae(e){return"[object String]"===Object.prototype.toString.call(e)}const Pe=r(function(e){return!!$e(e)||!!e&&("object"==typeof e&&(!Ae(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))});var Ie="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function Fe(e,t,s){return function(n,i,r){if(Pe(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 Te(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 De=y(function(e,t){return Me(e.length,function(){return e.apply(t,arguments)})});function Ve(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 Ne(e,t,s,n){return e["@@transducer/result"](s[n](De(e["@@transducer/step"],e),t))}const Re=Fe(Te,Ne,Ve);var _e=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 Le=we(function(e,t,s){return Re("function"==typeof e?new _e(e):e,t,s)});function Je(e,t){return function(){var s=arguments.length;if(0===s)return t();var n=arguments[s-1];return $e(n)||"function"!=typeof n[e]?t.apply(this,arguments):n[e].apply(n,Array.prototype.slice.call(arguments,0,s-1))}}const Ue=we(Je("slice",function(e,t,s){return Array.prototype.slice.call(s,e,t)}));const He=r(Je("tail",Ue(1,1/0)));function Ge(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return Me(arguments[0].length,Le(Ce,arguments[0],He(arguments)))}var ze=function(e,t){switch(arguments.length){case 0:return ze;case 1:return function t(s){return 0===arguments.length?t:S(e,s)};default:return S(e,t)}};const We=ze;function Xe(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 Ke(e,t){for(var s=0,n=t.length,i=Array(n);s<n;)i[s]=e(t[s]),s+=1;return i}function Ye(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 Qe=function(e){return(e<10?"0":"")+e};const Ze="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+Qe(e.getUTCMonth()+1)+"-"+Qe(e.getUTCDate())+"T"+Qe(e.getUTCHours())+":"+Qe(e.getUTCMinutes())+":"+Qe(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(!$e(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=y(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 ct=ot;const at=y(function(e,t){return ct((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 Xe(s,n)?"<Circular>":lt(s,n)},n=function(e,t){return Ke(function(t){return Ye(t)+": "+s(e[t])},t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+Ke(s,e).join(", ")+"))";case"[object Array]":return"["+Ke(s,e).concat(n(e,at(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):Ye(Ze(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())+")":Ye(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=we(function(e,t,s){return e(ke(t,s))});function pt(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const ht=y(function(e,t){return e&&t});function mt(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=Fe(ge,gt,mt);var yt=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 bt=function(e){return function(t){return new yt(e,t)}};function vt(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):Me(Math.max(0,o),vt(e,n,s))}}const xt=y(function(e,t){return 1===e?r(t):Me(e,vt(e,[],t))});const St=y(et(["fantasy-land/map","map"],bt,function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return xt(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 Ke(e,t)}}));const wt=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))}: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,St(s,t))},[],e)});const Bt=y(function(e,t){var s=xt(e,t);return xt(e,function(){return ge(wt,St(s,arguments[0]),Array.prototype.slice.call(arguments,1))})});const Et=r(function(e){return Bt(e.length,e)});const jt=y(function(e,t){return pt(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:Et(ht)(e,t)});const Ot=P(null);const kt=Et(r(function(e){return!e}));const qt=kt(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 $t=xt(1,jt(qt,Ct));const At=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=ut(e),o=s(r,ut(t));return void 0!==o&&o===r?e:t});const Pt=y(function(e,t){return St(je(e),t)});const It=r(function(e){return xt(Le(At,0,Pt("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 Ft=xt(1,Ge(C,We("GeneratorFunction")));const Tt=xt(1,Ge(C,We("AsyncFunction")));const Dt=It([Ge(C,We("Function")),Ft,Tt]);var Vt=Ge(C,We("Object")),Nt=Ge(ut,P(ut(Object))),Rt=dt(jt(Dt,Nt),["constructor"]);const _t=xt(1,function(e){if(!$t(e)||!Vt(e))return!1;var t=Object.getPrototypeOf(e);return!!Ot(t)||Rt(t)});const Lt=xt(1,Ge(C,We("String")));const Jt=r(function(e){return xt(e.length,e)});const Ut=y(function(e,t){return xt(e+1,function(){var s=arguments[e];if(null!=s&&pt(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 Ht=Ut(1,"split");var Gt=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 zt(e){return function(t){return new Gt(e,t)}}const Wt=y(et(["dropWhile"],zt,function(e,t){for(var s=0,n=t.length;s<n&&e(t[s]);)s+=1;return Ue(s,1/0,t)}));const Xt=Ut(1,"join");const Kt=r(function(e){return xt(e.length,function(t,s){var n=Array.prototype.slice.call(arguments,0);return n[0]=s,n[1]=t,e.apply(this,n)})})(y(Xe));const Yt=Jt(function(e,t){return Ge(Ht(""),Wt(Kt(e)),Xt(""))(t)}),Qt=new WeakMap,Zt=e=>{if(Qt.has(e))return Qt.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(_t(e)&&Se("$ref",e)&&Oe(Lt,"$ref",e)){const t=qe(["$ref"],e),s=Yt("#/",t);return qe(s.split("/"),n)}return _t(e)?s(e,n,r):e},e)),n=s(e,e,[]);return n.elementMap=t,Qt.set(e,n),n};const es=class extends L{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 L{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 L{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 L{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 V{constructor(e,t,s){super(e,t,s),this.element="number"}primitive(){return"number"}};const rs=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 os=class extends V{constructor(e,t,s){super(e,t,s),this.element="boolean"}primitive(){return"boolean"}};const cs=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([])}},as=e=>e instanceof V,ls=e=>e instanceof U,us=e=>e instanceof is,ds=e=>e instanceof rs,ps=e=>e instanceof os,hs=e=>e instanceof cs,ms=e=>e instanceof L,gs=e=>e instanceof _,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,ys=(e,t)=>0===t.length||!!as(e)&&(!e.isMetaEmpty&&(!!e.hasMetaProperty("classes")&&t.every(t=>e.classes.includes(t))));class bs 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(xs).join("");const a=new bs(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=Ss(t,n);s.push(e.value),n=e.next}return s}(this.content))}}const vs="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function xs(e){let t=e>>>0,s="";do{let e=31&t;t>>>=5,0!==t&&(e|=32),s+=vs[e]}while(0!==t);return s}function Ss(e,t=0){let s=0,n=0,i=t;for(;;){const t=e[i++],r=vs.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 ws=bs;const Bs=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 Es=class extends Bs{value;constructor(e,t){super(e,t),void 0!==t&&(this.value=t.value)}};const js=class extends Es{};const Os=class extends Es{},ks=(e,t)=>{const{visited:s=new WeakMap}=t,n={...t,visited:s};if(s.has(e))return s.get(e);const i=$s(e);s.set(e,i);const{content:r}=e;return Array.isArray(r)?i.content=r.map(e=>ks(e,n)):as(r)?i.content=ks(r,n):i.content=r instanceof I?qs(r,n):r,i},qs=(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?ks(i,n):void 0,c=void 0!==r?ks(r,n):void 0,a=new I(o,c);return s.set(e,a),a},Ms=(e,t={})=>{if(e instanceof I)return qs(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=>ks(e,n)),r=new T(i);return s.set(e,r),r})(e,t);if(as(e))return ks(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 I(t,s)},$s=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)&&ws.transfer(e,t);const{content:s}=e;return as(s)?t.content=$s(s):Array.isArray(s)?t.content=[...s]:t.content=s instanceof I?Cs(s):s,t},As=e=>{if(e instanceof I)return Cs(e);if(e instanceof T)return(e=>{const t=[...e];return new T(t)})(e);if(as(e))return $s(e);throw new Os("Value provided to cloneShallow function couldn't be cloned",{value:e})};As.safe=e=>{try{return As(e)}catch{return e}};const Ps=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 Is=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 Fs=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 Ts=class extends U{constructor(e,t,s){super(e,t,s),this.element="comment"}};const Ds=class extends cs{constructor(e,t,s){super(e,t,s),this.element="parseResult"}get api(){return this.filter(e=>ys(e,["api"])).first}get results(){return this.filter(e=>ys(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&&ys(e,["warning"]))}get errors(){return this.filter(e=>"annotation"===e.element&&ys(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)}},Vs=e=>e instanceof Ps,Ns=e=>e instanceof Is,Rs=e=>{if(!as(e))return e;if(ls(e)||us(e)||ps(e)||ds(e))return e.toValue();const t=new WeakMap,s=e=>{if(!as(e))return e;if(ms(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(hs(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 Ns(e)?String(e.toValue()):Vs(e)?ls(e.href)?e.href.toValue():"":e.toValue()};return s(e)},_s=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)},Ls=(e,t)=>t.clone&&t.isMergeableElement(e)?Us(_s(e),e,t):e,Js={clone:!0,isMergeableElement:e=>ms(e)||hs(e),arrayElementMerge:(e,t,s)=>new(0,e.constructor)(e.concat(t).map(e=>Ls(e,s))),objectElementMerge:(e,t,s)=>{const n=ms(e)?_s(e):_s(t);return ms(e)&&e.forEach((e,t,i)=>{const r=As(i);r.value=Ls(e,s),n.content.push(r)}),t.forEach((t,i,r)=>{const o=Rs(i);let c;if(ms(e)&&e.hasKey(o)&&s.isMergeableElement(t)){const n=e.get(o);c=As(r),c.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 c=As(r),c.value=Ls(t,s);n.remove(o),n.content.push(c)}),n},customMerge:void 0,customMetaMerge:void 0,customAttributesMerge:void 0},Us=(e,t,s)=>{const n={...Js,...s};n.isMergeableElement=n.isMergeableElement??Js.isMergeableElement,n.arrayElementMerge=n.arrayElementMerge??Js.arrayElementMerge,n.objectElementMerge=n.objectElementMerge??Js.objectElementMerge;const i=hs(t);if(!(i===hs(e)))return Ls(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 L:e.reduce((e,s)=>Us(e,s,t),_s(e[0]))};const Hs=Us;const Gs=class{element;constructor(e){Object.assign(this,e)}copyMetaAndAttributes(e,t){if(!e.isMetaEmpty||!t.isMetaEmpty){const s=t.isMetaEmpty?new L:t.meta,n=e.isMetaEmpty?new L:e.meta;t.meta=Hs(s,n)}if(!e.isAttributesEmpty||!t.isAttributesEmpty){const s=t.isAttributesEmpty?new L:t.attributes,n=e.isAttributesEmpty?new L:e.attributes;t.attributes=Hs(s,n)}ws.transfer(e,t)}};const zs=class extends Gs{enter(e){this.element=Ms(e.node),e.stop()}};const Ws=r(function(e){return function(){return e}});const Xs=y(function(e,t){return null==t||t!=t?e:t});const Ks=Ws(void 0);const Ys=P(Ks());const Qs=r(function(e){return xt(Le(At,0,Pt("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 Zs=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:$e(e)?[]:Ae(e)?"":tt(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 en=Zs;const tn=r(function(e){return null!=e&&P(e,en(e))});const sn=r(function(e){return!tn(e)});const nn=y(function(e,t){return e||t});const rn=xt(1,jt(qt,y(function(e,t){return pt(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:Et(nn)(e,t)})(Ct,Dt)));var on=kt(rn);const cn=Qs([Lt,on,sn]);const an=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}),ln=function(){const e=dn,t=un,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}},un={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)}},dn={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 dn.ALT:return"ALT";case dn.CAT:return"CAT";case dn.REP:return"REP";case dn.RNM:return"RNM";case dn.TRG:return"TRG";case dn.TBS:return"TBS";case dn.TLS:return"TLS";case dn.UDT:return"UDT";case dn.AND:return"AND";case dn.NOT:return"NOT";case dn.ACTIVE:return"ACTIVE";case dn.EMPTY:return"EMPTY";case dn.MATCH:return"MATCH";case dn.NOMATCH:return"NOMATCH";case dn.SEM_PRE:return"SEM_PRE";case dn.SEM_POST:return"SEM_POST";case dn.SEM_OK:return"SEM_OK";default:return"UNRECOGNIZED STATE"}}};function pn(){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 hn 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 mn=hn;new pn;new pn,new ln,new pn,new ln,new pn,new ln,new pn,new ln;const gn=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 fn=class extends mn{},yn=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 gn(String(e))}).join("/")}`}catch(t){throw new fn("Unexpected error during JSON Pointer compilation",{cause:t,referenceTokens:e})}};class bn 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 vn=bn;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 xn=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};const Sn=class extends vn{},wn=e=>{if(!Array.isArray(e))throw new Sn("Selectors must be an array, got: "+typeof e,{selectors:e});try{return`$${e.map(e=>{if("string"==typeof e)return`['${xn(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 Sn("Failed to compile normalized JSONPath",{cause:t,selectors:e})}};class Bn{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?wn(t):yn(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 En=xt(1,jt(rn,Ge(ut,P("[object Promise]")))),jn=e=>{const t=e?.element;return void 0===t||"element"===t?"Element":`${t.charAt(0).toUpperCase()}${t.slice(1)}Element`},On=e=>as(e),kn=e=>As(e),qn=(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},Mn=e=>gs(e)?["key","value"]:hs(e)||ms(e)?["content"]:[],Cn=(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]}},$n=(e,t,s)=>{if(void 0===t)return null;const n=e,i=s?"leave":"enter",r=Cn(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=Cn(o,t);if("function"==typeof e)return e}return null},An=(e,t={})=>{const{visitFnGetter:s=$n,nodeTypeGetter:n=jn,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=In(t,a),n=r.call(e[u],s);if(En(n))throw new Bs("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=In(t,i),n=r.call(e[a],s);if(En(n))throw new Bs("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)}}},Pn=(e,t={})=>{const{visitFnGetter:s=$n,nodeTypeGetter:n=jn,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=In(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=In(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 In(e,t){return new Bn(t,e.parent,e.parentPath,e.key,e.inList)}function*Fn(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 Bs(`Invalid AST Node: ${String(b)}`,{node:b});if(a&&S.includes(b))continue;v=new Bn(b,h,x,s,m);const n=$n(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}An[Symbol.for("nodejs.util.promisify.custom")]=Pn;const Tn=(e,t,s={})=>{const n=Fn(e,t,{keyMap:s.keyMap??Mn,state:s.state??{},nodeTypeGetter:s.nodeTypeGetter??jn,nodePredicate:s.nodePredicate??On,nodeCloneFn:s.nodeCloneFn??kn,detectCycles:s.detectCycles??!0,mutable:s.mutable??!1,mutationFn:s.mutationFn??qn});let i=n.next();for(;!i.done;){const e=i.value,s=e.visitFn.call(t,e.path);if(En(s))throw new Bs("Async visitor not supported in sync mode",{visitor:t,visitFn:e.visitFn});i=n.next(s)}return i.value},Dn=async(e,t,s={})=>{const n=Fn(e,t,{keyMap:s.keyMap??Mn,state:s.state??{},nodeTypeGetter:s.nodeTypeGetter??jn,nodePredicate:s.nodePredicate??On,nodeCloneFn:s.nodeCloneFn??kn,detectCycles:s.detectCycles??!0,mutable:s.mutable??!1,mutationFn:s.mutationFn??qn});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};Tn[Symbol.for("nodejs.util.promisify.custom")]=Dn,Bn.prototype.traverse=function(e,t){return Tn(this.node,e,t)},Bn.prototype.traverseAsync=function(e,t){return Dn(this.node,e,t)};const Vn=class extends Gs{specObj;passingOptionsNames=["specObj","parent"];constructor({specObj:e,...t}){super({...t}),this.specObj=e}retrievePassingOptions(){return an(this.passingOptionsNames,this)}retrieveFixedFields(e){const t=qe(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]}retrieveVisitor(e){return dt(Dt,["visitors",...e],this.specObj)?qe(["visitors",...e],this.specObj):qe(["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 zs&&n?.constructor===zs?Ms(t):(Tn(t,n,s),n.element)}};const Nn=class extends Vn{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=Rs(t);if(ls(t)&&n.includes(r)&&!this.ignoredFields.includes(r)){const n=this.toRefractedElement([...s,"fixedFields",r],e),o=new _(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()}},Rn=(e,t,s=[])=>{const n=Object.getOwnPropertyDescriptors(t);for(let e of s)delete n[e];Object.defineProperties(e,n)},_n=(e,t=[e])=>{const s=Object.getPrototypeOf(e);return null===s?t:_n(s,[...t,s])},Ln=(e,t,s=[])=>{var n;const i=null!==(n=((...e)=>{if(0===e.length)return;let t;const s=e.map(e=>_n(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=_n(i);for(let t of e){let e=_n(t);for(let t=e.length-1;t>=0;t--){let n=e[t];-1===o.indexOf(n)&&(Rn(r,n,["constructor",...s]),o.push(n))}}return r.constructor=t,r},Jn=e=>e.filter((t,s)=>e.indexOf(t)==s),Un=(e,t)=>{const s=t.map(e=>_n(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++}},Hn=(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(Un(s,e)||{},s),defineProperty(){throw new Error("Cannot define new properties on Proxies created by ts-mixer")},has:(s,n)=>void 0!==Un(n,e)||void 0!==t[n],get:(s,n)=>(Un(n,e)||t)[n],set(t,s,n){const i=Un(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)))}),Gn=null,zn="copy",Wn="copy",Xn="deep",Kn=new WeakMap,Yn=e=>Kn.get(e),Qn=(e,t)=>{var s,n;const i=Jn([...Object.getOwnPropertyNames(e),...Object.getOwnPropertyNames(t)]),r={};for(let o of i)r[o]=Jn([...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},Zn=(e,t)=>{var s,n,i,r;return{property:Qn(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:Qn(null!==(i=null==e?void 0:e.method)&&void 0!==i?i:{},null!==(r=null==t?void 0:t.method)&&void 0!==r?r:{})}},ei=(e,t)=>{var s,n,i,r,o,c;return{class:Jn([...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:Zn(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:Zn(null!==(o=null==e?void 0:e.instance)&&void 0!==o?o:{},null!==(c=null==t?void 0:t.instance)&&void 0!==c?c:{})}},ti=new Map,si=(...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=[..._n(e.prototype).map(e=>e.constructor),...null!==(t=Yn(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=>ti.get(e)).filter(e=>!!e);return 0==t.length?{}:1==t.length?t[0]:t.reduce((e,t)=>ei(e,t))},ni=e=>{let t=ti.get(e);return t||(t={},ti.set(e,t)),t};function ii(...e){var t,s,n;const i=e.map(e=>e.prototype),r=Gn;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)Rn(this,new s(...t));null!==r&&"function"==typeof this[r]&&this[r].apply(this,t)}var c,a;o.prototype="copy"===Wn?Ln(i,o):(c=i,a=o,Hn([...c,{constructor:a}])),Object.setPrototypeOf(o,"copy"===zn?Ln(e,null,["prototype"]):Hn(e,Function.prototype));let l=o;if("none"!==Xn){const i="deep"===Xn?si(...e):((...e)=>{const t=e.map(e=>ni(e));return 0===t.length?{}:1===t.length?t[0]:t.reduce((e,t)=>ei(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)}ri(null!==(s=null==i?void 0:i.static)&&void 0!==s?s:{},l),ri(null!==(n=null==i?void 0:i.instance)&&void 0!==n?n:{},l.prototype)}var u,d;return u=l,d=e,Kn.set(u,d),l}const ri=(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 oi=function(){return!1};const ci=class extends Vn{specPath;ignoredFields;fieldPatternPredicate=oi;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=Rs(t);if(!this.ignoredFields.includes(n)&&this.fieldPatternPredicate(n)){const n=this.specPath(e),i=this.toRefractedElement(n,e),r=new _(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 ai=class extends ci{constructor(e){super(e),this.fieldPatternPredicate=cn}};const li=class{parent;constructor({parent:e}){this.parent=e}},ui=ii(Nn,li,zs),di=ii(Nn,zs),pi=ii(Nn,zs),hi=ii(Nn,zs),mi=ii(Vn,li,zs),gi=ii(Vn,li,zs),fi=ii(Vn,li,zs),yi=ii(Vn,li,zs),bi=ii(Vn,li,zs),vi=ii(ai,li,zs),xi=ii(ai,li,zs),Si=ii(ai,li,zs),wi=ii(ai,li,zs);const Bi=class extends ui{constructor(e){super(e),this.element=new es,this.specPath=Ws(["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,Nn.prototype.ObjectElement.call(this,e)}handleDialectIdentifier(e){if(Ys(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=Xs(Rs(this.parent.meta.get("inheritedDialectIdentifier")),Rs(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 cs):new cs,n=Rs(e.get(t));cn(n)&&s.push(n),this.element.meta.set("ancestorsSchemaIdentifiers",s)}},Ei=e=>ms(e)&&e.hasKey("$ref");const ji=class extends yi{ObjectElement(e){const t=e.node,s=Ei(t)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];this.element=this.toRefractedElement(s,t),e.stop()}ArrayElement(e){const t=e.node;this.element=new cs,this.element.classes.push("json-schema-items"),t.forEach(e=>{const t=Ei(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const Oi=class extends zs{ArrayElement(e){super.enter(e),this.element.classes.push("json-schema-required")}};const ki=class extends wi{constructor(e){super(e),this.element=new L,this.element.classes.push("json-schema-properties"),this.specPath=e=>Ei(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}};const qi=class extends Si{constructor(e){super(e),this.element=new L,this.element.classes.push("json-schema-patternProperties"),this.specPath=e=>Ei(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}};const Mi=class extends xi{constructor(e){super(e),this.element=new L,this.element.classes.push("json-schema-dependencies"),this.specPath=e=>Ei(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}};const Ci=class extends zs{ArrayElement(e){super.enter(e),this.element.classes.push("json-schema-enum")}};const $i=class extends zs{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 Ai=class extends mi{constructor(e){super(e),this.element=new cs,this.element.classes.push("json-schema-allOf")}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=Ei(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const Pi=class extends gi{constructor(e){super(e),this.element=new cs,this.element.classes.push("json-schema-anyOf")}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=Ei(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const Ii=class extends fi{constructor(e){super(e),this.element=new cs,this.element.classes.push("json-schema-oneOf")}ArrayElement(e){const t=e.node;t.forEach(e=>{const t=Ei(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)}),this.copyMetaAndAttributes(t,this.element),e.stop()}};const Fi=class extends vi{constructor(e){super(e),this.element=new L,this.element.classes.push("json-schema-definitions"),this.specPath=e=>Ei(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}};const Ti=class extends bi{constructor(e){super(e),this.element=new cs,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 Di=class extends di{constructor(e){super(e),this.element=new ts,this.specPath=Ws(["document","objects","JSONReference"])}ObjectElement(e){Nn.prototype.ObjectElement.call(this,e),ls(this.element.$ref)&&this.element.classes.push("reference-element")}};const Vi=class extends zs{StringElement(e){super.enter(e),this.element.classes.push("reference-value")}};const Ni=function(){return!0};const Ri=we(function(e,t,s){return xt(Math.max(e.length,t.length,s.length),function(){return e.apply(this,arguments)?t.apply(this,arguments):s.apply(this,arguments)})});const _i=r(function(e){return function(t,s){return e(t,s)?-1:e(s,t)?1:0}});var Li=y(function(e,t){return Array.prototype.slice.call(t,0).sort(e)});const Ji=Li;const Ui=r(function(e){return o(0,e)});function Hi(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}const Gi=r(Hi);const zi=kt(ye);const Wi=xt(1,Dt(Array.isArray)?Array.isArray:Ge(C,We("Array")));const Xi=jt(Wi,sn);function Ki(e){return function(e){if(Array.isArray(e))return Yi(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 Yi(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)?Yi(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 Yi(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 Qi=Ge(Ji(_i(function(e,t){return e.length>t.length})),Ui,je("length")),Zi=Jt(function(e,t,s){var n=s.apply(void 0,Ki(e));return zi(n)?Gi(n):t});const er=Ri(Xi,function(e){var t=Qi(e);return xt(t,function(){for(var t=arguments.length,s=new Array(t),n=0;n<t;n++)s[n]=arguments[n];return Le(Zi(s),void 0,e)})},Ks);const tr=class extends Vn{alternator;constructor({alternator:e,...t}){super({...t}),this.alternator=e}enter(e){const t=e.node,s=this.alternator.map(({predicate:e,specPath:t})=>Ri(e,Ws(t),Ks)),n=er(s)(t);this.element=this.toRefractedElement(n,t),e.stop()}};const sr=class extends tr{constructor(e){super(e),this.alternator=[{predicate:Ei,specPath:["document","objects","JSONReference"]},{predicate:Ni,specPath:["document","objects","JSONSchema"]}]}};const nr=class extends hi{constructor(e){super(e),this.element=new ss,this.specPath=Ws(["document","objects","Media"])}};const ir=class extends pi{constructor(e){super(e),this.element=new ns,this.specPath=Ws(["document","objects","LinkDescription"])}},rr={visitors:{value:zs,JSONSchemaOrJSONReferenceVisitor:sr,document:{objects:{JSONSchema:{element:"jSONSchemaDraft4",$visitor:Bi,fixedFields:{id:{$visitor:zs,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:sr,items:{$visitor:ji,alias:"itemsField"},maxItems:{$ref:"#/visitors/value"},minItems:{$ref:"#/visitors/value"},uniqueItems:{$ref:"#/visitors/value"},maxProperties:{$ref:"#/visitors/value"},minProperties:{$ref:"#/visitors/value"},required:Oi,properties:ki,additionalProperties:sr,patternProperties:qi,dependencies:Mi,enum:Ci,type:$i,allOf:Ai,anyOf:Pi,oneOf:Ii,not:sr,definitions:Fi,title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},format:{$ref:"#/visitors/value"},base:{$ref:"#/visitors/value"},links:{$visitor:Ti,alias:"linksField"},media:{$ref:"#/visitors/document/objects/Media"},readOnly:{$ref:"#/visitors/value"}}},JSONReference:{element:"jSONReference",$visitor:Di,fixedFields:{$ref:Vi}},Media:{element:"media",$visitor:nr,fixedFields:{binaryEncoding:{$ref:"#/visitors/value"},type:{$ref:"#/visitors/value"}}},LinkDescription:{element:"linkDescription",$visitor:ir,fixedFields:{href:{$ref:"#/visitors/value"},rel:{$ref:"#/visitors/value"},title:{$ref:"#/visitors/value"},targetSchema:sr,mediaType:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},encType:{$ref:"#/visitors/value"},schema:sr}}}}}},or=Zt(rr),cr=e=>Object.entries(e).map(([e,t])=>_t(t)?{name:e,...t}:{name:e,$visitor:t});Object.defineProperty(es,"fixedFields",{get:()=>cr(or.visitors.document.objects.JSONSchema.fixedFields),enumerable:!0}),Object.defineProperty(ts,"fixedFields",{get:()=>cr(or.visitors.document.objects.JSONReference.fixedFields),enumerable:!0}),Object.defineProperty(ss,"fixedFields",{get:()=>cr(or.visitors.document.objects.Media.fixedFields),enumerable:!0}),Object.defineProperty(ns,"fixedFields",{get:()=>cr(or.visitors.document.objects.LinkDescription.fixedFields),enumerable:!0});const ar=class extends es{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 lr=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 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 ur=we(function e(t,s,n){if(0===t.length)return s;var i=t[0];if(t.length>1){var r=Ee(i,n);(ye(r)||"object"!=typeof r)&&(r=Be(t[1])?[]:{}),s=e(Array.prototype.slice.call(t,1),s,r)}return function(e,t,s){if(Be(e)&&$e(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 dr=ur;const pr=we(function(e,t,s){var n=Array.prototype.slice.call(s,0);return n.splice(e,t),n});var hr=we(function(e,t,s){return dr([e],t,s)});const mr=hr;var gr=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(Be(e)&&$e(t))return pr(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(Be(e)&&$e(t))return[].concat(t);var s={};for(var n in t)s[n]=t[n];return s}(n,s):mr(n,e(i,s[n]),s)}});const fr=gr;const yr=class extends Bi{constructor(e){super(e),this.element=new ar}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 br=class extends ji{BooleanElement(e){this.element=this.toRefractedElement(["document","objects","JSONSchema"],e.node),e.stop()}};const vr=class extends zs{ArrayElement(e){this.enter(e),this.element.classes.push("json-schema-examples")}};const xr=class extends ir{constructor(e){super(e),this.element=new lr}},Sr=Ge(dr(["visitors","document","objects","JSONSchema","element"],"jSONSchemaDraft6"),dr(["visitors","document","objects","JSONSchema","$visitor"],yr),fr(["visitors","document","objects","JSONSchema","fixedFields","id"]),dr(["visitors","document","objects","JSONSchema","fixedFields","$id"],{$ref:"#/visitors/value"}),dr(["visitors","document","objects","JSONSchema","fixedFields","contains"],{$visitor:rr.visitors.JSONSchemaOrJSONReferenceVisitor,alias:"containsField"}),dr(["visitors","document","objects","JSONSchema","fixedFields","items"],{$visitor:br,alias:"itemsField"}),dr(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],rr.visitors.JSONSchemaOrJSONReferenceVisitor),dr(["visitors","document","objects","JSONSchema","fixedFields","const"],{$ref:"#/visitors/value"}),dr(["visitors","document","objects","JSONSchema","fixedFields","examples"],vr),dr(["visitors","document","objects","LinkDescription","$visitor"],xr),dr(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],rr.visitors.JSONSchemaOrJSONReferenceVisitor),fr(["visitors","document","objects","LinkDescription","fixedFields","schema"]),dr(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],rr.visitors.JSONSchemaOrJSONReferenceVisitor),fr(["visitors","document","objects","LinkDescription","fixedFields","method"]),fr(["visitors","document","objects","LinkDescription","fixedFields","encType"]),dr(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"],{$ref:"#/visitors/value"}))(rr),wr=Zt(Sr),Br=e=>Object.entries(e).map(([e,t])=>_t(t)?{name:e,...t}:{name:e,$visitor:t});Object.defineProperty(ar,"fixedFields",{get:()=>Br(wr.visitors.document.objects.JSONSchema.fixedFields),enumerable:!0}),Object.defineProperty(lr,"fixedFields",{get:()=>Br(wr.visitors.document.objects.LinkDescription.fixedFields),enumerable:!0});const Er=class extends ar{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 jr=class extends lr{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 Or=class extends yr{constructor(e){super(e),this.element=new Er}get defaultDialectIdentifier(){return"http://json-schema.org/draft-07/schema#"}};const kr=class extends xr{constructor(e){super(e),this.element=new jr}},qr=Ge(dr(["visitors","document","objects","JSONSchema","element"],"jSONSchemaDraft7"),dr(["visitors","document","objects","JSONSchema","$visitor"],Or),dr(["visitors","document","objects","JSONSchema","fixedFields","$comment"],Sr.visitors.value),dr(["visitors","document","objects","JSONSchema","fixedFields","if"],Sr.visitors.JSONSchemaOrJSONReferenceVisitor),dr(["visitors","document","objects","JSONSchema","fixedFields","then"],Sr.visitors.JSONSchemaOrJSONReferenceVisitor),dr(["visitors","document","objects","JSONSchema","fixedFields","else"],Sr.visitors.JSONSchemaOrJSONReferenceVisitor),fr(["visitors","document","objects","JSONSchema","fixedFields","media"]),dr(["visitors","document","objects","JSONSchema","fixedFields","contentEncoding"],Sr.visitors.value),dr(["visitors","document","objects","JSONSchema","fixedFields","contentMediaType"],Sr.visitors.value),dr(["visitors","document","objects","JSONSchema","fixedFields","writeOnly"],Sr.visitors.value),dr(["visitors","document","objects","LinkDescription","$visitor"],kr),dr(["visitors","document","objects","LinkDescription","fixedFields","anchor"],Sr.visitors.value),dr(["visitors","document","objects","LinkDescription","fixedFields","anchorPointer"],Sr.visitors.value),fr(["visitors","document","objects","LinkDescription","fixedFields","mediaType"]),dr(["visitors","document","objects","LinkDescription","fixedFields","targetMediaType"],Sr.visitors.value),dr(["visitors","document","objects","LinkDescription","fixedFields","targetHints"],Sr.visitors.value),dr(["visitors","document","objects","LinkDescription","fixedFields","description"],Sr.visitors.value),dr(["visitors","document","objects","LinkDescription","fixedFields","$comment"],Sr.visitors.value),dr(["visitors","document","objects","LinkDescription","fixedFields","headerSchema"],Sr.visitors.JSONSchemaOrJSONReferenceVisitor),fr(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"]),dr(["visitors","document","objects","LinkDescription","fixedFields","submissionMediaType"],Sr.visitors.value))(Sr),Mr=Zt(qr),Cr=e=>Object.entries(e).map(([e,t])=>_t(t)?{name:e,...t}:{name:e,$visitor:t});Object.defineProperty(Er,"fixedFields",{get:()=>Cr(Mr.visitors.document.objects.JSONSchema.fixedFields),enumerable:!0}),Object.defineProperty(jr,"fixedFields",{get:()=>Cr(Mr.visitors.document.objects.LinkDescription.fixedFields),enumerable:!0});const $r=class extends Er{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 Ar=class extends L{constructor(e,t,s){super(e,t,s),this.element="securityRequirement"}};const Pr=class extends L{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 Ir=class extends L{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 Fr=class extends L{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 Tr=class extends L{constructor(e,t,s){super(e,t,s),this.element="servers"}};const Dr=class extends L{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 Vr=class extends L{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 Nr=class extends cs{constructor(e,t,s){super(e,t,s),this.element="tags"}};const Rr=class extends L{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 _r=class extends L{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 Lr=class extends L{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 Jr=class extends L{constructor(e,t,s){super(e,t,s),this.element="amqpServerBinding",this.classes.push("server-binding")}};const Ur=class extends L{constructor(e,t,s){super(e,t,s),this.element="amqp1ChannelBinding",this.classes.push("channel-binding")}};const Hr=class extends L{constructor(e,t,s){super(e,t,s),this.element="amqp1MessageBinding",this.classes.push("message-binding")}};const Gr=class extends L{constructor(e,t,s){super(e,t,s),this.element="amqp1OperationBinding",this.classes.push("operation-binding")}};const zr=class extends L{constructor(e,t,s){super(e,t,s),this.element="amqp1ServerBinding",this.classes.push("server-binding")}};const Wr=class extends L{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 Xr=class extends L{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 Kr=class extends L{constructor(e,t,s){super(e,t,s),this.element="anypointmqOperationBinding",this.classes.push("operation-binding")}};const Yr=class extends L{constructor(e,t,s){super(e,t,s),this.element="anypointmqServerBinding",this.classes.push("server-binding")}};const Qr=class extends L{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 Zr=class extends L{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 eo=class extends L{constructor(e,t,s){super(e,t,s),this.element="googlepubsubOperationBinding",this.classes.push("operation-binding")}};const to=class extends L{constructor(e,t,s){super(e,t,s),this.element="googlepubsubServerBinding",this.classes.push("server-binding")}};const so=class extends L{constructor(e,t,s){super(e,t,s),this.element="httpChannelBinding",this.classes.push("channel-binding")}};const no=class extends L{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 io=class extends L{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 ro=class extends L{constructor(e,t,s){super(e,t,s),this.element="httpServerBinding",this.classes.push("server-binding")}};const oo=class extends L{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 co=class extends L{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 ao=class extends L{constructor(e,t,s){super(e,t,s),this.element="ibmmqOperationBinding",this.classes.push("operation-binding")}};const lo=class extends L{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 uo=class extends L{constructor(e,t,s){super(e,t,s),this.element="jmsChannelBinding",this.classes.push("channel-binding")}};const po=class extends L{constructor(e,t,s){super(e,t,s),this.element="jmsMessageBinding",this.classes.push("message-binding")}};const ho=class extends L{constructor(e,t,s){super(e,t,s),this.element="jmsOperationBinding",this.classes.push("operation-binding")}};const mo=class extends L{constructor(e,t,s){super(e,t,s),this.element="jmsServerBinding",this.classes.push("server-binding")}};const go=class extends L{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 fo=class extends L{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 yo=class extends L{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 bo=class extends L{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 vo=class extends L{constructor(e,t,s){super(e,t,s),this.element="mercureChannelBinding",this.classes.push("channel-binding")}};const xo=class extends L{constructor(e,t,s){super(e,t,s),this.element="mercureMessageBinding",this.classes.push("message-binding")}};const So=class extends L{constructor(e,t,s){super(e,t,s),this.element="mercureOperationBinding",this.classes.push("operation-binding")}};const wo=class extends L{constructor(e,t,s){super(e,t,s),this.element="mercureServerBinding",this.classes.push("server-binding")}};const Bo=class extends L{constructor(e,t,s){super(e,t,s),this.element="mqttChannelBinding",this.classes.push("channel-binding")}};const Eo=class extends L{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 jo=class extends L{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 Oo=class extends L{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 ko=class extends L{constructor(e,t,s){super(e,t,s),this.element="mqtt5ChannelBinding",this.classes.push("channel-binding")}};const qo=class extends L{constructor(e,t,s){super(e,t,s),this.element="mqtt5MessageBinding",this.classes.push("message-binding")}};const Mo=class extends L{constructor(e,t,s){super(e,t,s),this.element="mqtt5OperationBinding",this.classes.push("operation-binding")}};const Co=class extends L{constructor(e,t,s){super(e,t,s),this.element="mqtt5ServerBinding",this.classes.push("server-binding")}};const $o=class extends L{constructor(e,t,s){super(e,t,s),this.element="natsChannelBinding",this.classes.push("channel-binding")}};const Ao=class extends L{constructor(e,t,s){super(e,t,s),this.element="natsMessageBinding",this.classes.push("message-binding")}};const Po=class extends L{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 Io=class extends L{constructor(e,t,s){super(e,t,s),this.element="natsServerBinding",this.classes.push("server-binding")}};const Fo=class extends L{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 To=class extends L{constructor(e,t,s){super(e,t,s),this.element="pulsarMessageBinding",this.classes.push("message-binding")}};const Do=class extends L{constructor(e,t,s){super(e,t,s),this.element="pulsarOperationBinding",this.classes.push("operation-binding")}};const Vo=class extends L{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 No=class extends L{constructor(e,t,s){super(e,t,s),this.element="redisChannelBinding",this.classes.push("channel-binding")}};const Ro=class extends L{constructor(e,t,s){super(e,t,s),this.element="redisMessageBinding",this.classes.push("message-binding")}};const _o=class extends L{constructor(e,t,s){super(e,t,s),this.element="redisOperationBinding",this.classes.push("operation-binding")}};const Lo=class extends L{constructor(e,t,s){super(e,t,s),this.element="redisServerBinding",this.classes.push("server-binding")}};const Jo=class extends L{constructor(e,t,s){super(e,t,s),this.element="snsChannelBinding",this.classes.push("channel-binding")}};const Uo=class extends L{constructor(e,t,s){super(e,t,s),this.element="snsMessageBinding",this.classes.push("message-binding")}};const Ho=class extends L{constructor(e,t,s){super(e,t,s),this.element="snsOperationBinding",this.classes.push("operation-binding")}};const Go=class extends L{constructor(e,t,s){super(e,t,s),this.element="snsServerBinding",this.classes.push("server-binding")}};const zo=class extends L{constructor(e,t,s){super(e,t,s),this.element="solaceChannelBinding",this.classes.push("channel-binding")}};const Wo=class extends L{constructor(e,t,s){super(e,t,s),this.element="solaceMessageBinding",this.classes.push("message-binding")}};const Xo=class extends L{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 Ko=class extends L{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 Yo=class extends L{constructor(e,t,s){super(e,t,s),this.element="sqsChannelBinding",this.classes.push("channel-binding")}};const Qo=class extends L{constructor(e,t,s){super(e,t,s),this.element="sqsMessageBinding",this.classes.push("message-binding")}};const Zo=class extends L{constructor(e,t,s){super(e,t,s),this.element="sqsOperationBinding",this.classes.push("operation-binding")}};const ec=class extends L{constructor(e,t,s){super(e,t,s),this.element="sqsServerBinding",this.classes.push("server-binding")}};const tc=class extends L{constructor(e,t,s){super(e,t,s),this.element="stompChannelBinding",this.classes.push("channel-binding")}};const sc=class extends L{constructor(e,t,s){super(e,t,s),this.element="stompMessageBinding",this.classes.push("message-binding")}};const nc=class extends L{constructor(e,t,s){super(e,t,s),this.element="stompOperationBinding",this.classes.push("operation-binding")}};const ic=class extends L{constructor(e,t,s){super(e,t,s),this.element="stompServerBinding",this.classes.push("server-binding")}};const rc=class extends L{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 oc=class extends L{constructor(e,t,s){super(e,t,s),this.element="webSocketMessageBinding",this.classes.push("message-binding")}};const cc=class extends L{constructor(e,t,s){super(e,t,s),this.element="webSocketOperationBinding",this.classes.push("operation-binding")}};const ac=class extends L{constructor(e,t,s){super(e,t,s),this.element="webSocketServerBinding",this.classes.push("server-binding")}},lc={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",$r),t.register("securityRequirement",Ar),t.register("securityScheme",Pr),t.register("server",Ir),t.register("serverBindings",Fr),t.register("servers",Tr),t.register("serverVariable",Dr),t.register("tag",Vr),t.register("tags",Nr),t.register("amqpChannelBinding",Rr),t.register("amqpMessageBinding",_r),t.register("amqpOperationBinding",Lr),t.register("amqpServerBinding",Jr),t.register("amqp1ChannelBinding",Ur),t.register("amqp1MessageBinding",Hr),t.register("amqp1OperationBinding",Gr),t.register("amqp1ServerBinding",zr),t.register("anypointmqChannelBinding",Wr),t.register("anypointmqMessageBinding",Xr),t.register("anypointmqOperationBinding",Kr),t.register("anypointmqServerBinding",Yr),t.register("googlepubsubChannelBinding",Qr),t.register("googlepubsubMessageBinding",Zr),t.register("googlepubsubOperationBinding",eo),t.register("googlepubsubServerBinding",to),t.register("httpChannelBinding",so),t.register("httpMessageBinding",no),t.register("httpOperationBinding",io),t.register("httpServerBinding",ro),t.register("ibmmqChannelBinding",oo),t.register("ibmmqMessageBinding",co),t.register("ibmmqOperationBinding",ao),t.register("ibmmqServerBinding",lo),t.register("jmsChannelBinding",uo),t.register("jmsMessageBinding",po),t.register("jmsOperationBinding",ho),t.register("jmsServerBinding",mo),t.register("kafkaChannelBinding",go),t.register("kafkaMessageBinding",fo),t.register("kafkaOperationBinding",yo),t.register("kafkaServerBinding",bo),t.register("mercureChannelBinding",vo),t.register("mercureMessageBinding",xo),t.register("mercureOperationBinding",So),t.register("mercureServerBinding",wo),t.register("mqttChannelBinding",Bo),t.register("mqttMessageBinding",Eo),t.register("mqttOperationBinding",jo),t.register("mqttServerBinding",Oo),t.register("mqtt5ChannelBinding",ko),t.register("mqtt5MessageBinding",qo),t.register("mqtt5OperationBinding",Mo),t.register("mqtt5ServerBinding",Co),t.register("natsChannelBinding",$o),t.register("natsMessageBinding",Ao),t.register("natsOperationBinding",Po),t.register("natsServerBinding",Io),t.register("pulsarChannelBinding",Fo),t.register("pulsarMessageBinding",To),t.register("pulsarOperationBinding",Do),t.register("pulsarServerBinding",Vo),t.register("redisChannelBinding",No),t.register("redisMessageBinding",Ro),t.register("redisOperationBinding",_o),t.register("redisServerBinding",Lo),t.register("snsChannelBinding",Jo),t.register("snsMessageBinding",Uo),t.register("snsOperationBinding",Ho),t.register("snsServerBinding",Go),t.register("solaceChannelBinding",zo),t.register("solaceMessageBinding",Wo),t.register("solaceOperationBinding",Xo),t.register("solaceServerBinding",Ko),t.register("sqsChannelBinding",Yo),t.register("sqsMessageBinding",Qo),t.register("sqsOperationBinding",Zo),t.register("sqsServerBinding",ec),t.register("stompChannelBinding",tc),t.register("stompMessageBinding",sc),t.register("stompOperationBinding",nc),t.register("stompServerBinding",ic),t.register("webSocketChannelBinding",rc),t.register("webSocketMessageBinding",oc),t.register("webSocketOperationBinding",cc),t.register("webSocketServerBinding",ac),t}};class uc extends L{static primaryClass="components-schemas";constructor(e,t,s){super(e,t,s),this.classes.push(uc.primaryClass)}}const dc=uc;class pc extends L{static primaryClass="components-servers";constructor(e,t,s){super(e,t,s),this.classes.push(pc.primaryClass)}}const hc=pc;class mc extends L{static primaryClass="components-server-variables";constructor(e,t,s){super(e,t,s),this.classes.push(mc.primaryClass)}}const gc=mc;class fc extends L{static primaryClass="components-messages";constructor(e,t,s){super(e,t,s),this.classes.push(fc.primaryClass)}}const yc=fc;class bc extends L{static primaryClass="components-security-schemes";constructor(e,t,s){super(e,t,s),this.classes.push(bc.primaryClass)}}const vc=bc;class xc extends L{static primaryClass="components-parameters";constructor(e,t,s){super(e,t,s),this.classes.push(xc.primaryClass)}}const Sc=xc;class wc extends L{static primaryClass="components-correlation-ids";constructor(e,t,s){super(e,t,s),this.classes.push(wc.primaryClass)}}const Bc=wc;class Ec extends L{static primaryClass="components-operation-traits";constructor(e,t,s){super(e,t,s),this.classes.push(Ec.primaryClass)}}const jc=Ec;class Oc extends L{static primaryClass="components-message-traits";constructor(e,t,s){super(e,t,s),this.classes.push(Oc.primaryClass)}}const kc=Oc;class qc extends L{static primaryClass="components-server-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(qc.primaryClass)}}const Mc=qc;class Cc extends L{static primaryClass="components-channel-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(Cc.primaryClass)}}const $c=Cc;class Ac extends L{static primaryClass="components-operation-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(Ac.primaryClass)}}const Pc=Ac;class Ic extends L{static primaryClass="components-message-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(Ic.primaryClass)}}const Fc=Ic;class Tc extends L{static primaryClass="server-variables";constructor(e,t,s){super(e,t,s),this.classes.push(Tc.primaryClass)}}const Dc=Tc;class Vc extends cs{static primaryClass="channel-item-server-names-list";constructor(e,t,s){super(e,t,s),this.classes.push(Vc.primaryClass)}}const Nc=Vc;class Rc extends L{static primaryClass="oauth-flow-scopes";constructor(e,t,s){super(e,t,s),this.classes.push(Rc.primaryClass)}}const _c=Rc;class Lc extends cs{static primaryClass="operation-traits";constructor(e,t,s){super(e,t,s),this.classes.push(Lc.primaryClass)}}const Jc=Lc;class Uc extends cs{static primaryClass="server-security";constructor(e,t,s){super(e,t,s),this.classes.push(Uc.primaryClass)}}const Hc=Uc;class Gc extends L{static primaryClass="operation-message-map";constructor(e,t,s){super(e,t,s),this.classes.push(Gc.primaryClass)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}}const zc=Gc;class Wc extends cs{static primaryClass="operation-message";constructor(e,t,s){super(e,t,s),this.classes.push(Wc.primaryClass)}}const Xc=Wc;class Kc extends cs{static primaryClass="operation-security";constructor(e,t,s){super(e,t,s),this.classes.push(Kc.primaryClass)}}const Yc=Kc;class Qc extends cs{static primaryClass="operation-trait-security";constructor(e,t,s){super(e,t,s),this.classes.push(Qc.primaryClass)}}const Zc=Qc;class ea extends cs{static primaryClass="message-examples";constructor(e,t,s){super(e,t,s),this.classes.push(ea.primaryClass)}}const ta=ea;class sa extends cs{static primaryClass="message-traits";constructor(e,t,s){super(e,t,s),this.classes.push(sa.primaryClass)}}const na=sa;class ia extends cs{static primaryClass="message-trait-examples";constructor(e,t,s){super(e,t,s),this.classes.push(ia.primaryClass)}}const ra=ia,oa={AsyncApi2Element:{asyncapi:(...e)=>new H(...e),identifier:(...e)=>new ee(...e),info:(...e)=>new te(...e),servers:(...e)=>new Tr(...e),defaultContentType:(...e)=>new Q(...e),channels:(...e)=>new W(...e),components:(...e)=>new X(...e),tags:(...e)=>new Nr(...e),externalDocs:(...e)=>new Z(...e)},InfoElement:{contact:(...e)=>new K(...e),license:(...e)=>new se(...e)},ServersElement:{"[key: *]":function(...e){return new Ir(...e)}},ServerElement:{variables:(...e)=>new Dc(...e),security:(...e)=>new Hc(...e),tags:(...e)=>new Nr(...e),bindings:(...e)=>new Fr(...e)},ServerVariableElement:{enum:(...e)=>new cs(...e),examples:(...e)=>new cs(...e)},SecurityRequirementElement:{"[key: *]":function(...e){return new cs(...e)}},ChannelsElement:{"[key: *]":function(...e){return new z(...e)}},ChannelItemElement:{servers:(...e)=>new Nc(...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 Nr(...e),externalDocs:(...e)=>new Z(...e),bindings:(...e)=>new ue(...e),traits:(...e)=>new Jc(...e),message:(...e)=>new ne(...e)},ComponentsElement:{schemas:(...e)=>new dc(...e),servers:(...e)=>new hc(...e),serverVariables:(...e)=>new gc(...e),messages:(...e)=>new yc(...e),securitySchemes:(...e)=>new vc(...e),parameters:(...e)=>new Sc(...e),correlationIds:(...e)=>new Bc(...e),operationTraits:(...e)=>new jc(...e),messageTraits:(...e)=>new kc(...e),serverBindings:(...e)=>new Mc(...e),channelBindings:(...e)=>new $c(...e),operationBindings:(...e)=>new Pc(...e),messageBindings:(...e)=>new Fc(...e)},TagElement:{externalDocs:(...e)=>new Z(...e)},MessageElement:{headers:(...e)=>new $r(...e),correlationId:(...e)=>new Y(...e),tags:(...e)=>new Nr(...e),externalDocs:(...e)=>new Z(...e),bindings:(...e)=>new ie(...e),examples:(...e)=>new cs(...e),traits:(...e)=>new cs(...e),payload(...e){const{context:t}=this,s=Xs(f.latest(),Rs(t.schemaFormat));return f.includes(s)?new $r(...e):new L(...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 _c(...e)},ParametersElement:{"[key: *]":function(...e){return new pe(...e)}},ParameterElement:{schema:(...e)=>new $r(...e)},OperationTraitElement:{tags:(...e)=>new Nr(...e),externalDocs:(...e)=>new Z(...e),bindings:(...e)=>new ue(...e)},MessageTraitElement:{headers:(...e)=>new $r(...e),correlationId:(...e)=>new Y(...e),tags:(...e)=>new Nr(...e),externalDocs:(...e)=>new Z(...e),bindings:(...e)=>new ie(...e),examples:(...e)=>new cs(...e)},MessageExampleElement:{headers:(...e)=>new L(...e)},OperationBindingsElement:{http:(...e)=>new io(...e),ws:(...e)=>new cc(...e),kafka:(...e)=>new yo(...e),anypointmq:(...e)=>new Kr(...e),amqp:(...e)=>new Lr(...e),amqp1:(...e)=>new Gr(...e),mqtt:(...e)=>new jo(...e),mqtt5:(...e)=>new Mo(...e),nats:(...e)=>new Po(...e),jms:(...e)=>new ho(...e),sns:(...e)=>new Ho(...e),solace:(...e)=>new Xo(...e),sqs:(...e)=>new Zo(...e),stomp:(...e)=>new nc(...e),redis:(...e)=>new _o(...e),mercure:(...e)=>new So(...e),googlepubsub:(...e)=>new eo(...e),ibmmq:(...e)=>new ao(...e),pulsar:(...e)=>new Do(...e)},MessageBindingsElement:{http:(...e)=>new no(...e),ws:(...e)=>new oc(...e),kafka:(...e)=>new fo(...e),anypointmq:(...e)=>new Xr(...e),amqp:(...e)=>new _r(...e),amqp1:(...e)=>new Hr(...e),mqtt:(...e)=>new Eo(...e),mqtt5:(...e)=>new qo(...e),nats:(...e)=>new Ao(...e),jms:(...e)=>new po(...e),sns:(...e)=>new Uo(...e),solace:(...e)=>new Wo(...e),sqs:(...e)=>new Qo(...e),stomp:(...e)=>new sc(...e),redis:(...e)=>new Ro(...e),mercure:(...e)=>new xo(...e),ibmmq:(...e)=>new co(...e),googlepubsub:(...e)=>new Zr(...e),pulsar:(...e)=>new To(...e)},ServerBindingsElement:{http:(...e)=>new ro(...e),ws:(...e)=>new ac(...e),kafka:(...e)=>new bo(...e),anypointmq:(...e)=>new Yr(...e),amqp:(...e)=>new Jr(...e),amqp1:(...e)=>new zr(...e),mqtt:(...e)=>new Oo(...e),mqtt5:(...e)=>new Co(...e),nats:(...e)=>new Io(...e),jms:(...e)=>new mo(...e),sns:(...e)=>new Go(...e),solace:(...e)=>new Ko(...e),sqs:(...e)=>new ec(...e),stomp:(...e)=>new ic(...e),redis:(...e)=>new Lo(...e),mercure:(...e)=>new wo(...e),ibmmq:(...e)=>new lo(...e),googlepubsub:(...e)=>new to(...e),pulsar:(...e)=>new Vo(...e)},ChannelBindingsElement:{http:(...e)=>new so(...e),ws:(...e)=>new rc(...e),kafka:(...e)=>new go(...e),anypointmq:(...e)=>new Wr(...e),amqp:(...e)=>new Rr(...e),amqp1:(...e)=>new Ur(...e),mqtt:(...e)=>new Bo(...e),mqtt5:(...e)=>new ko(...e),nats:(...e)=>new $o(...e),jms:(...e)=>new uo(...e),sns:(...e)=>new Jo(...e),solace:(...e)=>new zo(...e),sqs:(...e)=>new Yo(...e),stomp:(...e)=>new tc(...e),redis:(...e)=>new No(...e),mercure:(...e)=>new vo(...e),ibmmq:(...e)=>new oo(...e),googlepubsub:(...e)=>new Qr(...e),pulsar:(...e)=>new Fo(...e)},SchemaElement:{allOf(...e){const t=new cs(...e);return t.classes.push("json-schema-allOf"),t},anyOf(...e){const t=new cs(...e);return t.classes.push("json-schema-anyOf"),t},oneOf(...e){const t=new cs(...e);return t.classes.push("json-schema-oneOf"),t},not:(...e)=>new $r(...e),if:(...e)=>new $r(...e),then:(...e)=>new $r(...e),else:(...e)=>new $r(...e),enum:(...e)=>new cs(...e),items:(...e)=>new $r(...e),additionalItems:(...e)=>new $r(...e),contains:(...e)=>new $r(...e),required(...e){const t=new cs(...e);return t.classes.push("json-schema-required"),t},properties(...e){const t=new L(...e);return t.classes.push("json-schema-properties"),t},patternProperties(...e){const t=new L(...e);return t.classes.push("json-schema-patternProperties"),t},additionalProperties:(...e)=>new $r(...e),dependencies(...e){const t=new L(...e);return t.classes.push("json-schema-dependencies"),t},propertyNames:(...e)=>new $r(...e),examples(...e){const t=new cs(...e);return t.classes.push("json-schema-examples"),t},definitions(...e){const t=new L(...e);return t.classes.push("json-schema-definitions"),t},externalDocs:(...e)=>new Z(...e)},HttpOperationBindingElement:{query:(...e)=>new $r(...e)},HttpMessageBindingElement:{headers:(...e)=>new $r(...e)},WebSocketChannelBindingElement:{query:(...e)=>new $r(...e),headers:(...e)=>new $r(...e)},KafkaOperationBindingElement:{groupId:(...e)=>new $r(...e),clientId:(...e)=>new $r(...e)},KafkaMessageBindingElement:{key:(...e)=>new $r(...e)},AnypointmqMessageBindingElement:{headers:(...e)=>new $r(...e)},AmqpChannelBindingElement:{exchange:(...e)=>new L(...e),queue:(...e)=>new L(...e)},AmqpOperationBindingElement:{cc:(...e)=>new cs(...e),bcc:(...e)=>new cs(...e)},IbmmqChannelBindingElement:{queue:(...e)=>new L(...e),topic:(...e)=>new L(...e)},MqttServerBindingElement:{lastWill:(...e)=>new L(...e)},SolaceOperationBindingElement:{destinations:(...e)=>new cs(...e)},GooglepubsubChannelBindingElement:{labels:(...e)=>new L(...e),messageStoragePolicy:(...e)=>new L(...e),schemaSettings:(...e)=>new L(...e)},GooglepubsubMessageBindingElement:{attributes:(...e)=>new L(...e),schema:(...e)=>new L(...e)},PulsarChannelBindingElement:{"geo-replication":function(...e){return new cs(...e)},retention:(...e)=>new L(...e)},TagsElement:{"<*>":function(...e){return new Vr(...e)}},[dc.primaryClass]:{"[key: *]":function(...e){return new $r(...e)}},[hc.primaryClass]:{"[key: *]":function(...e){return new Ir(...e)}},[gc.primaryClass]:{"[key: *]":function(...e){return new Dr(...e)}},[yc.primaryClass]:{"[key: *]":function(...e){return new ne(...e)}},[vc.primaryClass]:{"[key: *]":function(...e){return new Pr(...e)}},[Sc.primaryClass]:{"[key: *]":function(...e){return new pe(...e)}},[Bc.primaryClass]:{"[key: *]":function(...e){return new Y(...e)}},[jc.primaryClass]:{"[key: *]":function(...e){return new de(...e)}},[kc.primaryClass]:{"[key: *]":function(...e){return new oe(...e)}},[Mc.primaryClass]:{"[key: *]":function(...e){return new Fr(...e)}},[$c.primaryClass]:{"[key: *]":function(...e){return new G(...e)}},[Pc.primaryClass]:{"[key: *]":function(...e){return new ue(...e)}},[Fc.primaryClass]:{"[key: *]":function(...e){return new ie(...e)}},[Dc.primaryClass]:{"[key: *]":function(...e){return new Dr(...e)}},"json-schema-properties":{"[key: *]":function(...e){return new $r(...e)}},[Hc.primaryClass]:{"<*>":function(...e){return new Ar(...e)}},[Jc.primaryClass]:{"<*>":function(...e){return new de(...e)}},[zc.primaryClass]:{oneOf:(...e)=>new Xc(...e)},[Xc.primaryClass]:{"<*>":function(...e){return new ne(...e)}},[Yc.primaryClass]:{"<*>":function(...e){return new Ar(...e)}},[Zc.primaryClass]:{"<*>":function(...e){return new Ar(...e)}},[ta.primaryClass]:{"<*>":function(...e){return new re(...e)}},[na.primaryClass]:{"<*>":function(...e){return new oe(...e)}},[ra.primaryClass]:{"<*>":function(...e){return new re(...e)}},"json-schema-allOf":{"<*>":function(...e){return new $r(...e)}},"json-schema-anyOf":{"<*>":function(...e){return new $r(...e)}},"json-schema-oneOf":{"<*>":function(...e){return new $r(...e)}}},ca=(e,t)=>{const s=jn(e),n=oa[s]||oa[Rs(e.classes.first)];return void 0===n?void 0:Object.hasOwn(n,"[key: *]")?n["[key: *]"]:n[t]},aa=()=>()=>({visitor:{StringElement(e){const t=e.node;if(!(e=>ls(e)&&ys(e,["yaml-e-node","yaml-e-scalar"]))(t))return;const s=e.getAncestorNodes().reverse().filter(as),n=s.at(-1);let i,r;if(hs(n)?(r=t,i=ca(n,"<*>")):gs(n)&&(r=s.at(-2),i=ca(r,Rs(n.key))),"function"!=typeof i)return;const o=i.call({context:r},void 0,Ms(t.meta),Ms(t.attributes));ws.transfer(t,o),e.replaceWith(o)}}}),la=e=>e instanceof J,ua=e=>e instanceof H,da=e=>e instanceof G,pa=e=>e instanceof z,ha=e=>e instanceof W,ma=e=>e instanceof X,ga=e=>e instanceof K,fa=e=>e instanceof ee,ya=e=>e instanceof te,ba=e=>e instanceof se,va=e=>e instanceof le,xa=e=>e instanceof pe,Sa=e=>e instanceof he,wa=e=>e instanceof me,Ba=e=>e instanceof $r,Ea=e=>ps(e)&&ys(e,["boolean-json-schema"]),ja=e=>e instanceof Ar,Oa=e=>e instanceof Ir,ka=e=>e instanceof Fr,qa=e=>e instanceof Tr,Ma=e=>e instanceof Dr;var Ca=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?Hi(s):s},e}();function $a(e){return function(t){return new Ca(e,t)}}const Aa=y(et(["take"],$a,function(e,t){return Ue(0,e<0?1/0:e,t)}));const Pa=y(function(e,t){return P(Aa(e.length,t),e)}),Ia=e=>ms(e)&&e.hasKey("$ref"),Fa=e=>ls(e.key)&&Pa("x-",Rs(e.key));const Ta=class{element;constructor(e){Object.assign(this,e)}copyMetaAndAttributes(e,t){if(!e.isMetaEmpty||!t.isMetaEmpty){const s=t.isMetaEmpty?new L:t.meta,n=e.isMetaEmpty?new L:e.meta;t.meta=Hs(s,n)}if(!e.isAttributesEmpty||!t.isAttributesEmpty){const s=t.isAttributesEmpty?new L:t.attributes,n=e.isAttributesEmpty?new L:e.attributes;t.attributes=Hs(s,n)}ws.transfer(e,t)}};const Da=class extends Ta{enter(e){this.element=Ms(e.node),e.stop()}};const Va=class extends Ta{specObj;passingOptionsNames=["specObj"];constructor({specObj:e,...t}){super({...t}),this.specObj=e}retrievePassingOptions(){return an(this.passingOptionsNames,this)}retrieveFixedFields(e){const t=qe(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]}retrieveVisitor(e){return dt(Dt,["visitors",...e],this.specObj)?qe(["visitors",...e],this.specObj):qe(["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 Da&&n?.constructor===Da?Ms(t):(Tn(t,n),n.element)}};const Na=class extends Va{alternator;constructor({alternator:e,...t}){super({...t}),this.alternator=e}enter(e){const t=e.node,s=this.alternator.map(({predicate:e,specPath:t})=>Ri(e,Ws(t),Ks)),n=er(s)(t);this.element=this.toRefractedElement(n,t),e.stop()}};const Ra=class extends Va{specPath;ignoredFields;canSupportSpecificationExtensions=!0;specificationExtensionPredicate=Fa;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=Rs(t);if(ls(t)&&n.includes(r)&&!this.ignoredFields.includes(r)){const n=this.toRefractedElement([...s,"fixedFields",r],e),o=new _(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 _a=class extends Va{specPath;ignoredFields;fieldPatternPredicate=oi;canSupportSpecificationExtensions=!1;specificationExtensionPredicate=Fa;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=Rs(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 _(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 La=class extends _a{constructor(e){super(e),this.fieldPatternPredicate=cn}};function Ja(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?!!Xe(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?!!Xe(e,s._items[i])||(t&&s._items[i].push(e),!1):(t&&(s._items[i]=[e]),!1)}}const Ua=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}return e.prototype.add=function(e){return!Ja(e,!0,this)},e.prototype.has=function(e){return Ja(e,!1,this)},e}();const Ha=y(function(e,t){for(var s=[],n=0,i=e.length,r=t.length,o=new Ua,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}),Ga=ii(Va,Da),za=ii(Ra,Da),Wa=ii(_a,Da),Xa=ii(La,Da),Ka=ii(Ra,_a),Ya=ii(Na,Da);const Qa=class extends Ka{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,...Ha(t.keys(),s)],Ra.prototype.ObjectElement.call(this,e),this.specPath=this.specPathPatternedFields,this.ignoredFields=s,_a.prototype.ObjectElement.call(this,e);const i=t.keys();this.element.content.sort((e,t)=>i.indexOf(Rs(e.key))-i.indexOf(Rs(t.key)))}catch(e){throw this.specPath=s,e}e.stop()}};const Za=class extends Va{MemberElement(e){const t=e.node;this.element=Ms(t),this.element.classes.push("specification-extension"),e.stop()}};function el(e){return void 0===e?new rs:tl(e)}function tl(e){if(e instanceof V)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 cs(e.map(el));if("object"==typeof e)return new L(e);throw new Error("Cannot refract value of type "+typeof e)}V.prototype.ObjectElement=L,V.prototype.ArrayElement=cs,V.prototype.RefElement=Is,V.prototype.MemberElement=_,V.prototype.refract=tl;const sl=we(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 nl=we(function e(t,s,n){return sl(function(s,n,i){return tt(n)&&tt(i)?e(t,n,i):t(s,n,i)},s,n)});const il=y(function(e,t){return nl(function(e,t,s){return s},e,t)});const rl=we(function(e,t,s){return Xs(e,je(t,s))});const ol=Ue(0,-1);const cl=y(function(e,t){return e.apply(this,t)});const al=kt(Dt);const ll=jt(Wi,tn);const ul=xt(3,function(e,t,s){var n=qe(e,s),i=qe(ol(e),s);if(!al(n)&&!ll(e)){var r=De(n,i);return cl(r,t)}});const dl=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 ws)){const s=ws.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]))})}},pl=e=>null===e,hl=e=>"string"==typeof e,ml=e=>"number"==typeof e,gl=e=>"boolean"==typeof e,fl=e=>null!==e&&"object"==typeof e;class yl{elementMap={};elementDetection=[];Element;KeyValuePair;_elements;_attributeElementKeys=[];_attributeElementArrayKeys=[];constructor(e){this.Element=V,this.KeyValuePair=I,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",cs).register("object",L).register("member",_).register("ref",Is).register("link",Ps).register("sourceMap",ws),this.detect(pl,rs,!1).detect(hl,U,!1).detect(ml,is,!1).detect(gl,os,!1).detect(Array.isArray,cs,!1).detect(fl,L,!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 dl(this)}}dl.prototype.Namespace=yl;const bl=yl,vl=new bl,xl={isElement:as,isStringElement:ls,isNumberElement:us,isNullElement:ds,isBooleanElement:ps,isArrayElement:hs,isObjectElement:ms,isMemberElement:gs,isPrimitiveElement:e=>ms(e)&&"object"===e.element||hs(e)&&"array"===e.element||ps(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:Vs,isRefElement:Ns,isAnnotationElement:e=>e instanceof Fs,isCommentElement:e=>e instanceof Ts,isParseResultElement:e=>e instanceof Ds,isSourceMapElement:e=>e instanceof ws,hasElementSourceMap:fs,includesSymbols:(e,t)=>{if(0===t.length)return!0;if(!e.hasAttributesProperty("symbols"))return!1;const s=e.attributes.get("symbols");return!!hs(s)&&t.every(e=>s.includes(e))},includesClasses:ys},Sl={toolboxCreator:()=>({predicates:xl,namespace:vl}),visitorOptions:{exposeEdits:!0}},wl=(e,t,s={})=>{if(0===t.length)return e;const n=il(Sl,s),{toolboxCreator:i,visitorOptions:r}=n,o=i(),c=t.map(e=>e(o)),a=An(c.map(rl({},"visitor")),r);c.forEach(ul(["pre"],[]));const l=Tn(e,a);return c.forEach(ul(["post"],[])),l};wl[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,s={})=>{if(0===t.length)return e;const n=il(Sl,s),{toolboxCreator:i,visitorOptions:r}=n,o=i(),c=t.map(e=>e(o)),a=Pn(c.map(rl({},"visitor")),r);await Promise.allSettled(c.map(ul(["pre"],[])));const l=await Dn(e,a);return await Promise.allSettled(c.map(ul(["post"],[]))),l};const Bl=class extends za{constructor(e){super(e),this.element=new J,this.specPath=Ws(["document","objects","AsyncApi"]),this.canSupportSpecificationExtensions=!0}};const El=class extends Ga{StringElement(e){const t=e.node,s=new H(Rs(t));this.copyMetaAndAttributes(t,s),this.element=s,e.stop()}};const jl=class extends Ga{StringElement(e){const t=e.node,s=new ee(Rs(t));this.copyMetaAndAttributes(t,s),this.element=s,e.stop()}};const Ol=class extends za{constructor(e){super(e),this.element=new te,this.specPath=Ws(["document","objects","Info"]),this.canSupportSpecificationExtensions=!0}};const kl=class extends Da{StringElement(e){const t=e.node;this.element=new U(Rs(t)),this.copyMetaAndAttributes(t,this.element),this.element.classes.push("api-version"),this.element.classes.push("version"),e.stop()}};const ql=class extends za{constructor(e){super(e),this.element=new K,this.specPath=Ws(["document","objects","Contact"]),this.canSupportSpecificationExtensions=!0}};const Ml=class extends za{constructor(e){super(e),this.element=new Y,this.specPath=Ws(["document","objects","CorrelationID"]),this.canSupportSpecificationExtensions=!0}};const Cl=class extends Ga{StringElement(e){const t=e.node,s=new Q(Rs(t));this.copyMetaAndAttributes(t,s),this.element=s,e.stop()}};const $l=class extends za{constructor(e){super(e),this.element=new se,this.specPath=Ws(["document","objects","License"]),this.canSupportSpecificationExtensions=!0}};const Al=class extends za{constructor(e){super(e),this.element=new ae,this.specPath=Ws(["document","objects","OAuthFlows"]),this.canSupportSpecificationExtensions=!0}};const Pl=class extends za{constructor(e){super(e),this.element=new ce,this.specPath=Ws(["document","objects","OAuthFlow"]),this.canSupportSpecificationExtensions=!0}};const Il=class extends Xa{constructor(e){super(e),this.element=new _c,this.specPath=Ws(["value"])}};const Fl=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 "+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 Tl=class extends Wa{constructor(e){super(e),this.element=new Tr,this.element.classes.push("servers"),this.specPath=e=>Ia(e)?["document","objects","Reference"]:["document","objects","Server"],this.canSupportSpecificationExtensions=!1,this.fieldPatternPredicate=Fl(/^[A-Za-z0-9_-]+$/)}ObjectElement(e){Wa.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","server")})}};const Dl=class extends za{constructor(e){super(e),this.element=new Ir,this.specPath=Ws(["document","objects","Server"]),this.canSupportSpecificationExtensions=!0}};const Vl=class extends Da{StringElement(e){super.enter(e),this.element.classes.push("server-url")}};const Nl=class extends Ya{constructor(e){super(e),this.alternator=[{predicate:Ia,specPath:["document","objects","Reference"]},{predicate:Ni,specPath:["document","objects","ServerBindings"]}]}ObjectElement(e){Na.prototype.enter.call(this,e),wa(this.element)&&this.element.meta.set("referenced-element","serverBindings")}};const Rl=class extends Xa{constructor(e){super(e),this.element=new Dc,this.specPath=e=>Ia(e)?["document","objects","Reference"]:["document","objects","ServerVariable"]}};const _l=class extends Ga{constructor(e){super(e),this.element=new Hc}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 Ll=class extends za{constructor(e){super(e),this.element=new Dr,this.specPath=Ws(["document","objects","ServerVariable"]),this.canSupportSpecificationExtensions=!0}};const Jl=class extends za{constructor(e){super(e),this.element=new Fr,this.specPath=Ws(["document","objects","ServerBindings"]),this.canSupportSpecificationExtensions=!0}};const Ul=class extends za{constructor(e){super(e),this.element=new Pr,this.specPath=Ws(["document","objects","SecurityScheme"]),this.canSupportSpecificationExtensions=!0}};const Hl=class extends Xa{constructor(e){super(e),this.element=new Ar,this.specPath=Ws(["value"])}};const Gl=class extends za{constructor(e){super(e),this.element=new me,this.specPath=Ws(["document","objects","Reference"]),this.canSupportSpecificationExtensions=!1}ObjectElement(e){za.prototype.ObjectElement.call(this,e),ls(this.element.$ref)&&this.element.classes.push("reference-element")}};const zl=class extends Da{StringElement(e){super.enter(e),this.element.classes.push("reference-value")}};const Wl=class extends za{constructor(e){super(e),this.specPath=Ws(["document","objects","Schema"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){this.element=new $r,za.prototype.ObjectElement.call(this,e)}BooleanElement(e){super.enter(e),this.element.classes.push("boolean-json-schema")}},Xl=qr.visitors.JSONSchemaOrJSONReferenceVisitor;const Kl=class extends Xl{enter(e){Xl.prototype.enter.call(this,e),wa(this.element)&&this.element.meta.set("referenced-element","schema")}},Yl=qr.visitors.document.objects.JSONSchema.fixedFields.allOf;const Ql=class extends Yl{ArrayElement(e){Yl.prototype.ArrayElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","schema")})}},Zl=qr.visitors.document.objects.JSONSchema.fixedFields.anyOf;const eu=class extends Zl{ArrayElement(e){Zl.prototype.ArrayElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","schema")})}},tu=qr.visitors.document.objects.JSONSchema.fixedFields.oneOf;const su=class extends tu{ArrayElement(e){tu.prototype.ArrayElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","schema")})}},nu=qr.visitors.document.objects.JSONSchema.fixedFields.definitions;const iu=class extends nu{ObjectElement(e){nu.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","schema")})}},ru=qr.visitors.document.objects.JSONSchema.fixedFields.dependencies;const ou=class extends ru{ObjectElement(e){ru.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","schema")})}},cu=qr.visitors.document.objects.JSONSchema.fixedFields.items.$visitor;const au=class extends cu{ObjectElement(e){cu.prototype.ObjectElement.call(this,e),wa(this.element)&&this.element.meta.set("referenced-element","schema")}ArrayElement(e){cu.prototype.ArrayElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","schema")})}},lu=qr.visitors.document.objects.JSONSchema.fixedFields.patternProperties;const uu=class extends lu{ObjectElement(e){lu.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","schema")})}},du=qr.visitors.document.objects.JSONSchema.fixedFields.properties;const pu=class extends du{ObjectElement(e){du.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","schema")})}},hu=St(e=>e===qr.visitors.JSONSchemaOrJSONReferenceVisitor?Kl:e,qr.visitors.document.objects.JSONSchema.fixedFields);const mu=class extends Wa{constructor(e){super(e),this.element=new he,this.specPath=e=>Ia(e)?["document","objects","Reference"]:["document","objects","Parameter"],this.canSupportSpecificationExtensions=!1,this.fieldPatternPredicate=e=>"string"==typeof e&&/^[A-Za-z0-9_-]+$/.test(e)}ObjectElement(e){Wa.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","parameter")})}};const gu=class extends za{constructor(e){super(e),this.element=new pe,this.specPath=Ws(["document","objects","Parameter"]),this.canSupportSpecificationExtensions=!0}};const fu=class extends Ya{constructor(e){super(e),this.alternator=[{predicate:Ia,specPath:["document","objects","Reference"]},{predicate:Ni,specPath:["document","objects","Schema"]}]}ObjectElement(e){Na.prototype.enter.call(this,e),wa(this.element)&&this.element.meta.set("referenced-element","schema")}};const yu=class extends za{constructor(e){super(e),this.element=new Z,this.specPath=Ws(["document","objects","ExternalDocumentation"]),this.canSupportSpecificationExtensions=!0}};const bu=class extends za{constructor(e){super(e),this.element=new X,this.specPath=Ws(["document","objects","Components"]),this.canSupportSpecificationExtensions=!0}};const vu=class extends Xa{constructor(e){super(e),this.element=new dc,this.specPath=e=>Ia(e)?["document","objects","Reference"]:["document","objects","Schema"]}ObjectElement(e){Xa.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","schema")})}};const xu=class extends Xa{constructor(e){super(e),this.element=new hc,this.specPath=e=>Ia(e)?["document","objects","Reference"]:["document","objects","Server"]}ObjectElement(e){Xa.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","server")})}};const Su=class extends Xa{constructor(e){super(e),this.element=new gc,this.specPath=e=>Ia(e)?["document","objects","Reference"]:["document","objects","ServerVariable"]}ObjectElement(e){Xa.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","serverVariable")})}};class wu extends L{static primaryClass="components-channels";constructor(e,t,s){super(e,t,s),this.classes.push(wu.primaryClass)}}const Bu=wu;const Eu=class extends Xa{constructor(e){super(e),this.element=new Bu,this.specPath=Ws(["document","objects","ChannelItem"])}};const ju=class extends Xa{constructor(e){super(e),this.element=new yc,this.specPath=e=>Ia(e)?["document","objects","Reference"]:["document","objects","Message"]}ObjectElement(e){Xa.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","message")})}};const Ou=class extends Xa{constructor(e){super(e),this.element=new vc,this.specPath=e=>Ia(e)?["document","objects","Reference"]:["document","objects","SecurityScheme"]}ObjectElement(e){Xa.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","securityScheme")})}};const ku=class extends Xa{constructor(e){super(e),this.element=new Sc,this.specPath=e=>Ia(e)?["document","objects","Reference"]:["document","objects","Parameter"]}ObjectElement(e){Xa.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","parameter")})}};const qu=class extends Xa{constructor(e){super(e),this.element=new Bc,this.specPath=e=>Ia(e)?["document","objects","Reference"]:["document","objects","CorrelationID"]}ObjectElement(e){Xa.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","correlationID")})}};const Mu=class extends Xa{constructor(e){super(e),this.element=new jc,this.specPath=e=>Ia(e)?["document","objects","Reference"]:["document","objects","OperationTrait"]}ObjectElement(e){Xa.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","operationTrait")})}};const Cu=class extends Xa{constructor(e){super(e),this.element=new kc,this.specPath=e=>Ia(e)?["document","objects","Reference"]:["document","objects","MessageTrait"]}ObjectElement(e){Xa.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","messageTrait")})}};const $u=class extends Xa{constructor(e){super(e),this.element=new Mc,this.specPath=e=>Ia(e)?["document","objects","Reference"]:["document","objects","ServerBindings"]}ObjectElement(e){Xa.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","serverBindings")})}};const Au=class extends Xa{constructor(e){super(e),this.element=new $c,this.specPath=e=>Ia(e)?["document","objects","Reference"]:["document","objects","ChannelBindings"]}ObjectElement(e){Xa.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","channelBindings")})}};const Pu=class extends Xa{constructor(e){super(e),this.element=new Pc,this.specPath=e=>Ia(e)?["document","objects","Reference"]:["document","objects","OperationBindings"]}ObjectElement(e){Xa.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","operationBindings")})}};const Iu=class extends Xa{constructor(e){super(e),this.element=new Fc,this.specPath=e=>Ia(e)?["document","objects","Reference"]:["document","objects","MessageBindings"]}ObjectElement(e){Xa.prototype.ObjectElement.call(this,e),this.element.filter(wa).forEach(e=>{e.meta.set("referenced-element","messageBindings")})}};const Fu=class extends za{constructor(e){super(e),this.element=new le,this.specPath=Ws(["document","objects","Operation"])}};const Tu=class extends Ga{constructor(e){super(e),this.element=new Yc}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 Du=class extends Ya{constructor(e){super(e),this.alternator=[{predicate:Ia,specPath:["document","objects","Reference"]},{predicate:Ni,specPath:["document","objects","OperationBindings"]}]}ObjectElement(e){Na.prototype.enter.call(this,e),wa(this.element)&&this.element.meta.set("referenced-element","operationBindings")}};const Vu=class extends Ga{constructor(e){super(e),this.element=new Jc}ArrayElement(e){const t=e.node;t.forEach(e=>{let t;Ia(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 Nu=class extends Ga{ObjectElement(e){const t=e.node;if(Ia(t))this.element=this.toRefractedElement(["document","objects","Reference"],t),this.element.meta.set("referenced-element","message");else if(hs(t.get("oneOf"))){this.element=new zc;const e=new Xc;t.get("oneOf").forEach(t=>{let s;const n=t;Ia(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 Ru=class extends Ga{constructor(e){super(e),this.element=new Nr}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 _u=class extends za{constructor(e){super(e),this.element=new Vr,this.specPath=Ws(["document","objects","Tag"]),this.canSupportSpecificationExtensions=!0}};const Lu=class extends Xa{constructor(e){super(e),this.element=new W,this.specPath=Ws(["document","objects","ChannelItem"])}};const Ju=class extends za{constructor(e){super(e),this.element=new G,this.specPath=Ws(["document","objects","ChannelBindings"]),this.canSupportSpecificationExtensions=!0}};const Uu=class extends za{constructor(e){super(e),this.element=new z,this.specPath=Ws(["document","objects","ChannelItem"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){za.prototype.ObjectElement.call(this,e),ls(this.element.$ref)&&(this.element.classes.push("reference-element"),this.element.meta.set("referenced-element","channelItem"))}};const Hu=class extends Da{StringElement(e){super.enter(e),this.element.classes.push("reference-value")}};const Gu=class extends Ga{constructor(e){super(e),this.element=new Nc}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 zu=class extends Ya{constructor(e){super(e),this.alternator=[{predicate:Ia,specPath:["document","objects","Reference"]},{predicate:Ni,specPath:["document","objects","ChannelBindings"]}]}ObjectElement(e){Na.prototype.enter.call(this,e),wa(this.element)&&this.element.meta.set("referenced-element","channelBindings")}};const Wu=class extends za{constructor(e){super(e),this.element=new ie,this.specPath=Ws(["document","objects","MessageBindings"]),this.canSupportSpecificationExtensions=!0}};const Xu=class extends za{constructor(e){super(e),this.element=new re,this.specPath=Ws(["document","objects","MessageExample"]),this.canSupportSpecificationExtensions=!0}};const Ku=class extends za{constructor(e){super(e),this.element=new oe,this.specPath=Ws(["document","objects","MessageTrait"]),this.canSupportSpecificationExtensions=!0}};const Yu=class extends Ya{constructor(e){super(e),this.alternator=[{predicate:Ia,specPath:["document","objects","Reference"]},{predicate:Ni,specPath:["document","objects","Schema"]}]}ObjectElement(e){Na.prototype.enter.call(this,e),wa(this.element)&&this.element.meta.set("referenced-element","schema")}};const Qu=class extends Ya{constructor(e){super(e),this.alternator=[{predicate:Ia,specPath:["document","objects","Reference"]},{predicate:Ni,specPath:["document","objects","CorrelationID"]}]}ObjectElement(e){Na.prototype.enter.call(this,e),wa(this.element)&&this.element.meta.set("referenced-element","correlationID")}};const Zu=class extends Ya{constructor(e){super(e),this.alternator=[{predicate:Ia,specPath:["document","objects","Reference"]},{predicate:Ni,specPath:["document","objects","MessageBindings"]}]}ObjectElement(e){Na.prototype.enter.call(this,e),wa(this.element)&&this.element.meta.set("referenced-element","messageBindings")}};const ed=class extends Ga{constructor(e){super(e),this.element=new ra}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 za{constructor(e){super(e),this.element=new ne,this.specPath=Ws(["document","objects","Message"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){za.prototype.ObjectElement.call(this,e);const t=e.node,s=this.element.get("payload"),n=Xs(f.latest(),Rs(t.get("schemaFormat")));if(f.includes(n)&&Ia(s)){const e=this.toRefractedElement(["document","objects","Reference"],s);e.meta.set("referenced-element","schema"),this.element.payload=e}else f.includes(n)&&ms(this.element.payload)&&(this.element.payload=this.toRefractedElement(["document","objects","Schema"],s))}};const sd=class extends Ya{constructor(e){super(e),this.alternator=[{predicate:Ia,specPath:["document","objects","Reference"]},{predicate:Ni,specPath:["document","objects","Schema"]}]}ObjectElement(e){Na.prototype.enter.call(this,e),wa(this.element)&&this.element.meta.set("referenced-element","schema")}};const nd=class extends Ya{constructor(e){super(e),this.alternator=[{predicate:Ia,specPath:["document","objects","Reference"]},{predicate:Ni,specPath:["document","objects","CorrelationID"]}]}ObjectElement(e){Na.prototype.enter.call(this,e),wa(this.element)&&this.element.meta.set("referenced-element","correlationID")}};const id=class extends Ya{constructor(e){super(e),this.alternator=[{predicate:Ia,specPath:["document","objects","Reference"]},{predicate:Ni,specPath:["document","objects","MessageBindings"]}]}ObjectElement(e){Na.prototype.enter.call(this,e),wa(this.element)&&this.element.meta.set("referenced-element","messageBindings")}};const rd=class extends Ga{constructor(e){super(e),this.element=new ta}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 od=class extends Ga{constructor(e){super(e),this.element=new na}ArrayElement(e){const t=e.node;t.forEach(e=>{let t;Ia(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 cd=class extends za{constructor(e){super(e),this.element=new ue,this.specPath=Ws(["document","objects","OperationBindings"]),this.canSupportSpecificationExtensions=!0}};const ad=class extends za{constructor(e){super(e),this.element=new de,this.specPath=Ws(["document","objects","OperationTrait"]),this.canSupportSpecificationExtensions=!0}};const ld=class extends Ga{constructor(e){super(e),this.element=new Zc}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 ud=class extends Ya{constructor(e){super(e),this.alternator=[{predicate:Ia,specPath:["document","objects","Reference"]},{predicate:Ni,specPath:["document","objects","OperationBindings"]}]}ObjectElement(e){Na.prototype.enter.call(this,e),wa(this.element)&&this.element.meta.set("referenced-element","operationBindings")}};const dd=class extends za{constructor(e){super(e),this.element=new Rr,this.specPath=Ws(["document","objects","bindings","amqp","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const pd=class extends za{constructor(e){super(e),this.element=new _r,this.specPath=Ws(["document","objects","bindings","amqp","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const hd=class extends za{constructor(e){super(e),this.element=new Lr,this.specPath=Ws(["document","objects","bindings","amqp","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const md=class extends za{constructor(e){super(e),this.element=new Jr,this.specPath=Ws(["document","objects","bindings","amqp","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const gd=class extends za{constructor(e){super(e),this.element=new Ur,this.specPath=Ws(["document","objects","bindings","amqp1","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const fd=class extends za{constructor(e){super(e),this.element=new Hr,this.specPath=Ws(["document","objects","bindings","amqp1","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const yd=class extends za{constructor(e){super(e),this.element=new Gr,this.specPath=Ws(["document","objects","bindings","amqp1","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const bd=class extends za{constructor(e){super(e),this.element=new zr,this.specPath=Ws(["document","objects","bindings","amqp1","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const vd=class extends za{constructor(e){super(e),this.element=new Wr,this.specPath=Ws(["document","objects","bindings","anypointmq","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const xd=class extends za{constructor(e){super(e),this.element=new Xr,this.specPath=Ws(["document","objects","bindings","anypointmq","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Sd=class extends za{constructor(e){super(e),this.element=new Kr,this.specPath=Ws(["document","objects","bindings","anypointmq","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const wd=class extends za{constructor(e){super(e),this.element=new Yr,this.specPath=Ws(["document","objects","bindings","anypointmq","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const Bd=class extends za{constructor(e){super(e),this.element=new so,this.specPath=Ws(["document","objects","bindings","http","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Ed=class extends za{constructor(e){super(e),this.element=new no,this.specPath=Ws(["document","objects","bindings","http","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const jd=class extends za{constructor(e){super(e),this.element=new io,this.specPath=Ws(["document","objects","bindings","http","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Od=class extends za{constructor(e){super(e),this.element=new ro,this.specPath=Ws(["document","objects","bindings","http","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const kd=class extends za{constructor(e){super(e),this.element=new Qr,this.specPath=Ws(["document","objects","bindings","googlepubsub","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const qd=class extends za{constructor(e){super(e),this.element=new Zr,this.specPath=Ws(["document","objects","bindings","googlepubusb","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Md=class extends za{constructor(e){super(e),this.element=new eo,this.specPath=Ws(["document","objects","bindings","googlepubsub","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Cd=class extends za{constructor(e){super(e),this.element=new to,this.specPath=Ws(["document","objects","bindings","googlepubsub","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const $d=class extends za{constructor(e){super(e),this.element=new oo,this.specPath=Ws(["document","objects","bindings","ibmmq","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Ad=class extends za{constructor(e){super(e),this.element=new co,this.specPath=Ws(["document","objects","bindings","ibmmq","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Pd=class extends za{constructor(e){super(e),this.element=new ao,this.specPath=Ws(["document","objects","bindings","ibmmq","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Id=class extends za{constructor(e){super(e),this.element=new lo,this.specPath=Ws(["document","objects","bindings","ibmmq","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const Fd=class extends za{constructor(e){super(e),this.element=new uo,this.specPath=Ws(["document","objects","bindings","jms","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Td=class extends za{constructor(e){super(e),this.element=new po,this.specPath=Ws(["document","objects","bindings","jms","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Dd=class extends za{constructor(e){super(e),this.element=new ho,this.specPath=Ws(["document","objects","bindings","jms","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Vd=class extends za{constructor(e){super(e),this.element=new mo,this.specPath=Ws(["document","objects","bindings","jms","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const Nd=class extends za{constructor(e){super(e),this.element=new go,this.specPath=Ws(["document","objects","bindings","kafka","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Rd=class extends za{constructor(e){super(e),this.element=new fo,this.specPath=Ws(["document","objects","bindings","kafka","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const _d=class extends za{constructor(e){super(e),this.element=new yo,this.specPath=Ws(["document","objects","bindings","kafka","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Ld=class extends za{constructor(e){super(e),this.element=new bo,this.specPath=Ws(["document","objects","bindings","kafka","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const Jd=class extends za{constructor(e){super(e),this.element=new vo,this.specPath=Ws(["document","objects","bindings","mercure","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Ud=class extends za{constructor(e){super(e),this.element=new xo,this.specPath=Ws(["document","objects","bindings","mercure","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Hd=class extends za{constructor(e){super(e),this.element=new So,this.specPath=Ws(["document","objects","bindings","mercure","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Gd=class extends za{constructor(e){super(e),this.element=new wo,this.specPath=Ws(["document","objects","bindings","mercure","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const zd=class extends za{constructor(e){super(e),this.element=new Bo,this.specPath=Ws(["document","objects","bindings","mqtt","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Wd=class extends za{constructor(e){super(e),this.element=new Eo,this.specPath=Ws(["document","objects","bindings","mqtt","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Xd=class extends za{constructor(e){super(e),this.element=new jo,this.specPath=Ws(["document","objects","bindings","mqtt","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Kd=class extends za{constructor(e){super(e),this.element=new Oo,this.specPath=Ws(["document","objects","bindings","mqtt","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const Yd=class extends za{constructor(e){super(e),this.element=new ko,this.specPath=Ws(["document","objects","bindings","mqtt5","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Qd=class extends za{constructor(e){super(e),this.element=new qo,this.specPath=Ws(["document","objects","bindings","mqtt5","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Zd=class extends za{constructor(e){super(e),this.element=new Mo,this.specPath=Ws(["document","objects","bindings","mqtt5","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const ep=class extends za{constructor(e){super(e),this.element=new Co,this.specPath=Ws(["document","objects","bindings","mqtt5","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const tp=class extends za{constructor(e){super(e),this.element=new $o,this.specPath=Ws(["document","objects","bindings","nats","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const sp=class extends za{constructor(e){super(e),this.element=new Ao,this.specPath=Ws(["document","objects","bindings","nats","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const np=class extends za{constructor(e){super(e),this.element=new Po,this.specPath=Ws(["document","objects","bindings","nats","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const ip=class extends za{constructor(e){super(e),this.element=new Io,this.specPath=Ws(["document","objects","bindings","nats","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const rp=class extends za{constructor(e){super(e),this.element=new Fo,this.specPath=Ws(["document","objects","bindings","pulsar","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const op=class extends za{constructor(e){super(e),this.element=new To,this.specPath=Ws(["document","objects","bindings","pulsar","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const cp=class extends za{constructor(e){super(e),this.element=new Do,this.specPath=Ws(["document","objects","bindings","pulsar","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const ap=class extends za{constructor(e){super(e),this.element=new Vo,this.specPath=Ws(["document","objects","bindings","pulsar","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const lp=class extends za{constructor(e){super(e),this.element=new No,this.specPath=Ws(["document","objects","bindings","redis","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const up=class extends za{constructor(e){super(e),this.element=new Ro,this.specPath=Ws(["document","objects","bindings","redis","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const dp=class extends za{constructor(e){super(e),this.element=new _o,this.specPath=Ws(["document","objects","bindings","redis","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const pp=class extends za{constructor(e){super(e),this.element=new Lo,this.specPath=Ws(["document","objects","bindings","redis","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const hp=class extends za{constructor(e){super(e),this.element=new Jo,this.specPath=Ws(["document","objects","bindings","sns","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const mp=class extends za{constructor(e){super(e),this.element=new Uo,this.specPath=Ws(["document","objects","bindings","sns","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const gp=class extends za{constructor(e){super(e),this.element=new Ho,this.specPath=Ws(["document","objects","bindings","sns","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const fp=class extends za{constructor(e){super(e),this.element=new Go,this.specPath=Ws(["document","objects","bindings","sns","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const yp=class extends za{constructor(e){super(e),this.element=new zo,this.specPath=Ws(["document","objects","bindings","solace","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const bp=class extends za{constructor(e){super(e),this.element=new Wo,this.specPath=Ws(["document","objects","bindings","solace","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const vp=class extends za{constructor(e){super(e),this.element=new Xo,this.specPath=Ws(["document","objects","bindings","solace","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const xp=class extends za{constructor(e){super(e),this.element=new Ko,this.specPath=Ws(["document","objects","bindings","solace","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const Sp=class extends za{constructor(e){super(e),this.element=new Yo,this.specPath=Ws(["document","objects","bindings","sqs","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const wp=class extends za{constructor(e){super(e),this.element=new Qo,this.specPath=Ws(["document","objects","bindings","sqs","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const Bp=class extends za{constructor(e){super(e),this.element=new Zo,this.specPath=Ws(["document","objects","bindings","sqs","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Ep=class extends za{constructor(e){super(e),this.element=new ec,this.specPath=Ws(["document","objects","bindings","sqs","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const jp=class extends za{constructor(e){super(e),this.element=new tc,this.specPath=Ws(["document","objects","bindings","stomp","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Op=class extends za{constructor(e){super(e),this.element=new sc,this.specPath=Ws(["document","objects","bindings","stomp","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const kp=class extends za{constructor(e){super(e),this.element=new nc,this.specPath=Ws(["document","objects","bindings","stomp","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const qp=class extends za{constructor(e){super(e),this.element=new ic,this.specPath=Ws(["document","objects","bindings","stomp","ServerBinding"]),this.canSupportSpecificationExtensions=!1}};const Mp=class extends za{constructor(e){super(e),this.element=new rc,this.specPath=Ws(["document","objects","bindings","ws","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}};const Cp=class extends za{constructor(e){super(e),this.element=new oc,this.specPath=Ws(["document","objects","bindings","ws","MessageBinding"]),this.canSupportSpecificationExtensions=!1}};const $p=class extends za{constructor(e){super(e),this.element=new cc,this.specPath=Ws(["document","objects","bindings","ws","OperationBinding"]),this.canSupportSpecificationExtensions=!1}};const Ap=class extends za{constructor(e){super(e),this.element=new ac,this.specPath=Ws(["document","objects","bindings","ws","ServerBinding"]),this.canSupportSpecificationExtensions=!1}},Pp={element:"reference",$visitor:Gl,fixedFields:{$ref:zl}},Ip={element:"schema",$visitor:Wl,fixedFields:{...hu,allOf:Ql,anyOf:eu,oneOf:su,items:{$visitor:au,alias:"itemsField"},properties:pu,patternProperties:uu,dependencies:ou,definitions:iu,discriminator:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},deprecated:{$ref:"#/visitors/value"}}},Fp={visitors:{value:Da,document:{objects:{AsyncApi:{element:"asyncApi2",$visitor:Bl,fixedFields:{asyncapi:{$ref:"#/visitors/document/objects/AsyncApiVersion"},id:{$visitor:jl,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:El},Identifier:{element:"identifier",$visitor:jl},Info:{element:"info",$visitor:Ol,fixedFields:{title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},termsOfService:{$ref:"#/visitors/value"},version:kl,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"}}},Contact:{element:"contact",$visitor:ql,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"},email:{$ref:"#/visitors/value"}}},License:{element:"license",$visitor:$l,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Servers:{element:"servers",$visitor:Tl},Server:{element:"server",$visitor:Dl,fixedFields:{url:Vl,protocol:{$ref:"#/visitors/value"},protocolVersion:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},variables:Rl,security:_l,tags:{$ref:"#/visitors/document/objects/Tags"},bindings:Nl}},ServerVariable:{element:"serverVariable",$visitor:Ll,fixedFields:{enum:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},examples:{$ref:"#/visitors/value"}}},DefaultContentType:{element:"defaultContentType",$visitor:Cl},Channels:{element:"channels",$visitor:Lu},ChannelItem:{element:"channelItem",$visitor:Uu,fixedFields:{$ref:Hu,description:{$ref:"#/visitors/value"},servers:Gu,subscribe:{$ref:"#/visitors/document/objects/Operation"},publish:{$ref:"#/visitors/document/objects/Operation"},parameters:{$ref:"#/visitors/document/objects/Parameters"},bindings:zu}},Operation:{element:"operation",$visitor:Fu,fixedFields:{operationId:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},security:Tu,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:Du,traits:Vu,message:Nu}},OperationTrait:{element:"operationTrait",$visitor:ad,fixedFields:{operationId:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},security:ld,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:ud}},Message:{element:"message",$visitor:td,fixedFields:{messageId:{$ref:"#/visitors/value"},headers:sd,payload:{$ref:"#/visitors/value"},correlationId:nd,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:id,examples:rd,traits:od}},MessageTrait:{element:"messageTrait",$visitor:Ku,fixedFields:{messageId:{$ref:"#/visitors/value"},headers:Yu,correlationId:Qu,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:Zu,examples:ed}},MessageExample:{element:"messageExample",$visitor:Xu,fixedFields:{headers:{$ref:"#/visitors/value"},payload:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"}}},Tags:{element:"tags",$visitor:Ru},Tag:{element:"tag",$visitor:_u,fixedFields:{name:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},ExternalDocumentation:{element:"externalDocumentation",$visitor:yu,fixedFields:{description:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Components:{element:"components",$visitor:bu,fixedFields:{schemas:vu,servers:xu,serverVariables:Su,channels:Eu,messages:ju,securitySchemes:Ou,parameters:ku,correlationIds:qu,operationTraits:Mu,messageTraits:Cu,serverBindings:$u,channelBindings:Au,operationBindings:Pu,messageBindings:Iu}},JSONReference:Pp,Reference:Pp,JSONSchema:Ip,Schema:Ip,LinkDescription:qr.visitors.document.objects.LinkDescription,SecurityScheme:{element:"securityScheme",$visitor:Ul,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:Hl},OAuthFlows:{element:"oAuthFlows",$visitor:Al,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:Pl,fixedFields:{authorizationUrl:{$ref:"#/visitors/value"},tokenUrl:{$ref:"#/visitors/value"},refreshUrl:{$ref:"#/visitors/value"},scopes:Il}},ServerBindings:{element:"serverBindings",$visitor:Jl,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:mu},Parameter:{element:"parameter",$visitor:gu,fixedFields:{description:{$ref:"#/visitors/value"},schema:fu,location:{$ref:"#/visitors/value"}}},ChannelBindings:{element:"channelBindings",$visitor:Ju,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:cd,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:Wu,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:Ml,fixedFields:{description:{$ref:"#/visitors/value"},location:{$ref:"#/visitors/value"}}},bindings:{http:{ServerBinding:{element:"httpServerBinding",$visitor:Od},ChannelBinding:{element:"httpChannelBinding",$visitor:Bd},OperationBinding:{element:"httpOperationBinding",$visitor:jd,fixedFields:{type:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},query:Kl,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{element:"httpMessageBinding",$visitor:Ed,fixedFields:{headers:Kl,bindingVersion:{$ref:"#/visitors/value"}}}},ws:{ServerBinding:{element:"webSocketServerBinding",$visitor:Ap},ChannelBinding:{element:"webSocketChannelBinding",$visitor:Mp,fixedFields:{method:{$ref:"#/visitors/value"},query:Kl,headers:Kl,bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{element:"webSocketOperationBinding",$visitor:$p},MessageBinding:{element:"webSocketMessageBinding",$visitor:Cp}},kafka:{ServerBinding:{element:"kafkaServerBinding",$visitor:Ld,fixedFields:{schemaRegistryUrl:{$ref:"#/visitors/value"},schemaRegistryVendor:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{element:"kafkaChannelBinding",$visitor:Nd,fixedFields:{topic:{$ref:"#/visitors/value"},partitions:{$ref:"#/visitors/value"},replicas:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{element:"kafkaOperationBinding",$visitor:_d,fixedFields:{groupId:Kl,clientId:Kl,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{element:"kafkaMessageBinding",$visitor:Rd,fixedFields:{key:Kl,schemaIdLocation:{$ref:"#/visitors/value"},schemaIdPayloadEncoding:{$ref:"#/visitors/value"},schemaLookupStrategy:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},anypointmq:{ServerBinding:{element:"anypointmqServerBinding",$visitor:wd},ChannelBinding:{element:"anypointmqChannelBinding",$visitor:vd,fixedFields:{destination:{$ref:"#/visitors/value"},destinationType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{element:"anypointmqOperationBinding",$visitor:Sd},MessageBinding:{element:"anypointmqMessageBinding",$visitor:xd,fixedFields:{headers:Kl,bindingVersion:{$ref:"#/visitors/value"}}}},amqp:{ServerBinding:{element:"amqpServerBinding",$visitor:md},ChannelBinding:{element:"amqpChannelBinding",$visitor:dd,fixedFields:{is:{$ref:"#/visitors/value"},exchange:{$ref:"#/visitors/value"},queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{element:"amqpOperationBinding",$visitor:hd,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:pd,fixedFields:{contentEncoding:{$ref:"#/visitors/value"},messageType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},amqp1:{ServerBinding:{element:"amqp1ServerBinding",$visitor:bd},ChannelBinding:{element:"amqp1ChannelBinding",$visitor:gd},OperationBinding:{element:"amqp1OperationBinding",$visitor:yd},MessageBinding:{element:"amqp1MessageBinding",$visitor:fd}},mqtt:{ServerBinding:{element:"mqttServerBinding",$visitor:Kd,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:zd},OperationBinding:{element:"mqttOperationBinding",$visitor:Xd,fixedFields:{qos:{$ref:"#/visitors/value"},retain:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{element:"mqttMessageBinding",$visitor:Wd,fixedFields:{bindingVersion:{$ref:"#/visitors/value"}}}},mqtt5:{ServerBinding:{element:"mqtt5ServerBinding",$visitor:ep},ChannelBinding:{element:"mqtt5ChannelBinding",$visitor:Yd},OperationBinding:{element:"mqtt5OperationBinding",$visitor:Zd},MessageBinding:{element:"mqtt5MessageBinding",$visitor:Qd}},nats:{ServerBinding:{element:"natsServerBinding",$visitor:ip},ChannelBinding:{element:"natsChannelBinding",$visitor:tp},OperationBinding:{element:"natsOperationBinding",$visitor:np,fixedFields:{queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{element:"natsMessageBinding",$visitor:sp}},pulsar:{ServerBinding:{element:"pulsarServerBinding",$visitor:ap,fixedFields:{tenant:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{element:"pulsarChannelBinding",$visitor:rp,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:cp},MessageBinding:{element:"pulsarMessageBinding",$visitor:op}},jms:{ServerBinding:{element:"jmsServerBinding",$visitor:Vd},ChannelBinding:{element:"jmsChannelBinding",$visitor:Fd},OperationBinding:{element:"jmsOperationBinding",$visitor:Dd},MessageBinding:{element:"jmsMessageBinding",$visitor:Td}},sns:{ServerBinding:{element:"snsServerBinding",$visitor:fp},ChannelBinding:{element:"snsChannelBinding",$visitor:hp},OperationBinding:{element:"snsOperationBinding",$visitor:gp},MessageBinding:{element:"snsMessageBinding",$visitor:mp}},solace:{ServerBinding:{element:"solaceServerBinding",$visitor:xp,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},msgVpn:{$ref:"#/visitors/value"}}},ChannelBinding:{element:"solaceChannelBinding",$visitor:yp},OperationBinding:{element:"solaceOperationBinding",$visitor:vp,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},destinations:{$ref:"#/visitors/value"}}},MessageBinding:{element:"solaceMessageBinding",$visitor:bp}},sqs:{ServerBinding:{element:"sqsServerBinding",$visitor:Ep},ChannelBinding:{element:"sqsChannelBinding",$visitor:Sp},OperationBinding:{element:"sqsOperationBinding",$visitor:Bp},MessageBinding:{element:"sqsMessageBinding",$visitor:wp}},stomp:{ServerBinding:{element:"stompServerBinding",$visitor:qp},ChannelBinding:{element:"stompChannelBinding",$visitor:jp},OperationBinding:{element:"stompOperationBinding",$visitor:kp},MessageBinding:{element:"stompMessageBinding",$visitor:Op}},redis:{ServerBinding:{element:"redisServerBinding",$visitor:pp},ChannelBinding:{element:"redisChannelBinding",$visitor:lp},OperationBinding:{element:"redisOperationBinding",$visitor:dp},MessageBinding:{element:"redisMessageBinding",$visitor:up}},mercure:{ServerBinding:{element:"mercureServerBinding",$visitor:Gd},ChannelBinding:{element:"mercureChannelBinding",$visitor:Jd},OperationBinding:{element:"mercureOperationBinding",$visitor:Hd},MessageBinding:{element:"mercureMessageBinding",$visitor:Ud}},googlepubsub:{ServerBinding:{element:"googlepubsubServerBinding",$visitor:Cd},ChannelBinding:{element:"googlepubsubChannelBinding",$visitor:kd,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:Md},MessageBinding:{element:"googlepubsubMessageBinding",$visitor:qd,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},attributes:{$visitor:Da,alias:"attributesField"},orderingKey:{$ref:"#/visitors/value"},schema:{$ref:"#/visitors/value"}}}},ibmmq:{ServerBinding:{element:"ibmmqServerBinding",$visitor:Id,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:$d,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:Ad,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:Pd}}}},extension:{$visitor:Za}}}},Tp=()=>{const e=new bl,t={...n,...s,isStringElement:ls};return e.use(lc),{predicates:t,namespace:e}},Dp=(e,{element:t="asyncApi2",plugins:s=[],specificationObj:n=Fp}={})=>{const i=tl(e),r=Zt(n),o=r.elementMap[t];if(!o)throw new Error(`Unknown element type: "${t}"`);const c=new(qe(o,r))({specObj:r});return Tn(i,c),wl(c.element,s,{toolboxCreator:Tp})},Vp=(e,t={})=>Dp(e,{...t,element:"asyncApi2"}),Np=(e,t={})=>Dp(e,{...t,element:"asyncApiVersion"}),Rp=(e,t={})=>Dp(e,{...t,element:"identifier"}),_p=(e,t={})=>Dp(e,{...t,element:"defaultContentType"}),Lp=(e,t={})=>Dp(e,{...t,element:"channels"}),Jp=(e,t={})=>Dp(e,{...t,element:"servers"}),Up=(e,t={})=>Dp(e,{...t,element:"parameters"}),Hp=(e,t={})=>Dp(e,{...t,element:"tags"}),Gp=(e,t={})=>Dp(e,{...t,element:"channelBindings"}),zp=(e,t={})=>Dp(e,{...t,element:"channelItem"}),Wp=(e,t={})=>Dp(e,{...t,element:"components"}),Xp=(e,t={})=>Dp(e,{...t,element:"contact"}),Kp=(e,t={})=>Dp(e,{...t,element:"correlationID"}),Yp=(e,t={})=>Dp(e,{...t,element:"externalDocumentation"}),Qp=(e,t={})=>Dp(e,{...t,element:"info"}),Zp=(e,t={})=>Dp(e,{...t,element:"license"}),eh=(e,t={})=>Dp(e,{...t,element:"message"}),th=(e,t={})=>Dp(e,{...t,element:"messageBindings"}),sh=(e,t={})=>Dp(e,{...t,element:"messageExample"}),nh=(e,t={})=>Dp(e,{...t,element:"messageTrait"}),ih=(e,t={})=>Dp(e,{...t,element:"oAuthFlow"}),rh=(e,t={})=>Dp(e,{...t,element:"oAuthFlows"}),oh=(e,t={})=>Dp(e,{...t,element:"operation"}),ch=(e,t={})=>Dp(e,{...t,element:"operationBindings"}),ah=(e,t={})=>Dp(e,{...t,element:"operationTrait"}),lh=(e,t={})=>Dp(e,{...t,element:"parameter"}),uh=(e,t={})=>Dp(e,{...t,element:"reference"}),dh=(e,t={})=>Dp(e,{...t,element:"schema"}),ph=(e,t={})=>Dp(e,{...t,element:"securityRequirement"}),hh=(e,t={})=>Dp(e,{...t,element:"securityScheme"}),mh=(e,t={})=>Dp(e,{...t,element:"server"}),gh=(e,t={})=>Dp(e,{...t,element:"serverBindings"}),fh=(e,t={})=>Dp(e,{...t,element:"serverVariable"}),yh=(e,t={})=>Dp(e,{...t,element:"tag"}),bh=(e,t={})=>Dp(e,{...t,element:"amqpChannelBinding"}),vh=(e,t={})=>Dp(e,{...t,element:"amqpMessageBinding"}),xh=(e,t={})=>Dp(e,{...t,element:"amqpOperationBinding"}),Sh=(e,t={})=>Dp(e,{...t,element:"amqpServerBinding"}),wh=(e,t={})=>Dp(e,{...t,element:"amqp1ChannelBinding"}),Bh=(e,t={})=>Dp(e,{...t,element:"amqp1MessageBinding"}),Eh=(e,t={})=>Dp(e,{...t,element:"amqp1OperationBinding"}),jh=(e,t={})=>Dp(e,{...t,element:"amqp1ServerBinding"}),Oh=(e,t={})=>Dp(e,{...t,element:"anypointmqChannelBinding"}),kh=(e,t={})=>Dp(e,{...t,element:"anypointmqMessageBinding"}),qh=(e,t={})=>Dp(e,{...t,element:"anypointmqOperationBinding"}),Mh=(e,t={})=>Dp(e,{...t,element:"anypointmqServerBinding"}),Ch=(e,t={})=>Dp(e,{...t,element:"googlepubsubChannelBinding"}),$h=(e,t={})=>Dp(e,{...t,element:"googlepubsubMessageBinding"}),Ah=(e,t={})=>Dp(e,{...t,element:"googlepubsubOperationBinding"}),Ph=(e,t={})=>Dp(e,{...t,element:"googlepubsubServerBinding"}),Ih=(e,t={})=>Dp(e,{...t,element:"httpChannelBinding"}),Fh=(e,t={})=>Dp(e,{...t,element:"httpMessageBinding"}),Th=(e,t={})=>Dp(e,{...t,element:"httpOperationBinding"}),Dh=(e,t={})=>Dp(e,{...t,element:"httpServerBinding"}),Vh=(e,t={})=>Dp(e,{...t,element:"ibmmqChannelBinding"}),Nh=(e,t={})=>Dp(e,{...t,element:"ibmmqMessageBinding"}),Rh=(e,t={})=>Dp(e,{...t,element:"ibmmqOperationBinding"}),_h=(e,t={})=>Dp(e,{...t,element:"ibmmqServerBinding"}),Lh=(e,t={})=>Dp(e,{...t,element:"jmsChannelBinding"}),Jh=(e,t={})=>Dp(e,{...t,element:"jmsMessageBinding"}),Uh=(e,t={})=>Dp(e,{...t,element:"jmsOperationBinding"}),Hh=(e,t={})=>Dp(e,{...t,element:"jmsServerBinding"}),Gh=(e,t={})=>Dp(e,{...t,element:"kafkaChannelBinding"}),zh=(e,t={})=>Dp(e,{...t,element:"kafkaMessageBinding"}),Wh=(e,t={})=>Dp(e,{...t,element:"kafkaOperationBinding"}),Xh=(e,t={})=>Dp(e,{...t,element:"kafkaServerBinding"}),Kh=(e,t={})=>Dp(e,{...t,element:"mercureChannelBinding"}),Yh=(e,t={})=>Dp(e,{...t,element:"mercureMessageBinding"}),Qh=(e,t={})=>Dp(e,{...t,element:"mercureOperationBinding"}),Zh=(e,t={})=>Dp(e,{...t,element:"mercureServerBinding"}),em=(e,t={})=>Dp(e,{...t,element:"mqttChannelBinding"}),tm=(e,t={})=>Dp(e,{...t,element:"mqttMessageBinding"}),sm=(e,t={})=>Dp(e,{...t,element:"mqttOperationBinding"}),nm=(e,t={})=>Dp(e,{...t,element:"mqttServerBinding"}),im=(e,t={})=>Dp(e,{...t,element:"mqtt5ChannelBinding"}),rm=(e,t={})=>Dp(e,{...t,element:"mqtt5MessageBinding"}),om=(e,t={})=>Dp(e,{...t,element:"mqtt5OperationBinding"}),cm=(e,t={})=>Dp(e,{...t,element:"mqtt5ServerBinding"}),am=(e,t={})=>Dp(e,{...t,element:"natsChannelBinding"}),lm=(e,t={})=>Dp(e,{...t,element:"natsMessageBinding"}),um=(e,t={})=>Dp(e,{...t,element:"natsOperationBinding"}),dm=(e,t={})=>Dp(e,{...t,element:"natsServerBinding"}),pm=(e,t={})=>Dp(e,{...t,element:"pulsarChannelBinding"}),hm=(e,t={})=>Dp(e,{...t,element:"pulsarMessageBinding"}),mm=(e,t={})=>Dp(e,{...t,element:"pulsarOperationBinding"}),gm=(e,t={})=>Dp(e,{...t,element:"pulsarServerBinding"}),fm=(e,t={})=>Dp(e,{...t,element:"redisChannelBinding"}),ym=(e,t={})=>Dp(e,{...t,element:"redisMessageBinding"}),bm=(e,t={})=>Dp(e,{...t,element:"redisOperationBinding"}),vm=(e,t={})=>Dp(e,{...t,element:"redisServerBinding"}),xm=(e,t={})=>Dp(e,{...t,element:"snsChannelBinding"}),Sm=(e,t={})=>Dp(e,{...t,element:"snsMessageBinding"}),wm=(e,t={})=>Dp(e,{...t,element:"snsOperationBinding"}),Bm=(e,t={})=>Dp(e,{...t,element:"snsServerBinding"}),Em=(e,t={})=>Dp(e,{...t,element:"solaceChannelBinding"}),jm=(e,t={})=>Dp(e,{...t,element:"solaceMessageBinding"}),Om=(e,t={})=>Dp(e,{...t,element:"solaceOperationBinding"}),km=(e,t={})=>Dp(e,{...t,element:"solaceServerBinding"}),qm=(e,t={})=>Dp(e,{...t,element:"sqsChannelBinding"}),Mm=(e,t={})=>Dp(e,{...t,element:"sqsMessageBinding"}),Cm=(e,t={})=>Dp(e,{...t,element:"sqsOperationBinding"}),$m=(e,t={})=>Dp(e,{...t,element:"sqsServerBinding"}),Am=(e,t={})=>Dp(e,{...t,element:"stompChannelBinding"}),Pm=(e,t={})=>Dp(e,{...t,element:"stompMessageBinding"}),Im=(e,t={})=>Dp(e,{...t,element:"stompOperationBinding"}),Fm=(e,t={})=>Dp(e,{...t,element:"stompServerBinding"}),Tm=(e,t={})=>Dp(e,{...t,element:"webSocketChannelBinding"}),Dm=(e,t={})=>Dp(e,{...t,element:"webSocketMessageBinding"}),Vm=(e,t={})=>Dp(e,{...t,element:"webSocketOperationBinding"}),Nm=(e,t={})=>Dp(e,{...t,element:"webSocketServerBinding"}),Rm=Dp;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})());