@swagger-api/apidom-parser-adapter-asyncapi-json-2 0.93.0 → 0.95.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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.apidomParserAdapterAsyncApiJson2=t():e.apidomParserAdapterAsyncApiJson2=t()}(self,(()=>(()=>{var e={9515:(e,t,n)=>{var s=n(8761)(n(7772),"DataView");e.exports=s},9612:(e,t,n)=>{var s=n(2118),r=n(6909),i=n(8138),o=n(4174),a=n(7942);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}c.prototype.clear=s,c.prototype.delete=r,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},235:(e,t,n)=>{var s=n(3945),r=n(1846),i=n(8028),o=n(2344),a=n(4769);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}c.prototype.clear=s,c.prototype.delete=r,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},326:(e,t,n)=>{var s=n(8761)(n(7772),"Map");e.exports=s},6738:(e,t,n)=>{var s=n(2411),r=n(6417),i=n(6928),o=n(9493),a=n(4150);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}c.prototype.clear=s,c.prototype.delete=r,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},2760:(e,t,n)=>{var s=n(8761)(n(7772),"Promise");e.exports=s},2143:(e,t,n)=>{var s=n(8761)(n(7772),"Set");e.exports=s},5386:(e,t,n)=>{var s=n(6738),r=n(2842),i=n(2482);function o(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new s;++t<n;)this.add(e[t])}o.prototype.add=o.prototype.push=r,o.prototype.has=i,e.exports=o},6571:(e,t,n)=>{var s=n(235),r=n(5243),i=n(2858),o=n(4417),a=n(8605),c=n(1418);function u(e){var t=this.__data__=new s(e);this.size=t.size}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=c,e.exports=u},857:(e,t,n)=>{var s=n(7772).Symbol;e.exports=s},9162:(e,t,n)=>{var s=n(7772).Uint8Array;e.exports=s},3215:(e,t,n)=>{var s=n(8761)(n(7772),"WeakMap");e.exports=s},7552:e=>{e.exports=function(e,t){for(var n=-1,s=null==e?0:e.length,r=0,i=[];++n<s;){var o=e[n];t(o,n,e)&&(i[r++]=o)}return i}},1634:(e,t,n)=>{var s=n(6473),r=n(9631),i=n(6152),o=n(3226),a=n(9045),c=n(7598),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),l=!n&&r(e),p=!n&&!l&&o(e),m=!n&&!l&&!p&&c(e),h=n||l||p||m,d=h?s(e.length,String):[],g=d.length;for(var f in e)!t&&!u.call(e,f)||h&&("length"==f||p&&("offset"==f||"parent"==f)||m&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||a(f,g))||d.push(f);return d}},5067:e=>{e.exports=function(e,t){for(var n=-1,s=t.length,r=e.length;++n<s;)e[r+n]=t[n];return e}},7064:e=>{e.exports=function(e,t){for(var n=-1,s=null==e?0:e.length;++n<s;)if(t(e[n],n,e))return!0;return!1}},2218:(e,t,n)=>{var s=n(1225);e.exports=function(e,t){for(var n=e.length;n--;)if(s(e[n][0],t))return n;return-1}},1897:(e,t,n)=>{var s=n(5067),r=n(6152);e.exports=function(e,t,n){var i=t(e);return r(e)?i:s(i,n(e))}},3366:(e,t,n)=>{var s=n(857),r=n(2107),i=n(7157),o=s?s.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?r(e):i(e)}},5183:(e,t,n)=>{var s=n(3366),r=n(5125);e.exports=function(e){return r(e)&&"[object Arguments]"==s(e)}},8746:(e,t,n)=>{var s=n(1952),r=n(5125);e.exports=function e(t,n,i,o,a){return t===n||(null==t||null==n||!r(t)&&!r(n)?t!=t&&n!=n:s(t,n,i,o,e,a))}},1952:(e,t,n)=>{var s=n(6571),r=n(4871),i=n(1491),o=n(7416),a=n(940),c=n(6152),u=n(3226),l=n(7598),p="[object Arguments]",m="[object Array]",h="[object Object]",d=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,g,f,b){var y=c(e),_=c(t),v=y?m:a(e),S=_?m:a(t),E=(v=v==p?h:v)==h,w=(S=S==p?h:S)==h,j=v==S;if(j&&u(e)){if(!u(t))return!1;y=!0,E=!1}if(j&&!E)return b||(b=new s),y||l(e)?r(e,t,n,g,f,b):i(e,t,v,n,g,f,b);if(!(1&n)){var x=E&&d.call(e,"__wrapped__"),O=w&&d.call(t,"__wrapped__");if(x||O){var B=x?e.value():e,P=O?t.value():t;return b||(b=new s),f(B,P,n,g,b)}}return!!j&&(b||(b=new s),o(e,t,n,g,f,b))}},6840:(e,t,n)=>{var s=n(1049),r=n(7394),i=n(9259),o=n(7035),a=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,p=u.hasOwnProperty,m=RegExp("^"+l.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||r(e))&&(s(e)?m:a).test(o(e))}},5522:(e,t,n)=>{var s=n(3366),r=n(1158),i=n(5125),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&r(e.length)&&!!o[s(e)]}},6411:(e,t,n)=>{var s=n(6001),r=n(4248),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!s(e))return r(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},6473:e=>{e.exports=function(e,t){for(var n=-1,s=Array(e);++n<e;)s[n]=t(n);return s}},7826:e=>{e.exports=function(e){return function(t){return e(t)}}},9950:e=>{e.exports=function(e,t){return e.has(t)}},4019:(e,t,n)=>{var s=n(7772)["__core-js_shared__"];e.exports=s},4871:(e,t,n)=>{var s=n(5386),r=n(7064),i=n(9950);e.exports=function(e,t,n,o,a,c){var u=1&n,l=e.length,p=t.length;if(l!=p&&!(u&&p>l))return!1;var m=c.get(e),h=c.get(t);if(m&&h)return m==t&&h==e;var d=-1,g=!0,f=2&n?new s:void 0;for(c.set(e,t),c.set(t,e);++d<l;){var b=e[d],y=t[d];if(o)var _=u?o(y,b,d,t,e,c):o(b,y,d,e,t,c);if(void 0!==_){if(_)continue;g=!1;break}if(f){if(!r(t,(function(e,t){if(!i(f,t)&&(b===e||a(b,e,n,o,c)))return f.push(t)}))){g=!1;break}}else if(b!==y&&!a(b,y,n,o,c)){g=!1;break}}return c.delete(e),c.delete(t),g}},1491:(e,t,n)=>{var s=n(857),r=n(9162),i=n(1225),o=n(4871),a=n(5179),c=n(4207),u=s?s.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,n,s,u,p,m){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!p(new r(e),new r(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=a;case"[object Set]":var d=1&s;if(h||(h=c),e.size!=t.size&&!d)return!1;var g=m.get(e);if(g)return g==t;s|=2,m.set(e,t);var f=o(h(e),h(t),s,u,p,m);return m.delete(e),f;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},7416:(e,t,n)=>{var s=n(3483),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,o,a){var c=1&n,u=s(e),l=u.length;if(l!=s(t).length&&!c)return!1;for(var p=l;p--;){var m=u[p];if(!(c?m in t:r.call(t,m)))return!1}var h=a.get(e),d=a.get(t);if(h&&d)return h==t&&d==e;var g=!0;a.set(e,t),a.set(t,e);for(var f=c;++p<l;){var b=e[m=u[p]],y=t[m];if(i)var _=c?i(y,b,m,t,e,a):i(b,y,m,e,t,a);if(!(void 0===_?b===y||o(b,y,n,i,a):_)){g=!1;break}f||(f="constructor"==m)}if(g&&!f){var v=e.constructor,S=t.constructor;v==S||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof S&&S instanceof S||(g=!1)}return a.delete(e),a.delete(t),g}},1242:(e,t,n)=>{var s="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=s},3483:(e,t,n)=>{var s=n(1897),r=n(633),i=n(249);e.exports=function(e){return s(e,i,r)}},7937:(e,t,n)=>{var s=n(8304);e.exports=function(e,t){var n=e.__data__;return s(t)?n["string"==typeof t?"string":"hash"]:n.map}},8761:(e,t,n)=>{var s=n(6840),r=n(8109);e.exports=function(e,t){var n=r(e,t);return s(n)?n:void 0}},2107:(e,t,n)=>{var s=n(857),r=Object.prototype,i=r.hasOwnProperty,o=r.toString,a=s?s.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),n=e[a];try{e[a]=void 0;var s=!0}catch(e){}var r=o.call(e);return s&&(t?e[a]=n:delete e[a]),r}},633:(e,t,n)=>{var s=n(7552),r=n(981),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,a=o?function(e){return null==e?[]:(e=Object(e),s(o(e),(function(t){return i.call(e,t)})))}:r;e.exports=a},940:(e,t,n)=>{var s=n(9515),r=n(326),i=n(2760),o=n(2143),a=n(3215),c=n(3366),u=n(7035),l="[object Map]",p="[object Promise]",m="[object Set]",h="[object WeakMap]",d="[object DataView]",g=u(s),f=u(r),b=u(i),y=u(o),_=u(a),v=c;(s&&v(new s(new ArrayBuffer(1)))!=d||r&&v(new r)!=l||i&&v(i.resolve())!=p||o&&v(new o)!=m||a&&v(new a)!=h)&&(v=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,s=n?u(n):"";if(s)switch(s){case g:return d;case f:return l;case b:return p;case y:return m;case _:return h}return t}),e.exports=v},8109:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},2118:(e,t,n)=>{var s=n(9191);e.exports=function(){this.__data__=s?s(null):{},this.size=0}},6909:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},8138:(e,t,n)=>{var s=n(9191),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(s){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return r.call(t,e)?t[e]:void 0}},4174:(e,t,n)=>{var s=n(9191),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return s?void 0!==t[e]:r.call(t,e)}},7942:(e,t,n)=>{var s=n(9191);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=s&&void 0===t?"__lodash_hash_undefined__":t,this}},9045:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var s=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==s||"symbol"!=s&&t.test(e))&&e>-1&&e%1==0&&e<n}},8304:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},7394:(e,t,n)=>{var s,r=n(4019),i=(s=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+s:"";e.exports=function(e){return!!i&&i in e}},6001:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},3945:e=>{e.exports=function(){this.__data__=[],this.size=0}},1846:(e,t,n)=>{var s=n(2218),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=s(t,e);return!(n<0)&&(n==t.length-1?t.pop():r.call(t,n,1),--this.size,!0)}},8028:(e,t,n)=>{var s=n(2218);e.exports=function(e){var t=this.__data__,n=s(t,e);return n<0?void 0:t[n][1]}},2344:(e,t,n)=>{var s=n(2218);e.exports=function(e){return s(this.__data__,e)>-1}},4769:(e,t,n)=>{var s=n(2218);e.exports=function(e,t){var n=this.__data__,r=s(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},2411:(e,t,n)=>{var s=n(9612),r=n(235),i=n(326);e.exports=function(){this.size=0,this.__data__={hash:new s,map:new(i||r),string:new s}}},6417:(e,t,n)=>{var s=n(7937);e.exports=function(e){var t=s(this,e).delete(e);return this.size-=t?1:0,t}},6928:(e,t,n)=>{var s=n(7937);e.exports=function(e){return s(this,e).get(e)}},9493:(e,t,n)=>{var s=n(7937);e.exports=function(e){return s(this,e).has(e)}},4150:(e,t,n)=>{var s=n(7937);e.exports=function(e,t){var n=s(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},5179:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,s){n[++t]=[s,e]})),n}},9191:(e,t,n)=>{var s=n(8761)(Object,"create");e.exports=s},4248:(e,t,n)=>{var s=n(241)(Object.keys,Object);e.exports=s},4146:(e,t,n)=>{e=n.nmd(e);var s=n(1242),r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,o=i&&i.exports===r&&s.process,a=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a},7157:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},241:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},7772:(e,t,n)=>{var s=n(1242),r="object"==typeof self&&self&&self.Object===Object&&self,i=s||r||Function("return this")();e.exports=i},2842:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},2482:e=>{e.exports=function(e){return this.__data__.has(e)}},4207:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},5243:(e,t,n)=>{var s=n(235);e.exports=function(){this.__data__=new s,this.size=0}},2858:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},4417:e=>{e.exports=function(e){return this.__data__.get(e)}},8605:e=>{e.exports=function(e){return this.__data__.has(e)}},1418:(e,t,n)=>{var s=n(235),r=n(326),i=n(6738);e.exports=function(e,t){var n=this.__data__;if(n instanceof s){var o=n.__data__;if(!r||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(o)}return n.set(e,t),this.size=n.size,this}},7035:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},1225:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},9631:(e,t,n)=>{var s=n(5183),r=n(5125),i=Object.prototype,o=i.hasOwnProperty,a=i.propertyIsEnumerable,c=s(function(){return arguments}())?s:function(e){return r(e)&&o.call(e,"callee")&&!a.call(e,"callee")};e.exports=c},6152:e=>{var t=Array.isArray;e.exports=t},7878:(e,t,n)=>{var s=n(1049),r=n(1158);e.exports=function(e){return null!=e&&r(e.length)&&!s(e)}},4335:(e,t,n)=>{var s=n(3366),r=n(5125);e.exports=function(e){return!0===e||!1===e||r(e)&&"[object Boolean]"==s(e)}},3226:(e,t,n)=>{e=n.nmd(e);var s=n(7772),r=n(6330),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?s.Buffer:void 0,c=(a?a.isBuffer:void 0)||r;e.exports=c},8149:(e,t,n)=>{var s=n(8746);e.exports=function(e,t){return s(e,t)}},1049:(e,t,n)=>{var s=n(3366),r=n(9259);e.exports=function(e){if(!r(e))return!1;var t=s(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1158:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},5877:e=>{e.exports=function(e){return null===e}},537:(e,t,n)=>{var s=n(3366),r=n(5125);e.exports=function(e){return"number"==typeof e||r(e)&&"[object Number]"==s(e)}},9259:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},5125:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},5505:(e,t,n)=>{var s=n(3366),r=n(6152),i=n(5125);e.exports=function(e){return"string"==typeof e||!r(e)&&i(e)&&"[object String]"==s(e)}},7598:(e,t,n)=>{var s=n(5522),r=n(7826),i=n(4146),o=i&&i.isTypedArray,a=o?r(o):s;e.exports=a},249:(e,t,n)=>{var s=n(1634),r=n(6411),i=n(7878);e.exports=function(e){return i(e)?s(e):r(e)}},1570:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},981:e=>{e.exports=function(){return[]}},6330:e=>{e.exports=function(){return!1}},1178:(e,t,n)=>{const s=n(1570);function r(e){return"string"==typeof e?t=>t.element===e:e.constructor&&e.extend?t=>t instanceof e:e}class i{constructor(e){this.elements=e||[]}toValue(){return this.elements.map((e=>e.toValue()))}map(e,t){return this.elements.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const n=[];return this.forEach((s=>{const r=e.bind(t)(s);r&&n.push(r)})),n}filter(e,t){return e=r(e),new i(this.elements.filter(e,t))}reject(e,t){return e=r(e),new i(this.elements.filter(s(e),t))}find(e,t){return e=r(e),this.elements.find(e,t)}forEach(e,t){this.elements.forEach(e,t)}reduce(e,t){return this.elements.reduce(e,t)}includes(e){return this.elements.some((t=>t.equals(e)))}shift(){return this.elements.shift()}unshift(e){this.elements.unshift(this.refract(e))}push(e){return this.elements.push(this.refract(e)),this}add(e){this.push(e)}get(e){return this.elements[e]}getValue(e){const t=this.elements[e];if(t)return t.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(i.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),e.exports=i},3026:e=>{class t{constructor(e,t){this.key=e,this.value=t}clone(){const e=new t;return this.key&&(e.key=this.key.clone()),this.value&&(e.value=this.value.clone()),e}}e.exports=t},5140:(e,t,n)=>{const s=n(5877),r=n(5505),i=n(537),o=n(4335),a=n(9259),c=n(2947),u=n(3756);class l{constructor(e){this.elementMap={},this.elementDetection=[],this.Element=u.Element,this.KeyValuePair=u.KeyValuePair,e&&e.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(e){return e.namespace&&e.namespace({base:this}),e.load&&e.load({base:this}),this}useDefault(){return this.register("null",u.NullElement).register("string",u.StringElement).register("number",u.NumberElement).register("boolean",u.BooleanElement).register("array",u.ArrayElement).register("object",u.ObjectElement).register("member",u.MemberElement).register("ref",u.RefElement).register("link",u.LinkElement),this.detect(s,u.NullElement,!1).detect(r,u.StringElement,!1).detect(i,u.NumberElement,!1).detect(o,u.BooleanElement,!1).detect(Array.isArray,u.ArrayElement,!1).detect(a,u.ObjectElement,!1),this}register(e,t){return this._elements=void 0,this.elementMap[e]=t,this}unregister(e){return this._elements=void 0,delete this.elementMap[e],this}detect(e,t,n){return void 0===n||n?this.elementDetection.unshift([e,t]):this.elementDetection.push([e,t]),this}toElement(e){if(e instanceof this.Element)return e;let t;for(let n=0;n<this.elementDetection.length;n+=1){const s=this.elementDetection[n][0],r=this.elementDetection[n][1];if(s(e)){t=new r(e);break}}return t}getElementClass(e){const t=this.elementMap[e];return void 0===t?this.Element:t}fromRefract(e){return this.serialiser.deserialise(e)}toRefract(e){return this.serialiser.serialise(e)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((e=>{const t=e[0].toUpperCase()+e.substr(1);this._elements[t]=this.elementMap[e]}))),this._elements}get serialiser(){return new c(this)}}c.prototype.Namespace=l,e.exports=l},3853:(e,t,n)=>{const s=n(1570),r=n(1178);class i extends r{map(e,t){return this.elements.map((n=>e.bind(t)(n.value,n.key,n)))}filter(e,t){return new i(this.elements.filter((n=>e.bind(t)(n.value,n.key,n))))}reject(e,t){return this.filter(s(e.bind(t)))}forEach(e,t){return this.elements.forEach(((n,s)=>{e.bind(t)(n.value,n.key,n,s)}))}keys(){return this.map(((e,t)=>t.toValue()))}values(){return this.map((e=>e.toValue()))}}e.exports=i},3756:(e,t,n)=>{const s=n(6420),r=n(4152),i=n(9542),o=n(3710),a=n(3312),c=n(1641),u=n(8858),l=n(3860),p=n(5202),m=n(2320),h=n(1178),d=n(3853),g=n(3026);function f(e){if(e instanceof s)return e;if("string"==typeof e)return new i(e);if("number"==typeof e)return new o(e);if("boolean"==typeof e)return new a(e);if(null===e)return new r;if(Array.isArray(e))return new c(e.map(f));if("object"==typeof e){return new l(e)}return e}s.prototype.ObjectElement=l,s.prototype.RefElement=m,s.prototype.MemberElement=u,s.prototype.refract=f,h.prototype.refract=f,e.exports={Element:s,NullElement:r,StringElement:i,NumberElement:o,BooleanElement:a,ArrayElement:c,MemberElement:u,ObjectElement:l,LinkElement:p,RefElement:m,refract:f,ArraySlice:h,ObjectSlice:d,KeyValuePair:g}},5202:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e||[],t,n),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(e){this.attributes.set("relation",e)}get href(){return this.attributes.get("href")}set href(e){this.attributes.set("href",e)}}},2320:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e||[],t,n),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(e){this.attributes.set("path",e)}}},7952:(e,t,n)=>{const s=n(5140),r=n(3756);t.lS=s,t.KeyValuePair=n(3026),t.O4=r.ArraySlice,t.rm=r.ObjectSlice,t.W_=r.Element,t.RP=r.StringElement,t.VL=r.NumberElement,t.hh=r.BooleanElement,t.zr=r.NullElement,t.ON=r.ArrayElement,t.Sb=r.ObjectElement,t.c6=r.MemberElement,t.tK=r.RefElement,t.EA=r.LinkElement,t.Qc=r.refract,n(2947),n(8910)},1641:(e,t,n)=>{const s=n(1570),r=n(6420),i=n(1178);class o extends r{constructor(e,t,n){super(e||[],t,n),this.element="array"}primitive(){return"array"}get(e){return this.content[e]}getValue(e){const t=this.get(e);if(t)return t.toValue()}getIndex(e){return this.content[e]}set(e,t){return this.content[e]=this.refract(t),this}remove(e){const t=this.content.splice(e,1);return t.length?t[0]:null}map(e,t){return this.content.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const n=[];return this.forEach((s=>{const r=e.bind(t)(s);r&&n.push(r)})),n}filter(e,t){return new i(this.content.filter(e,t))}reject(e,t){return this.filter(s(e),t)}reduce(e,t){let n,s;void 0!==t?(n=0,s=this.refract(t)):(n=1,s="object"===this.primitive()?this.first.value:this.first);for(let t=n;t<this.length;t+=1){const n=this.content[t];s="object"===this.primitive()?this.refract(e(s,n.value,n.key,n,this)):this.refract(e(s,n,t,this))}return s}forEach(e,t){this.content.forEach(((n,s)=>{e.bind(t)(n,this.refract(s))}))}shift(){return this.content.shift()}unshift(e){this.content.unshift(this.refract(e))}push(e){return this.content.push(this.refract(e)),this}add(e){this.push(e)}findElements(e,t){const n=t||{},s=!!n.recursive,r=void 0===n.results?[]:n.results;return this.forEach(((t,n,i)=>{s&&void 0!==t.findElements&&t.findElements(e,{results:r,recursive:s}),e(t,n,i)&&r.push(t)})),r}find(e){return new i(this.findElements(e,{recursive:!0}))}findByElement(e){return this.find((t=>t.element===e))}findByClass(e){return this.find((t=>t.classes.includes(e)))}getById(e){return this.find((t=>t.id.toValue()===e)).first}includes(e){return this.content.some((t=>t.equals(e)))}contains(e){return this.includes(e)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(e){return new this.constructor(this.content.concat(e.content))}"fantasy-land/concat"(e){return this.concat(e)}"fantasy-land/map"(e){return new this.constructor(this.map(e))}"fantasy-land/chain"(e){return this.map((t=>e(t)),this).reduce(((e,t)=>e.concat(t)),this.empty())}"fantasy-land/filter"(e){return new this.constructor(this.content.filter(e))}"fantasy-land/reduce"(e,t){return this.content.reduce(e,t)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}o.empty=function(){return new this},o["fantasy-land/empty"]=o.empty,"undefined"!=typeof Symbol&&(o.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),e.exports=o},3312:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e,t,n),this.element="boolean"}primitive(){return"boolean"}}},6420:(e,t,n)=>{const s=n(8149),r=n(3026),i=n(1178);class o{constructor(e,t,n){t&&(this.meta=t),n&&(this.attributes=n),this.content=e}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach((e=>{e.parent=this,e.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const e=new this.constructor;return e.element=this.element,this.meta.length&&(e._meta=this.meta.clone()),this.attributes.length&&(e._attributes=this.attributes.clone()),this.content?this.content.clone?e.content=this.content.clone():Array.isArray(this.content)?e.content=this.content.map((e=>e.clone())):e.content=this.content:e.content=this.content,e}toValue(){return this.content instanceof o?this.content.toValue():this.content instanceof r?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((e=>e.toValue()),this):this.content}toRef(e){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const t=new this.RefElement(this.id.toValue());return e&&(t.path=e),t}findRecursive(...e){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const t=e.pop();let n=new i;const s=(e,t)=>(e.push(t),e),o=(e,n)=>{n.element===t&&e.push(n);const i=n.findRecursive(t);return i&&i.reduce(s,e),n.content instanceof r&&(n.content.key&&o(e,n.content.key),n.content.value&&o(e,n.content.value)),e};return this.content&&(this.content.element&&o(n,this.content),Array.isArray(this.content)&&this.content.reduce(o,n)),e.isEmpty||(n=n.filter((t=>{let n=t.parents.map((e=>e.element));for(const t in e){const s=e[t],r=n.indexOf(s);if(-1===r)return!1;n=n.splice(0,r)}return!0}))),n}set(e){return this.content=e,this}equals(e){return s(this.toValue(),e)}getMetaProperty(e,t){if(!this.meta.hasKey(e)){if(this.isFrozen){const e=this.refract(t);return e.freeze(),e}this.meta.set(e,t)}return this.meta.get(e)}setMetaProperty(e,t){this.meta.set(e,t)}get element(){return this._storedElement||"element"}set element(e){this._storedElement=e}get content(){return this._content}set content(e){if(e instanceof o)this._content=e;else if(e instanceof i)this.content=e.elements;else if("string"==typeof e||"number"==typeof e||"boolean"==typeof e||"null"===e||null==e)this._content=e;else if(e instanceof r)this._content=e;else if(Array.isArray(e))this._content=e.map(this.refract);else{if("object"!=typeof e)throw new Error("Cannot set content to given value");this._content=Object.keys(e).map((t=>new this.MemberElement(t,e[t])))}}get meta(){if(!this._meta){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._meta=new this.ObjectElement}return this._meta}set meta(e){e instanceof this.ObjectElement?this._meta=e:this.meta.set(e||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._attributes=new this.ObjectElement}return this._attributes}set attributes(e){e instanceof this.ObjectElement?this._attributes=e:this.attributes.set(e||{})}get id(){return this.getMetaProperty("id","")}set id(e){this.setMetaProperty("id",e)}get classes(){return this.getMetaProperty("classes",[])}set classes(e){this.setMetaProperty("classes",e)}get title(){return this.getMetaProperty("title","")}set title(e){this.setMetaProperty("title",e)}get description(){return this.getMetaProperty("description","")}set description(e){this.setMetaProperty("description",e)}get links(){return this.getMetaProperty("links",[])}set links(e){this.setMetaProperty("links",e)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:e}=this;const t=new i;for(;e;)t.push(e),e=e.parent;return t}get children(){if(Array.isArray(this.content))return new i(this.content);if(this.content instanceof r){const e=new i([this.content.key]);return this.content.value&&e.push(this.content.value),e}return this.content instanceof o?new i([this.content]):new i}get recursiveChildren(){const e=new i;return this.children.forEach((t=>{e.push(t),t.recursiveChildren.forEach((t=>{e.push(t)}))})),e}}e.exports=o},8858:(e,t,n)=>{const s=n(3026),r=n(6420);e.exports=class extends r{constructor(e,t,n,r){super(new s,n,r),this.element="member",this.key=e,this.value=t}get key(){return this.content.key}set key(e){this.content.key=this.refract(e)}get value(){return this.content.value}set value(e){this.content.value=this.refract(e)}}},4152:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e||null,t,n),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},3710:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e,t,n),this.element="number"}primitive(){return"number"}}},3860:(e,t,n)=>{const s=n(1570),r=n(9259),i=n(1641),o=n(8858),a=n(3853);e.exports=class extends i{constructor(e,t,n){super(e||[],t,n),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((e,t)=>(e[t.key.toValue()]=t.value?t.value.toValue():void 0,e)),{})}get(e){const t=this.getMember(e);if(t)return t.value}getMember(e){if(void 0!==e)return this.content.find((t=>t.key.toValue()===e))}remove(e){let t=null;return this.content=this.content.filter((n=>n.key.toValue()!==e||(t=n,!1))),t}getKey(e){const t=this.getMember(e);if(t)return t.key}set(e,t){if(r(e))return Object.keys(e).forEach((t=>{this.set(t,e[t])})),this;const n=e,s=this.getMember(n);return s?s.value=t:this.content.push(new o(n,t)),this}keys(){return this.content.map((e=>e.key.toValue()))}values(){return this.content.map((e=>e.value.toValue()))}hasKey(e){return this.content.some((t=>t.key.equals(e)))}items(){return this.content.map((e=>[e.key.toValue(),e.value.toValue()]))}map(e,t){return this.content.map((n=>e.bind(t)(n.value,n.key,n)))}compactMap(e,t){const n=[];return this.forEach(((s,r,i)=>{const o=e.bind(t)(s,r,i);o&&n.push(o)})),n}filter(e,t){return new a(this.content).filter(e,t)}reject(e,t){return this.filter(s(e),t)}forEach(e,t){return this.content.forEach((n=>e.bind(t)(n.value,n.key,n)))}}},9542:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e,t,n),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},8910:(e,t,n)=>{const s=n(2947);e.exports=class extends s{serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);let t;e._attributes&&e.attributes.get("variable")&&(t=e.attributes.get("variable"));const n={element:e.element};e._meta&&e._meta.length>0&&(n.meta=this.serialiseObject(e.meta));const s="enum"===e.element||-1!==e.attributes.keys().indexOf("enumerations");if(s){const t=this.enumSerialiseAttributes(e);t&&(n.attributes=t)}else if(e._attributes&&e._attributes.length>0){let{attributes:s}=e;s.get("metadata")&&(s=s.clone(),s.set("meta",s.get("metadata")),s.remove("metadata")),"member"===e.element&&t&&(s=s.clone(),s.remove("variable")),s.length>0&&(n.attributes=this.serialiseObject(s))}if(s)n.content=this.enumSerialiseContent(e,n);else if(this[`${e.element}SerialiseContent`])n.content=this[`${e.element}SerialiseContent`](e,n);else if(void 0!==e.content){let s;t&&e.content.key?(s=e.content.clone(),s.key.attributes.set("variable",t),s=this.serialiseContent(s)):s=this.serialiseContent(e.content),this.shouldSerialiseContent(e,s)&&(n.content=s)}else this.shouldSerialiseContent(e,e.content)&&e instanceof this.namespace.elements.Array&&(n.content=[]);return n}shouldSerialiseContent(e,t){return"parseResult"===e.element||"httpRequest"===e.element||"httpResponse"===e.element||"category"===e.element||"link"===e.element||void 0!==t&&(!Array.isArray(t)||0!==t.length)}refSerialiseContent(e,t){return delete t.attributes,{href:e.toValue(),path:e.path.toValue()}}sourceMapSerialiseContent(e){return e.toValue()}dataStructureSerialiseContent(e){return[this.serialiseContent(e.content)]}enumSerialiseAttributes(e){const t=e.attributes.clone(),n=t.remove("enumerations")||new this.namespace.elements.Array([]),s=t.get("default");let r=t.get("samples")||new this.namespace.elements.Array([]);if(s&&s.content&&(s.content.attributes&&s.content.attributes.remove("typeAttributes"),t.set("default",new this.namespace.elements.Array([s.content]))),r.forEach((e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")})),e.content&&0!==n.length&&r.unshift(e.content),r=r.map((e=>e instanceof this.namespace.elements.Array?[e]:new this.namespace.elements.Array([e.content]))),r.length&&t.set("samples",r),t.length>0)return this.serialiseObject(t)}enumSerialiseContent(e){if(e._attributes){const t=e.attributes.get("enumerations");if(t&&t.length>0)return t.content.map((e=>{const t=e.clone();return t.attributes.remove("typeAttributes"),this.serialise(t)}))}if(e.content){const t=e.content.clone();return t.attributes.remove("typeAttributes"),[this.serialise(t)]}return[]}deserialise(e){if("string"==typeof e)return new this.namespace.elements.String(e);if("number"==typeof e)return new this.namespace.elements.Number(e);if("boolean"==typeof e)return new this.namespace.elements.Boolean(e);if(null===e)return new this.namespace.elements.Null;if(Array.isArray(e))return new this.namespace.elements.Array(e.map(this.deserialise,this));const t=this.namespace.getElementClass(e.element),n=new t;n.element!==e.element&&(n.element=e.element),e.meta&&this.deserialiseObject(e.meta,n.meta),e.attributes&&this.deserialiseObject(e.attributes,n.attributes);const s=this.deserialiseContent(e.content);if(void 0===s&&null!==n.content||(n.content=s),"enum"===n.element){n.content&&n.attributes.set("enumerations",n.content);let e=n.attributes.get("samples");if(n.attributes.remove("samples"),e){const s=e;e=new this.namespace.elements.Array,s.forEach((s=>{s.forEach((s=>{const r=new t(s);r.element=n.element,e.push(r)}))}));const r=e.shift();n.content=r?r.content:void 0,n.attributes.set("samples",e)}else n.content=void 0;let s=n.attributes.get("default");if(s&&s.length>0){s=s.get(0);const e=new t(s);e.element=n.element,n.attributes.set("default",e)}}else if("dataStructure"===n.element&&Array.isArray(n.content))[n.content]=n.content;else if("category"===n.element){const e=n.attributes.get("meta");e&&(n.attributes.set("metadata",e),n.attributes.remove("meta"))}else"member"===n.element&&n.key&&n.key._attributes&&n.key._attributes.getValue("variable")&&(n.attributes.set("variable",n.key.attributes.get("variable")),n.key.attributes.remove("variable"));return n}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}return e&&e.map?e.map(this.serialise,this):e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}shouldRefract(e){return!!(e._attributes&&e.attributes.keys().length||e._meta&&e.meta.keys().length)||"enum"!==e.element&&(e.element!==e.primitive()||"member"===e.element)}convertKeyToRefract(e,t){return this.shouldRefract(t)?this.serialise(t):"enum"===t.element?this.serialiseEnum(t):"array"===t.element?t.map((t=>this.shouldRefract(t)||"default"===e?this.serialise(t):"array"===t.element||"object"===t.element||"enum"===t.element?t.children.map((e=>this.serialise(e))):t.toValue())):"object"===t.element?(t.content||[]).map(this.serialise,this):t.toValue()}serialiseEnum(e){return e.children.map((e=>this.serialise(e)))}serialiseObject(e){const t={};return e.forEach(((e,n)=>{if(e){const s=n.toValue();t[s]=this.convertKeyToRefract(s,e)}})),t}deserialiseObject(e,t){Object.keys(e).forEach((n=>{t.set(n,this.deserialise(e[n]))}))}}},2947:e=>{e.exports=class{constructor(e){this.namespace=e||new this.Namespace}serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);const t={element:e.element};e._meta&&e._meta.length>0&&(t.meta=this.serialiseObject(e.meta)),e._attributes&&e._attributes.length>0&&(t.attributes=this.serialiseObject(e.attributes));const n=this.serialiseContent(e.content);return void 0!==n&&(t.content=n),t}deserialise(e){if(!e.element)throw new Error("Given value is not an object containing an element name");const t=new(this.namespace.getElementClass(e.element));t.element!==e.element&&(t.element=e.element),e.meta&&this.deserialiseObject(e.meta,t.meta),e.attributes&&this.deserialiseObject(e.attributes,t.attributes);const n=this.deserialiseContent(e.content);return void 0===n&&null!==t.content||(t.content=n),t}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}if(e&&e.map){if(0===e.length)return;return e.map(this.serialise,this)}return e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}serialiseObject(e){const t={};if(e.forEach(((e,n)=>{e&&(t[n.toValue()]=this.serialise(e))})),0!==Object.keys(t).length)return t}deserialiseObject(e,t){Object.keys(e).forEach((n=>{t.set(n,this.deserialise(e[n]))}))}}},6591:e=>{!function(){"use strict";var t,n,s,r,i,o="properties",a="deepProperties",c="propertyDescriptors",u="staticProperties",l="staticDeepProperties",p="staticPropertyDescriptors",m="configuration",h="deepConfiguration",d="deepProps",g="deepStatics",f="deepConf",b="initializers",y="methods",_="composers",v="compose";function S(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[])}function E(e,t){return Array.prototype.slice.call(arguments,2).reduce(e,t)}var w=E.bind(0,(function(e,t){if(t)for(var n=S(t),s=0;s<n.length;s+=1)Object.defineProperty(e,n[s],Object.getOwnPropertyDescriptor(t,n[s]));return e}));function j(e){return"function"==typeof e}function x(e){return e&&"object"==typeof e||j(e)}function O(e){return e&&"object"==typeof e&&e.__proto__==Object.prototype}var B=E.bind(0,(function e(n,s){if(s===t)return n;if(Array.isArray(s))return(Array.isArray(n)?n:[]).concat(s);if(!O(s))return s;for(var r,i,o=S(s),a=0;a<o.length;)r=o[a++],(i=Object.getOwnPropertyDescriptor(s,r)).hasOwnProperty("value")?i.value!==t&&(n[r]=e(O(n[r])||Array.isArray(s[r])?n[r]:{},s[r])):Object.defineProperty(n,r,i);return n}));function P(){return(n=Array.prototype.concat.apply([],arguments).filter((function(e,t,n){return j(e)&&n.indexOf(e)===t}))).length?n:t}function $(e,t){function s(n,s){x(t[n])&&(x(e[n])||(e[n]={}),(s||w)(e[n],t[n]))}function r(s){(n=P(e[s],t[s]))&&(e[s]=n)}return t&&x(t=t[v]||t)&&(s(y),s(o),s(a,B),s(c),s(u),s(l,B),s(p),s(m),s(h,B),r(b),r(_)),e}function A(){return function(e){return n=function e(n){var s,r,i=e[v]||{},u={__proto__:i[y]},l=i[b],p=Array.prototype.slice.apply(arguments),m=i[a];if(m&&B(u,m),(m=i[o])&&w(u,m),(m=i[c])&&Object.defineProperties(u,m),!l||!l.length)return u;for(n===t&&(n={}),i=0;i<l.length;)j(s=l[i++])&&(u=(r=s.call(u,n,{instance:u,stamp:e,args:p}))===t?u:r);return u},(s=e[l])&&B(n,s),(s=e[u])&&w(n,s),(s=e[p])&&Object.defineProperties(n,s),s=j(n[v])?n[v]:A,w(n[v]=function(){return s.apply(this,arguments)},e),n}(Array.prototype.concat.apply([this],arguments).reduce($,{}))}function M(e){return j(e)&&j(e[v])}var q={};function k(e,i){return function(){return(r={})[e]=i.apply(t,Array.prototype.concat.apply([{}],arguments)),((n=this)&&n[v]||s).call(n,r)}}q[y]=k(y,w),q[o]=q.props=k(o,w),q[b]=q.init=k(b,P),q[_]=k(_,P),q[a]=q[d]=k(a,B),q[u]=q.statics=k(u,w),q[l]=q[g]=k(l,B),q[m]=q.conf=k(m,w),q[h]=q[f]=k(h,B),q[c]=k(c,w),q[p]=k(p,w),s=q[v]=w((function(){for(var e,S,E=0,j=[],O=arguments,$=this;E<O.length;)x(e=O[E++])&&j.push(M(e)?e:((r={})[y]=(S=e)[y]||t,s=S.props,r[o]=x((n=S[o])||s)?w({},s,n):t,r[b]=P(S.init,S[b]),r[_]=P(S[_]),s=S[d],r[a]=x((n=S[a])||s)?B({},s,n):t,r[c]=S[c],s=S.statics,r[u]=x((n=S[u])||s)?w({},s,n):t,s=S[g],r[l]=x((n=S[l])||s)?B({},s,n):t,n=S[p],r[p]=x((s=S.name&&{name:{value:S.name}})||n)?w({},n,s):t,s=S.conf,r[m]=x((n=S[m])||s)?w({},s,n):t,s=S[f],r[h]=x((n=S[h])||s)?B({},s,n):t,r));if(e=A.apply($||i,j),$&&j.unshift($),Array.isArray(O=e[v][_]))for(E=0;E<O.length;)e=M($=O[E++]({stamp:e,composables:j}))?$:e;return e}),q),q.create=function(){return this.apply(t,arguments)},(r={})[u]=q,i=A(r),s[v]=s.bind(),s.version="4.3.2","object"!=typeof t?e.exports=s:self.stampit=s}()},9794:(e,t,n)=>{var s=void 0!==s?s:{},r=function(){var t,r="object"==typeof window?{currentScript:window.document.currentScript}:null;class i{constructor(){this.initialize()}initialize(){throw new Error("cannot construct a Parser before calling `init()`")}static init(o){return t||(s=Object.assign({},s,o),t=new Promise((t=>{var o,a={};for(o in s)s.hasOwnProperty(o)&&(a[o]=s[o]);var c,u,l,p,m=[],h="./this.program",d=function(e,t){throw t};l="object"==typeof window,p="function"==typeof importScripts,c="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,u=!l&&!c&&!p;var g,f,b,y,_,v="";c?(v=p?n(6287).dirname(v)+"/":"//",g=function(e,t){return y||(y=n(5530)),_||(_=n(6287)),e=_.normalize(e),y.readFileSync(e,t?null:"utf8")},b=function(e){var t=g(e,!0);return t.buffer||(t=new Uint8Array(t)),k(t.buffer),t},process.argv.length>1&&(h=process.argv[1].replace(/\\/g,"/")),m=process.argv.slice(2),e.exports=s,d=function(e){process.exit(e)},s.inspect=function(){return"[Emscripten Module object]"}):u?("undefined"!=typeof read&&(g=function(e){return read(e)}),b=function(e){var t;return"function"==typeof readbuffer?new Uint8Array(readbuffer(e)):(k("object"==typeof(t=read(e,"binary"))),t)},"undefined"!=typeof scriptArgs?m=scriptArgs:void 0!==arguments&&(m=arguments),"function"==typeof quit&&(d=function(e){quit(e)}),"undefined"!=typeof print&&("undefined"==typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!=typeof printErr?printErr:print)):(l||p)&&(p?v=self.location.href:void 0!==r&&r.currentScript&&(v=r.currentScript.src),v=0!==v.indexOf("blob:")?v.substr(0,v.lastIndexOf("/")+1):"",g=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},p&&(b=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),f=function(e,t,n){var s=new XMLHttpRequest;s.open("GET",e,!0),s.responseType="arraybuffer",s.onload=function(){200==s.status||0==s.status&&s.response?t(s.response):n()},s.onerror=n,s.send(null)}),s.print||console.log.bind(console);var S=s.printErr||console.warn.bind(console);for(o in a)a.hasOwnProperty(o)&&(s[o]=a[o]);a=null,s.arguments&&(m=s.arguments),s.thisProgram&&(h=s.thisProgram),s.quit&&(d=s.quit);var E,w=16,j=[];function x(e,t){if(!E){E=new WeakMap;for(var n=0;n<Z.length;n++){var s=Z.get(n);s&&E.set(s,n)}}if(E.has(e))return E.get(e);var r=function(){if(j.length)return j.pop();try{Z.grow(1)}catch(e){if(!(e instanceof RangeError))throw e;throw"Unable to grow wasm table. Set ALLOW_TABLE_GROWTH."}return Z.length-1}();try{Z.set(r,e)}catch(n){if(!(n instanceof TypeError))throw n;var i=function(e,t){if("function"==typeof WebAssembly.Function){for(var n={i:"i32",j:"i64",f:"f32",d:"f64"},s={parameters:[],results:"v"==t[0]?[]:[n[t[0]]]},r=1;r<t.length;++r)s.parameters.push(n[t[r]]);return new WebAssembly.Function(s,e)}var i=[1,0,1,96],o=t.slice(0,1),a=t.slice(1),c={i:127,j:126,f:125,d:124};for(i.push(a.length),r=0;r<a.length;++r)i.push(c[a[r]]);"v"==o?i.push(0):i=i.concat([1,c[o]]),i[1]=i.length-2;var u=new Uint8Array([0,97,115,109,1,0,0,0].concat(i,[2,7,1,1,101,1,102,0,0,7,5,1,1,102,0,0])),l=new WebAssembly.Module(u);return new WebAssembly.Instance(l,{e:{f:e}}).exports.f}(e,t);Z.set(r,i)}return E.set(e,r),r}var O,B=s.dynamicLibraries||[];s.wasmBinary&&(O=s.wasmBinary);var P,$=s.noExitRuntime||!0;function A(e,t,n,s){switch("*"===(n=n||"i8").charAt(n.length-1)&&(n="i32"),n){case"i1":case"i8":N[e>>0]=t;break;case"i16":T[e>>1]=t;break;case"i32":R[e>>2]=t;break;case"i64":le=[t>>>0,(ue=t,+Math.abs(ue)>=1?ue>0?(0|Math.min(+Math.floor(ue/4294967296),4294967295))>>>0:~~+Math.ceil((ue-+(~~ue>>>0))/4294967296)>>>0:0)],R[e>>2]=le[0],R[e+4>>2]=le[1];break;case"float":F[e>>2]=t;break;case"double":V[e>>3]=t;break;default:ae("invalid type for setValue: "+n)}}function M(e,t,n){switch("*"===(t=t||"i8").charAt(t.length-1)&&(t="i32"),t){case"i1":case"i8":return N[e>>0];case"i16":return T[e>>1];case"i32":case"i64":return R[e>>2];case"float":return F[e>>2];case"double":return V[e>>3];default:ae("invalid type for getValue: "+t)}return null}"object"!=typeof WebAssembly&&ae("no native wasm support detected");var q=!1;function k(e,t){e||ae("Assertion failed: "+t)}var C,N,I,T,R,F,V,D="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function L(e,t,n){for(var s=t+n,r=t;e[r]&&!(r>=s);)++r;if(r-t>16&&e.subarray&&D)return D.decode(e.subarray(t,r));for(var i="";t<r;){var o=e[t++];if(128&o){var a=63&e[t++];if(192!=(224&o)){var c=63&e[t++];if((o=224==(240&o)?(15&o)<<12|a<<6|c:(7&o)<<18|a<<12|c<<6|63&e[t++])<65536)i+=String.fromCharCode(o);else{var u=o-65536;i+=String.fromCharCode(55296|u>>10,56320|1023&u)}}else i+=String.fromCharCode((31&o)<<6|a)}else i+=String.fromCharCode(o)}return i}function J(e,t){return e?L(I,e,t):""}function z(e,t,n,s){if(!(s>0))return 0;for(var r=n,i=n+s-1,o=0;o<e.length;++o){var a=e.charCodeAt(o);if(a>=55296&&a<=57343&&(a=65536+((1023&a)<<10)|1023&e.charCodeAt(++o)),a<=127){if(n>=i)break;t[n++]=a}else if(a<=2047){if(n+1>=i)break;t[n++]=192|a>>6,t[n++]=128|63&a}else if(a<=65535){if(n+2>=i)break;t[n++]=224|a>>12,t[n++]=128|a>>6&63,t[n++]=128|63&a}else{if(n+3>=i)break;t[n++]=240|a>>18,t[n++]=128|a>>12&63,t[n++]=128|a>>6&63,t[n++]=128|63&a}}return t[n]=0,n-r}function U(e,t,n){return z(e,I,t,n)}function W(e){for(var t=0,n=0;n<e.length;++n){var s=e.charCodeAt(n);s>=55296&&s<=57343&&(s=65536+((1023&s)<<10)|1023&e.charCodeAt(++n)),s<=127?++t:t+=s<=2047?2:s<=65535?3:4}return t}function G(e){var t=W(e)+1,n=Je(t);return z(e,N,n,t),n}function K(e){C=e,s.HEAP8=N=new Int8Array(e),s.HEAP16=T=new Int16Array(e),s.HEAP32=R=new Int32Array(e),s.HEAPU8=I=new Uint8Array(e),s.HEAPU16=new Uint16Array(e),s.HEAPU32=new Uint32Array(e),s.HEAPF32=F=new Float32Array(e),s.HEAPF64=V=new Float64Array(e)}var H=s.INITIAL_MEMORY||33554432;(P=s.wasmMemory?s.wasmMemory:new WebAssembly.Memory({initial:H/65536,maximum:32768}))&&(C=P.buffer),H=C.byteLength,K(C);var Z=new WebAssembly.Table({initial:17,element:"anyfunc"}),Q=[],X=[],Y=[],ee=[],te=!1,ne=0,se=null,re=null;function ie(e){ne++,s.monitorRunDependencies&&s.monitorRunDependencies(ne)}function oe(e){if(ne--,s.monitorRunDependencies&&s.monitorRunDependencies(ne),0==ne&&(null!==se&&(clearInterval(se),se=null),re)){var t=re;re=null,t()}}function ae(e){throw s.onAbort&&s.onAbort(e),S(e+=""),q=!0,e="abort("+e+"). Build with -s ASSERTIONS=1 for more info.",new WebAssembly.RuntimeError(e)}s.preloadedImages={},s.preloadedAudios={},s.preloadedWasm={};var ce,ue,le;function pe(e){return e.startsWith("data:application/octet-stream;base64,")}function me(e){return e.startsWith("file://")}function he(e){try{if(e==ce&&O)return new Uint8Array(O);if(b)return b(e);throw"both async and sync fetching of the wasm failed"}catch(e){ae(e)}}pe(ce="tree-sitter.wasm")||(ce=function(e){return s.locateFile?s.locateFile(e,v):v+e}(ce));var de={},ge={get:function(e,t){return de[t]||(de[t]=new WebAssembly.Global({value:"i32",mutable:!0})),de[t]}};function fe(e){for(;e.length>0;){var t=e.shift();if("function"!=typeof t){var n=t.func;"number"==typeof n?void 0===t.arg?Z.get(n)():Z.get(n)(t.arg):n(void 0===t.arg?null:t.arg)}else t(s)}}function be(e){var t=0;function n(){for(var n=0,s=1;;){var r=e[t++];if(n+=(127&r)*s,s*=128,!(128&r))break}return n}if(e instanceof WebAssembly.Module){var s=WebAssembly.Module.customSections(e,"dylink");k(0!=s.length,"need dylink section"),e=new Int8Array(s[0])}else k(1836278016==new Uint32Array(new Uint8Array(e.subarray(0,24)).buffer)[0],"need to see wasm magic number"),k(0===e[8],"need the dylink section to be first"),t=9,n(),k(6===e[t]),k(e[++t]==="d".charCodeAt(0)),k(e[++t]==="y".charCodeAt(0)),k(e[++t]==="l".charCodeAt(0)),k(e[++t]==="i".charCodeAt(0)),k(e[++t]==="n".charCodeAt(0)),k(e[++t]==="k".charCodeAt(0)),t++;var r={};r.memorySize=n(),r.memoryAlign=n(),r.tableSize=n(),r.tableAlign=n();var i=n();r.neededDynlibs=[];for(var o=0;o<i;++o){var a=n(),c=e.subarray(t,t+a);t+=a;var u=L(c,0);r.neededDynlibs.push(u)}return r}var ye=0;function _e(){return $||ye>0}function ve(e){return 0==e.indexOf("dynCall_")||["stackAlloc","stackSave","stackRestore"].includes(e)?e:"_"+e}function Se(e,t){for(var n in e)if(e.hasOwnProperty(n)){Re.hasOwnProperty(n)||(Re[n]=e[n]);var r=ve(n);s.hasOwnProperty(r)||(s[r]=e[n])}}var Ee={nextHandle:1,loadedLibs:{},loadedLibNames:{}};var we=5250880;function je(e){return["__cpp_exception","__wasm_apply_data_relocs","__dso_handle","__set_stack_limits"].includes(e)}function xe(e,t){var n={};for(var s in e){var r=e[s];"object"==typeof r&&(r=r.value),"number"==typeof r&&(r+=t),n[s]=r}return function(e){for(var t in e)if(!je(t)){var n=!1,s=e[t];t.startsWith("orig$")&&(t=t.split("$")[1],n=!0),de[t]||(de[t]=new WebAssembly.Global({value:"i32",mutable:!0})),(n||0==de[t].value)&&("function"==typeof s?de[t].value=x(s):"number"==typeof s?de[t].value=s:S("unhandled export type for `"+t+"`: "+typeof s))}}(n),n}function Oe(e,t){var n,r;return t&&(n=Re["orig$"+e]),n||(n=Re[e]),n||(n=s[ve(e)]),!n&&e.startsWith("invoke_")&&(r=e.split("_")[1],n=function(){var e=De();try{return function(e,t,n){return e.includes("j")?function(e,t,n){var r=s["dynCall_"+e];return n&&n.length?r.apply(null,[t].concat(n)):r.call(null,t)}(e,t,n):Z.get(t).apply(null,n)}(r,arguments[0],Array.prototype.slice.call(arguments,1))}catch(t){if(Le(e),t!==t+0&&"longjmp"!==t)throw t;ze(1,0)}}),n}function Be(e,t){var n=be(e);function s(){var s=Math.pow(2,n.memoryAlign);s=Math.max(s,w);var r,i,o,a=(r=function(e){if(te)return Fe(e);var t=we,n=t+e+15&-16;return we=n,de.__heap_base.value=n,t}(n.memorySize+s),(i=s)||(i=w),Math.ceil(r/i)*i),c=Z.length;Z.grow(n.tableSize);for(var u=a;u<a+n.memorySize;u++)N[u]=0;for(u=c;u<c+n.tableSize;u++)Z.set(u,null);var l=new Proxy({},{get:function(e,t){switch(t){case"__memory_base":return a;case"__table_base":return c}return t in Re?Re[t]:(t in e||(e[t]=function(){return n||(n=function(e){var t=Oe(e,!1);return t||(t=o[e]),t}(t)),n.apply(null,arguments)}),e[t]);var n}}),p={"GOT.mem":new Proxy({},ge),"GOT.func":new Proxy({},ge),env:l,wasi_snapshot_preview1:l};function m(e){for(var s=0;s<n.tableSize;s++){var r=Z.get(c+s);r&&E.set(r,c+s)}o=xe(e.exports,a),t.allowUndefined||$e();var i=o.__wasm_call_ctors;return i||(i=o.__post_instantiate),i&&(te?i():X.push(i)),o}if(t.loadAsync){if(e instanceof WebAssembly.Module){var h=new WebAssembly.Instance(e,p);return Promise.resolve(m(h))}return WebAssembly.instantiate(e,p).then((function(e){return m(e.instance)}))}var d=e instanceof WebAssembly.Module?e:new WebAssembly.Module(e);return m(h=new WebAssembly.Instance(d,p))}return t.loadAsync?n.neededDynlibs.reduce((function(e,n){return e.then((function(){return Pe(n,t)}))}),Promise.resolve()).then((function(){return s()})):(n.neededDynlibs.forEach((function(e){Pe(e,t)})),s())}function Pe(e,t){"__main__"!=e||Ee.loadedLibNames[e]||(Ee.loadedLibs[-1]={refcount:1/0,name:"__main__",module:s.asm,global:!0},Ee.loadedLibNames.__main__=-1),t=t||{global:!0,nodelete:!0};var n,r=Ee.loadedLibNames[e];if(r)return n=Ee.loadedLibs[r],t.global&&!n.global&&(n.global=!0,"loading"!==n.module&&Se(n.module)),t.nodelete&&n.refcount!==1/0&&(n.refcount=1/0),n.refcount++,t.loadAsync?Promise.resolve(r):r;function i(e){if(t.fs){var n=t.fs.readFile(e,{encoding:"binary"});return n instanceof Uint8Array||(n=new Uint8Array(n)),t.loadAsync?Promise.resolve(n):n}return t.loadAsync?(s=e,fetch(s,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load binary file at '"+s+"'";return e.arrayBuffer()})).then((function(e){return new Uint8Array(e)}))):b(e);var s}function o(){if(void 0!==s.preloadedWasm&&void 0!==s.preloadedWasm[e]){var n=s.preloadedWasm[e];return t.loadAsync?Promise.resolve(n):n}return t.loadAsync?i(e).then((function(e){return Be(e,t)})):Be(i(e),t)}function a(e){n.global&&Se(e),n.module=e}return r=Ee.nextHandle++,n={refcount:t.nodelete?1/0:1,name:e,module:"loading",global:t.global},Ee.loadedLibNames[e]=r,Ee.loadedLibs[r]=n,t.loadAsync?o().then((function(e){return a(e),r})):(a(o()),r)}function $e(){for(var e in de)if(0==de[e].value){var t=Oe(e,!0);"function"==typeof t?de[e].value=x(t,t.sig):"number"==typeof t?de[e].value=t:k(!1,"bad export type for `"+e+"`: "+typeof t)}}s.___heap_base=we;var Ae,Me=new WebAssembly.Global({value:"i32",mutable:!0},5250880);function qe(){ae()}s._abort=qe,qe.sig="v",Ae=c?function(){var e=process.hrtime();return 1e3*e[0]+e[1]/1e6}:"undefined"!=typeof dateNow?dateNow:function(){return performance.now()};function ke(e,t){var n;if(0===e)n=Date.now();else{if(1!==e&&4!==e)return 28,R[Ve()>>2]=28,-1;n=Ae()}return R[t>>2]=n/1e3|0,R[t+4>>2]=n%1e3*1e3*1e3|0,0}function Ce(e){try{return P.grow(e-C.byteLength+65535>>>16),K(P.buffer),1}catch(e){}}function Ne(e){Ke(e)}function Ie(e){}ke.sig="iii",Ne.sig="vi",Ie.sig="vi";var Te,Re={__heap_base:we,__indirect_function_table:Z,__memory_base:1024,__stack_pointer:Me,__table_base:1,abort:qe,clock_gettime:ke,emscripten_memcpy_big:function(e,t,n){I.copyWithin(e,t,t+n)},emscripten_resize_heap:function(e){var t,n=I.length;if((e>>>=0)>2147483648)return!1;for(var s=1;s<=4;s*=2){var r=n*(1+.2/s);if(r=Math.min(r,e+100663296),Ce(Math.min(2147483648,((t=Math.max(e,r))%65536>0&&(t+=65536-t%65536),t))))return!0}return!1},exit:Ne,memory:P,setTempRet0:Ie,tree_sitter_log_callback:function(e,t){if(ut){const n=J(t);ut(n,0!==e)}},tree_sitter_parse_callback:function(e,t,n,s,r){var i=ct(t,{row:n,column:s});"string"==typeof i?(A(r,i.length,"i32"),function(e,t,n){if(void 0===n&&(n=2147483647),n<2)return 0;for(var s=(n-=2)<2*e.length?n/2:e.length,r=0;r<s;++r){var i=e.charCodeAt(r);T[t>>1]=i,t+=2}T[t>>1]=0}(i,e,10240)):A(r,0,"i32")}},Fe=(function(){var e={env:Re,wasi_snapshot_preview1:Re,"GOT.mem":new Proxy(Re,ge),"GOT.func":new Proxy(Re,ge)};function t(e,t){var n=e.exports;n=xe(n,1024),s.asm=n;var r,i=be(t);i.neededDynlibs&&(B=i.neededDynlibs.concat(B)),Se(n),r=s.asm.__wasm_call_ctors,X.unshift(r),oe()}function n(e){t(e.instance,e.module)}function r(t){return function(){if(!O&&(l||p)){if("function"==typeof fetch&&!me(ce))return fetch(ce,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load wasm binary file at '"+ce+"'";return e.arrayBuffer()})).catch((function(){return he(ce)}));if(f)return new Promise((function(e,t){f(ce,(function(t){e(new Uint8Array(t))}),t)}))}return Promise.resolve().then((function(){return he(ce)}))}().then((function(t){return WebAssembly.instantiate(t,e)})).then(t,(function(e){S("failed to asynchronously prepare wasm: "+e),ae(e)}))}if(ie(),s.instantiateWasm)try{return s.instantiateWasm(e,t)}catch(e){return S("Module.instantiateWasm callback failed with error: "+e),!1}O||"function"!=typeof WebAssembly.instantiateStreaming||pe(ce)||me(ce)||"function"!=typeof fetch?r(n):fetch(ce,{credentials:"same-origin"}).then((function(t){return WebAssembly.instantiateStreaming(t,e).then(n,(function(e){return S("wasm streaming compile failed: "+e),S("falling back to ArrayBuffer instantiation"),r(n)}))}))}(),s.___wasm_call_ctors=function(){return(s.___wasm_call_ctors=s.asm.__wasm_call_ctors).apply(null,arguments)},s._malloc=function(){return(Fe=s._malloc=s.asm.malloc).apply(null,arguments)}),Ve=(s._calloc=function(){return(s._calloc=s.asm.calloc).apply(null,arguments)},s._realloc=function(){return(s._realloc=s.asm.realloc).apply(null,arguments)},s._free=function(){return(s._free=s.asm.free).apply(null,arguments)},s._ts_language_symbol_count=function(){return(s._ts_language_symbol_count=s.asm.ts_language_symbol_count).apply(null,arguments)},s._ts_language_version=function(){return(s._ts_language_version=s.asm.ts_language_version).apply(null,arguments)},s._ts_language_field_count=function(){return(s._ts_language_field_count=s.asm.ts_language_field_count).apply(null,arguments)},s._ts_language_symbol_name=function(){return(s._ts_language_symbol_name=s.asm.ts_language_symbol_name).apply(null,arguments)},s._ts_language_symbol_for_name=function(){return(s._ts_language_symbol_for_name=s.asm.ts_language_symbol_for_name).apply(null,arguments)},s._ts_language_symbol_type=function(){return(s._ts_language_symbol_type=s.asm.ts_language_symbol_type).apply(null,arguments)},s._ts_language_field_name_for_id=function(){return(s._ts_language_field_name_for_id=s.asm.ts_language_field_name_for_id).apply(null,arguments)},s._memcpy=function(){return(s._memcpy=s.asm.memcpy).apply(null,arguments)},s._ts_parser_delete=function(){return(s._ts_parser_delete=s.asm.ts_parser_delete).apply(null,arguments)},s._ts_parser_reset=function(){return(s._ts_parser_reset=s.asm.ts_parser_reset).apply(null,arguments)},s._ts_parser_set_language=function(){return(s._ts_parser_set_language=s.asm.ts_parser_set_language).apply(null,arguments)},s._ts_parser_timeout_micros=function(){return(s._ts_parser_timeout_micros=s.asm.ts_parser_timeout_micros).apply(null,arguments)},s._ts_parser_set_timeout_micros=function(){return(s._ts_parser_set_timeout_micros=s.asm.ts_parser_set_timeout_micros).apply(null,arguments)},s._memmove=function(){return(s._memmove=s.asm.memmove).apply(null,arguments)},s._memcmp=function(){return(s._memcmp=s.asm.memcmp).apply(null,arguments)},s._ts_query_new=function(){return(s._ts_query_new=s.asm.ts_query_new).apply(null,arguments)},s._ts_query_delete=function(){return(s._ts_query_delete=s.asm.ts_query_delete).apply(null,arguments)},s._iswspace=function(){return(s._iswspace=s.asm.iswspace).apply(null,arguments)},s._iswalnum=function(){return(s._iswalnum=s.asm.iswalnum).apply(null,arguments)},s._ts_query_pattern_count=function(){return(s._ts_query_pattern_count=s.asm.ts_query_pattern_count).apply(null,arguments)},s._ts_query_capture_count=function(){return(s._ts_query_capture_count=s.asm.ts_query_capture_count).apply(null,arguments)},s._ts_query_string_count=function(){return(s._ts_query_string_count=s.asm.ts_query_string_count).apply(null,arguments)},s._ts_query_capture_name_for_id=function(){return(s._ts_query_capture_name_for_id=s.asm.ts_query_capture_name_for_id).apply(null,arguments)},s._ts_query_string_value_for_id=function(){return(s._ts_query_string_value_for_id=s.asm.ts_query_string_value_for_id).apply(null,arguments)},s._ts_query_predicates_for_pattern=function(){return(s._ts_query_predicates_for_pattern=s.asm.ts_query_predicates_for_pattern).apply(null,arguments)},s._ts_tree_copy=function(){return(s._ts_tree_copy=s.asm.ts_tree_copy).apply(null,arguments)},s._ts_tree_delete=function(){return(s._ts_tree_delete=s.asm.ts_tree_delete).apply(null,arguments)},s._ts_init=function(){return(s._ts_init=s.asm.ts_init).apply(null,arguments)},s._ts_parser_new_wasm=function(){return(s._ts_parser_new_wasm=s.asm.ts_parser_new_wasm).apply(null,arguments)},s._ts_parser_enable_logger_wasm=function(){return(s._ts_parser_enable_logger_wasm=s.asm.ts_parser_enable_logger_wasm).apply(null,arguments)},s._ts_parser_parse_wasm=function(){return(s._ts_parser_parse_wasm=s.asm.ts_parser_parse_wasm).apply(null,arguments)},s._ts_language_type_is_named_wasm=function(){return(s._ts_language_type_is_named_wasm=s.asm.ts_language_type_is_named_wasm).apply(null,arguments)},s._ts_language_type_is_visible_wasm=function(){return(s._ts_language_type_is_visible_wasm=s.asm.ts_language_type_is_visible_wasm).apply(null,arguments)},s._ts_tree_root_node_wasm=function(){return(s._ts_tree_root_node_wasm=s.asm.ts_tree_root_node_wasm).apply(null,arguments)},s._ts_tree_edit_wasm=function(){return(s._ts_tree_edit_wasm=s.asm.ts_tree_edit_wasm).apply(null,arguments)},s._ts_tree_get_changed_ranges_wasm=function(){return(s._ts_tree_get_changed_ranges_wasm=s.asm.ts_tree_get_changed_ranges_wasm).apply(null,arguments)},s._ts_tree_cursor_new_wasm=function(){return(s._ts_tree_cursor_new_wasm=s.asm.ts_tree_cursor_new_wasm).apply(null,arguments)},s._ts_tree_cursor_delete_wasm=function(){return(s._ts_tree_cursor_delete_wasm=s.asm.ts_tree_cursor_delete_wasm).apply(null,arguments)},s._ts_tree_cursor_reset_wasm=function(){return(s._ts_tree_cursor_reset_wasm=s.asm.ts_tree_cursor_reset_wasm).apply(null,arguments)},s._ts_tree_cursor_goto_first_child_wasm=function(){return(s._ts_tree_cursor_goto_first_child_wasm=s.asm.ts_tree_cursor_goto_first_child_wasm).apply(null,arguments)},s._ts_tree_cursor_goto_next_sibling_wasm=function(){return(s._ts_tree_cursor_goto_next_sibling_wasm=s.asm.ts_tree_cursor_goto_next_sibling_wasm).apply(null,arguments)},s._ts_tree_cursor_goto_parent_wasm=function(){return(s._ts_tree_cursor_goto_parent_wasm=s.asm.ts_tree_cursor_goto_parent_wasm).apply(null,arguments)},s._ts_tree_cursor_current_node_type_id_wasm=function(){return(s._ts_tree_cursor_current_node_type_id_wasm=s.asm.ts_tree_cursor_current_node_type_id_wasm).apply(null,arguments)},s._ts_tree_cursor_current_node_is_named_wasm=function(){return(s._ts_tree_cursor_current_node_is_named_wasm=s.asm.ts_tree_cursor_current_node_is_named_wasm).apply(null,arguments)},s._ts_tree_cursor_current_node_is_missing_wasm=function(){return(s._ts_tree_cursor_current_node_is_missing_wasm=s.asm.ts_tree_cursor_current_node_is_missing_wasm).apply(null,arguments)},s._ts_tree_cursor_current_node_id_wasm=function(){return(s._ts_tree_cursor_current_node_id_wasm=s.asm.ts_tree_cursor_current_node_id_wasm).apply(null,arguments)},s._ts_tree_cursor_start_position_wasm=function(){return(s._ts_tree_cursor_start_position_wasm=s.asm.ts_tree_cursor_start_position_wasm).apply(null,arguments)},s._ts_tree_cursor_end_position_wasm=function(){return(s._ts_tree_cursor_end_position_wasm=s.asm.ts_tree_cursor_end_position_wasm).apply(null,arguments)},s._ts_tree_cursor_start_index_wasm=function(){return(s._ts_tree_cursor_start_index_wasm=s.asm.ts_tree_cursor_start_index_wasm).apply(null,arguments)},s._ts_tree_cursor_end_index_wasm=function(){return(s._ts_tree_cursor_end_index_wasm=s.asm.ts_tree_cursor_end_index_wasm).apply(null,arguments)},s._ts_tree_cursor_current_field_id_wasm=function(){return(s._ts_tree_cursor_current_field_id_wasm=s.asm.ts_tree_cursor_current_field_id_wasm).apply(null,arguments)},s._ts_tree_cursor_current_node_wasm=function(){return(s._ts_tree_cursor_current_node_wasm=s.asm.ts_tree_cursor_current_node_wasm).apply(null,arguments)},s._ts_node_symbol_wasm=function(){return(s._ts_node_symbol_wasm=s.asm.ts_node_symbol_wasm).apply(null,arguments)},s._ts_node_child_count_wasm=function(){return(s._ts_node_child_count_wasm=s.asm.ts_node_child_count_wasm).apply(null,arguments)},s._ts_node_named_child_count_wasm=function(){return(s._ts_node_named_child_count_wasm=s.asm.ts_node_named_child_count_wasm).apply(null,arguments)},s._ts_node_child_wasm=function(){return(s._ts_node_child_wasm=s.asm.ts_node_child_wasm).apply(null,arguments)},s._ts_node_named_child_wasm=function(){return(s._ts_node_named_child_wasm=s.asm.ts_node_named_child_wasm).apply(null,arguments)},s._ts_node_child_by_field_id_wasm=function(){return(s._ts_node_child_by_field_id_wasm=s.asm.ts_node_child_by_field_id_wasm).apply(null,arguments)},s._ts_node_next_sibling_wasm=function(){return(s._ts_node_next_sibling_wasm=s.asm.ts_node_next_sibling_wasm).apply(null,arguments)},s._ts_node_prev_sibling_wasm=function(){return(s._ts_node_prev_sibling_wasm=s.asm.ts_node_prev_sibling_wasm).apply(null,arguments)},s._ts_node_next_named_sibling_wasm=function(){return(s._ts_node_next_named_sibling_wasm=s.asm.ts_node_next_named_sibling_wasm).apply(null,arguments)},s._ts_node_prev_named_sibling_wasm=function(){return(s._ts_node_prev_named_sibling_wasm=s.asm.ts_node_prev_named_sibling_wasm).apply(null,arguments)},s._ts_node_parent_wasm=function(){return(s._ts_node_parent_wasm=s.asm.ts_node_parent_wasm).apply(null,arguments)},s._ts_node_descendant_for_index_wasm=function(){return(s._ts_node_descendant_for_index_wasm=s.asm.ts_node_descendant_for_index_wasm).apply(null,arguments)},s._ts_node_named_descendant_for_index_wasm=function(){return(s._ts_node_named_descendant_for_index_wasm=s.asm.ts_node_named_descendant_for_index_wasm).apply(null,arguments)},s._ts_node_descendant_for_position_wasm=function(){return(s._ts_node_descendant_for_position_wasm=s.asm.ts_node_descendant_for_position_wasm).apply(null,arguments)},s._ts_node_named_descendant_for_position_wasm=function(){return(s._ts_node_named_descendant_for_position_wasm=s.asm.ts_node_named_descendant_for_position_wasm).apply(null,arguments)},s._ts_node_start_point_wasm=function(){return(s._ts_node_start_point_wasm=s.asm.ts_node_start_point_wasm).apply(null,arguments)},s._ts_node_end_point_wasm=function(){return(s._ts_node_end_point_wasm=s.asm.ts_node_end_point_wasm).apply(null,arguments)},s._ts_node_start_index_wasm=function(){return(s._ts_node_start_index_wasm=s.asm.ts_node_start_index_wasm).apply(null,arguments)},s._ts_node_end_index_wasm=function(){return(s._ts_node_end_index_wasm=s.asm.ts_node_end_index_wasm).apply(null,arguments)},s._ts_node_to_string_wasm=function(){return(s._ts_node_to_string_wasm=s.asm.ts_node_to_string_wasm).apply(null,arguments)},s._ts_node_children_wasm=function(){return(s._ts_node_children_wasm=s.asm.ts_node_children_wasm).apply(null,arguments)},s._ts_node_named_children_wasm=function(){return(s._ts_node_named_children_wasm=s.asm.ts_node_named_children_wasm).apply(null,arguments)},s._ts_node_descendants_of_type_wasm=function(){return(s._ts_node_descendants_of_type_wasm=s.asm.ts_node_descendants_of_type_wasm).apply(null,arguments)},s._ts_node_is_named_wasm=function(){return(s._ts_node_is_named_wasm=s.asm.ts_node_is_named_wasm).apply(null,arguments)},s._ts_node_has_changes_wasm=function(){return(s._ts_node_has_changes_wasm=s.asm.ts_node_has_changes_wasm).apply(null,arguments)},s._ts_node_has_error_wasm=function(){return(s._ts_node_has_error_wasm=s.asm.ts_node_has_error_wasm).apply(null,arguments)},s._ts_node_is_missing_wasm=function(){return(s._ts_node_is_missing_wasm=s.asm.ts_node_is_missing_wasm).apply(null,arguments)},s._ts_query_matches_wasm=function(){return(s._ts_query_matches_wasm=s.asm.ts_query_matches_wasm).apply(null,arguments)},s._ts_query_captures_wasm=function(){return(s._ts_query_captures_wasm=s.asm.ts_query_captures_wasm).apply(null,arguments)},s._iswdigit=function(){return(s._iswdigit=s.asm.iswdigit).apply(null,arguments)},s._iswalpha=function(){return(s._iswalpha=s.asm.iswalpha).apply(null,arguments)},s._iswlower=function(){return(s._iswlower=s.asm.iswlower).apply(null,arguments)},s._towupper=function(){return(s._towupper=s.asm.towupper).apply(null,arguments)},s.___errno_location=function(){return(Ve=s.___errno_location=s.asm.__errno_location).apply(null,arguments)}),De=(s._memchr=function(){return(s._memchr=s.asm.memchr).apply(null,arguments)},s._strlen=function(){return(s._strlen=s.asm.strlen).apply(null,arguments)},s.stackSave=function(){return(De=s.stackSave=s.asm.stackSave).apply(null,arguments)}),Le=s.stackRestore=function(){return(Le=s.stackRestore=s.asm.stackRestore).apply(null,arguments)},Je=s.stackAlloc=function(){return(Je=s.stackAlloc=s.asm.stackAlloc).apply(null,arguments)},ze=s._setThrew=function(){return(ze=s._setThrew=s.asm.setThrew).apply(null,arguments)};function Ue(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=function(){return(s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=s.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev).apply(null,arguments)},s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=function(){return(s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=s.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm).apply(null,arguments)},s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=function(){return(s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=s.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm).apply(null,arguments)},s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=function(){return(s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=s.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm).apply(null,arguments)},s.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=function(){return(s.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=s.asm._ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm).apply(null,arguments)},s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=function(){return(s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=s.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc).apply(null,arguments)},s.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=function(){return(s.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=s.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev).apply(null,arguments)},s.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=function(){return(s.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=s.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw).apply(null,arguments)},s.__Znwm=function(){return(s.__Znwm=s.asm._Znwm).apply(null,arguments)},s.__ZdlPv=function(){return(s.__ZdlPv=s.asm._ZdlPv).apply(null,arguments)},s.__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv=function(){return(s.__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv=s.asm._ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv).apply(null,arguments)},s._orig$ts_parser_timeout_micros=function(){return(s._orig$ts_parser_timeout_micros=s.asm.orig$ts_parser_timeout_micros).apply(null,arguments)},s._orig$ts_parser_set_timeout_micros=function(){return(s._orig$ts_parser_set_timeout_micros=s.asm.orig$ts_parser_set_timeout_micros).apply(null,arguments)},s.allocate=function(e,t){var n;return n=1==t?Je(e.length):Fe(e.length),e.subarray||e.slice?I.set(e,n):I.set(new Uint8Array(e),n),n},re=function e(){Te||Ge(),Te||(re=e)};var We=!1;function Ge(e){function t(){Te||(Te=!0,s.calledRun=!0,q||(te=!0,fe(X),fe(Y),s.onRuntimeInitialized&&s.onRuntimeInitialized(),He&&function(e){var t=s._main;if(t){var n=(e=e||[]).length+1,r=Je(4*(n+1));R[r>>2]=G(h);for(var i=1;i<n;i++)R[(r>>2)+i]=G(e[i-1]);R[(r>>2)+n]=0;try{Ke(t(n,r),!0)}catch(e){if(e instanceof Ue)return;if("unwind"==e)return;var o=e;e&&"object"==typeof e&&e.stack&&(o=[e,e.stack]),S("exception thrown: "+o),d(1,e)}}}(e),function(){if(s.postRun)for("function"==typeof s.postRun&&(s.postRun=[s.postRun]);s.postRun.length;)e=s.postRun.shift(),ee.unshift(e);var e;fe(ee)}()))}e=e||m,ne>0||!We&&(function(){if(B.length){if(!b)return ie(),void B.reduce((function(e,t){return e.then((function(){return Pe(t,{loadAsync:!0,global:!0,nodelete:!0,allowUndefined:!0})}))}),Promise.resolve()).then((function(){oe(),$e()}));B.forEach((function(e){Pe(e,{global:!0,nodelete:!0,allowUndefined:!0})})),$e()}else $e()}(),We=!0,ne>0)||(function(){if(s.preRun)for("function"==typeof s.preRun&&(s.preRun=[s.preRun]);s.preRun.length;)e=s.preRun.shift(),Q.unshift(e);var e;fe(Q)}(),ne>0||(s.setStatus?(s.setStatus("Running..."),setTimeout((function(){setTimeout((function(){s.setStatus("")}),1),t()}),1)):t()))}function Ke(e,t){t&&_e()&&0===e||(_e()||(s.onExit&&s.onExit(e),q=!0),d(e,new Ue(e)))}if(s.run=Ge,s.preInit)for("function"==typeof s.preInit&&(s.preInit=[s.preInit]);s.preInit.length>0;)s.preInit.pop()();var He=!0;s.noInitialRun&&(He=!1),Ge();const Ze=s,Qe={},Xe=4,Ye=5*Xe,et=2*Xe,tt=2*Xe+2*et,nt={row:0,column:0},st=/[\w-.]*/g,rt=/^_?tree_sitter_\w+/;var it,ot,at,ct,ut;class lt{static init(){at=Ze._ts_init(),it=M(at,"i32"),ot=M(at+Xe,"i32")}initialize(){Ze._ts_parser_new_wasm(),this[0]=M(at,"i32"),this[1]=M(at+Xe,"i32")}delete(){Ze._ts_parser_delete(this[0]),Ze._free(this[1]),this[0]=0,this[1]=0}setLanguage(e){let t;if(e){if(e.constructor!==dt)throw new Error("Argument must be a Language");{t=e[0];const n=Ze._ts_language_version(t);if(n<ot||it<n)throw new Error(`Incompatible language version ${n}. Compatibility range ${ot} through ${it}.`)}}else t=0,e=null;return this.language=e,Ze._ts_parser_set_language(this[0],t),this}getLanguage(){return this.language}parse(e,t,n){if("string"==typeof e)ct=(t,n,s)=>e.slice(t,s);else{if("function"!=typeof e)throw new Error("Argument must be a string or a function");ct=e}this.logCallback?(ut=this.logCallback,Ze._ts_parser_enable_logger_wasm(this[0],1)):(ut=null,Ze._ts_parser_enable_logger_wasm(this[0],0));let s=0,r=0;if(n&&n.includedRanges){s=n.includedRanges.length;let e=r=Ze._calloc(s,tt);for(let t=0;t<s;t++)Ot(e,n.includedRanges[t]),e+=tt}const i=Ze._ts_parser_parse_wasm(this[0],this[1],t?t[0]:0,r,s);if(!i)throw ct=null,ut=null,new Error("Parsing failed");const o=new pt(Qe,i,this.language,ct);return ct=null,ut=null,o}reset(){Ze._ts_parser_reset(this[0])}setTimeoutMicros(e){Ze._ts_parser_set_timeout_micros(this[0],e)}getTimeoutMicros(){return Ze._ts_parser_timeout_micros(this[0])}setLogger(e){if(e){if("function"!=typeof e)throw new Error("Logger callback must be a function")}else e=null;return this.logCallback=e,this}getLogger(){return this.logCallback}}class pt{constructor(e,t,n,s){yt(e),this[0]=t,this.language=n,this.textCallback=s}copy(){const e=Ze._ts_tree_copy(this[0]);return new pt(Qe,e,this.language,this.textCallback)}delete(){Ze._ts_tree_delete(this[0]),this[0]=0}edit(e){!function(e){let t=at;jt(t,e.startPosition),jt(t+=et,e.oldEndPosition),jt(t+=et,e.newEndPosition),A(t+=et,e.startIndex,"i32"),A(t+=Xe,e.oldEndIndex,"i32"),A(t+=Xe,e.newEndIndex,"i32"),t+=Xe}(e),Ze._ts_tree_edit_wasm(this[0])}get rootNode(){return Ze._ts_tree_root_node_wasm(this[0]),St(this)}getLanguage(){return this.language}walk(){return this.rootNode.walk()}getChangedRanges(e){if(e.constructor!==pt)throw new TypeError("Argument must be a Tree");Ze._ts_tree_get_changed_ranges_wasm(this[0],e[0]);const t=M(at,"i32"),n=M(at+Xe,"i32"),s=new Array(t);if(t>0){let e=n;for(let n=0;n<t;n++)s[n]=Bt(e),e+=tt;Ze._free(n)}return s}}class mt{constructor(e,t){yt(e),this.tree=t}get typeId(){return vt(this),Ze._ts_node_symbol_wasm(this.tree[0])}get type(){return this.tree.language.types[this.typeId]||"ERROR"}get endPosition(){return vt(this),Ze._ts_node_end_point_wasm(this.tree[0]),xt(at)}get endIndex(){return vt(this),Ze._ts_node_end_index_wasm(this.tree[0])}get text(){return ft(this.tree,this.startIndex,this.endIndex)}isNamed(){return vt(this),1===Ze._ts_node_is_named_wasm(this.tree[0])}hasError(){return vt(this),1===Ze._ts_node_has_error_wasm(this.tree[0])}hasChanges(){return vt(this),1===Ze._ts_node_has_changes_wasm(this.tree[0])}isMissing(){return vt(this),1===Ze._ts_node_is_missing_wasm(this.tree[0])}equals(e){return this.id===e.id}child(e){return vt(this),Ze._ts_node_child_wasm(this.tree[0],e),St(this.tree)}namedChild(e){return vt(this),Ze._ts_node_named_child_wasm(this.tree[0],e),St(this.tree)}childForFieldId(e){return vt(this),Ze._ts_node_child_by_field_id_wasm(this.tree[0],e),St(this.tree)}childForFieldName(e){const t=this.tree.language.fields.indexOf(e);if(-1!==t)return this.childForFieldId(t)}get childCount(){return vt(this),Ze._ts_node_child_count_wasm(this.tree[0])}get namedChildCount(){return vt(this),Ze._ts_node_named_child_count_wasm(this.tree[0])}get firstChild(){return this.child(0)}get firstNamedChild(){return this.namedChild(0)}get lastChild(){return this.child(this.childCount-1)}get lastNamedChild(){return this.namedChild(this.namedChildCount-1)}get children(){if(!this._children){vt(this),Ze._ts_node_children_wasm(this.tree[0]);const e=M(at,"i32"),t=M(at+Xe,"i32");if(this._children=new Array(e),e>0){let n=t;for(let t=0;t<e;t++)this._children[t]=St(this.tree,n),n+=Ye;Ze._free(t)}}return this._children}get namedChildren(){if(!this._namedChildren){vt(this),Ze._ts_node_named_children_wasm(this.tree[0]);const e=M(at,"i32"),t=M(at+Xe,"i32");if(this._namedChildren=new Array(e),e>0){let n=t;for(let t=0;t<e;t++)this._namedChildren[t]=St(this.tree,n),n+=Ye;Ze._free(t)}}return this._namedChildren}descendantsOfType(e,t,n){Array.isArray(e)||(e=[e]),t||(t=nt),n||(n=nt);const s=[],r=this.tree.language.types;for(let t=0,n=r.length;t<n;t++)e.includes(r[t])&&s.push(t);const i=Ze._malloc(Xe*s.length);for(let e=0,t=s.length;e<t;e++)A(i+e*Xe,s[e],"i32");vt(this),Ze._ts_node_descendants_of_type_wasm(this.tree[0],i,s.length,t.row,t.column,n.row,n.column);const o=M(at,"i32"),a=M(at+Xe,"i32"),c=new Array(o);if(o>0){let e=a;for(let t=0;t<o;t++)c[t]=St(this.tree,e),e+=Ye}return Ze._free(a),Ze._free(i),c}get nextSibling(){return vt(this),Ze._ts_node_next_sibling_wasm(this.tree[0]),St(this.tree)}get previousSibling(){return vt(this),Ze._ts_node_prev_sibling_wasm(this.tree[0]),St(this.tree)}get nextNamedSibling(){return vt(this),Ze._ts_node_next_named_sibling_wasm(this.tree[0]),St(this.tree)}get previousNamedSibling(){return vt(this),Ze._ts_node_prev_named_sibling_wasm(this.tree[0]),St(this.tree)}get parent(){return vt(this),Ze._ts_node_parent_wasm(this.tree[0]),St(this.tree)}descendantForIndex(e,t=e){if("number"!=typeof e||"number"!=typeof t)throw new Error("Arguments must be numbers");vt(this);let n=at+Ye;return A(n,e,"i32"),A(n+Xe,t,"i32"),Ze._ts_node_descendant_for_index_wasm(this.tree[0]),St(this.tree)}namedDescendantForIndex(e,t=e){if("number"!=typeof e||"number"!=typeof t)throw new Error("Arguments must be numbers");vt(this);let n=at+Ye;return A(n,e,"i32"),A(n+Xe,t,"i32"),Ze._ts_node_named_descendant_for_index_wasm(this.tree[0]),St(this.tree)}descendantForPosition(e,t=e){if(!_t(e)||!_t(t))throw new Error("Arguments must be {row, column} objects");vt(this);let n=at+Ye;return jt(n,e),jt(n+et,t),Ze._ts_node_descendant_for_position_wasm(this.tree[0]),St(this.tree)}namedDescendantForPosition(e,t=e){if(!_t(e)||!_t(t))throw new Error("Arguments must be {row, column} objects");vt(this);let n=at+Ye;return jt(n,e),jt(n+et,t),Ze._ts_node_named_descendant_for_position_wasm(this.tree[0]),St(this.tree)}walk(){return vt(this),Ze._ts_tree_cursor_new_wasm(this.tree[0]),new ht(Qe,this.tree)}toString(){vt(this);const e=Ze._ts_node_to_string_wasm(this.tree[0]),t=function(e){for(var t="";;){var n=I[e++>>0];if(!n)return t;t+=String.fromCharCode(n)}}(e);return Ze._free(e),t}}class ht{constructor(e,t){yt(e),this.tree=t,wt(this)}delete(){Et(this),Ze._ts_tree_cursor_delete_wasm(this.tree[0]),this[0]=this[1]=this[2]=0}reset(e){vt(e),Et(this,at+Ye),Ze._ts_tree_cursor_reset_wasm(this.tree[0]),wt(this)}get nodeType(){return this.tree.language.types[this.nodeTypeId]||"ERROR"}get nodeTypeId(){return Et(this),Ze._ts_tree_cursor_current_node_type_id_wasm(this.tree[0])}get nodeId(){return Et(this),Ze._ts_tree_cursor_current_node_id_wasm(this.tree[0])}get nodeIsNamed(){return Et(this),1===Ze._ts_tree_cursor_current_node_is_named_wasm(this.tree[0])}get nodeIsMissing(){return Et(this),1===Ze._ts_tree_cursor_current_node_is_missing_wasm(this.tree[0])}get nodeText(){Et(this);const e=Ze._ts_tree_cursor_start_index_wasm(this.tree[0]),t=Ze._ts_tree_cursor_end_index_wasm(this.tree[0]);return ft(this.tree,e,t)}get startPosition(){return Et(this),Ze._ts_tree_cursor_start_position_wasm(this.tree[0]),xt(at)}get endPosition(){return Et(this),Ze._ts_tree_cursor_end_position_wasm(this.tree[0]),xt(at)}get startIndex(){return Et(this),Ze._ts_tree_cursor_start_index_wasm(this.tree[0])}get endIndex(){return Et(this),Ze._ts_tree_cursor_end_index_wasm(this.tree[0])}currentNode(){return Et(this),Ze._ts_tree_cursor_current_node_wasm(this.tree[0]),St(this.tree)}currentFieldId(){return Et(this),Ze._ts_tree_cursor_current_field_id_wasm(this.tree[0])}currentFieldName(){return this.tree.language.fields[this.currentFieldId()]}gotoFirstChild(){Et(this);const e=Ze._ts_tree_cursor_goto_first_child_wasm(this.tree[0]);return wt(this),1===e}gotoNextSibling(){Et(this);const e=Ze._ts_tree_cursor_goto_next_sibling_wasm(this.tree[0]);return wt(this),1===e}gotoParent(){Et(this);const e=Ze._ts_tree_cursor_goto_parent_wasm(this.tree[0]);return wt(this),1===e}}class dt{constructor(e,t){yt(e),this[0]=t,this.types=new Array(Ze._ts_language_symbol_count(this[0]));for(let e=0,t=this.types.length;e<t;e++)Ze._ts_language_symbol_type(this[0],e)<2&&(this.types[e]=J(Ze._ts_language_symbol_name(this[0],e)));this.fields=new Array(Ze._ts_language_field_count(this[0])+1);for(let e=0,t=this.fields.length;e<t;e++){const t=Ze._ts_language_field_name_for_id(this[0],e);this.fields[e]=0!==t?J(t):null}}get version(){return Ze._ts_language_version(this[0])}get fieldCount(){return this.fields.length-1}fieldIdForName(e){const t=this.fields.indexOf(e);return-1!==t?t:null}fieldNameForId(e){return this.fields[e]||null}idForNodeType(e,t){const n=W(e),s=Ze._malloc(n+1);U(e,s,n+1);const r=Ze._ts_language_symbol_for_name(this[0],s,n,t);return Ze._free(s),r||null}get nodeTypeCount(){return Ze._ts_language_symbol_count(this[0])}nodeTypeForId(e){const t=Ze._ts_language_symbol_name(this[0],e);return t?J(t):null}nodeTypeIsNamed(e){return!!Ze._ts_language_type_is_named_wasm(this[0],e)}nodeTypeIsVisible(e){return!!Ze._ts_language_type_is_visible_wasm(this[0],e)}query(e){const t=W(e),n=Ze._malloc(t+1);U(e,n,t+1);const s=Ze._ts_query_new(this[0],n,t,at,at+Xe);if(!s){const t=M(at+Xe,"i32"),s=J(n,M(at,"i32")).length,r=e.substr(s,100).split("\n")[0];let i,o=r.match(st)[0];switch(t){case 2:i=new RangeError(`Bad node name '${o}'`);break;case 3:i=new RangeError(`Bad field name '${o}'`);break;case 4:i=new RangeError(`Bad capture name @${o}`);break;case 5:i=new TypeError(`Bad pattern structure at offset ${s}: '${r}'...`),o="";break;default:i=new SyntaxError(`Bad syntax at offset ${s}: '${r}'...`),o=""}throw i.index=s,i.length=o.length,Ze._free(n),i}const r=Ze._ts_query_string_count(s),i=Ze._ts_query_capture_count(s),o=Ze._ts_query_pattern_count(s),a=new Array(i),c=new Array(r);for(let e=0;e<i;e++){const t=Ze._ts_query_capture_name_for_id(s,e,at),n=M(at,"i32");a[e]=J(t,n)}for(let e=0;e<r;e++){const t=Ze._ts_query_string_value_for_id(s,e,at),n=M(at,"i32");c[e]=J(t,n)}const u=new Array(o),l=new Array(o),p=new Array(o),m=new Array(o),h=new Array(o);for(let e=0;e<o;e++){const t=Ze._ts_query_predicates_for_pattern(s,e,at),n=M(at,"i32");m[e]=[],h[e]=[];const r=[];let i=t;for(let t=0;t<n;t++){const t=M(i,"i32"),n=M(i+=Xe,"i32");if(i+=Xe,1===t)r.push({type:"capture",name:a[n]});else if(2===t)r.push({type:"string",value:c[n]});else if(r.length>0){if("string"!==r[0].type)throw new Error("Predicates must begin with a literal value");const t=r[0].value;let n=!0;switch(t){case"not-eq?":n=!1;case"eq?":if(3!==r.length)throw new Error("Wrong number of arguments to `#eq?` predicate. Expected 2, got "+(r.length-1));if("capture"!==r[1].type)throw new Error(`First argument of \`#eq?\` predicate must be a capture. Got "${r[1].value}"`);if("capture"===r[2].type){const t=r[1].name,s=r[2].name;h[e].push((function(e){let r,i;for(const n of e)n.name===t&&(r=n.node),n.name===s&&(i=n.node);return void 0===r||void 0===i||r.text===i.text===n}))}else{const t=r[1].name,s=r[2].value;h[e].push((function(e){for(const r of e)if(r.name===t)return r.node.text===s===n;return!0}))}break;case"not-match?":n=!1;case"match?":if(3!==r.length)throw new Error(`Wrong number of arguments to \`#match?\` predicate. Expected 2, got ${r.length-1}.`);if("capture"!==r[1].type)throw new Error(`First argument of \`#match?\` predicate must be a capture. Got "${r[1].value}".`);if("string"!==r[2].type)throw new Error(`Second argument of \`#match?\` predicate must be a string. Got @${r[2].value}.`);const s=r[1].name,i=new RegExp(r[2].value);h[e].push((function(e){for(const t of e)if(t.name===s)return i.test(t.node.text)===n;return!0}));break;case"set!":if(r.length<2||r.length>3)throw new Error(`Wrong number of arguments to \`#set!\` predicate. Expected 1 or 2. Got ${r.length-1}.`);if(r.some((e=>"string"!==e.type)))throw new Error('Arguments to `#set!` predicate must be a strings.".');u[e]||(u[e]={}),u[e][r[1].value]=r[2]?r[2].value:null;break;case"is?":case"is-not?":if(r.length<2||r.length>3)throw new Error(`Wrong number of arguments to \`#${t}\` predicate. Expected 1 or 2. Got ${r.length-1}.`);if(r.some((e=>"string"!==e.type)))throw new Error(`Arguments to \`#${t}\` predicate must be a strings.".`);const o="is?"===t?l:p;o[e]||(o[e]={}),o[e][r[1].value]=r[2]?r[2].value:null;break;default:m[e].push({operator:t,operands:r.slice(1)})}r.length=0}}Object.freeze(u[e]),Object.freeze(l[e]),Object.freeze(p[e])}return Ze._free(n),new gt(Qe,s,a,h,m,Object.freeze(u),Object.freeze(l),Object.freeze(p))}static load(e){let t;if(e instanceof Uint8Array)t=Promise.resolve(e);else{const s=e;if("undefined"!=typeof process&&process.versions&&process.versions.node){const e=n(5530);t=Promise.resolve(e.readFileSync(s))}else t=fetch(s).then((e=>e.arrayBuffer().then((t=>{if(e.ok)return new Uint8Array(t);{const n=new TextDecoder("utf-8").decode(t);throw new Error(`Language.load failed with status ${e.status}.\n\n${n}`)}}))))}const s="function"==typeof loadSideModule?loadSideModule:Be;return t.then((e=>s(e,{loadAsync:!0}))).then((e=>{const t=Object.keys(e),n=t.find((e=>rt.test(e)&&!e.includes("external_scanner_")));n||console.log(`Couldn't find language function in WASM file. Symbols:\n${JSON.stringify(t,null,2)}`);const s=e[n]();return new dt(Qe,s)}))}}class gt{constructor(e,t,n,s,r,i,o,a){yt(e),this[0]=t,this.captureNames=n,this.textPredicates=s,this.predicates=r,this.setProperties=i,this.assertedProperties=o,this.refutedProperties=a,this.exceededMatchLimit=!1}delete(){Ze._ts_query_delete(this[0]),this[0]=0}matches(e,t,n,s){t||(t=nt),n||(n=nt),s||(s={});let r=s.matchLimit;if(void 0===r)r=0;else if("number"!=typeof r)throw new Error("Arguments must be numbers");vt(e),Ze._ts_query_matches_wasm(this[0],e.tree[0],t.row,t.column,n.row,n.column,r);const i=M(at,"i32"),o=M(at+Xe,"i32"),a=M(at+2*Xe,"i32"),c=new Array(i);this.exceededMatchLimit=!!a;let u=0,l=o;for(let t=0;t<i;t++){const n=M(l,"i32"),s=M(l+=Xe,"i32");l+=Xe;const r=new Array(s);if(l=bt(this,e.tree,l,r),this.textPredicates[n].every((e=>e(r)))){c[u++]={pattern:n,captures:r};const e=this.setProperties[n];e&&(c[t].setProperties=e);const s=this.assertedProperties[n];s&&(c[t].assertedProperties=s);const i=this.refutedProperties[n];i&&(c[t].refutedProperties=i)}}return c.length=u,Ze._free(o),c}captures(e,t,n,s){t||(t=nt),n||(n=nt),s||(s={});let r=s.matchLimit;if(void 0===r)r=0;else if("number"!=typeof r)throw new Error("Arguments must be numbers");vt(e),Ze._ts_query_captures_wasm(this[0],e.tree[0],t.row,t.column,n.row,n.column,r);const i=M(at,"i32"),o=M(at+Xe,"i32"),a=M(at+2*Xe,"i32"),c=[];this.exceededMatchLimit=!!a;const u=[];let l=o;for(let t=0;t<i;t++){const t=M(l,"i32"),n=M(l+=Xe,"i32"),s=M(l+=Xe,"i32");if(l+=Xe,u.length=n,l=bt(this,e.tree,l,u),this.textPredicates[t].every((e=>e(u)))){const e=u[s],n=this.setProperties[t];n&&(e.setProperties=n);const r=this.assertedProperties[t];r&&(e.assertedProperties=r);const i=this.refutedProperties[t];i&&(e.refutedProperties=i),c.push(e)}}return Ze._free(o),c}predicatesForPattern(e){return this.predicates[e]}didExceedMatchLimit(){return this.exceededMatchLimit}}function ft(e,t,n){const s=n-t;let r=e.textCallback(t,null,n);for(t+=r.length;t<n;){const s=e.textCallback(t,null,n);if(!(s&&s.length>0))break;t+=s.length,r+=s}return t>n&&(r=r.slice(0,s)),r}function bt(e,t,n,s){for(let r=0,i=s.length;r<i;r++){const i=M(n,"i32"),o=St(t,n+=Xe);n+=Ye,s[r]={name:e.captureNames[i],node:o}}return n}function yt(e){if(e!==Qe)throw new Error("Illegal constructor")}function _t(e){return e&&"number"==typeof e.row&&"number"==typeof e.column}function vt(e){let t=at;A(t,e.id,"i32"),A(t+=Xe,e.startIndex,"i32"),A(t+=Xe,e.startPosition.row,"i32"),A(t+=Xe,e.startPosition.column,"i32"),A(t+=Xe,e[0],"i32")}function St(e,t=at){const n=M(t,"i32");if(0===n)return null;const s=M(t+=Xe,"i32"),r=M(t+=Xe,"i32"),i=M(t+=Xe,"i32"),o=M(t+=Xe,"i32"),a=new mt(Qe,e);return a.id=n,a.startIndex=s,a.startPosition={row:r,column:i},a[0]=o,a}function Et(e,t=at){A(t+0*Xe,e[0],"i32"),A(t+1*Xe,e[1],"i32"),A(t+2*Xe,e[2],"i32")}function wt(e){e[0]=M(at+0*Xe,"i32"),e[1]=M(at+1*Xe,"i32"),e[2]=M(at+2*Xe,"i32")}function jt(e,t){A(e,t.row,"i32"),A(e+Xe,t.column,"i32")}function xt(e){return{row:M(e,"i32"),column:M(e+Xe,"i32")}}function Ot(e,t){jt(e,t.startPosition),jt(e+=et,t.endPosition),A(e+=et,t.startIndex,"i32"),A(e+=Xe,t.endIndex,"i32"),e+=Xe}function Bt(e){const t={};return t.startPosition=xt(e),e+=et,t.endPosition=xt(e),e+=et,t.startIndex=M(e,"i32"),e+=Xe,t.endIndex=M(e,"i32"),t}for(const e of Object.getOwnPropertyNames(lt.prototype))Object.defineProperty(i.prototype,e,{value:lt.prototype[e],enumerable:!1,writable:!1});i.Language=dt,s.onRuntimeInitialized=()=>{lt.init(),t()}})))}}return i}();e.exports=r},5530:()=>{},6287:()=>{},1427:(e,t,n)=>{e.exports=n(1125)},1681:(e,t,n)=>{"use strict";var s=n(7497);e.exports=s},3258:(e,t,n)=>{"use strict";n(2777),n(733),n(1835),n(6449),n(9383);var s=n(8422);e.exports=s.AggregateError},1125:(e,t,n)=>{"use strict";e.exports=n(3985)},3985:(e,t,n)=>{"use strict";n(3584);var s=n(1681);e.exports=s},5375:(e,t,n)=>{"use strict";var s=n(8563),r=n(5787),i=TypeError;e.exports=function(e){if(s(e))return e;throw new i(r(e)+" is not a function")}},692:(e,t,n)=>{"use strict";var s=n(8563),r=String,i=TypeError;e.exports=function(e){if("object"==typeof e||s(e))return e;throw new i("Can't set "+r(e)+" as a prototype")}},7171:e=>{"use strict";e.exports=function(){}},457:(e,t,n)=>{"use strict";var s=n(8257),r=String,i=TypeError;e.exports=function(e){if(s(e))return e;throw new i(r(e)+" is not an object")}},3346:(e,t,n)=>{"use strict";var s=n(4312),r=n(1940),i=n(8960),o=function(e){return function(t,n,o){var a,c=s(t),u=i(c),l=r(o,u);if(e&&n!=n){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},88:(e,t,n)=>{"use strict";var s=n(8814),r=s({}.toString),i=s("".slice);e.exports=function(e){return i(r(e),8,-1)}},2327:(e,t,n)=>{"use strict";var s=n(6694),r=n(8563),i=n(88),o=n(379)("toStringTag"),a=Object,c="Arguments"===i(function(){return arguments}());e.exports=s?i:function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=a(e),o))?n:c?i(t):"Object"===(s=i(t))&&r(t.callee)?"Arguments":s}},1318:(e,t,n)=>{"use strict";var s=n(3941),r=n(5956),i=n(3335),o=n(4376);e.exports=function(e,t,n){for(var a=r(t),c=o.f,u=i.f,l=0;l<a.length;l++){var p=a[l];s(e,p)||n&&s(n,p)||c(e,p,u(t,p))}}},8536:(e,t,n)=>{"use strict";var s=n(2998);e.exports=!s((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},9497:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},1370:(e,t,n)=>{"use strict";var s=n(1815),r=n(4376),i=n(7971);e.exports=s?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},7971:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},4500:(e,t,n)=>{"use strict";var s=n(1370);e.exports=function(e,t,n,r){return r&&r.enumerable?e[t]=n:s(e,t,n),e}},8194:(e,t,n)=>{"use strict";var s=n(8426),r=Object.defineProperty;e.exports=function(e,t){try{r(s,e,{value:t,configurable:!0,writable:!0})}catch(n){s[e]=t}return t}},1815:(e,t,n)=>{"use strict";var s=n(2998);e.exports=!s((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},5361:e=>{"use strict";var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},6327:(e,t,n)=>{"use strict";var s=n(8426),r=n(8257),i=s.document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},8987:e=>{"use strict";e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},9954:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},5057:(e,t,n)=>{"use strict";var s,r,i=n(8426),o=n(9954),a=i.process,c=i.Deno,u=a&&a.versions||c&&c.version,l=u&&u.v8;l&&(r=(s=l.split("."))[0]>0&&s[0]<4?1:+(s[0]+s[1])),!r&&o&&(!(s=o.match(/Edge\/(\d+)/))||s[1]>=74)&&(s=o.match(/Chrome\/(\d+)/))&&(r=+s[1]),e.exports=r},8573:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},4456:(e,t,n)=>{"use strict";var s=n(8814),r=Error,i=s("".replace),o=String(new r("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,c=a.test(o);e.exports=function(e,t){if(c&&"string"==typeof e&&!r.prepareStackTrace)for(;t--;)e=i(e,a,"");return e}},4151:(e,t,n)=>{"use strict";var s=n(1370),r=n(4456),i=n(5111),o=Error.captureStackTrace;e.exports=function(e,t,n,a){i&&(o?o(e,t):s(e,"stack",r(n,a)))}},5111:(e,t,n)=>{"use strict";var s=n(2998),r=n(7971);e.exports=!s((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",r(1,7)),7!==e.stack)}))},9011:(e,t,n)=>{"use strict";var s=n(8426),r=n(4877),i=n(9730),o=n(8563),a=n(3335).f,c=n(8722),u=n(8422),l=n(1207),p=n(1370),m=n(3941),h=function(e){var t=function(n,s,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,s)}return new e(n,s,i)}return r(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,r,d,g,f,b,y,_,v,S=e.target,E=e.global,w=e.stat,j=e.proto,x=E?s:w?s[S]:(s[S]||{}).prototype,O=E?u:u[S]||p(u,S,{})[S],B=O.prototype;for(g in t)r=!(n=c(E?g:S+(w?".":"#")+g,e.forced))&&x&&m(x,g),b=O[g],r&&(y=e.dontCallGetSet?(v=a(x,g))&&v.value:x[g]),f=r&&y?y:t[g],r&&typeof b==typeof f||(_=e.bind&&r?l(f,s):e.wrap&&r?h(f):j&&o(f)?i(f):f,(e.sham||f&&f.sham||b&&b.sham)&&p(_,"sham",!0),p(O,g,_),j&&(m(u,d=S+"Prototype")||p(u,d,{}),p(u[d],g,f),e.real&&B&&(n||!B[g])&&p(B,g,f)))}},2998:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},4877:(e,t,n)=>{"use strict";var s=n(5083),r=Function.prototype,i=r.apply,o=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(s?o.bind(i):function(){return o.apply(i,arguments)})},1207:(e,t,n)=>{"use strict";var s=n(9730),r=n(5375),i=n(5083),o=s(s.bind);e.exports=function(e,t){return r(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}},5083:(e,t,n)=>{"use strict";var s=n(2998);e.exports=!s((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},200:(e,t,n)=>{"use strict";var s=n(5083),r=Function.prototype.call;e.exports=s?r.bind(r):function(){return r.apply(r,arguments)}},5339:(e,t,n)=>{"use strict";var s=n(1815),r=n(3941),i=Function.prototype,o=s&&Object.getOwnPropertyDescriptor,a=r(i,"name"),c=a&&"something"===function(){}.name,u=a&&(!s||s&&o(i,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},2799:(e,t,n)=>{"use strict";var s=n(8814),r=n(5375);e.exports=function(e,t,n){try{return s(r(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},9730:(e,t,n)=>{"use strict";var s=n(88),r=n(8814);e.exports=function(e){if("Function"===s(e))return r(e)}},8814:(e,t,n)=>{"use strict";var s=n(5083),r=Function.prototype,i=r.call,o=s&&r.bind.bind(i,i);e.exports=s?o:function(e){return function(){return i.apply(e,arguments)}}},6589:(e,t,n)=>{"use strict";var s=n(8422),r=n(8426),i=n(8563),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(s[e])||o(r[e]):s[e]&&s[e][t]||r[e]&&r[e][t]}},2630:(e,t,n)=>{"use strict";var s=n(2327),r=n(2833),i=n(5157),o=n(2444),a=n(379)("iterator");e.exports=function(e){if(!i(e))return r(e,a)||r(e,"@@iterator")||o[s(e)]}},1291:(e,t,n)=>{"use strict";var s=n(200),r=n(5375),i=n(457),o=n(5787),a=n(2630),c=TypeError;e.exports=function(e,t){var n=arguments.length<2?a(e):t;if(r(n))return i(s(n,e));throw new c(o(e)+" is not iterable")}},2833:(e,t,n)=>{"use strict";var s=n(5375),r=n(5157);e.exports=function(e,t){var n=e[t];return r(n)?void 0:s(n)}},8426:function(e,t,n){"use strict";var s=function(e){return e&&e.Math===Math&&e};e.exports=s("object"==typeof globalThis&&globalThis)||s("object"==typeof window&&window)||s("object"==typeof self&&self)||s("object"==typeof n.g&&n.g)||s("object"==typeof this&&this)||function(){return this}()||Function("return this")()},3941:(e,t,n)=>{"use strict";var s=n(8814),r=n(8389),i=s({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(r(e),t)}},3006:e=>{"use strict";e.exports={}},4812:(e,t,n)=>{"use strict";var s=n(6589);e.exports=s("document","documentElement")},4632:(e,t,n)=>{"use strict";var s=n(1815),r=n(2998),i=n(6327);e.exports=!s&&!r((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},6541:(e,t,n)=>{"use strict";var s=n(8814),r=n(2998),i=n(88),o=Object,a=s("".split);e.exports=r((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?a(e,""):o(e)}:o},9330:(e,t,n)=>{"use strict";var s=n(8563),r=n(8257),i=n(8597);e.exports=function(e,t,n){var o,a;return i&&s(o=t.constructor)&&o!==n&&r(a=o.prototype)&&a!==n.prototype&&i(e,a),e}},1609:(e,t,n)=>{"use strict";var s=n(8257),r=n(1370);e.exports=function(e,t){s(t)&&"cause"in t&&r(e,"cause",t.cause)}},8551:(e,t,n)=>{"use strict";var s,r,i,o=n(8268),a=n(8426),c=n(8257),u=n(1370),l=n(3941),p=n(6028),m=n(5430),h=n(3006),d="Object already initialized",g=a.TypeError,f=a.WeakMap;if(o||p.state){var b=p.state||(p.state=new f);b.get=b.get,b.has=b.has,b.set=b.set,s=function(e,t){if(b.has(e))throw new g(d);return t.facade=e,b.set(e,t),t},r=function(e){return b.get(e)||{}},i=function(e){return b.has(e)}}else{var y=m("state");h[y]=!0,s=function(e,t){if(l(e,y))throw new g(d);return t.facade=e,u(e,y,t),t},r=function(e){return l(e,y)?e[y]:{}},i=function(e){return l(e,y)}}e.exports={set:s,get:r,has:i,enforce:function(e){return i(e)?r(e):s(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=r(t)).type!==e)throw new g("Incompatible receiver, "+e+" required");return n}}}},2576:(e,t,n)=>{"use strict";var s=n(379),r=n(2444),i=s("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},8563:(e,t,n)=>{"use strict";var s=n(5361),r=s.all;e.exports=s.IS_HTMLDDA?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}},8722:(e,t,n)=>{"use strict";var s=n(2998),r=n(8563),i=/#|\.prototype\./,o=function(e,t){var n=c[a(e)];return n===l||n!==u&&(r(t)?s(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},5157:e=>{"use strict";e.exports=function(e){return null==e}},8257:(e,t,n)=>{"use strict";var s=n(8563),r=n(5361),i=r.all;e.exports=r.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:s(e)||e===i}:function(e){return"object"==typeof e?null!==e:s(e)}},7736:e=>{"use strict";e.exports=!0},6753:(e,t,n)=>{"use strict";var s=n(6589),r=n(8563),i=n(7367),o=n(9378),a=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=s("Symbol");return r(t)&&i(t.prototype,a(e))}},3490:(e,t,n)=>{"use strict";var s=n(1207),r=n(200),i=n(457),o=n(5787),a=n(2576),c=n(8960),u=n(7367),l=n(1291),p=n(2630),m=n(6889),h=TypeError,d=function(e,t){this.stopped=e,this.result=t},g=d.prototype;e.exports=function(e,t,n){var f,b,y,_,v,S,E,w=n&&n.that,j=!(!n||!n.AS_ENTRIES),x=!(!n||!n.IS_RECORD),O=!(!n||!n.IS_ITERATOR),B=!(!n||!n.INTERRUPTED),P=s(t,w),$=function(e){return f&&m(f,"normal",e),new d(!0,e)},A=function(e){return j?(i(e),B?P(e[0],e[1],$):P(e[0],e[1])):B?P(e,$):P(e)};if(x)f=e.iterator;else if(O)f=e;else{if(!(b=p(e)))throw new h(o(e)+" is not iterable");if(a(b)){for(y=0,_=c(e);_>y;y++)if((v=A(e[y]))&&u(g,v))return v;return new d(!1)}f=l(e,b)}for(S=x?e.next:f.next;!(E=r(S,f)).done;){try{v=A(E.value)}catch(e){m(f,"throw",e)}if("object"==typeof v&&v&&u(g,v))return v}return new d(!1)}},6889:(e,t,n)=>{"use strict";var s=n(200),r=n(457),i=n(2833);e.exports=function(e,t,n){var o,a;r(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw n;return n}o=s(o,e)}catch(e){a=!0,o=e}if("throw"===t)throw n;if(a)throw o;return r(o),n}},7323:(e,t,n)=>{"use strict";var s=n(374).IteratorPrototype,r=n(1504),i=n(7971),o=n(9468),a=n(2444),c=function(){return this};e.exports=function(e,t,n,u){var l=t+" Iterator";return e.prototype=r(s,{next:i(+!u,n)}),o(e,l,!1,!0),a[l]=c,e}},5994:(e,t,n)=>{"use strict";var s=n(9011),r=n(200),i=n(7736),o=n(5339),a=n(8563),c=n(7323),u=n(9814),l=n(8597),p=n(9468),m=n(1370),h=n(4500),d=n(379),g=n(2444),f=n(374),b=o.PROPER,y=o.CONFIGURABLE,_=f.IteratorPrototype,v=f.BUGGY_SAFARI_ITERATORS,S=d("iterator"),E="keys",w="values",j="entries",x=function(){return this};e.exports=function(e,t,n,o,d,f,O){c(n,t,o);var B,P,$,A=function(e){if(e===d&&N)return N;if(!v&&e&&e in k)return k[e];switch(e){case E:case w:case j:return function(){return new n(this,e)}}return function(){return new n(this)}},M=t+" Iterator",q=!1,k=e.prototype,C=k[S]||k["@@iterator"]||d&&k[d],N=!v&&C||A(d),I="Array"===t&&k.entries||C;if(I&&(B=u(I.call(new e)))!==Object.prototype&&B.next&&(i||u(B)===_||(l?l(B,_):a(B[S])||h(B,S,x)),p(B,M,!0,!0),i&&(g[M]=x)),b&&d===w&&C&&C.name!==w&&(!i&&y?m(k,"name",w):(q=!0,N=function(){return r(C,this)})),d)if(P={values:A(w),keys:f?N:A(E),entries:A(j)},O)for($ in P)(v||q||!($ in k))&&h(k,$,P[$]);else s({target:t,proto:!0,forced:v||q},P);return i&&!O||k[S]===N||h(k,S,N,{name:d}),g[t]=N,P}},374:(e,t,n)=>{"use strict";var s,r,i,o=n(2998),a=n(8563),c=n(8257),u=n(1504),l=n(9814),p=n(4500),m=n(379),h=n(7736),d=m("iterator"),g=!1;[].keys&&("next"in(i=[].keys())?(r=l(l(i)))!==Object.prototype&&(s=r):g=!0),!c(s)||o((function(){var e={};return s[d].call(e)!==e}))?s={}:h&&(s=u(s)),a(s[d])||p(s,d,(function(){return this})),e.exports={IteratorPrototype:s,BUGGY_SAFARI_ITERATORS:g}},2444:e=>{"use strict";e.exports={}},8960:(e,t,n)=>{"use strict";var s=n(9261);e.exports=function(e){return s(e.length)}},5703:e=>{"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var s=+e;return(s>0?n:t)(s)}},5517:(e,t,n)=>{"use strict";var s=n(4809);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:s(e)}},1504:(e,t,n)=>{"use strict";var s,r=n(457),i=n(8253),o=n(8573),a=n(3006),c=n(4812),u=n(6327),l=n(5430),p="prototype",m="script",h=l("IE_PROTO"),d=function(){},g=function(e){return"<"+m+">"+e+"</"+m+">"},f=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){try{s=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;b="undefined"!=typeof document?document.domain&&s?f(s):(t=u("iframe"),n="java"+m+":",t.style.display="none",c.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(g("document.F=Object")),e.close(),e.F):f(s);for(var r=o.length;r--;)delete b[p][o[r]];return b()};a[h]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(d[p]=r(e),n=new d,d[p]=null,n[h]=e):n=b(),void 0===t?n:i.f(n,t)}},8253:(e,t,n)=>{"use strict";var s=n(1815),r=n(4210),i=n(4376),o=n(457),a=n(4312),c=n(4230);t.f=s&&!r?Object.defineProperties:function(e,t){o(e);for(var n,s=a(t),r=c(t),u=r.length,l=0;u>l;)i.f(e,n=r[l++],s[n]);return e}},4376:(e,t,n)=>{"use strict";var s=n(1815),r=n(4632),i=n(4210),o=n(457),a=n(9722),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,p="enumerable",m="configurable",h="writable";t.f=s?i?function(e,t,n){if(o(e),t=a(t),o(n),"function"==typeof e&&"prototype"===t&&"value"in n&&h in n&&!n[h]){var s=l(e,t);s&&s[h]&&(e[t]=n.value,n={configurable:m in n?n[m]:s[m],enumerable:p in n?n[p]:s[p],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(o(e),t=a(t),o(n),r)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new c("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},3335:(e,t,n)=>{"use strict";var s=n(1815),r=n(200),i=n(2886),o=n(7971),a=n(4312),c=n(9722),u=n(3941),l=n(4632),p=Object.getOwnPropertyDescriptor;t.f=s?p:function(e,t){if(e=a(e),t=c(t),l)try{return p(e,t)}catch(e){}if(u(e,t))return o(!r(i.f,e,t),e[t])}},4243:(e,t,n)=>{"use strict";var s=n(4062),r=n(8573).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return s(e,r)}},2306:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},9814:(e,t,n)=>{"use strict";var s=n(3941),r=n(8563),i=n(8389),o=n(5430),a=n(8536),c=o("IE_PROTO"),u=Object,l=u.prototype;e.exports=a?u.getPrototypeOf:function(e){var t=i(e);if(s(t,c))return t[c];var n=t.constructor;return r(n)&&t instanceof n?n.prototype:t instanceof u?l:null}},7367:(e,t,n)=>{"use strict";var s=n(8814);e.exports=s({}.isPrototypeOf)},4062:(e,t,n)=>{"use strict";var s=n(8814),r=n(3941),i=n(4312),o=n(3346).indexOf,a=n(3006),c=s([].push);e.exports=function(e,t){var n,s=i(e),u=0,l=[];for(n in s)!r(a,n)&&r(s,n)&&c(l,n);for(;t.length>u;)r(s,n=t[u++])&&(~o(l,n)||c(l,n));return l}},4230:(e,t,n)=>{"use strict";var s=n(4062),r=n(8573);e.exports=Object.keys||function(e){return s(e,r)}},2886:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,r=s&&!n.call({1:2},1);t.f=r?function(e){var t=s(this,e);return!!t&&t.enumerable}:n},8597:(e,t,n)=>{"use strict";var s=n(2799),r=n(457),i=n(692);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=s(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,s){return r(n),i(s),t?e(n,s):n.__proto__=s,n}}():void 0)},3024:(e,t,n)=>{"use strict";var s=n(6694),r=n(2327);e.exports=s?{}.toString:function(){return"[object "+r(this)+"]"}},2483:(e,t,n)=>{"use strict";var s=n(200),r=n(8563),i=n(8257),o=TypeError;e.exports=function(e,t){var n,a;if("string"===t&&r(n=e.toString)&&!i(a=s(n,e)))return a;if(r(n=e.valueOf)&&!i(a=s(n,e)))return a;if("string"!==t&&r(n=e.toString)&&!i(a=s(n,e)))return a;throw new o("Can't convert object to primitive value")}},5956:(e,t,n)=>{"use strict";var s=n(6589),r=n(8814),i=n(4243),o=n(2306),a=n(457),c=r([].concat);e.exports=s("Reflect","ownKeys")||function(e){var t=i.f(a(e)),n=o.f;return n?c(t,n(e)):t}},8422:e=>{"use strict";e.exports={}},3142:(e,t,n)=>{"use strict";var s=n(4376).f;e.exports=function(e,t,n){n in e||s(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},8280:(e,t,n)=>{"use strict";var s=n(5157),r=TypeError;e.exports=function(e){if(s(e))throw new r("Can't call method on "+e);return e}},9468:(e,t,n)=>{"use strict";var s=n(6694),r=n(4376).f,i=n(1370),o=n(3941),a=n(3024),c=n(379)("toStringTag");e.exports=function(e,t,n,u){if(e){var l=n?e:e.prototype;o(l,c)||r(l,c,{configurable:!0,value:t}),u&&!s&&i(l,"toString",a)}}},5430:(e,t,n)=>{"use strict";var s=n(3771),r=n(9216),i=s("keys");e.exports=function(e){return i[e]||(i[e]=r(e))}},6028:(e,t,n)=>{"use strict";var s=n(8426),r=n(8194),i="__core-js_shared__",o=s[i]||r(i,{});e.exports=o},3771:(e,t,n)=>{"use strict";var s=n(7736),r=n(6028);(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.33.3",mode:s?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.3/LICENSE",source:"https://github.com/zloirock/core-js"})},7415:(e,t,n)=>{"use strict";var s=n(8814),r=n(1061),i=n(4809),o=n(8280),a=s("".charAt),c=s("".charCodeAt),u=s("".slice),l=function(e){return function(t,n){var s,l,p=i(o(t)),m=r(n),h=p.length;return m<0||m>=h?e?"":void 0:(s=c(p,m))<55296||s>56319||m+1===h||(l=c(p,m+1))<56320||l>57343?e?a(p,m):s:e?u(p,m,m+2):l-56320+(s-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},3772:(e,t,n)=>{"use strict";var s=n(5057),r=n(2998),i=n(8426).String;e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&s&&s<41}))},1940:(e,t,n)=>{"use strict";var s=n(1061),r=Math.max,i=Math.min;e.exports=function(e,t){var n=s(e);return n<0?r(n+t,0):i(n,t)}},4312:(e,t,n)=>{"use strict";var s=n(6541),r=n(8280);e.exports=function(e){return s(r(e))}},1061:(e,t,n)=>{"use strict";var s=n(5703);e.exports=function(e){var t=+e;return t!=t||0===t?0:s(t)}},9261:(e,t,n)=>{"use strict";var s=n(1061),r=Math.min;e.exports=function(e){return e>0?r(s(e),9007199254740991):0}},8389:(e,t,n)=>{"use strict";var s=n(8280),r=Object;e.exports=function(e){return r(s(e))}},6561:(e,t,n)=>{"use strict";var s=n(200),r=n(8257),i=n(6753),o=n(2833),a=n(2483),c=n(379),u=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!r(e)||i(e))return e;var n,c=o(e,l);if(c){if(void 0===t&&(t="default"),n=s(c,e,t),!r(n)||i(n))return n;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},9722:(e,t,n)=>{"use strict";var s=n(6561),r=n(6753);e.exports=function(e){var t=s(e,"string");return r(t)?t:t+""}},6694:(e,t,n)=>{"use strict";var s={};s[n(379)("toStringTag")]="z",e.exports="[object z]"===String(s)},4809:(e,t,n)=>{"use strict";var s=n(2327),r=String;e.exports=function(e){if("Symbol"===s(e))throw new TypeError("Cannot convert a Symbol value to a string");return r(e)}},5787:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},9216:(e,t,n)=>{"use strict";var s=n(8814),r=0,i=Math.random(),o=s(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++r+i,36)}},9378:(e,t,n)=>{"use strict";var s=n(3772);e.exports=s&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},4210:(e,t,n)=>{"use strict";var s=n(1815),r=n(2998);e.exports=s&&r((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8268:(e,t,n)=>{"use strict";var s=n(8426),r=n(8563),i=s.WeakMap;e.exports=r(i)&&/native code/.test(String(i))},379:(e,t,n)=>{"use strict";var s=n(8426),r=n(3771),i=n(3941),o=n(9216),a=n(3772),c=n(9378),u=s.Symbol,l=r("wks"),p=c?u.for||u:u&&u.withoutSetter||o;e.exports=function(e){return i(l,e)||(l[e]=a&&i(u,e)?u[e]:p("Symbol."+e)),l[e]}},9791:(e,t,n)=>{"use strict";var s=n(6589),r=n(3941),i=n(1370),o=n(7367),a=n(8597),c=n(1318),u=n(3142),l=n(9330),p=n(5517),m=n(1609),h=n(4151),d=n(1815),g=n(7736);e.exports=function(e,t,n,f){var b="stackTraceLimit",y=f?2:1,_=e.split("."),v=_[_.length-1],S=s.apply(null,_);if(S){var E=S.prototype;if(!g&&r(E,"cause")&&delete E.cause,!n)return S;var w=s("Error"),j=t((function(e,t){var n=p(f?t:e,void 0),s=f?new S(e):new S;return void 0!==n&&i(s,"message",n),h(s,j,s.stack,2),this&&o(E,this)&&l(s,this,j),arguments.length>y&&m(s,arguments[y]),s}));if(j.prototype=E,"Error"!==v?a?a(j,w):c(j,w,{name:!0}):d&&b in S&&(u(j,S,b),u(j,S,"prepareStackTrace")),c(j,S),!g)try{E.name!==v&&i(E,"name",v),E.constructor=j}catch(e){}return j}}},1835:(e,t,n)=>{"use strict";var s=n(9011),r=n(6589),i=n(4877),o=n(2998),a=n(9791),c="AggregateError",u=r(c),l=!o((function(){return 1!==u([1]).errors[0]}))&&o((function(){return 7!==u([1],c,{cause:7}).cause}));s({global:!0,constructor:!0,arity:2,forced:l},{AggregateError:a(c,(function(e){return function(t,n){return i(e,this,arguments)}}),l,!0)})},1320:(e,t,n)=>{"use strict";var s=n(9011),r=n(7367),i=n(9814),o=n(8597),a=n(1318),c=n(1504),u=n(1370),l=n(7971),p=n(1609),m=n(4151),h=n(3490),d=n(5517),g=n(379)("toStringTag"),f=Error,b=[].push,y=function(e,t){var n,s=r(_,this);o?n=o(new f,s?i(this):_):(n=s?this:c(_),u(n,g,"Error")),void 0!==t&&u(n,"message",d(t)),m(n,y,n.stack,1),arguments.length>2&&p(n,arguments[2]);var a=[];return h(e,b,{that:a}),u(n,"errors",a),n};o?o(y,f):a(y,f,{name:!0});var _=y.prototype=c(f.prototype,{constructor:l(1,y),message:l(1,""),name:l(1,"AggregateError")});s({global:!0,constructor:!0,arity:2},{AggregateError:y})},733:(e,t,n)=>{"use strict";n(1320)},6449:(e,t,n)=>{"use strict";var s=n(4312),r=n(7171),i=n(2444),o=n(8551),a=n(4376).f,c=n(5994),u=n(9497),l=n(7736),p=n(1815),m="Array Iterator",h=o.set,d=o.getterFor(m);e.exports=c(Array,"Array",(function(e,t){h(this,{type:m,target:s(e),index:0,kind:t})}),(function(){var e=d(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=void 0,u(void 0,!0);switch(e.kind){case"keys":return u(n,!1);case"values":return u(t[n],!1)}return u([n,t[n]],!1)}),"values");var g=i.Arguments=i.Array;if(r("keys"),r("values"),r("entries"),!l&&p&&"values"!==g.name)try{a(g,"name",{value:"values"})}catch(e){}},2777:(e,t,n)=>{"use strict";var s=n(9011),r=n(8426),i=n(4877),o=n(9791),a="WebAssembly",c=r[a],u=7!==new Error("e",{cause:7}).cause,l=function(e,t){var n={};n[e]=o(e,t,u),s({global:!0,constructor:!0,arity:1,forced:u},n)},p=function(e,t){if(c&&c[e]){var n={};n[e]=o(a+"."+e,t,u),s({target:a,stat:!0,constructor:!0,arity:1,forced:u},n)}};l("Error",(function(e){return function(t){return i(e,this,arguments)}})),l("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),l("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),l("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),l("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),l("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),l("URIError",(function(e){return function(t){return i(e,this,arguments)}})),p("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),p("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),p("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},9383:(e,t,n)=>{"use strict";var s=n(7415).charAt,r=n(4809),i=n(8551),o=n(5994),a=n(9497),c="String Iterator",u=i.set,l=i.getterFor(c);o(String,"String",(function(e){u(this,{type:c,string:r(e),index:0})}),(function(){var e,t=l(this),n=t.string,r=t.index;return r>=n.length?a(void 0,!0):(e=s(n,r),t.index+=e.length,a(e,!1))}))},3584:(e,t,n)=>{"use strict";n(733)},6128:(e,t,n)=>{"use strict";n(6449);var s=n(8987),r=n(8426),i=n(2327),o=n(1370),a=n(2444),c=n(379)("toStringTag");for(var u in s){var l=r[u],p=l&&l.prototype;p&&i(p)!==c&&o(p,c,u),a[u]=a.Array}},7497:(e,t,n)=>{"use strict";n(3584);var s=n(3258);n(6128),e.exports=s}},t={};function n(s){var r=t[s];if(void 0!==r)return r.exports;var i=t[s]={id:s,loaded:!1,exports:{}};return e[s].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.d=(e,t)=>{for(var s in t)n.o(t,s)&&!n.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var s=t.getElementsByTagName("script");if(s.length)for(var r=s.length-1;r>-1&&!e;)e=s[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})();var s={};return(()=>{"use strict";n.r(s),n.d(s,{detect:()=>Gf,detectionRegExp:()=>Wf,mediaTypes:()=>Uf,namespace:()=>Hf,parse:()=>Kf});var e={};n.r(e),n.d(e,{hasElementSourceMap:()=>sn,includesClasses:()=>on,includesSymbols:()=>rn,isAnnotationElement:()=>Xt,isArrayElement:()=>Kt,isBooleanElement:()=>Wt,isCommentElement:()=>Yt,isElement:()=>Lt,isLinkElement:()=>Zt,isMemberElement:()=>Ht,isNullElement:()=>Ut,isNumberElement:()=>zt,isObjectElement:()=>Gt,isParseResultElement:()=>en,isPrimitiveElement:()=>nn,isRefElement:()=>Qt,isSourceMapElement:()=>tn,isStringElement:()=>Jt});var t={};n.r(t),n.d(t,{isJSONReferenceElement:()=>Ii,isJSONSchemaElement:()=>Ni,isLinkDescriptionElement:()=>Ri,isMediaElement:()=>Ti});var r={};n.r(r),n.d(r,{isJSONReferenceElement:()=>Ii,isJSONSchemaElement:()=>to,isLinkDescriptionElement:()=>no,isMediaElement:()=>Ti});var i={};n.r(i),n.d(i,{isJSONReferenceElement:()=>Ii,isJSONSchemaElement:()=>ec,isLinkDescriptionElement:()=>tc});var o={};function a(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function c(e){return function t(n){return 0===arguments.length||a(n)?t:e.apply(this,arguments)}}function u(e){return function t(n,s){switch(arguments.length){case 0:return t;case 1:return a(n)?t:c((function(t){return e(n,t)}));default:return a(n)&&a(s)?t:a(n)?c((function(t){return e(t,s)})):a(s)?c((function(t){return e(n,t)})):e(n,s)}}}function l(e){return function t(n,s,r){switch(arguments.length){case 0:return t;case 1:return a(n)?t:u((function(t,s){return e(n,t,s)}));case 2:return a(n)&&a(s)?t:a(n)?u((function(t,n){return e(t,s,n)})):a(s)?u((function(t,s){return e(n,t,s)})):c((function(t){return e(n,s,t)}));default:return a(n)&&a(s)&&a(r)?t:a(n)&&a(s)?u((function(t,n){return e(t,n,r)})):a(n)&&a(r)?u((function(t,n){return e(t,s,n)})):a(s)&&a(r)?u((function(t,s){return e(n,t,s)})):a(n)?c((function(t){return e(t,s,r)})):a(s)?c((function(t){return e(n,t,r)})):a(r)?c((function(t){return e(n,s,t)})):e(n,s,r)}}}n.r(o),n.d(o,{isAsyncApi2Element:()=>gc,isAsyncApiVersionElement:()=>fc,isBooleanJsonSchemaElement:()=>Ac,isChannelBindingsElement:()=>bc,isChannelItemElement:()=>yc,isChannelsElement:()=>_c,isComponentsElement:()=>vc,isContactElement:()=>Sc,isIdentifierElement:()=>Ec,isInfoElement:()=>wc,isLicenseElement:()=>jc,isOperationElement:()=>xc,isParameterElement:()=>Oc,isParametersElement:()=>Bc,isReferenceElement:()=>Pc,isSchemaElement:()=>$c,isSecurityRequirementElement:()=>Mc,isServerBindingsElement:()=>kc,isServerElement:()=>qc,isServerVariableElement:()=>Nc,isServersElement:()=>Cc});const p=u((function(e,t){return null==t||t!=t?e:t})),m=Number.isInteger||function(e){return e<<0===e};function h(e){return"[object String]"===Object.prototype.toString.call(e)}const d=u((function(e,t){var n=e<0?t.length+e:e;return h(t)?t.charAt(n):t[n]}));const g=u((function(e,t){if(null!=t)return m(e)?d(e,t):t[e]}));const f=l((function(e,t,n){return p(e,g(t,n))}));var b=u((function(e,t){for(var n={},s={},r=0,i=e.length;r<i;)s[e[r]]=1,r+=1;for(var o in t)s.hasOwnProperty(o)||(n[o]=t[o]);return n}));const y=b;function _(e,t,n){for(var s=0,r=n.length;s<r;)t=e(t,n[s]),s+=1;return t}const v=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};const S=c((function(e){return!!v(e)||!!e&&("object"==typeof e&&(!h(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var E="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function w(e,t,n){return function(s,r,i){if(S(i))return e(s,r,i);if(null==i)return r;if("function"==typeof i["fantasy-land/reduce"])return t(s,r,i,"fantasy-land/reduce");if(null!=i[E])return n(s,r,i[E]());if("function"==typeof i.next)return n(s,r,i);if("function"==typeof i.reduce)return t(s,r,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function j(e,t,n){for(var s=n.next();!s.done;)t=e(t,s.value),s=n.next();return t}function x(e,t,n,s){return n[s](e,t)}const O=w(_,x,j);function B(e,t,n){return function(){if(0===arguments.length)return n();var s=arguments[arguments.length-1];if(!v(s)){for(var r=0;r<e.length;){if("function"==typeof s[e[r]])return s[e[r]].apply(s,Array.prototype.slice.call(arguments,0,-1));r+=1}if(function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}(s))return t.apply(null,Array.prototype.slice.call(arguments,0,-1))(s)}return n.apply(this,arguments)}}function P(e,t){for(var n=0,s=t.length,r=Array(s);n<s;)r[n]=e(t[n]),n+=1;return r}const $=function(){return this.xf["@@transducer/init"]()},A=function(e){return this.xf["@@transducer/result"](e)};var M=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=$,e.prototype["@@transducer/result"]=A,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const q=function(e){return function(t){return new M(e,t)}};function k(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,s){return t.apply(this,arguments)};case 4:return function(e,n,s,r){return t.apply(this,arguments)};case 5:return function(e,n,s,r,i){return t.apply(this,arguments)};case 6:return function(e,n,s,r,i,o){return t.apply(this,arguments)};case 7:return function(e,n,s,r,i,o,a){return t.apply(this,arguments)};case 8:return function(e,n,s,r,i,o,a,c){return t.apply(this,arguments)};case 9:return function(e,n,s,r,i,o,a,c,u){return t.apply(this,arguments)};case 10:return function(e,n,s,r,i,o,a,c,u,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function C(e,t,n){return function(){for(var s=[],r=0,i=e,o=0,c=!1;o<t.length||r<arguments.length;){var u;o<t.length&&(!a(t[o])||r>=arguments.length)?u=t[o]:(u=arguments[r],r+=1),s[o]=u,a(u)?c=!0:i-=1,o+=1}return!c&&i<=0?n.apply(this,s):k(Math.max(0,i),C(e,s,n))}}const N=u((function(e,t){return 1===e?c(t):k(e,C(e,[],t))}));function I(e,t){return Object.prototype.hasOwnProperty.call(t,e)}var T=Object.prototype.toString;const R=function(){return"[object Arguments]"===T.call(arguments)?function(e){return"[object Arguments]"===T.call(e)}:function(e){return I("callee",e)}}();var F=!{toString:null}.propertyIsEnumerable("toString"),V=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],D=function(){return arguments.propertyIsEnumerable("length")}(),L=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1},J="function"!=typeof Object.keys||D?c((function(e){if(Object(e)!==e)return[];var t,n,s=[],r=D&&R(e);for(t in e)!I(t,e)||r&&"length"===t||(s[s.length]=t);if(F)for(n=V.length-1;n>=0;)I(t=V[n],e)&&!L(s,t)&&(s[s.length]=t),n-=1;return s})):c((function(e){return Object(e)!==e?[]:Object.keys(e)}));const z=J;const U=u(B(["fantasy-land/map","map"],q,(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return N(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return _((function(n,s){return n[s]=e(t[s]),n}),{},z(t));default:return P(e,t)}})));const W=u((function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(n){return e(n)(t(n))}:O((function(e,n){return function(e,t){var n;t=t||[];var s=(e=e||[]).length,r=t.length,i=[];for(n=0;n<s;)i[i.length]=e[n],n+=1;for(n=0;n<r;)i[i.length]=t[n],n+=1;return i}(e,U(n,t))}),[],e)}));const G=u((function(e,t){var n=N(e,t);return N(e,(function(){return _(W,U(n,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const K=c((function(e){return G(e.length,e)}));const H=K(c((function(e){return!e})));function Z(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function Q(e,t,n){for(var s=0,r=n.length;s<r;){if(e(t,n[s]))return!0;s+=1}return!1}const X="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};const Y=c((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function ee(e,t,n,s){var r=Z(e);function i(e,t){return te(e,t,n.slice(),s.slice())}return!Q((function(e,t){return!Q(i,t,e)}),Z(t),r)}function te(e,t,n,s){if(X(e,t))return!0;var r,i,o=Y(e);if(o!==Y(t))return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(o){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===(r=e.constructor,null==(i=String(r).match(/^function (\w*)/))?"":i[1]))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!X(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!X(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var a=n.length-1;a>=0;){if(n[a]===e)return s[a]===t;a-=1}switch(o){case"Map":return e.size===t.size&&ee(e.entries(),t.entries(),n.concat([e]),s.concat([t]));case"Set":return e.size===t.size&&ee(e.values(),t.values(),n.concat([e]),s.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var c=z(e);if(c.length!==z(t).length)return!1;var u=n.concat([e]),l=s.concat([t]);for(a=c.length-1;a>=0;){var p=c[a];if(!I(p,t)||!te(t[p],e[p],u,l))return!1;a-=1}return!0}const ne=u((function(e,t){return te(e,t,[],[])}));const se=c((function(e){return function(){return e}}));const re=se(void 0);const ie=ne(re());const oe=H(ie);var ae=n(7952);function ce(e,t){return function(){return t.call(this,e.apply(this,arguments))}}function ue(e,t,n){for(var s=0,r=n.length;s<r;){if((t=e["@@transducer/step"](t,n[s]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}s+=1}return e["@@transducer/result"](t)}const le=u((function(e,t){return k(e.length,(function(){return e.apply(t,arguments)}))}));function pe(e,t,n){for(var s=n.next();!s.done;){if((t=e["@@transducer/step"](t,s.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}s=n.next()}return e["@@transducer/result"](t)}function me(e,t,n,s){return e["@@transducer/result"](n[s](le(e["@@transducer/step"],e),t))}const he=w(ue,me,pe);var de=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();const ge=l((function(e,t,n){return he("function"==typeof e?new de(e):e,t,n)}));function fe(e,t){return function(){var n=arguments.length;if(0===n)return t();var s=arguments[n-1];return v(s)||"function"!=typeof s[e]?t.apply(this,arguments):s[e].apply(s,Array.prototype.slice.call(arguments,0,n-1))}}const be=l(fe("slice",(function(e,t,n){return Array.prototype.slice.call(n,e,t)})));const ye=c(fe("tail",be(1,1/0)));function _e(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return k(arguments[0].length,ge(ce,arguments[0],ye(arguments)))}var ve=function(e,t){switch(arguments.length){case 0:return ve;case 1:return function t(n){return 0===arguments.length?t:X(e,n)};default:return X(e,t)}};const Se=ve;function Ee(e,t){return function(e,t,n){var s,r;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(s=1/t;n<e.length;){if(0===(r=e[n])&&1/r===s)return n;n+=1}return-1}if(t!=t){for(;n<e.length;){if("number"==typeof(r=e[n])&&r!=r)return n;n+=1}return-1}return e.indexOf(t,n);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,n);case"object":if(null===t)return e.indexOf(t,n)}for(;n<e.length;){if(ne(e[n],t))return n;n+=1}return-1}(t,e,0)>=0}function we(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 je=function(e){return(e<10?"0":"")+e};const xe="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+je(e.getUTCMonth()+1)+"-"+je(e.getUTCDate())+"T"+je(e.getUTCHours())+":"+je(e.getUTCMinutes())+":"+je(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function Oe(e){return"[object Object]"===Object.prototype.toString.call(e)}var Be=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=$,e.prototype["@@transducer/result"]=A,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function Pe(e){return function(t){return new Be(e,t)}}const $e=u(B(["fantasy-land/filter","filter"],Pe,(function(e,t){return Oe(t)?_((function(n,s){return e(t[s])&&(n[s]=t[s]),n}),{},z(t)):function(e,t){for(var n=0,s=t.length,r=[];n<s;)e(t[n])&&(r[r.length]=t[n]),n+=1;return r}(e,t)})));const Ae=u((function(e,t){return $e((n=e,function(){return!n.apply(this,arguments)}),t);var n}));function Me(e,t){var n=function(n){var s=t.concat([e]);return Ee(n,s)?"<Circular>":Me(n,s)},s=function(e,t){return P((function(t){return we(t)+": "+n(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+P(n,e).join(", ")+"))";case"[object Array]":return"["+P(n,e).concat(s(e,Ae((function(e){return/^\d+$/.test(e)}),z(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+n(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?n(NaN):we(xe(e)))+")";case"[object Map]":return"new Map("+n(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+n(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+n(Array.from(e).sort())+")";case"[object String]":return"object"==typeof e?"new String("+n(e.valueOf())+")":we(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var r=e.toString();if("[object Object]"!==r)return r}return"{"+s(e,z(e)).join(", ")+"}"}}const qe=c((function(e){return Me(e,[])}));const ke=u((function(e,t){return e.map((function(e){for(var n,s=t,r=0;r<e.length;){if(null==s)return;n=e[r],s=m(n)?d(n,s):s[n],r+=1}return s}))}));const Ce=u((function(e,t){return ke([e],t)[0]}));const Ne=l((function(e,t,n){return e(Ce(t,n))}));function Ie(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const Te=u((function(e,t){return e&&t}));const Re=u((function(e,t){return Ie(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:K(Te)(e,t)}));const Fe=ne(null);const Ve=H(Fe);function De(e){return De="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},De(e)}const Le=function(e){return"object"===De(e)};const Je=N(1,Re(Ve,Le));const ze=u((function(e,t){if(e===t)return t;function n(e,t){if(e>t!=t>e)return t>e?t:e}var s=n(e,t);if(void 0!==s)return s;var r=n(typeof e,typeof t);if(void 0!==r)return r===typeof e?e:t;var i=qe(e),o=n(i,qe(t));return void 0!==o&&o===i?e:t}));const Ue=u((function(e,t){return U(g(e),t)}));const We=c((function(e){return N(ge(ze,0,Ue("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(e[t].apply(this,arguments))return!0;t+=1}return!1}))}));const Ge=N(1,_e(Y,Se("GeneratorFunction")));const Ke=N(1,_e(Y,Se("AsyncFunction")));const He=We([_e(Y,Se("Function")),Ge,Ke]);var Ze=_e(Y,Se("Object")),Qe=_e(qe,ne(qe(Object))),Xe=Ne(Re(He,Qe),["constructor"]);const Ye=N(1,(function(e){if(!Je(e)||!Ze(e))return!1;var t=Object.getPrototypeOf(e);return!!Fe(t)||Xe(t)}));class et extends ae.RP{constructor(e,t,n){super(e,t,n),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const tt=et;class nt extends ae.RP{constructor(e,t,n){super(e,t,n),this.element="comment"}}const st=nt;class rt extends ae.ON{constructor(e,t,n){super(e,t,n),this.element="parseResult"}get api(){return this.children.filter((e=>e.classes.contains("api"))).first}get results(){return this.children.filter((e=>e.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((e=>"annotation"===e.element))}get warnings(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("warning")))}get errors(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("error")))}get isEmpty(){return this.children.reject((e=>"annotation"===e.element)).isEmpty}replaceResult(e){const{result:t}=this;if(ie(t))return!1;const n=this.content.findIndex((e=>e===t));return-1!==n&&(this.content[n]=e,!0)}}const it=rt;class ot extends ae.ON{constructor(e,t,n){super(e,t,n),this.element="sourceMap"}get positionStart(){return this.children.filter((e=>e.classes.contains("position"))).get(0)}get positionEnd(){return this.children.filter((e=>e.classes.contains("position"))).get(1)}set position(e){if(void 0===e)return;const t=new ae.ON([e.start.row,e.start.column,e.start.char]),n=new ae.ON([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),n.classes.push("position"),this.push(t).push(n)}}const at=ot;class ct extends ae.lS{constructor(){super(),this.register("annotation",tt),this.register("comment",st),this.register("parseResult",it),this.register("sourceMap",at)}}const ut=new ct,lt=e=>{const t=new ct;return Ye(e)&&t.use(e),t},pt=ut;const mt=N(1,_e(Y,Se("String"))),ht=n.p+"23aac571c96605dc25219087ad291441.wasm",dt=globalThis.fetch;He(dt)&&(globalThis.fetch=(...e)=>mt(e[0])&&e[0].endsWith("tree-sitter.wasm")?dt.apply(globalThis,[ht,ye(e)]):dt.apply(globalThis,e));var gt=n(9794),ft=n(1427);const bt=class extends ft{constructor(e,t,n){if(super(e,t,n),this.name=this.constructor.name,"string"==typeof t&&(this.message=t),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack,null!=n&&"object"==typeof n&&Object.hasOwn(n,"cause")&&!("cause"in this)){const{cause:e}=n;this.cause=e,e instanceof Error&&"stack"in e&&(this.stack=`${this.stack}\nCAUSE: ${e.stack}`)}}};class yt extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(bt,e)}constructor(e,t){if(super(e,t),this.name=this.constructor.name,"string"==typeof e&&(this.message=e),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack,null!=t&&"object"==typeof t&&Object.hasOwn(t,"cause")&&!("cause"in this)){const{cause:e}=t;this.cause=e,e instanceof Error&&"stack"in e&&(this.stack=`${this.stack}\nCAUSE: ${e.stack}`)}}}const _t=yt,vt=n.p+"13ee407b2f9bd26c94370902ddeb5bcf.wasm";let St=null,Et=null;const wt=async e=>{if(null===St&&null===Et)Et=gt.init().then((()=>gt.Language.load(vt))).then((e=>{const t=new gt;return t.setLanguage(e),t})).finally((()=>{Et=null})),St=await Et;else if(null===St&&null!==Et)St=await Et;else if(null===St)throw new _t("Error while initializing web-tree-sitter and loading tree-sitter-json grammar.");return St.parse(e)};const jt=class extends _t{constructor(e,t){if(super(e,t),null!=t&&"object"==typeof t){const{cause:e,...n}=t;Object.assign(this,n)}}},xt=(e,t,n)=>{const s=e[t];if(null!=s){if(!n&&"function"==typeof s)return s;const e=n?s.leave:s.enter;if("function"==typeof e)return e}else{const s=n?e.leave:e.enter;if(null!=s){if("function"==typeof s)return s;const e=s[t];if("function"==typeof e)return e}}return null},Ot={},Bt=e=>null==e?void 0:e.type,Pt=e=>"string"==typeof Bt(e),$t=e=>Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)),At=(e,t,{keyMap:n=null,state:s={},breakSymbol:r=Ot,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=xt,nodeTypeGetter:c=Bt,nodePredicate:u=Pt,nodeCloneFn:l=$t,detectCycles:p=!0}={})=>{const m=n||{};let h,d,g=Array.isArray(e),f=[e],b=-1,y=[],_=e;const v=[],S=[];do{b+=1;const e=b===f.length;let n;const w=e&&0!==y.length;if(e){if(n=0===S.length?void 0:v.pop(),_=d,d=S.pop(),w)if(g){_=_.slice();let e=0;for(const[t,n]of y){const s=t-e;n===i?(_.splice(s,1),e+=1):_[s]=n}}else{_=l(_);for(const[e,t]of y)_[e]=t}b=h.index,f=h.keys,y=h.edits,g=h.inArray,h=h.prev}else if(d!==i&&void 0!==d){if(n=g?b:f[b],_=d[n],_===i||void 0===_)continue;v.push(n)}let j;if(!Array.isArray(_)){if(!u(_))throw new jt(`Invalid AST Node: ${String(_)}`,{node:_});if(p&&S.includes(_)){v.pop();continue}const i=a(t,c(_),e);if(i){for(const[e,n]of Object.entries(s))t[e]=n;j=i.call(t,_,n,d,v,S)}if(j===r)break;if(j===o){if(!e){v.pop();continue}}else if(void 0!==j&&(y.push([n,j]),!e)){if(!u(j)){v.pop();continue}_=j}}var E;if(void 0===j&&w&&y.push([n,_]),!e)h={inArray:g,index:b,keys:f,edits:y,prev:h},g=Array.isArray(_),f=g?_:null!==(E=m[c(_)])&&void 0!==E?E:[],b=-1,y=[],d!==i&&void 0!==d&&S.push(d),d=_}while(void 0!==h);return 0!==y.length?y[y.length-1][1]:e};function Mt(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}At[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:n=null,state:s={},breakSymbol:r=Ot,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=xt,nodeTypeGetter:c=Bt,nodePredicate:u=Pt,nodeCloneFn:l=$t,detectCycles:p=!0}={})=>{const m=n||{};let h,d,g=Array.isArray(e),f=[e],b=-1,y=[],_=e;const v=[],S=[];do{b+=1;const e=b===f.length;let n;const w=e&&0!==y.length;if(e){if(n=0===S.length?void 0:v.pop(),_=d,d=S.pop(),w)if(g){_=_.slice();let e=0;for(const[t,n]of y){const s=t-e;n===i?(_.splice(s,1),e+=1):_[s]=n}}else{_=l(_);for(const[e,t]of y)_[e]=t}b=h.index,f=h.keys,y=h.edits,g=h.inArray,h=h.prev}else if(d!==i&&void 0!==d){if(n=g?b:f[b],_=d[n],_===i||void 0===_)continue;v.push(n)}let j;if(!Array.isArray(_)){if(!u(_))throw new jt(`Invalid AST Node: ${String(_)}`,{node:_});if(p&&S.includes(_)){v.pop();continue}const i=a(t,c(_),e);if(i){for(const[e,n]of Object.entries(s))t[e]=n;j=await i.call(t,_,n,d,v,S)}if(j===r)break;if(j===o){if(!e){v.pop();continue}}else if(void 0!==j&&(y.push([n,j]),!e)){if(!u(j)){v.pop();continue}_=j}}var E;if(void 0===j&&w&&y.push([n,_]),!e)h={inArray:g,index:b,keys:f,edits:y,prev:h},g=Array.isArray(_),f=g?_:null!==(E=m[c(_)])&&void 0!==E?E:[],b=-1,y=[],d!==i&&void 0!==d&&S.push(d),d=_}while(void 0!==h);return 0!==y.length?y[y.length-1][1]:e};var qt=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=$,e.prototype["@@transducer/result"]=function(e){return this.all&&(e=this.xf["@@transducer/step"](e,!0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)||(this.all=!1,e=Mt(this.xf["@@transducer/step"](e,!1))),e},e}();function kt(e){return function(t){return new qt(e,t)}}const Ct=u(B(["all"],kt,(function(e,t){for(var n=0;n<t.length;){if(!e(t[n]))return!1;n+=1}return!0})));const Nt=c((function(e){return N(e.length,(function(t,n){var s=Array.prototype.slice.call(arguments,0);return s[0]=n,s[1]=t,e.apply(this,s)}))}))(u(Ee)),It=(e,t)=>"object"==typeof t&&null!==t&&e in t&&"function"==typeof t[e],Tt=e=>"object"==typeof e&&null!=e&&"_storedElement"in e&&"string"==typeof e._storedElement&&"_content"in e,Rt=(e,t)=>"object"==typeof t&&null!==t&&"primitive"in t&&("function"==typeof t.primitive&&t.primitive()===e),Ft=(e,t)=>"object"==typeof t&&null!==t&&"classes"in t&&(Array.isArray(t.classes)||t.classes instanceof ae.ON)&&t.classes.includes(e),Vt=(e,t)=>"object"==typeof t&&null!==t&&"element"in t&&t.element===e,Dt=e=>e({hasMethod:It,hasBasicElementProps:Tt,primitiveEq:Rt,isElementType:Vt,hasClass:Ft}),Lt=Dt((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof ae.W_||e(n)&&t(void 0,n))),Jt=Dt((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof ae.RP||e(n)&&t("string",n))),zt=Dt((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof ae.VL||e(n)&&t("number",n))),Ut=Dt((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof ae.zr||e(n)&&t("null",n))),Wt=Dt((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof ae.hh||e(n)&&t("boolean",n))),Gt=Dt((({hasBasicElementProps:e,primitiveEq:t,hasMethod:n})=>s=>s instanceof ae.Sb||e(s)&&t("object",s)&&n("keys",s)&&n("values",s)&&n("items",s))),Kt=Dt((({hasBasicElementProps:e,primitiveEq:t,hasMethod:n})=>s=>s instanceof ae.ON&&!(s instanceof ae.Sb)||e(s)&&t("array",s)&&n("push",s)&&n("unshift",s)&&n("map",s)&&n("reduce",s))),Ht=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof ae.c6||e(s)&&t("member",s)&&n(void 0,s))),Zt=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof ae.EA||e(s)&&t("link",s)&&n(void 0,s))),Qt=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof ae.tK||e(s)&&t("ref",s)&&n(void 0,s))),Xt=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof tt||e(s)&&t("annotation",s)&&n("array",s))),Yt=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof st||e(s)&&t("comment",s)&&n("string",s))),en=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof it||e(s)&&t("parseResult",s)&&n("array",s))),tn=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof at||e(s)&&t("sourceMap",s)&&n("array",s))),nn=e=>Vt("object",e)||Vt("array",e)||Vt("boolean",e)||Vt("number",e)||Vt("string",e)||Vt("null",e)||Vt("member",e),sn=e=>tn(e.meta.get("sourceMap")),rn=(e,t)=>{if(0===e.length)return!0;const n=t.attributes.get("symbols");return!!Kt(n)&&Ct(Nt(n.toValue()),e)},on=(e,t)=>0===e.length||Ct(Nt(t.classes.toValue()),e);const an=class extends jt{constructor(e,t){super(e,t),void 0!==t&&(this.value=t.value)}};const cn=class extends an{};const un=class extends an{},ln=(e,t={})=>{const{visited:n=new WeakMap}=t,s={...t,visited:n};if(n.has(e))return n.get(e);if(e instanceof ae.KeyValuePair){const{key:t,value:r}=e,i=Lt(t)?ln(t,s):t,o=Lt(r)?ln(r,s):r,a=new ae.KeyValuePair(i,o);return n.set(e,a),a}if(e instanceof ae.rm){const t=e=>ln(e,s),r=[...e].map(t),i=new ae.rm(r);return n.set(e,i),i}if(e instanceof ae.O4){const t=e=>ln(e,s),r=[...e].map(t),i=new ae.O4(r);return n.set(e,i),i}if(Lt(e)){const t=hn(e);if(n.set(e,t),e.content)if(Lt(e.content))t.content=ln(e.content,s);else if(e.content instanceof ae.KeyValuePair)t.content=ln(e.content,s);else if(Array.isArray(e.content)){const n=e=>ln(e,s);t.content=e.content.map(n)}else t.content=e.content;else t.content=e.content;return t}throw new cn("Value provided to cloneDeep function couldn't be cloned",{value:e})};ln.safe=e=>{try{return ln(e)}catch{return e}};const pn=e=>{const{key:t,value:n}=e;return new ae.KeyValuePair(t,n)},mn=e=>{const t=new e.constructor;if(t.element=e.element,e.meta.length>0&&(t._meta=ln(e.meta)),e.attributes.length>0&&(t._attributes=ln(e.attributes)),Lt(e.content)){const n=e.content;t.content=mn(n)}else Array.isArray(e.content)?t.content=[...e.content]:e.content instanceof ae.KeyValuePair?t.content=pn(e.content):t.content=e.content;return t},hn=e=>{if(e instanceof ae.KeyValuePair)return pn(e);if(e instanceof ae.rm)return(e=>{const t=[...e];return new ae.rm(t)})(e);if(e instanceof ae.O4)return(e=>{const t=[...e];return new ae.O4(t)})(e);if(Lt(e))return mn(e);throw new un("Value provided to cloneShallow function couldn't be cloned",{value:e})};hn.safe=e=>{try{return hn(e)}catch{return e}};const dn=e=>Gt(e)?"ObjectElement":Kt(e)?"ArrayElement":Ht(e)?"MemberElement":Jt(e)?"StringElement":Wt(e)?"BooleanElement":zt(e)?"NumberElement":Ut(e)?"NullElement":Zt(e)?"LinkElement":Qt(e)?"RefElement":void 0,gn=e=>Lt(e)?hn(e):$t(e),fn=_e(dn,mt),bn={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]};const yn=(e,t,{keyMap:n=bn,...s}={})=>At(e,t,{keyMap:n,nodeTypeGetter:dn,nodePredicate:fn,nodeCloneFn:gn,...s});yn[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:n=bn,...s}={})=>At[Symbol.for("nodejs.util.promisify.custom")](e,t,{keyMap:n,nodeTypeGetter:dn,nodePredicate:fn,nodeCloneFn:gn,...s});const _n=l((function(e,t,n){var s,r={};for(s in n=n||{},t=t||{})I(s,t)&&(r[s]=I(s,n)?e(s,t[s],n[s]):t[s]);for(s in n)I(s,n)&&!I(s,r)&&(r[s]=n[s]);return r}));const vn=l((function e(t,n,s){return _n((function(n,s,r){return Oe(s)&&Oe(r)?e(t,s,r):t(n,s,r)}),n,s)}));const Sn=u((function(e,t){return vn((function(e,t,n){return n}),e,t)}));const En=be(0,-1);const wn=u((function(e,t){return e.apply(this,t)}));const jn=H(He);var xn=c((function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():v(e)?[]:h(e)?"":Oe(e)?{}:R(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 On=xn;const Bn=c((function(e){return null!=e&&ne(e,On(e))}));const Pn=N(1,He(Array.isArray)?Array.isArray:_e(Y,Se("Array")));const $n=Re(Pn,Bn);const An=N(3,(function(e,t,n){var s=Ce(e,n),r=Ce(En(e),n);if(!jn(s)&&!$n(e)){var i=le(s,r);return wn(i,t)}})),Mn=()=>({predicates:{...e},namespace:pt}),qn={toolboxCreator:Mn,visitorOptions:{nodeTypeGetter:dn,exposeEdits:!0}},kn=(e,t,n={})=>{if(0===t.length)return e;const s=Sn(qn,n),{toolboxCreator:r,visitorOptions:i}=s,o=r(),a=t.map((e=>e(o))),c=((e,{visitFnGetter:t=xt,nodeTypeGetter:n=Bt,breakSymbol:s=Ot,deleteNodeSymbol:r=null,skipVisitingNodeSymbol:i=!1,exposeEdits:o=!1}={})=>{const a=Symbol("skip"),c=new Array(e.length).fill(a);return{enter(u,...l){let p=u,m=!1;for(let h=0;h<e.length;h+=1)if(c[h]===a){const a=t(e[h],n(p),!1);if("function"==typeof a){const t=a.call(e[h],p,...l);if(t===i)c[h]=u;else if(t===s)c[h]=s;else{if(t===r)return t;if(void 0!==t){if(!o)return t;p=t,m=!0}}}}return m?p:void 0},leave(r,...o){for(let u=0;u<e.length;u+=1)if(c[u]===a){const a=t(e[u],n(r),!0);if("function"==typeof a){const t=a.call(e[u],r,...o);if(t===s)c[u]=s;else if(void 0!==t&&t!==i)return t}}else c[u]===r&&(c[u]=a)}}})(a.map(f({},"visitor")),{...i});a.forEach(An(["pre"],[]));const u=yn(e,c,i);return a.forEach(An(["post"],[])),u},Cn=(e,{Type:t,plugins:n=[]})=>{const s=new t(e);return kn(s,n,{toolboxCreator:Mn,visitorOptions:{nodeTypeGetter:dn}})},Nn=e=>(t,n={})=>Cn(t,{...n,Type:e});ae.Sb.refract=Nn(ae.Sb),ae.ON.refract=Nn(ae.ON),ae.RP.refract=Nn(ae.RP),ae.hh.refract=Nn(ae.hh),ae.zr.refract=Nn(ae.zr),ae.VL.refract=Nn(ae.VL),ae.EA.refract=Nn(ae.EA),ae.tK.refract=Nn(ae.tK),tt.refract=Nn(tt),st.refract=Nn(st),it.refract=Nn(it),at.refract=Nn(at);const In=class{hasError=!1;children=[];constructor(e){this.type=e.nodeType,this.startPosition=e.startPosition,this.endPosition=e.endPosition,this.startIndex=e.startIndex,this.endIndex=e.endIndex,this.text=e.nodeText,this.isNamed=e.nodeIsNamed,this.isMissing=e.nodeIsMissing}get keyNode(){if("pair"===this.type)return this.children.find((e=>"key"===e.fieldName))}get valueNode(){if("pair"===this.type)return this.children.find((e=>"value"===e.fieldName))}setFieldName(e){return"function"==typeof e.currentFieldName?this.fieldName=e.currentFieldName():this.fieldName=e.currentFieldName,this}setHasError(e){return"function"==typeof e.currentNode?this.hasError=e.currentNode().hasError():this.hasError=e.currentNode.hasError(),this}pushChildren(...e){this.children.push(...e)}};class Tn{static toPosition(e){const t=new ae.ON([e.startPosition.row,e.startPosition.column,e.startIndex]),n=new ae.ON([e.endPosition.row,e.endPosition.column,e.endIndex]);return t.classes.push("position"),n.classes.push("position"),[t,n]}sourceMap=!1;ParseResultElement={leave:e=>{const t=e.findElements(nn);if(t.length>0){t[0].classes.push("result")}this.annotations.forEach((t=>{e.push(t)})),this.annotations=[]}};constructor(){this.annotations=[]}enter(e){if(e instanceof In&&!e.isNamed&&e.isMissing){const t=e.type||e.text,n=new tt(`(Missing ${t})`);n.classes.push("warning"),this.maybeAddSourceMap(e,n),this.annotations.push(n)}return null}document(e){const t=new it;return t._content=e.children,this.maybeAddSourceMap(e,t),t}object(e){const t=new ae.Sb;return t._content=e.children,this.maybeAddSourceMap(e,t),t}array(e){const t=new ae.ON;return t._content=e.children,this.maybeAddSourceMap(e,t),t}pair(e){const t=new ae.c6;return t.content.key=e.keyNode,t.content.value=e.valueNode,this.maybeAddSourceMap(e,t),e.children.length>3&&e.children.filter((e=>"ERROR"===e.type)).forEach((t=>{this.ERROR(t,e,[],[e])})),t}string(e){const t=new ae.RP(JSON.parse(e.text));return this.maybeAddSourceMap(e,t),t}number(e){const t=new ae.VL(Number(e.text));return this.maybeAddSourceMap(e,t),t}null(e){const t=new ae.zr;return this.maybeAddSourceMap(e,t),t}true(e){const t=new ae.hh(!0);return this.maybeAddSourceMap(e,t),t}false(e){const t=new ae.hh(!1);return this.maybeAddSourceMap(e,t),t}ERROR(e,t,n,s){const r=!e.hasError,i=e.text,o=new tt(r?`(Unexpected ${i})`:`(Error ${i})`);if(o.classes.push("error"),this.maybeAddSourceMap(e,o),0===s.length){const e=new it;return e.push(o),e}return this.annotations.push(o),null}maybeAddSourceMap(e,t){if(!this.sourceMap)return;const n=new at,s=Tn.toPosition(e);if(null!==s){const[e,t]=s;n.push(e),n.push(t)}n.astNode=e,t.meta.set("sourceMap",n)}}const Rn=Tn;class Fn{constructor(e){this.cursor=e}document(){return new In(this.cursor)}object(){return new In(this.cursor).setFieldName(this.cursor)}array(){return new In(this.cursor).setFieldName(this.cursor)}pair(){return new In(this.cursor)}string(){return new In(this.cursor).setFieldName(this.cursor)}number(){return new In(this.cursor).setFieldName(this.cursor)}null(){return new In(this.cursor).setFieldName(this.cursor)}true(){return new In(this.cursor).setFieldName(this.cursor)}false(){return new In(this.cursor).setFieldName(this.cursor)}ERROR(){return new In(this.cursor).setHasError(this.cursor)}*[Symbol.iterator](){let e;if(e=this.cursor.nodeType in this?this[this.cursor.nodeType]():new In(this.cursor),this.cursor.gotoFirstChild()){const[t]=new Fn(this.cursor);for(e.pushChildren(t);this.cursor.gotoNextSibling();){const t=new Fn(this.cursor);e.pushChildren(...t)}this.cursor.gotoParent()}yield e}}const Vn=Fn,Dn={document:["children"],object:["children"],array:["children"],string:["children"],property:["children"],key:["children"],error:["children"],...bn},Ln=e=>en(e)?"ParseResultElement":Lt(e)?dn(e):Bt(e),Jn=e=>Lt(e)||Pt(e),zn=(e,{sourceMap:t=!1}={})=>{const n=new Rn,s=e.walk(),r=new Vn(s),[i]=Array.from(r);return At(i,n,{keyMap:Dn,nodeTypeGetter:Ln,nodePredicate:Jn,state:{sourceMap:t}})};class Un{static type="point";type=Un.type;constructor({row:e,column:t,char:n}){this.row=e,this.column=t,this.char=n}}class Wn{static type="position";type=Wn.type;constructor({start:e,end:t}){this.start=e,this.end=t}}const Gn=Wn;const Kn=d(0);const Hn=class{static type="node";type="node";constructor({children:e=[],position:t,isMissing:n=!1}={}){this.type=this.constructor.type,this.isMissing=n,this.children=e,this.position=t}clone(){const e=Object.create(Object.getPrototypeOf(this));return Object.getOwnPropertyNames(this).forEach((t=>{const n=Object.getOwnPropertyDescriptor(this,t);Object.defineProperty(e,t,n)})),e}};const Zn=class extends Hn{};const Qn=class extends Zn{static type="document";get child(){return Kn(this.children)}};const Xn=class extends Hn{static type="parseResult";get rootNode(){return Kn(this.children)}};const Yn=class extends Hn{static type="literal";constructor({value:e,...t}={}){super({...t}),this.value=e}},es=(e,t)=>null!=t&&"object"==typeof t&&"type"in t&&t.type===e,ts=e=>es("string",e),ns=e=>es("false",e),ss=e=>es("true",e),rs=e=>es("null",e),is=e=>es("number",e),os=e=>es("array",e),as=e=>es("object",e),cs=e=>es("property",e),us=e=>es("key",e);const ls=class extends Zn{static type="object";get properties(){return this.children.filter(cs)}};const ps=class extends Zn{static type="string";get value(){if(1===this.children.length){return this.children[0].value}return this.children.filter((e=>(e=>es("stringContent",e))(e)||(e=>es("escapeSequence",e))(e))).reduce(((e,t)=>e+t.value),"")}};const ms=class extends ps{static type="key"};const hs=class extends Zn{static type="property";get key(){return this.children.find(us)}get value(){return this.children.find((e=>ns(e)||ss(e)||rs(e)||is(e)||ts(e)||os(e)||as(e)))}};const ds=class extends Zn{static type="array";get items(){return this.children.filter((e=>ns(e)||ss(e)||rs(e)||is(e)||ts(e)||os(e)||as))}};const gs=class extends Zn{static type="value";constructor({value:e,...t}){super({...t}),this.value=e}};const fs=class extends gs{static type="stringContent"};const bs=class extends gs{static type="number"};const ys=class extends gs{static type="null"};const _s=class extends gs{static type="true"};const vs=class extends gs{static type="false"};const Ss=class extends Hn{static type="error";constructor({value:e,isUnexpected:t=!1,...n}={}){super({...n}),this.value=e,this.isUnexpected=t}},Es={document:["children"],object:["children"],array:["children"],string:["children"],property:["children"],key:["children"],error:["children"]};class ws{static toPosition(e){const t=new Un({row:e.startPosition.row,column:e.startPosition.column,char:e.startIndex}),n=new Un({row:e.endPosition.row,column:e.endPosition.column,char:e.endIndex});return new Gn({start:t,end:n})}document={enter:e=>{const t=ws.toPosition(e);return new Qn({children:e.children,position:t,isMissing:e.isMissing})},leave:e=>new Xn({children:[e]})};enter(e){if(e instanceof In&&!e.isNamed){const t=ws.toPosition(e),n=e.type||e.text,{isMissing:s}=e;return new Yn({value:n,position:t,isMissing:s})}}object(e){const t=ws.toPosition(e);return new ls({children:e.children,position:t,isMissing:e.isMissing})}pair(e){const t=ws.toPosition(e),n=e.children.slice(1),{keyNode:s}=e,r=new ms({children:(null==s?void 0:s.children)||[],position:null!=s?ws.toPosition(s):void 0,isMissing:null!=s&&s.isMissing});return new hs({children:[r,...n],position:t,isMissing:e.isMissing})}array(e){const t=ws.toPosition(e);return new ds({children:e.children,position:t,isMissing:e.isMissing})}string(e){const t=ws.toPosition(e),n=new fs({value:JSON.parse(e.text)});return new ps({children:[n],position:t,isMissing:e.isMissing})}number(e){const t=ws.toPosition(e),n=e.text;return new bs({value:n,position:t,isMissing:e.isMissing})}null(e){const t=ws.toPosition(e),n=e.text;return new ys({value:n,position:t,isMissing:e.isMissing})}true(e){const t=ws.toPosition(e),n=e.text;return new _s({value:n,position:t,isMissing:e.isMissing})}false(e){const t=ws.toPosition(e),n=e.text;return new vs({value:n,position:t,isMissing:e.isMissing})}ERROR(e,t,n,s){const r=ws.toPosition(e),i=new Ss({children:e.children,position:r,isUnexpected:!e.hasError,isMissing:e.isMissing,value:e.text});return 0===s.length?new Xn({children:[i]}):i}}const js=ws,xs={[Xn.type]:["children"],[Qn.type]:["children"],[ls.type]:["children"],[hs.type]:["children"],[ds.type]:["children"],[Ss.type]:["children"],...bn},Os=e=>en(e)?"ParseResultElement":Lt(e)?dn(e):Bt(e),Bs=e=>Lt(e)||Pt(e);const Ps=class{sourceMap=!1;ParseResultElement={leave:e=>{const t=e.findElements(nn);if(t.length>0){t[0].classes.push("result")}this.annotations.forEach((t=>{e.push(t)})),this.annotations=[]}};constructor(){this.annotations=[]}document(e){const t=new it;return t._content=e.children,t}object(e){const t=new ae.Sb;return t._content=e.children,this.maybeAddSourceMap(e,t),t}property(e){const t=new ae.c6;return t.content.key=e.key,t.content.value=e.value,this.maybeAddSourceMap(e,t),e.children.length>3&&e.children.filter((e=>"error"===e.type)).forEach((t=>{this.error(t,e,[],[e])})),t}key(e){const t=new ae.RP(e.value);return this.maybeAddSourceMap(e,t),t}array(e){const t=new ae.ON;return t._content=e.children,this.maybeAddSourceMap(e,t),t}string(e){const t=new ae.RP(e.value);return this.maybeAddSourceMap(e,t),t}number(e){const t=new ae.VL(Number(e.value));return this.maybeAddSourceMap(e,t),t}null(e){const t=new ae.zr;return this.maybeAddSourceMap(e,t),t}true(e){const t=new ae.hh(!0);return this.maybeAddSourceMap(e,t),t}false(e){const t=new ae.hh(!1);return this.maybeAddSourceMap(e,t),t}literal(e){if(e.isMissing){const t=`(Missing ${e.value})`,n=new tt(t);n.classes.push("warning"),this.maybeAddSourceMap(e,n),this.annotations.push(n)}return null}error(e,t,n,s){const r=e.isUnexpected?`(Unexpected ${e.value})`:`(Error ${e.value})`,i=new tt(r);if(i.classes.push("error"),this.maybeAddSourceMap(e,i),0===s.length){const e=new it;return e.push(i),e}return this.annotations.push(i),null}maybeAddSourceMap(e,t){if(!this.sourceMap)return;const n=new at;n.position=e.position,n.astNode=e,t.meta.set("sourceMap",n)}},$s=(e,{sourceMap:t=!1}={})=>{const n=e.walk(),s=new Vn(n),[r]=Array.from(s),i=new js,o=new Ps,a=At(r,i,{keyMap:Es,state:{sourceMap:t}});return At(a.rootNode,o,{keyMap:xs,nodeTypeGetter:Os,nodePredicate:Bs,state:{sourceMap:t}})},As=(lt(),/(?<true>^\s*true\s*$)|(?<false>^\s*false\s*$)|(?<null>^\s*null\s*$)|(?<number>^\s*\d+\s*$)|(?<object>^\s*{\s*)|(?<array>^\s*\[\s*)|(?<string>^\s*"(((?=\\)\\(["\\/bfnrt]|u[0-9a-fA-F]{4}))|[^"\\\x00-\x1F\x7F])*"\s*$)/);const Ms=u((function(e,t){return _((function(n,s){return n[s]=e(t[s],s,t),n}),{},z(t))}));const qs=c((function(e){return null==e}));const ks=u((function(e,t){if(0===e.length||qs(t))return!1;for(var n=t,s=0;s<e.length;){if(qs(n)||!I(e[s],n))return!1;n=n[e[s]],s+=1}return!0}));var Cs=u((function(e,t){return ks([e],t)}));const Ns=Cs;const Is=l((function(e,t,n){return e(g(t,n))}));const Ts=c((function(e){return N(e.length,e)}));const Rs=u((function(e,t){return N(e+1,(function(){var n=arguments[e];if(null!=n&&Ie(n[t]))return n[t].apply(n,Array.prototype.slice.call(arguments,0,e));throw new TypeError(qe(n)+' does not have a method named "'+t+'"')}))}));const Fs=Rs(1,"split");var Vs=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=$,e.prototype["@@transducer/result"]=A,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 Ds(e){return function(t){return new Vs(e,t)}}const Ls=u(B(["dropWhile"],Ds,(function(e,t){for(var n=0,s=t.length;n<s&&e(t[n]);)n+=1;return be(n,1/0,t)})));const Js=Rs(1,"join");const zs=Ts((function(e,t){return _e(Fs(""),Ls(Nt(e)),Js(""))(t)})),Us=(e,t)=>{const n=p(e,t);return Ms((e=>{if(Ye(e)&&Ns("$ref",e)&&Is(mt,"$ref",e)){const t=Ce(["$ref"],e),s=zs("#/",t);return Ce(s.split("/"),n)}return Ye(e)?Us(e,n):e}),e)};var Ws=l((function e(t,n,s){if(0===t.length)return n;var r=t[0];if(t.length>1){var i=!qs(s)&&I(r,s)&&"object"==typeof s[r]?s[r]:m(t[1])?[]:{};n=e(Array.prototype.slice.call(t,1),n,i)}return function(e,t,n){if(m(e)&&v(n)){var s=[].concat(n);return s[e]=t,s}var r={};for(var i in n)r[i]=n[i];return r[e]=t,r}(r,n,s)}));const Gs=Ws;const Ks=l((function(e,t,n){var s=Array.prototype.slice.call(n,0);return s.splice(e,t),s}));var Hs=l((function(e,t,n){return Gs([e],t,n)}));const Zs=Hs;var Qs=u((function e(t,n){if(null==n)return n;switch(t.length){case 0:return n;case 1:return function(e,t){if(null==t)return t;if(m(e)&&v(t))return Ks(e,1,t);var n={};for(var s in t)n[s]=t[s];return delete n[e],n}(t[0],n);default:var s=t[0],r=Array.prototype.slice.call(t,1);return null==n[s]?function(e,t){if(m(e)&&v(t))return[].concat(t);var n={};for(var s in t)n[s]=t[s];return n}(s,n):Zs(s,e(r,n[s]),n)}}));const Xs=Qs;var Ys=n(6591);const er=Ys({props:{element:null},methods:{copyMetaAndAttributes(e,t){sn(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),tr=Ys(er,{methods:{enter(e){return this.element=ln(e),Ot}}});const nr=se(re());const sr=function(){return!0},rr=e=>"string"==typeof(null==e?void 0:e.type)?e.type:dn(e),ir={EphemeralObject:["content"],EphemeralArray:["content"],...bn},or=(e,t,{keyMap:n=ir,...s}={})=>yn(e,t,{keyMap:n,nodeTypeGetter:rr,nodePredicate:sr,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...s});or[Symbol.for("nodejs.util.promisify.custom")]=async(e,{keyMap:t=ir,...n}={})=>yn[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,nodeTypeGetter:rr,nodePredicate:sr,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});const ar=class{type="EphemeralArray";content=[];reference=void 0;constructor(e){this.content=e,this.reference=[]}toReference(){return this.reference}toArray(){return this.reference.push(...this.content),this.reference}};const cr=class{type="EphemeralObject";content=[];reference=void 0;constructor(e){this.content=e,this.reference={}}toReference(){return this.reference}toObject(){return Object.assign(this.reference,Object.fromEntries(this.content))}};class ur{ObjectElement={enter:e=>{if(this.references.has(e))return this.references.get(e).toReference();const t=new cr(e.content);return this.references.set(e,t),t}};EphemeralObject={leave:e=>e.toObject()};MemberElement={enter:e=>[e.key,e.value]};ArrayElement={enter:e=>{if(this.references.has(e))return this.references.get(e).toReference();const t=new ar(e.content);return this.references.set(e,t),t}};EphemeralArray={leave:e=>e.toArray()};references=new WeakMap;BooleanElement(e){return e.toValue()}NumberElement(e){return e.toValue()}StringElement(e){return e.toValue()}NullElement(){return null}}const lr=e=>Lt(e)?Jt(e)||zt(e)||Wt(e)||Ut(e)?e.toValue():or(e,new ur):e;const pr=u((function(e,t){for(var n={},s=0;s<e.length;)e[s]in t&&(n[e[s]]=t[e[s]]),s+=1;return n})),mr=e=>{if(Lt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},hr={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...bn},dr=Ys(er,{props:{specObj:null,passingOptionsNames:["specObj"]},init({specObj:e=this.specObj}){this.specObj=e},methods:{retrievePassingOptions(){return pr(this.passingOptionsNames,this)},retrieveFixedFields(e){const t=Ce(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]},retrieveVisitor(e){return Ne(He,["visitors",...e],this.specObj)?Ce(["visitors",...e],this.specObj):Ce(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const n=this.retrievePassingOptions();return this.retrieveVisitor(e)({...n,...t})},toRefractedElement(e,t,n={}){const s=this.retrieveVisitorInstance(e,n),r=Object.getPrototypeOf(s);return ie(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===r?ln(t):(yn(t,s,{keyMap:hr,nodeTypeGetter:mr,...n}),s.element)}}}),gr=Ys(dr,{props:{specPath:nr,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){const t=this.specPath(e),n=this.retrieveFixedFields(t);return e.forEach(((e,s,r)=>{if(Jt(s)&&n.includes(lr(s))&&!this.ignoredFields.includes(lr(s))){const n=this.toRefractedElement([...t,"fixedFields",lr(s)],e),i=new ae.c6(ln(s),n);this.copyMetaAndAttributes(r,i),i.classes.push("fixed-field"),this.element.content.push(i)}else this.ignoredFields.includes(lr(s))||this.element.content.push(ln(r))})),this.copyMetaAndAttributes(e,this.element),Ot}}});class fr extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="JSONSchemaDraft4"}get idProp(){return this.get("id")}set idProp(e){this.set("id",e)}get $schema(){return this.get("$schema")}set $schema(e){this.set("$schema",e)}get multipleOf(){return this.get("multipleOf")}set multipleOf(e){this.set("multipleOf",e)}get maximum(){return this.get("maximum")}set maximum(e){this.set("maximum",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get minimum(){return this.get("minimum")}set minimum(e){this.set("minimum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get maxLength(){return this.get("maxLength")}set maxLength(e){this.set("maxLength",e)}get minLength(){return this.get("minLength")}set minLength(e){this.set("minLength",e)}get pattern(){return this.get("pattern")}set pattern(e){this.set("pattern",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get maxItems(){return this.get("maxItems")}set maxItems(e){this.set("maxItems",e)}get minItems(){return this.get("minItems")}set minItems(e){this.set("minItems",e)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(e){this.set("uniqueItems",e)}get maxProperties(){return this.get("maxProperties")}set maxProperties(e){this.set("maxProperties",e)}get minProperties(){return this.get("minProperties")}set minProperties(e){this.set("minProperties",e)}get required(){return this.get("required")}set required(e){this.set("required",e)}get properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get dependencies(){return this.get("dependencies")}set dependencies(e){this.set("dependencies",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get allOf(){return this.get("allOf")}set allOf(e){this.set("allOf",e)}get anyOf(){return this.get("anyOf")}set anyOf(e){this.set("anyOf",e)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){return this.get("definitions")}set definitions(e){this.set("definitions",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get format(){return this.get("format")}set format(e){this.set("format",e)}get base(){return this.get("base")}set base(e){this.set("base",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get media(){return this.get("media")}set media(e){this.set("media",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}}const br=fr,yr=Ys(gr,tr,{props:{specPath:se(["document","objects","JSONSchema"])},init(){this.element=new br}}),_r=tr,vr=tr,Sr=tr,Er=tr,wr=tr,jr=tr,xr=tr,Or=tr,Br=tr,Pr=tr,$r=Ys({props:{parent:null},init({parent:e=this.parent}){this.parent=e,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),Ar=e=>Gt(e)&&e.hasKey("$ref"),Mr=Ys(dr,$r,tr,{methods:{ObjectElement(e){const t=Ar(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),Ot},ArrayElement(e){return this.element=new ae.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=Ar(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),qr=tr,kr=tr,Cr=tr,Nr=tr,Ir=tr,Tr=Ys(tr,{methods:{ArrayElement(e){return this.element=ln(e),this.element.classes.push("json-schema-required"),Ot}}});const Rr=c((function(e){return N(ge(ze,0,Ue("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0}))}));const Fr=u((function(e,t){return e||t}));const Vr=H(N(1,Re(Ve,u((function(e,t){return Ie(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:K(Fr)(e,t)}))(Le,He))));const Dr=H(Bn);const Lr=Rr([mt,Vr,Dr]);const Jr=function(){return!1},zr=Ys(dr,{props:{fieldPatternPredicate:Jr,specPath:nr,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){return e.forEach(((e,t,n)=>{if(!this.ignoredFields.includes(lr(t))&&this.fieldPatternPredicate(lr(t))){const s=this.specPath(e),r=this.toRefractedElement(s,e),i=new ae.c6(ln(t),r);this.copyMetaAndAttributes(n,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(lr(t))||this.element.content.push(ln(n))})),this.copyMetaAndAttributes(e,this.element),Ot}}}),Ur=Ys(zr,{props:{fieldPatternPredicate:Lr}}),Wr=Ys(Ur,$r,tr,{props:{specPath:e=>Ar(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new ae.Sb,this.element.classes.push("json-schema-properties")}}),Gr=Ys(Ur,$r,tr,{props:{specPath:e=>Ar(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new ae.Sb,this.element.classes.push("json-schema-patternProperties")}}),Kr=Ys(Ur,$r,tr,{props:{specPath:e=>Ar(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new ae.Sb,this.element.classes.push("json-schema-dependencies")}}),Hr=Ys(tr,{methods:{ArrayElement(e){return this.element=ln(e),this.element.classes.push("json-schema-enum"),Ot}}}),Zr=Ys(tr,{methods:{StringElement(e){return this.element=ln(e),this.element.classes.push("json-schema-type"),Ot},ArrayElement(e){return this.element=ln(e),this.element.classes.push("json-schema-type"),Ot}}}),Qr=Ys(dr,$r,tr,{init(){this.element=new ae.ON,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Ar(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),Xr=Ys(dr,$r,tr,{init(){this.element=new ae.ON,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Ar(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),Yr=Ys(dr,$r,tr,{init(){this.element=new ae.ON,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Ar(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),ei=Ys(Ur,$r,tr,{props:{specPath:e=>Ar(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new ae.Sb,this.element.classes.push("json-schema-definitions")}}),ti=tr,ni=tr,si=tr,ri=tr,ii=tr,oi=Ys(dr,$r,tr,{init(){this.element=new ae.ON,this.element.classes.push("json-schema-links")},methods:{ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","LinkDescription"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),ai=tr;class ci extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const ui=ci,li=Ys(gr,tr,{props:{specPath:se(["document","objects","JSONReference"])},init(){this.element=new ui},methods:{ObjectElement(e){const t=gr.compose.methods.ObjectElement.call(this,e);return Jt(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),pi=Ys(tr,{methods:{StringElement(e){return this.element=ln(e),this.element.classes.push("reference-value"),Ot}}});const mi=l((function(e,t,n){return N(Math.max(e.length,t.length,n.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)}))}));const hi=c((function(e){return function(t,n){return e(t,n)?-1:e(n,t)?1:0}}));var di=u((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const gi=di;const fi=c(Mt);const bi=H(qs);const yi=Re(Pn,Dr);function _i(e){return function(e){if(Array.isArray(e))return vi(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return vi(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return vi(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function vi(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,s=new Array(t);n<t;n++)s[n]=e[n];return s}var Si=_e(gi(hi((function(e,t){return e.length>t.length}))),Kn,g("length")),Ei=Ts((function(e,t,n){var s=n.apply(void 0,_i(e));return bi(s)?fi(s):t}));const wi=mi(yi,(function(e){var t=Si(e);return N(t,(function(){for(var t=arguments.length,n=new Array(t),s=0;s<t;s++)n[s]=arguments[s];return ge(Ei(n),void 0,e)}))}),re),ji=Ys(dr,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>mi(e,se(t),re))),n=wi(t)(e);return this.element=this.toRefractedElement(n,e),Ot}}}),xi=Ys(ji,{props:{alternator:[{predicate:Ar,specPath:["document","objects","JSONReference"]},{predicate:sr,specPath:["document","objects","JSONSchema"]}]}});class Oi extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="media"}get binaryEncoding(){return this.get("binaryEncoding")}set binaryEncoding(e){this.set("binaryEncoding",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}}const Bi=Oi,Pi=Ys(gr,tr,{props:{specPath:se(["document","objects","Media"])},init(){this.element=new Bi}}),$i=tr,Ai=tr;class Mi extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="linkDescription"}get href(){return this.get("href")}set href(e){this.set("href",e)}get rel(){return this.get("rel")}set rel(e){this.set("rel",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){return this.get("mediaType")}set mediaType(e){this.set("mediaType",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get encType(){return this.get("encType")}set encType(e){this.set("encType",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}}const qi=Mi,ki={visitors:{value:tr,JSONSchemaOrJSONReferenceVisitor:xi,document:{objects:{JSONSchema:{$visitor:yr,fixedFields:{id:_r,$schema:vr,multipleOf:Sr,maximum:Er,exclusiveMaximum:wr,minimum:jr,exclusiveMinimum:xr,maxLength:Or,minLength:Br,pattern:Pr,additionalItems:xi,items:Mr,maxItems:qr,minItems:kr,uniqueItems:Cr,maxProperties:Nr,minProperties:Ir,required:Tr,properties:Wr,additionalProperties:xi,patternProperties:Gr,dependencies:Kr,enum:Hr,type:Zr,allOf:Qr,anyOf:Xr,oneOf:Yr,not:xi,definitions:ei,title:ti,description:ni,default:si,format:ri,base:ii,links:oi,media:{$ref:"#/visitors/document/objects/Media"},readOnly:ai}},JSONReference:{$visitor:li,fixedFields:{$ref:pi}},Media:{$visitor:Pi,fixedFields:{binaryEncoding:$i,type:Ai}},LinkDescription:{$visitor:Ys(gr,tr,{props:{specPath:se(["document","objects","LinkDescription"])},init(){this.element=new qi}}),fixedFields:{href:tr,rel:tr,title:tr,targetSchema:xi,mediaType:tr,method:tr,encType:tr,schema:xi}}}}}};const Ci=class extends _t{},Ni=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof br||e(s)&&t("JSONSchemaDraft4",s)&&n("object",s))),Ii=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof ui||e(s)&&t("JSONReference",s)&&n("object",s))),Ti=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Bi||e(s)&&t("media",s)&&n("object",s))),Ri=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof qi||e(s)&&t("linkDescription",s)&&n("object",s))),Fi={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",br),t.register("jSONReference",ui),t.register("media",Bi),t.register("linkDescription",qi),t}},Vi=()=>{const e=lt(Fi);return{predicates:{...t,isStringElement:Jt},namespace:e}},Di=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:s=ki}={})=>{const r=(0,ae.Qc)(e),i=Us(s),o=An(t,[],i);return yn(r,o,{state:{specObj:i}}),kn(o.element,n,{toolboxCreator:Vi,visitorOptions:{keyMap:hr,nodeTypeGetter:mr}})},Li=e=>(t,n={})=>Di(t,{specPath:e,...n});br.refract=Li(["visitors","document","objects","JSONSchema","$visitor"]),ui.refract=Li(["visitors","document","objects","JSONReference","$visitor"]),Bi.refract=Li(["visitors","document","objects","Media","$visitor"]),qi.refract=Li(["visitors","document","objects","LinkDescription","$visitor"]);const Ji=class extends br{constructor(e,t,n){super(e,t,n),this.element="JSONSchemaDraft6"}get idProp(){throw new Ci("id keyword from Core vocabulary has been renamed to $id.")}set idProp(e){throw new Ci("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 containsProp(){return this.get("contains")}set containsProp(e){this.set("contains",e)}get items(){return this.get("items")}set items(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)}},zi=Ys(gr,tr,{props:{specPath:se(["document","objects","JSONSchema"])},methods:{ObjectElement(e){return this.element=new Ji,gr.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=ln(e),this.element.classes.push("boolean-json-schema"),Ot}}}),Ui=tr,Wi=Ys(dr,$r,tr,{methods:{ObjectElement(e){const t=Ar(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),Ot},ArrayElement(e){return this.element=new ae.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=Ar(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),Ot},BooleanElement(e){return this.element=this.toRefractedElement(["document","objects","JSONSchema"],e),Ot}}}),Gi=tr,Ki=Ys(tr,{methods:{ArrayElement(e){return this.element=ln(e),this.element.classes.push("json-schema-examples"),Ot}}});const Hi=class extends qi{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 Ci("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}set schema(e){throw new Ci("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 Ci("method keyword from Hyper-Schema vocabulary has been removed.")}set method(e){throw new Ci("method keyword from Hyper-Schema vocabulary has been removed.")}get encType(){throw new Ci("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}set encType(e){throw new Ci("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}get submissionEncType(){return this.get("submissionEncType")}set submissionEncType(e){this.set("submissionEncType",e)}},Zi=Ys(gr,tr,{props:{specPath:se(["document","objects","LinkDescription"])},init(){this.element=new Hi}}),Qi=tr,Xi=_e(Gs(["visitors","document","objects","JSONSchema","$visitor"],zi),Xs(["visitors","document","objects","JSONSchema","fixedFields","id"]),Gs(["visitors","document","objects","JSONSchema","fixedFields","$id"],Ui),Gs(["visitors","document","objects","JSONSchema","fixedFields","contains"],ki.visitors.JSONSchemaOrJSONReferenceVisitor),Gs(["visitors","document","objects","JSONSchema","fixedFields","items"],Wi),Gs(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],ki.visitors.JSONSchemaOrJSONReferenceVisitor),Gs(["visitors","document","objects","JSONSchema","fixedFields","const"],Gi),Gs(["visitors","document","objects","JSONSchema","fixedFields","examples"],Ki),Gs(["visitors","document","objects","LinkDescription","$visitor"],Zi),Gs(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],ki.visitors.JSONSchemaOrJSONReferenceVisitor),Xs(["visitors","document","objects","LinkDescription","fixedFields","schema"]),Gs(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],ki.visitors.JSONSchemaOrJSONReferenceVisitor),Xs(["visitors","document","objects","LinkDescription","fixedFields","method"]),Xs(["visitors","document","objects","LinkDescription","fixedFields","encType"]),Gs(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"],Qi))(ki),Yi=e=>{if(Lt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},eo={JSONSchemaDraft6Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...bn},to=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ji||e(s)&&t("JSONSchemaDraft6",s)&&n("object",s))),no=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Hi||e(s)&&t("linkDescription",s)&&n("object",s))),so={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft6",Ji),t.register("jSONReference",ui),t.register("media",Bi),t.register("linkDescription",Hi),t}},ro=()=>{const e=lt(so);return{predicates:{...r,isStringElement:Jt},namespace:e}},io=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:s=Xi}={})=>{const r=(0,ae.Qc)(e),i=Us(s),o=An(t,[],i);return yn(r,o,{state:{specObj:i}}),kn(o.element,n,{toolboxCreator:ro,visitorOptions:{keyMap:eo,nodeTypeGetter:Yi}})},oo=e=>(t,n={})=>io(t,{specPath:e,...n});Ji.refract=oo(["visitors","document","objects","JSONSchema","$visitor"]),Hi.refract=oo(["visitors","document","objects","LinkDescription","$visitor"]);const ao=class extends Ji{constructor(e,t,n){super(e,t,n),this.element="JSONSchemaDraft7"}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",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 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 Ci('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}set media(e){throw new Ci('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)}},co=Ys(gr,tr,{props:{specPath:se(["document","objects","JSONSchema"])},methods:{ObjectElement(e){return this.element=new ao,gr.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=ln(e),this.element.classes.push("boolean-json-schema"),Ot}}}),uo=tr,lo=tr,po=tr,mo=tr;const ho=class extends Hi{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 mediaType(){throw new Ci("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}set mediaType(e){throw new Ci("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 submissionEncType(){throw new Ci("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}set submissionEncType(e){throw new Ci("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}get submissionMediaType(){return this.get("submissionMediaType")}set submissionMediaType(e){this.set("submissionMediaType",e)}},go=Ys(gr,tr,{props:{specPath:se(["document","objects","LinkDescription"])},init(){this.element=new ho}}),fo=tr,bo=tr,yo=tr,_o=tr,vo=tr,So=tr,Eo=tr,wo=_e(Gs(["visitors","document","objects","JSONSchema","$visitor"],co),Gs(["visitors","document","objects","JSONSchema","fixedFields","$comment"],uo),Gs(["visitors","document","objects","JSONSchema","fixedFields","if"],Xi.visitors.JSONSchemaOrJSONReferenceVisitor),Gs(["visitors","document","objects","JSONSchema","fixedFields","then"],Xi.visitors.JSONSchemaOrJSONReferenceVisitor),Gs(["visitors","document","objects","JSONSchema","fixedFields","else"],Xi.visitors.JSONSchemaOrJSONReferenceVisitor),Xs(["visitors","document","objects","JSONSchema","fixedFields","media"]),Gs(["visitors","document","objects","JSONSchema","fixedFields","contentEncoding"],lo),Gs(["visitors","document","objects","JSONSchema","fixedFields","contentMediaType"],po),Gs(["visitors","document","objects","JSONSchema","fixedFields","writeOnly"],mo),Gs(["visitors","document","objects","LinkDescription","$visitor"],go),Gs(["visitors","document","objects","LinkDescription","fixedFields","anchor"],fo),Gs(["visitors","document","objects","LinkDescription","fixedFields","anchorPointer"],bo),Xs(["visitors","document","objects","LinkDescription","fixedFields","mediaType"]),Gs(["visitors","document","objects","LinkDescription","fixedFields","targetMediaType"],yo),Gs(["visitors","document","objects","LinkDescription","fixedFields","targetHints"],_o),Gs(["visitors","document","objects","LinkDescription","fixedFields","description"],vo),Gs(["visitors","document","objects","LinkDescription","fixedFields","$comment"],So),Xs(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"]),Gs(["visitors","document","objects","LinkDescription","fixedFields","submissionMediaType"],Eo))(Xi),jo=Ys({props:{element:null},methods:{copyMetaAndAttributes(e,t){sn(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),xo=Ys(jo,{methods:{enter(e){return this.element=ln(e),Ot}}}),Oo=e=>{if(Lt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Bo={AsyncApi2Element:["content"],AsyncApiVersionElement:[],ChannelBindingsElement:["content"],ChannelItemElement:["content"],ChannelsElement:["content"],ComponentsElement:["content"],ContactElement:["content"],CorrelationIDElement:["content"],DefaultContentType:[],ExternalDocumentationElement:["content"],InfoElement:["content"],LicenseElement:["content"],MessageElement:["content"],MessageBindingsElement:["content"],MessageTraitElement:["content"],OAuthFlowElement:["content"],OAuthFlowsElement:["content"],OperationElement:["content"],OperationBindingsElement:["content"],OperationTraitElement:["content"],ParameterElement:["content"],ParametersElement:["content"],ReferenceElement:["content"],SchemaElement:["content"],SecurityRequirementElement:["content"],SecuritySchemeElement:["content"],ServerElement:["content"],ServerBindingsElement:["content"],ServersElement:["content"],ServerVariableElement:["content"],TagElement:["content"],TagsElement:["content"],AmqpChannelBindingElement:["content"],AmqpMessageBindingElement:["content"],AmqpOperationBindingElement:["content"],AmqpServerBindingElement:["content"],Amqp1ChannelBindingElement:["content"],Amqp1MessageBindingElement:["content"],Amqp1OperationBindingElement:["content"],Amqp1ServerBindingElement:["content"],AnypointmqChannelBindingElement:["content"],AnypointmqMessageBindingElement:["content"],AnypointmqOperationBindingElement:["content"],AnypointmqServerBindingElement:["content"],GooglepubsubChannelBindingElement:["content"],GooglepubsubMessageBindingElement:["content"],GooglepubsubOperationBindingElement:["content"],GooglepubsubServerBindingElement:["content"],HttpChannelBindingElement:["content"],HttpMessageBindingElement:["content"],HttpOperationBindingElement:["content"],HttpServerBindingElement:["content"],IbmmqChannelBindingElement:["content"],IbmmqMessageBindingElement:["content"],IbmmqChannelOperationElement:["content"],IbmmqServerBindingElement:["content"],JmsChannelBindingElement:["content"],JmsMessageBindingElement:["content"],JmsOperationBindingElement:["content"],JmsServerBindingElement:["content"],KafkaChannelBindingElement:["content"],KafkaMessageBindingElement:["content"],KafkaOperationBindingElement:["content"],KafkaServerBindingElement:["content"],MercureChannelBindingElement:["content"],MercureMessageBindingElement:["content"],MercureOperationBindingElement:["content"],MercureServerBindingElement:["content"],MqttChannelBindingElement:["content"],MqttMessageBindingElement:["content"],MqttOperationBindingElement:["content"],MqttServerBindingElement:["content"],Mqtt5ChannelBindingElement:["content"],Mqtt5MessageBindingElement:["content"],Mqtt5OperationBindingElement:["content"],Mqtt5ServerBindingElement:["content"],NatsChannelBindingElement:["content"],NatsMessageBindingElement:["content"],NatsOperationBindingElement:["content"],NatsServerBindingElement:["content"],PulsarChannelBindingElement:["content"],PulsarMessageBindingElement:["content"],PulsarOperationBindingElement:["content"],PulsarServerBindingElement:["content"],RedisChannelBindingElement:["content"],RedisMessageBindingElement:["content"],RedisOperationBindingElement:["content"],RedisServerBindingElement:["content"],SnsChannelBindingElement:["content"],SnsMessageBindingElement:["content"],SnsOperationBindingElement:["content"],SnsServerBindingElement:["content"],SolaceChannelBindingElement:["content"],SolaceMessageBindingElement:["content"],SolaceOperationBindingElement:["content"],SolaceServerBindingElement:["content"],SqsChannelBindingElement:["content"],SqsMessageBindingElement:["content"],SqsOperationBindingElement:["content"],SqsServerBindingElement:["content"],StompChannelBindingElement:["content"],StompMessageBindingElement:["content"],StompOperationBindingElement:["content"],StompServerBindingElement:["content"],WebSocketChannelBindingElement:["content"],WebSocketMessageBindingElement:["content"],WebSocketOperationBindingElement:["content"],WebSocketServerBindingElement:["content"],...bn},Po=Ys(jo,{props:{specObj:null,passingOptionsNames:["specObj"]},init({specObj:e=this.specObj}){this.specObj=e},methods:{retrievePassingOptions(){return pr(this.passingOptionsNames,this)},retrieveFixedFields(e){const t=Ce(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]},retrieveVisitor(e){return Ne(He,["visitors",...e],this.specObj)?Ce(["visitors",...e],this.specObj):Ce(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const n=this.retrievePassingOptions();return this.retrieveVisitor(e)({...n,...t})},toRefractedElement(e,t,n={}){const s=this.retrieveVisitorInstance(e,n),r=Object.getPrototypeOf(s);return ie(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===r?ln(t):(yn(t,s,{keyMap:Bo,...n,nodeTypeGetter:Oo}),s.element)}}}),$o=Ys(Po,{methods:{MemberElement(e){return this.element=ln(e),this.element.classes.push("specification-extension"),Ot}}});var Ao=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=$,e.prototype["@@transducer/result"]=A,e.prototype["@@transducer/step"]=function(e,t){this.i+=1;var n=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?Mt(n):n},e}();function Mo(e){return function(t){return new Ao(e,t)}}const qo=u(B(["take"],Mo,(function(e,t){return be(0,e<0?1/0:e,t)})));const ko=u((function(e,t){return ne(qo(e.length,t),e)})),Co=e=>Gt(e)&&e.hasKey("$ref"),No=e=>Gt(e),Io=e=>Jt(e.key)&&ko("x-",lr(e.key)),To=Ys(Po,{props:{specPath:nr,ignoredFields:[],canSupportSpecificationExtensions:!0,specificationExtensionPredicate:Io},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields,canSupportSpecificationExtensions:n=this.canSupportSpecificationExtensions,specificationExtensionPredicate:s=this.specificationExtensionPredicate}={}){this.specPath=e,this.ignoredFields=t,this.canSupportSpecificationExtensions=n,this.specificationExtensionPredicate=s},methods:{ObjectElement(e){const t=this.specPath(e),n=this.retrieveFixedFields(t);return e.forEach(((e,s,r)=>{if(Jt(s)&&n.includes(lr(s))&&!this.ignoredFields.includes(lr(s))){const n=this.toRefractedElement([...t,"fixedFields",lr(s)],e),i=new ae.c6(ln(s),n);i.classes.push("fixed-field"),this.copyMetaAndAttributes(r,i),this.element.content.push(i)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(r)){const e=this.toRefractedElement(["document","extension"],r);this.element.content.push(e)}else this.ignoredFields.includes(lr(s))||this.element.content.push(ln(r))})),this.copyMetaAndAttributes(e,this.element),Ot}}});class Ro extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="asyncApi2",this.classes.push("api")}get asyncapi(){return this.get("asyncapi")}set asyncapi(e){this.set("asyncapi",e)}get idProp(){return this.get("id")}set idProp(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 Fo=Ro,Vo=Ys(To,xo,{props:{specPath:se(["document","objects","AsyncApi"]),canSupportSpecificationExtensions:!0},init(){this.element=new Fo}});class Do extends ae.RP{constructor(e,t,n){super(e,t,n),this.element="asyncApiVersion",this.classes.push("spec-version"),this.classes.push("version")}}const Lo=Do,Jo=Ys(Po,xo,{methods:{StringElement(e){const t=new Lo(lr(e));return this.copyMetaAndAttributes(e,t),this.element=t,Ot}}});class zo extends ae.RP{constructor(e,t,n){super(e,t,n),this.element="identifier"}}const Uo=zo,Wo=Ys(Po,xo,{methods:{StringElement(e){const t=new Uo(lr(e));return this.copyMetaAndAttributes(e,t),this.element=t,Ot}}});class Go extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="info",this.classes.push("info")}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get termsOfService(){return this.get("termsOfService")}set termsOfService(e){this.set("termsOfService",e)}get 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 Ko=Go,Ho=Ys(To,xo,{props:{specPath:se(["document","objects","Info"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ko}}),Zo=xo,Qo=xo,Xo=xo,Yo=Ys(xo,{methods:{StringElement(e){return this.element=new ae.RP(lr(e)),this.copyMetaAndAttributes(e,this.element),this.element.classes.push("api-version"),this.element.classes.push("version"),Ot}}});class ea extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="contact"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}get email(){return this.get("email")}set email(e){this.set("email",e)}}const ta=ea,na=Ys(To,xo,{props:{specPath:se(["document","objects","Contact"]),canSupportSpecificationExtensions:!0},init(){this.element=new ta}}),sa=xo,ra=xo,ia=xo;class oa extends ae.Sb{constructor(e,t,n){super(e,t,n),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 aa=oa,ca=Ys(To,xo,{props:{specPath:se(["document","objects","CorrelationID"]),canSupportSpecificationExtensions:!0},init(){this.element=new aa}}),ua=xo,la=xo;class pa extends ae.RP{constructor(e,t,n){super(e,t,n),this.element="defaultContentType"}}const ma=pa,ha=Ys(Po,xo,{methods:{StringElement(e){const t=new ma(lr(e));return this.copyMetaAndAttributes(e,t),this.element=t,Ot}}});class da extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="license"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}}const ga=da,fa=Ys(To,xo,{props:{specPath:se(["document","objects","License"]),canSupportSpecificationExtensions:!0},init(){this.element=new ga}}),ba=xo,ya=xo;class _a extends ae.Sb{constructor(e,t,n){super(e,t,n),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 va=_a,Sa=Ys(To,xo,{props:{specPath:se(["document","objects","OAuthFlows"]),canSupportSpecificationExtensions:!0},init(){this.element=new va}});class Ea extends ae.Sb{constructor(e,t,n){super(e,t,n),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 wa=Ea,ja=Ys(To,xo,{props:{specPath:se(["document","objects","OAuthFlow"]),canSupportSpecificationExtensions:!0},init(){this.element=new wa}}),xa=xo,Oa=xo,Ba=xo;class Pa extends ae.Sb{static primaryClass="oauth-flow-scopes";constructor(e,t,n){super(e,t,n),this.classes.push(Pa.primaryClass)}}const $a=Pa,Aa=Ys(Po,{props:{fieldPatternPredicate:Jr,specPath:nr,ignoredFields:[],canSupportSpecificationExtensions:!1,specificationExtensionPredicate:Io},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields,canSupportSpecificationExtensions:n=this.canSupportSpecificationExtensions,specificationExtensionPredicate:s=this.specificationExtensionPredicate}={}){this.specPath=e,this.ignoredFields=t,this.canSupportSpecificationExtensions=n,this.specificationExtensionPredicate=s},methods:{ObjectElement(e){return e.forEach(((e,t,n)=>{if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(n)){const e=this.toRefractedElement(["document","extension"],n);this.element.content.push(e)}else if(!this.ignoredFields.includes(lr(t))&&this.fieldPatternPredicate(lr(t))){const s=this.specPath(e),r=this.toRefractedElement(s,e),i=new ae.c6(ln(t),r);this.copyMetaAndAttributes(n,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(lr(t))||this.element.content.push(ln(n))})),this.copyMetaAndAttributes(e,this.element),Ot}}}),Ma=Ys(Aa,{props:{fieldPatternPredicate:Lr}}),qa=Ys(Ma,xo,{props:{specPath:se(["value"])},init(){this.element=new $a}});const ka=u((function(e,t){if(n=e,"[object RegExp]"!==Object.prototype.toString.call(n))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+qe(e));var n;return function(e){return new RegExp(e.source,e.flags?e.flags:(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":"")+(e.dotAll?"s":""))}(e).test(t)}));class Ca extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="servers"}}const Na=Ca;class Ia extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Ta=Ia;class Ra extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Fa=Ra;class Va extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="channels"}}const Da=Va;class La extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Ja=La;class za extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Ua=za;class Wa extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Ga=Wa;class Ka extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="parameters"}}const Ha=Ka;class Za extends ae.Sb{constructor(e,t,n){super(e,t,n),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")}}const Qa=Za,Xa=e=>{if(Lt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Ya={JSONSchemaDraft7Element:["content"],JSONReferenceElement:["content"],LinkDescriptionElement:["content"],...bn},ec=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof ao||e(s)&&t("JSONSchemaDraft7",s)&&n("object",s))),tc=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof ho||e(s)&&t("linkDescription",s)&&n("object",s))),nc={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft7",ao),t.register("jSONReference",ui),t.register("linkDescription",ho),t}},sc=()=>{const e=lt(nc);return{predicates:{...i,isStringElement:Jt},namespace:e}},rc=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:s=wo}={})=>{const r=(0,ae.Qc)(e),i=Us(s),o=An(t,[],i);return yn(r,o,{state:{specObj:i}}),kn(o.element,n,{toolboxCreator:sc,visitorOptions:{keyMap:Ya,nodeTypeGetter:Xa}})},ic=e=>(t,n={})=>rc(t,{specPath:e,...n});ao.refract=ic(["visitors","document","objects","JSONSchema","$visitor"]),ho.refract=ic(["visitors","document","objects","LinkDescription","$visitor"]);const oc=class extends ao{constructor(e,t,n){super(e,t,n),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 items(){return this.get("items")}set items(e){this.set("items",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get containsProp(){return this.get("contains")}set containsProp(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")}};class ac extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="securityRequirement"}}const cc=ac;class uc extends ae.Sb{constructor(e,t,n){super(e,t,n),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 lc=uc;class pc extends ae.Sb{constructor(e,t,n){super(e,t,n),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 mc=pc;class hc extends ae.Sb{constructor(e,t,n){super(e,t,n),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 dc=hc,gc=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n,hasClass:s})=>r=>r instanceof Fo||e(r)&&t("asyncApi2",r)&&n("object",r)&&s("api",r))),fc=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Lo||e(s)&&t("asyncApiVersion",s)&&n("string",s))),bc=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ta||e(s)&&t("channelBindings",s)&&n("object",s))),yc=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Fa||e(s)&&t("channelItem",s)&&n("object",s))),_c=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Da||e(s)&&t("channels",s)&&n("object",s))),vc=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ja||e(s)&&t("components",s)&&n("object",s))),Sc=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof ta||e(s)&&t("contact",s)&&n("object",s))),Ec=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Uo||e(s)&&t("identifier",s)&&n("string",s))),wc=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ko||e(s)&&t("info",s)&&n("object",s))),jc=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof ga||e(s)&&t("license",s)&&n("object",s))),xc=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ua||e(s)&&t("operation",s)&&n("object",s))),Oc=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ga||e(s)&&t("parameter",s)&&n("object",s))),Bc=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Ha||e(s)&&t("parameters",s)&&n("object",s))),Pc=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Qa||e(s)&&t("reference",s)&&n("object",s))),$c=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof oc||e(s)&&t("schema",s)&&n("object",s))),Ac=e=>Wt(e)&&e.classes.includes("boolean-json-schema"),Mc=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof cc||e(s)&&t("securityRequirement",s)&&n("object",s))),qc=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof lc||e(s)&&t("server",s)&&n("object",s))),kc=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof mc||e(s)&&t("serverBindings",s)&&n("object",s))),Cc=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof Na||e(s)&&t("servers",s)&&n("object",s))),Nc=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>s=>s instanceof dc||e(s)&&t("serverVariable",s)&&n("object",s))),Ic=Ys(Aa,xo,{props:{fieldPatternPredicate:ka(/^[A-Za-z0-9_-]+$/),specPath:e=>Co(e)?["document","objects","Reference"]:["document","objects","Server"],canSupportSpecificationExtensions:!1},init(){this.element=new Na,this.element.classes.push("servers")},methods:{ObjectElement(e){const t=Aa.compose.methods.ObjectElement.call(this,e);return this.element.filter(Pc).forEach((e=>{e.setMetaProperty("referenced-element","server")})),t}}}),Tc=Ys(To,xo,{props:{specPath:se(["document","objects","Server"]),canSupportSpecificationExtensions:!0},init(){this.element=new lc}}),Rc=Ys(xo,{methods:{StringElement(e){return this.element=ln(e),this.element.classes.push("server-url"),Ot}}}),Fc=xo,Vc=xo,Dc=xo,Lc=Ys(Po,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>mi(e,se(t),re))),n=wi(t)(e);return this.element=this.toRefractedElement(n,e),Ot}}}),Jc=Ys(Lc,xo,{props:{alternator:[{predicate:Co,specPath:["document","objects","Reference"]},{predicate:sr,specPath:["document","objects","ServerBindings"]}]},methods:{ObjectElement(e){const t=Lc.compose.methods.enter.call(this,e);return Pc(this.element)&&this.element.setMetaProperty("referenced-element","serverBindings"),t}}});class zc extends ae.Sb{static primaryClass="server-variables";constructor(e,t,n){super(e,t,n),this.classes.push(zc.primaryClass)}}const Uc=zc,Wc=Ys(Ma,xo,{props:{specPath:e=>Co(e)?["document","objects","Reference"]:["document","objects","ServerVariable"]},init(){this.element=new Uc}});class Gc extends ae.ON{static primaryClass="server-security";constructor(e,t,n){super(e,t,n),this.classes.push(Gc.primaryClass)}}const Kc=Gc,Hc=Ys(Po,xo,{init(){this.element=new Kc},methods:{ArrayElement(e){return e.forEach((e=>{if(No(e)){const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}else this.element.push(e)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),Zc=Ys(To,xo,{props:{specPath:se(["document","objects","ServerVariable"]),canSupportSpecificationExtensions:!0},init(){this.element=new dc}}),Qc=xo,Xc=xo,Yc=xo,eu=xo,tu=Ys(To,xo,{props:{specPath:se(["document","objects","ServerBindings"]),canSupportSpecificationExtensions:!0},init(){this.element=new mc}});class nu extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="securityScheme"}get type(){return this.get("type")}set type(e){this.set("type",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get in(){return this.get("in")}set in(e){this.set("in",e)}get 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 su=nu,ru=Ys(To,xo,{props:{specPath:se(["document","objects","SecurityScheme"]),canSupportSpecificationExtensions:!0},init(){this.element=new su}}),iu=xo,ou=xo,au=xo,cu=xo,uu=xo,lu=xo,pu=xo,mu=Ys(Ma,xo,{props:{specPath:se(["value"])},init(){this.element=new cc}}),hu=Ys(To,xo,{props:{specPath:se(["document","objects","Reference"]),canSupportSpecificationExtensions:!1},init(){this.element=new Qa},methods:{ObjectElement(e){const t=To.compose.methods.ObjectElement.call(this,e);return Jt(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),du=Ys(xo,{methods:{StringElement(e){return this.element=ln(e),this.element.classes.push("reference-value"),Ot}}}),gu=Ys(To,xo,{props:{specPath:se(["document","objects","Schema"]),canSupportSpecificationExtensions:!0},methods:{ObjectElement(e){return this.element=new oc,To.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=ln(e),this.element.classes.push("boolean-json-schema"),Ot}}}),{JSONSchemaOrJSONReferenceVisitor:fu}=wo.visitors,bu=Ys(fu,{methods:{enter(e){const t=fu.compose.methods.enter.call(this,e);return Pc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),yu=xo,_u=xo,{allOf:vu}=wo.visitors.document.objects.JSONSchema.fixedFields,Su=Ys(vu,{methods:{ArrayElement(e){const t=vu.compose.methods.ArrayElement.call(this,e);return this.element.filter(Pc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{anyOf:Eu}=wo.visitors.document.objects.JSONSchema.fixedFields,wu=Ys(Eu,{methods:{ArrayElement(e){const t=Eu.compose.methods.ArrayElement.call(this,e);return this.element.filter(Pc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{oneOf:ju}=wo.visitors.document.objects.JSONSchema.fixedFields,xu=Ys(ju,{methods:{ArrayElement(e){const t=ju.compose.methods.ArrayElement.call(this,e);return this.element.filter(Pc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{definitions:Ou}=wo.visitors.document.objects.JSONSchema.fixedFields,Bu=Ys(Ou,{methods:{ObjectElement(e){const t=Ou.compose.methods.ObjectElement.call(this,e);return this.element.filter(Pc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{dependencies:Pu}=wo.visitors.document.objects.JSONSchema.fixedFields,$u=Ys(Pu,{methods:{ObjectElement(e){const t=Pu.compose.methods.ObjectElement.call(this,e);return this.element.filter(Pc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{items:Au}=wo.visitors.document.objects.JSONSchema.fixedFields,Mu=Ys(Au,{methods:{ObjectElement(e){const t=Au.compose.methods.ObjectElement.call(this,e);return Pc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t},ArrayElement(e){const t=Au.compose.methods.ArrayElement.call(this,e);return this.element.filter(Pc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{patternProperties:qu}=wo.visitors.document.objects.JSONSchema.fixedFields,ku=Ys(qu,{methods:{ObjectElement(e){const t=qu.compose.methods.ObjectElement.call(this,e);return this.element.filter(Pc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{properties:Cu}=wo.visitors.document.objects.JSONSchema.fixedFields,Nu=Ys(Cu,{methods:{ObjectElement(e){const t=Cu.compose.methods.ObjectElement.call(this,e);return this.element.filter(Pc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),Iu=U((e=>e===wo.visitors.JSONSchemaOrJSONReferenceVisitor?bu:e),wo.visitors.document.objects.JSONSchema.fixedFields),Tu=Ys(Aa,xo,{props:{fieldPatternPredicate:ka(/^[A-Za-z0-9_-]+$/),specPath:e=>Co(e)?["document","objects","Reference"]:(e=>Gt(e))(e)?["document","objects","Parameter"]:["value"],canSupportSpecificationExtensions:!1},init(){this.element=new Ha},methods:{ObjectElement(e){const t=Aa.compose.methods.ObjectElement.call(this,e);return this.element.filter(Pc).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}}),Ru=Ys(To,xo,{props:{specPath:se(["document","objects","Parameter"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ga}}),Fu=xo,Vu=xo,Du=Ys(Lc,xo,{props:{alternator:[{predicate:Co,specPath:["document","objects","Reference"]},{predicate:sr,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=Lc.compose.methods.enter.call(this,e);return Pc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}});class Lu extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="externalDocumentation"}get description(){return this.get("description")}set description(e){this.set("description",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}}const Ju=Lu,zu=Ys(To,xo,{props:{specPath:se(["document","objects","ExternalDocumentation"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ju}}),Uu=xo,Wu=xo,Gu=Ys(To,xo,{props:{specPath:se(["document","objects","Components"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ja}});class Ku extends ae.Sb{static primaryClass="components-schemas";constructor(e,t,n){super(e,t,n),this.classes.push(Ku.primaryClass)}}const Hu=Ku,Zu=Ys(Ma,xo,{props:{specPath:e=>Co(e)?["document","objects","Reference"]:["document","objects","Schema"]},init(){this.element=new Hu},methods:{ObjectElement(e){const t=Ma.compose.methods.ObjectElement.call(this,e);return this.element.filter(Pc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}});class Qu extends ae.Sb{static primaryClass="components-servers";constructor(e,t,n){super(e,t,n),this.classes.push(Qu.primaryClass)}}const Xu=Qu,Yu=Ys(Ma,xo,{props:{specPath:e=>Co(e)?["document","objects","Reference"]:["document","objects","Server"]},init(){this.element=new Xu},methods:{ObjectElement(e){const t=Ma.compose.methods.ObjectElement.call(this,e);return this.element.filter(Pc).forEach((e=>{e.setMetaProperty("referenced-element","server")})),t}}});class el extends ae.Sb{static primaryClass="components-server-variables";constructor(e,t,n){super(e,t,n),this.classes.push(el.primaryClass)}}const tl=el,nl=Ys(Ma,xo,{props:{specPath:e=>Co(e)?["document","objects","Reference"]:["document","objects","ServerVariable"]},init(){this.element=new tl},methods:{ObjectElement(e){const t=Ma.compose.methods.ObjectElement.call(this,e);return this.element.filter(Pc).forEach((e=>{e.setMetaProperty("referenced-element","serverVariable")})),t}}});class sl extends ae.Sb{static primaryClass="components-channels";constructor(e,t,n){super(e,t,n),this.classes.push(sl.primaryClass)}}const rl=sl,il=Ys(Ma,xo,{props:{specPath:se(["document","objects","ChannelItem"])},init(){this.element=new rl}});class ol extends ae.Sb{static primaryClass="components-messages";constructor(e,t,n){super(e,t,n),this.classes.push(ol.primaryClass)}}const al=ol,cl=Ys(Ma,xo,{props:{specPath:e=>Co(e)?["document","objects","Reference"]:["document","objects","Message"]},init(){this.element=new al},methods:{ObjectElement(e){const t=Ma.compose.methods.ObjectElement.call(this,e);return this.element.filter(Pc).forEach((e=>{e.setMetaProperty("referenced-element","message")})),t}}});class ul extends ae.Sb{static primaryClass="components-security-schemes";constructor(e,t,n){super(e,t,n),this.classes.push(ul.primaryClass)}}const ll=ul,pl=Ys(Ma,xo,{props:{specPath:e=>Co(e)?["document","objects","Reference"]:["document","objects","SecurityScheme"]},init(){this.element=new ll},methods:{ObjectElement(e){const t=Ma.compose.methods.ObjectElement.call(this,e);return this.element.filter(Pc).forEach((e=>{e.setMetaProperty("referenced-element","securityScheme")})),t}}});class ml extends ae.Sb{static primaryClass="components-parameters";constructor(e,t,n){super(e,t,n),this.classes.push(ml.primaryClass)}}const hl=ml,dl=Ys(Ma,xo,{props:{specPath:e=>Co(e)?["document","objects","Reference"]:["document","objects","Parameter"]},init(){this.element=new hl},methods:{ObjectElement(e){const t=Ma.compose.methods.ObjectElement.call(this,e);return this.element.filter(Pc).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}});class gl extends ae.Sb{static primaryClass="components-correlation-ids";constructor(e,t,n){super(e,t,n),this.classes.push(gl.primaryClass)}}const fl=gl,bl=Ys(Ma,xo,{props:{specPath:e=>Co(e)?["document","objects","Reference"]:["document","objects","CorrelationID"]},init(){this.element=new fl},methods:{ObjectElement(e){const t=Ma.compose.methods.ObjectElement.call(this,e);return this.element.filter(Pc).forEach((e=>{e.setMetaProperty("referenced-element","correlationID")})),t}}});class yl extends ae.Sb{static primaryClass="components-operation-traits";constructor(e,t,n){super(e,t,n),this.classes.push(yl.primaryClass)}}const _l=yl,vl=Ys(Ma,xo,{props:{specPath:e=>Co(e)?["document","objects","Reference"]:["document","objects","OperationTrait"]},init(){this.element=new _l},methods:{ObjectElement(e){const t=Ma.compose.methods.ObjectElement.call(this,e);return this.element.filter(Pc).forEach((e=>{e.setMetaProperty("referenced-element","operationTrait")})),t}}});class Sl extends ae.Sb{static primaryClass="components-message-traits";constructor(e,t,n){super(e,t,n),this.classes.push(Sl.primaryClass)}}const El=Sl,wl=Ys(Ma,xo,{props:{specPath:e=>Co(e)?["document","objects","Reference"]:["document","objects","MessageTrait"]},init(){this.element=new El},methods:{ObjectElement(e){const t=Ma.compose.methods.ObjectElement.call(this,e);return this.element.filter(Pc).forEach((e=>{e.setMetaProperty("referenced-element","messageTrait")})),t}}});class jl extends ae.Sb{static primaryClass="components-server-bindings";constructor(e,t,n){super(e,t,n),this.classes.push(jl.primaryClass)}}const xl=jl,Ol=Ys(Ma,xo,{props:{specPath:e=>Co(e)?["document","objects","Reference"]:["document","objects","ServerBindings"]},init(){this.element=new xl},methods:{ObjectElement(e){const t=Ma.compose.methods.ObjectElement.call(this,e);return this.element.filter(Pc).forEach((e=>{e.setMetaProperty("referenced-element","serverBindings")})),t}}});class Bl extends ae.Sb{static primaryClass="components-channel-bindings";constructor(e,t,n){super(e,t,n),this.classes.push(Bl.primaryClass)}}const Pl=Bl,$l=Ys(Ma,xo,{props:{specPath:e=>Co(e)?["document","objects","Reference"]:["document","objects","ChannelBindings"]},init(){this.element=new Pl},methods:{ObjectElement(e){const t=Ma.compose.methods.ObjectElement.call(this,e);return this.element.filter(Pc).forEach((e=>{e.setMetaProperty("referenced-element","channelBindings")})),t}}});class Al extends ae.Sb{static primaryClass="components-operation-bindings";constructor(e,t,n){super(e,t,n),this.classes.push(Al.primaryClass)}}const Ml=Al,ql=Ys(Ma,xo,{props:{specPath:e=>Co(e)?["document","objects","Reference"]:["document","objects","OperationBindings"]},init(){this.element=new Ml},methods:{ObjectElement(e){const t=Ma.compose.methods.ObjectElement.call(this,e);return this.element.filter(Pc).forEach((e=>{e.setMetaProperty("referenced-element","operationBindings")})),t}}});class kl extends ae.Sb{static primaryClass="components-message-bindings";constructor(e,t,n){super(e,t,n),this.classes.push(kl.primaryClass)}}const Cl=kl,Nl=Ys(Ma,xo,{props:{specPath:e=>Co(e)?["document","objects","Reference"]:["document","objects","MessageBindings"]},init(){this.element=new Cl},methods:{ObjectElement(e){const t=Ma.compose.methods.ObjectElement.call(this,e);return this.element.filter(Pc).forEach((e=>{e.setMetaProperty("referenced-element","messageBindings")})),t}}}),Il=Ys(To,xo,{props:{specPath:se(["document","objects","Operation"])},init(){this.element=new Ua}}),Tl=xo,Rl=xo,Fl=xo;class Vl extends ae.ON{static primaryClass="operation-security";constructor(e,t,n){super(e,t,n),this.classes.push(Vl.primaryClass)}}const Dl=Vl,Ll=Ys(Po,xo,{init(){this.element=new Dl},methods:{ArrayElement(e){return e.forEach((e=>{if(No(e)){const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}else this.element.push(e)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),Jl=Ys(Lc,xo,{props:{alternator:[{predicate:Co,specPath:["document","objects","Reference"]},{predicate:sr,specPath:["document","objects","OperationBindings"]}]},methods:{ObjectElement(e){const t=Lc.compose.methods.enter.call(this,e);return Pc(this.element)&&this.element.setMetaProperty("referenced-element","operationBindings"),t}}});class zl extends ae.ON{static primaryClass="operation-traits";constructor(e,t,n){super(e,t,n),this.classes.push(zl.primaryClass)}}const Ul=zl,Wl=Ys(Po,xo,{init(){this.element=new Ul},methods:{ArrayElement(e){return e.forEach((e=>{let t;Co(e)?(t=this.toRefractedElement(["document","objects","Reference"],e),t.setMetaProperty("referenced-element","operationTrait")):t=this.toRefractedElement(["document","objects","OperationTrait"],e),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ot}}});class Gl extends ae.Sb{static primaryClass="operation-message-map";constructor(e,t,n){super(e,t,n),this.classes.push(Gl.primaryClass)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}}const Kl=Gl;class Hl extends ae.ON{static primaryClass="operation-message";constructor(e,t,n){super(e,t,n),this.classes.push(Hl.primaryClass)}}const Zl=Hl,Ql=Ys(Po,xo,{methods:{ObjectElement(e){if(Co(e))this.element=this.toRefractedElement(["document","objects","Reference"],e),this.element.setMetaProperty("referenced-element","message");else if(Kt(e.get("oneOf"))){this.element=new Kl;const t=new Zl;e.get("oneOf").forEach((e=>{let n;Co(e)?(n=this.toRefractedElement(["document","objects","Reference"],e),n.setMetaProperty("referenced-element","message")):n=this.toRefractedElement(["document","objects","Message"],e),t.push(n)})),this.element.oneOf=t}else this.element=this.toRefractedElement(["document","objects","Message"],e);return this.copyMetaAndAttributes(e,this.element),Ot}}});class Xl extends ae.ON{constructor(e,t,n){super(e,t,n),this.element="tags"}}const Yl=Xl,ep=Ys(Po,xo,{init(){this.element=new Yl},methods:{ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","Tag"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ot}}});class tp extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="tag"}get name(){return this.get("name")}set name(e){this.set("name",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}}const np=tp,sp=Ys(To,xo,{props:{specPath:se(["document","objects","Tag"]),canSupportSpecificationExtensions:!0},init(){this.element=new np}}),rp=xo,ip=xo,op=Ys(Ma,xo,{props:{specPath:se(["document","objects","ChannelItem"])},init(){this.element=new Da}}),ap=Ys(To,xo,{props:{specPath:se(["document","objects","ChannelBindings"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ta}}),cp=Ys(To,xo,{props:{specPath:se(["document","objects","ChannelItem"]),canSupportSpecificationExtensions:!0},init(){this.element=new Fa},methods:{ObjectElement(e){const t=To.compose.methods.ObjectElement.call(this,e);return Jt(this.element.$ref)&&(this.element.classes.push("reference-element"),this.element.setMetaProperty("referenced-element","channelItem")),t}}}),up=Ys(xo,{methods:{StringElement(e){return this.element=ln(e),this.element.classes.push("reference-value"),Ot}}}),lp=xo;class pp extends ae.ON{static primaryClass="channel-item-server-names-list";constructor(e,t,n){super(e,t,n),this.classes.push(pp.primaryClass)}}const mp=pp,hp=Ys(Po,xo,{init(){this.element=new mp},methods:{ArrayElement(e){return e.forEach((e=>{const t=ln(e);Jt(t)&&t.classes.push("server-name"),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),dp=Ys(Lc,xo,{props:{alternator:[{predicate:Co,specPath:["document","objects","Reference"]},{predicate:sr,specPath:["document","objects","ChannelBindings"]}]},methods:{ObjectElement(e){const t=Lc.compose.methods.enter.call(this,e);return Pc(this.element)&&this.element.setMetaProperty("referenced-element","channelBindings"),t}}});class gp extends ae.Sb{constructor(e,t,n){super(e,t,n),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 fp=gp,bp=Ys(To,xo,{props:{specPath:se(["document","objects","MessageBindings"]),canSupportSpecificationExtensions:!0},init(){this.element=new fp}});class yp extends ae.Sb{constructor(e,t,n){super(e,t,n),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 _p=yp,vp=Ys(To,xo,{props:{specPath:se(["document","objects","MessageExample"]),canSupportSpecificationExtensions:!0},init(){this.element=new _p}}),Sp=xo,Ep=xo,wp=xo,jp=xo;class xp extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Op=xp,Bp=Ys(To,xo,{props:{specPath:se(["document","objects","MessageTrait"]),canSupportSpecificationExtensions:!0},init(){this.element=new Op}}),Pp=xo,$p=Ys(Lc,xo,{props:{alternator:[{predicate:Co,specPath:["document","objects","Reference"]},{predicate:sr,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=Lc.compose.methods.enter.call(this,e);return Pc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),Ap=Ys(Lc,xo,{props:{alternator:[{predicate:Co,specPath:["document","objects","Reference"]},{predicate:sr,specPath:["document","objects","CorrelationID"]}]},methods:{ObjectElement(e){const t=Lc.compose.methods.enter.call(this,e);return Pc(this.element)&&this.element.setMetaProperty("referenced-element","correlationID"),t}}}),Mp=xo,qp=xo,kp=xo,Cp=xo,Np=xo,Ip=xo,Tp=Ys(Lc,xo,{props:{alternator:[{predicate:Co,specPath:["document","objects","Reference"]},{predicate:sr,specPath:["document","objects","MessageBindings"]}]},methods:{ObjectElement(e){const t=Lc.compose.methods.enter.call(this,e);return Pc(this.element)&&this.element.setMetaProperty("referenced-element","messageBindings"),t}}});class Rp extends ae.ON{static primaryClass="message-trait-examples";constructor(e,t,n){super(e,t,n),this.classes.push(Rp.primaryClass)}}const Fp=Rp,Vp=Ys(Po,xo,{init(){this.element=new Fp},methods:{ArrayElement(e){return e.forEach((e=>{let t;t=Gt(e)?this.toRefractedElement(["document","objects","MessageExample"],e):ln(e),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ot}}});const Dp=d(-1);const Lp=class extends Ci{};const Jp=class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new Lp("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new Lp("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new Lp("latest method in MediaTypes class is not yet implemented.")}};class zp extends Jp{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 n="generic"===t?`vnd.aai.asyncapi;version=${e}`:`vnd.aai.asyncapi+${t};version=${e}`;return this.find((e=>e.includes(n)))||this.unknownMediaType}latest(e="generic"){return Dp(this.filterByFormat(e))}}const Up=new zp("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");class Wp extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Gp=Wp,Kp=Ys(To,xo,{props:{specPath:se(["document","objects","Message"]),canSupportSpecificationExtensions:!0},init(){this.element=new Gp},methods:{ObjectElement(e){const t=To.compose.methods.ObjectElement.call(this,e),n=this.element.get("payload"),s=p(Up.latest(),lr(e.get("schemaFormat")));if(Up.includes(s)&&Co(n)){const e=this.toRefractedElement(["document","objects","Reference"],n);e.meta.set("referenced-element","schema"),this.element.payload=e}else Up.includes(s)&&Gt(this.element.payload)&&(this.element.payload=this.toRefractedElement(["document","objects","Schema"],n));return t}}}),Hp=xo,Zp=Ys(Lc,xo,{props:{alternator:[{predicate:Co,specPath:["document","objects","Reference"]},{predicate:sr,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=Lc.compose.methods.enter.call(this,e);return Pc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),Qp=xo,Xp=Ys(Lc,xo,{props:{alternator:[{predicate:Co,specPath:["document","objects","Reference"]},{predicate:sr,specPath:["document","objects","CorrelationID"]}]},methods:{ObjectElement(e){const t=Lc.compose.methods.enter.call(this,e);return Pc(this.element)&&this.element.setMetaProperty("referenced-element","correlationID"),t}}}),Yp=xo,em=xo,tm=xo,nm=xo,sm=xo,rm=xo,im=Ys(Lc,xo,{props:{alternator:[{predicate:Co,specPath:["document","objects","Reference"]},{predicate:sr,specPath:["document","objects","MessageBindings"]}]},methods:{ObjectElement(e){const t=Lc.compose.methods.enter.call(this,e);return Pc(this.element)&&this.element.setMetaProperty("referenced-element","messageBindings"),t}}});class om extends ae.ON{static primaryClass="message-examples";constructor(e,t,n){super(e,t,n),this.classes.push(om.primaryClass)}}const am=om,cm=Ys(Po,xo,{init(){this.element=new am},methods:{ArrayElement(e){return e.forEach((e=>{let t;t=Gt(e)?this.toRefractedElement(["document","objects","MessageExample"],e):ln(e),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ot}}});class um extends ae.ON{static primaryClass="message-traits";constructor(e,t,n){super(e,t,n),this.classes.push(um.primaryClass)}}const lm=um,pm=Ys(Po,xo,{init(){this.element=new lm},methods:{ArrayElement(e){return e.forEach((e=>{let t;Co(e)?(t=this.toRefractedElement(["document","objects","Reference"],e),t.setMetaProperty("referenced-element","messageTrait")):t=this.toRefractedElement(["document","objects","MessageTrait"],e),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ot}}});class mm extends ae.Sb{constructor(e,t,n){super(e,t,n),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 hm=mm,dm=Ys(To,xo,{props:{specPath:se(["document","objects","OperationBindings"]),canSupportSpecificationExtensions:!0},init(){this.element=new hm}});class gm extends ae.Sb{constructor(e,t,n){super(e,t,n),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 fm=gm,bm=Ys(To,xo,{props:{specPath:se(["document","objects","OperationTrait"]),canSupportSpecificationExtensions:!0},init(){this.element=new fm}}),ym=xo,_m=xo,vm=xo;class Sm extends ae.ON{static primaryClass="operation-trait-security";constructor(e,t,n){super(e,t,n),this.classes.push(Sm.primaryClass)}}const Em=Sm,wm=Ys(Po,xo,{init(){this.element=new Em},methods:{ArrayElement(e){return e.forEach((e=>{if(No(e)){const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}else this.element.push(e)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),jm=Ys(Lc,xo,{props:{alternator:[{predicate:Co,specPath:["document","objects","Reference"]},{predicate:sr,specPath:["document","objects","OperationBindings"]}]},methods:{ObjectElement(e){const t=Lc.compose.methods.enter.call(this,e);return Pc(this.element)&&this.element.setMetaProperty("referenced-element","operationBindings"),t}}});class xm extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Om=xm,Bm=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","amqp","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Om}});class Pm extends ae.Sb{constructor(e,t,n){super(e,t,n),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 $m=Pm,Am=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","amqp","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new $m}});class Mm extends ae.Sb{constructor(e,t,n){super(e,t,n),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 qm=Mm,km=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","amqp","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new qm}});class Cm extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="amqpServerBinding",this.classes.push("server-binding")}}const Nm=Cm,Im=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","amqp","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Nm}});class Tm extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="amqp1ChannelBinding",this.classes.push("channel-binding")}}const Rm=Tm,Fm=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","amqp1","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Rm}});class Vm extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="amqp1MessageBinding",this.classes.push("message-binding")}}const Dm=Vm,Lm=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","amqp1","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Dm}});class Jm extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="amqp1OperationBinding",this.classes.push("operation-binding")}}const zm=Jm,Um=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","amqp1","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new zm}});class Wm extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="amqp1ServerBinding",this.classes.push("server-binding")}}const Gm=Wm,Km=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","amqp1","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Gm}});class Hm extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Zm=Hm,Qm=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","anypointmq","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Zm}});class Xm extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Ym=Xm,eh=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","anypointmq","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Ym}});class th extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="anypointmqOperationBinding",this.classes.push("operation-binding")}}const nh=th,sh=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","anypointmq","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new nh}});class rh extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="anypointmqServerBinding",this.classes.push("server-binding")}}const ih=rh,oh=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","anypointmq","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new ih}});class ah extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="httpChannelBinding",this.classes.push("channel-binding")}}const ch=ah,uh=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","http","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new ch}});class lh extends ae.Sb{constructor(e,t,n){super(e,t,n),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 ph=lh,mh=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","http","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new ph}});class hh extends ae.Sb{constructor(e,t,n){super(e,t,n),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 dh=hh,gh=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","http","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new dh}});class fh extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="httpServerBinding",this.classes.push("server-binding")}}const bh=fh,yh=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","http","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new bh}});class _h extends ae.Sb{constructor(e,t,n){super(e,t,n),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 vh=_h,Sh=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","googlepubsub","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new vh}});class Eh extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="googlepubsubMessageBinding",this.classes.push("message-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}get attributesProp(){return this.get("attributes")}set attributesProp(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 wh=Eh,jh=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","googlepubusb","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new wh}});class xh extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="googlepubsubOperationBinding",this.classes.push("operation-binding")}}const Oh=xh,Bh=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","googlepubsub","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Oh}});class Ph extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="googlepubsubServerBinding",this.classes.push("server-binding")}}const $h=Ph,Ah=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","googlepubsub","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new $h}});class Mh extends ae.Sb{constructor(e,t,n){super(e,t,n),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 qh=Mh,kh=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","ibmmq","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new qh}});class Ch extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Nh=Ch,Ih=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","ibmmq","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Nh}});class Th extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="ibmmqOperationBinding",this.classes.push("operation-binding")}}const Rh=Th,Fh=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","ibmmq","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Rh}});class Vh extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Dh=Vh,Lh=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","ibmmq","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Dh}});class Jh extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="jmsChannelBinding",this.classes.push("channel-binding")}}const zh=Jh,Uh=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","jms","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new zh}});class Wh extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="jmsMessageBinding",this.classes.push("message-binding")}}const Gh=Wh,Kh=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","jms","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Gh}});class Hh extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="jmsOperationBinding",this.classes.push("operation-binding")}}const Zh=Hh,Qh=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","jms","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Zh}});class Xh extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="jmsServerBinding",this.classes.push("server-binding")}}const Yh=Xh,ed=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","jms","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Yh}});class td extends ae.Sb{constructor(e,t,n){super(e,t,n),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 nd=td,sd=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","kafka","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new nd}});class rd extends ae.Sb{constructor(e,t,n){super(e,t,n),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 id=rd,od=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","kafka","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new id}});class ad extends ae.Sb{constructor(e,t,n){super(e,t,n),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 cd=ad,ud=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","kafka","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new cd}});class ld extends ae.Sb{constructor(e,t,n){super(e,t,n),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 pd=ld,md=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","kafka","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new pd}});class hd extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="mercureChannelBinding",this.classes.push("channel-binding")}}const dd=hd,gd=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","mercure","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new dd}});class fd extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="mercureMessageBinding",this.classes.push("message-binding")}}const bd=fd,yd=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","mercure","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new bd}});class _d extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="mercureOperationBinding",this.classes.push("operation-binding")}}const vd=_d,Sd=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","mercure","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new vd}});class Ed extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="mercureServerBinding",this.classes.push("server-binding")}}const wd=Ed,jd=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","mercure","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new wd}});class xd extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="mqttChannelBinding",this.classes.push("channel-binding")}}const Od=xd,Bd=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","mqtt","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Od}});class Pd extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="mqttMessageBinding",this.classes.push("message-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const $d=Pd,Ad=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","mqtt","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new $d}});class Md extends ae.Sb{constructor(e,t,n){super(e,t,n),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 qd=Md,kd=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","mqtt","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new qd}});class Cd extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Nd=Cd,Id=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","mqtt","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Nd}});class Td extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="mqtt5ChannelBinding",this.classes.push("channel-binding")}}const Rd=Td,Fd=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","mqtt5","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Rd}});class Vd extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="mqtt5MessageBinding",this.classes.push("message-binding")}}const Dd=Vd,Ld=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","mqtt5","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Dd}});class Jd extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="mqtt5OperationBinding",this.classes.push("operation-binding")}}const zd=Jd,Ud=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","mqtt5","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new zd}});class Wd extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="mqtt5ServerBinding",this.classes.push("server-binding")}}const Gd=Wd,Kd=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","mqtt5","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Gd}});class Hd extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="natsChannelBinding",this.classes.push("channel-binding")}}const Zd=Hd,Qd=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","nats","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Zd}});class Xd extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="natsMessageBinding",this.classes.push("message-binding")}}const Yd=Xd,eg=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","nats","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Yd}});class tg extends ae.Sb{constructor(e,t,n){super(e,t,n),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 ng=tg,sg=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","nats","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new ng}});class rg extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="natsServerBinding",this.classes.push("server-binding")}}const ig=rg,og=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","nats","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new ig}});class ag extends ae.Sb{constructor(e,t,n){super(e,t,n),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("compaction")}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 cg=ag,ug=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","pulsar","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new cg}});class lg extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="pulsarMessageBinding",this.classes.push("message-binding")}}const pg=lg,mg=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","pulsar","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new pg}});class hg extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="pulsarOperationBinding",this.classes.push("operation-binding")}}const dg=hg,gg=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","pulsar","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new dg}});class fg extends ae.Sb{constructor(e,t,n){super(e,t,n),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 bg=fg,yg=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","pulsar","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new bg}});class _g extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="redisChannelBinding",this.classes.push("channel-binding")}}const vg=_g,Sg=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","redis","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new vg}});class Eg extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="redisMessageBinding",this.classes.push("message-binding")}}const wg=Eg,jg=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","redis","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new wg}});class xg extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="redisOperationBinding",this.classes.push("operation-binding")}}const Og=xg,Bg=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","redis","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Og}});class Pg extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="redisServerBinding",this.classes.push("server-binding")}}const $g=Pg,Ag=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","redis","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new $g}});class Mg extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="snsChannelBinding",this.classes.push("channel-binding")}}const qg=Mg,kg=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","sns","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new qg}});class Cg extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="snsMessageBinding",this.classes.push("message-binding")}}const Ng=Cg,Ig=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","sns","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Ng}});class Tg extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="snsOperationBinding",this.classes.push("operation-binding")}}const Rg=Tg,Fg=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","sns","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Rg}});class Vg extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="snsServerBinding",this.classes.push("server-binding")}}const Dg=Vg,Lg=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","sns","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Dg}});class Jg extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="solaceChannelBinding",this.classes.push("channel-binding")}}const zg=Jg,Ug=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","solace","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new zg}});class Wg extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="solaceMessageBinding",this.classes.push("message-binding")}}const Gg=Wg,Kg=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","solace","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Gg}});class Hg extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Zg=Hg,Qg=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","solace","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Zg}});class Xg extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Yg=Xg,ef=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","solace","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Yg}});class tf extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="sqsChannelBinding",this.classes.push("channel-binding")}}const nf=tf,sf=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","sqs","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new nf}});class rf extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="sqsMessageBinding",this.classes.push("message-binding")}}const of=rf,af=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","sqs","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new of}});class cf extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="sqsOperationBinding",this.classes.push("operation-binding")}}const uf=cf,lf=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","sqs","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new uf}});class pf extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="sqsServerBinding",this.classes.push("server-binding")}}const mf=pf,hf=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","sqs","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new mf}});class df extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="stompChannelBinding",this.classes.push("channel-binding")}}const gf=df,ff=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","stomp","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new gf}});class bf extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="stompMessageBinding",this.classes.push("message-binding")}}const yf=bf,_f=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","stomp","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new yf}});class vf extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="stompOperationBinding",this.classes.push("operation-binding")}}const Sf=vf,Ef=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","stomp","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Sf}});class wf extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="stompServerBinding",this.classes.push("server-binding")}}const jf=wf,xf=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","stomp","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new jf}});class Of extends ae.Sb{constructor(e,t,n){super(e,t,n),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 Bf=Of,Pf=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","ws","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Bf}});class $f extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="webSocketMessageBinding",this.classes.push("message-binding")}}const Af=$f,Mf=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","ws","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Af}});class qf extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="webSocketOperationBinding",this.classes.push("operation-binding")}}const kf=qf,Cf=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","ws","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new kf}});class Nf extends ae.Sb{constructor(e,t,n){super(e,t,n),this.element="webSocketServerBinding",this.classes.push("server-binding")}}const If=Nf,Tf=Ys(To,xo,{props:{specPath:se(["document","objects","bindings","ws","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new If}}),Rf={$visitor:hu,fixedFields:{$ref:du}},Ff={$visitor:gu,fixedFields:{...Iu,allOf:Su,anyOf:wu,oneOf:xu,items:Mu,properties:Nu,patternProperties:ku,dependencies:$u,definitions:Bu,discriminator:_u,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},deprecated:yu}},Vf={visitors:{value:xo,document:{objects:{AsyncApi:{$visitor:Vo,fixedFields:{asyncapi:{$ref:"#/visitors/document/objects/AsyncApiVersion"},id:{$ref:"#/visitors/document/objects/Identifier"},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:{$visitor:Jo},Identifier:{$visitor:Wo},Info:{$visitor:Ho,fixedFields:{title:Zo,description:Qo,termsOfService:Xo,version:Yo,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"}}},Contact:{$visitor:na,fixedFields:{name:sa,url:ra,email:ia}},License:{$visitor:fa,fixedFields:{name:ba,url:ya}},Servers:{$visitor:Ic},Server:{$visitor:Tc,fixedFields:{url:Rc,protocol:Fc,protocolVersion:Vc,description:Dc,variables:Wc,security:Hc,tags:{$ref:"#/visitors/document/objects/Tags"},bindings:Jc}},ServerVariable:{$visitor:Zc,fixedFields:{enum:Qc,default:Xc,description:Yc,examples:eu}},DefaultContentType:{$visitor:ha},Channels:{$visitor:op},ChannelItem:{$visitor:cp,fixedFields:{$ref:up,description:lp,servers:hp,subscribe:{$ref:"#/visitors/document/objects/Operation"},publish:{$ref:"#/visitors/document/objects/Operation"},parameters:{$ref:"#/visitors/document/objects/Parameters"},bindings:dp}},Operation:{$visitor:Il,fixedFields:{operationId:Tl,summary:Rl,description:Fl,security:Ll,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:Jl,traits:Wl,message:Ql}},OperationTrait:{$visitor:bm,fixedFields:{operationId:ym,summary:_m,description:vm,security:wm,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:jm}},Message:{$visitor:Kp,fixedFields:{messageId:Hp,headers:Zp,payload:Qp,correlationId:Xp,schemaFormat:Yp,contentType:em,name:tm,title:nm,summary:sm,description:rm,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:im,examples:cm,traits:pm}},MessageTrait:{$visitor:Bp,fixedFields:{messageId:Pp,headers:$p,correlationId:Ap,schemaFormat:Mp,contentType:qp,name:kp,title:Cp,summary:Np,description:Ip,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:Tp,examples:Vp}},MessageExample:{$visitor:vp,fixedFields:{headers:Sp,payload:Ep,name:wp,summary:jp}},Tags:{$visitor:ep},Tag:{$visitor:sp,fixedFields:{name:rp,description:ip,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},ExternalDocumentation:{$visitor:zu,fixedFields:{description:Uu,url:Wu}},Components:{$visitor:Gu,fixedFields:{schemas:Zu,servers:Yu,serverVariables:nl,channels:il,messages:cl,securitySchemes:pl,parameters:dl,correlationIds:bl,operationTraits:vl,messageTraits:wl,serverBindings:Ol,channelBindings:$l,operationBindings:ql,messageBindings:Nl}},JSONReference:Rf,Reference:Rf,JSONSchema:Ff,Schema:Ff,LinkDescription:wo.visitors.document.objects.LinkDescription,SecurityScheme:{$visitor:ru,fixedFields:{type:iu,description:ou,name:au,in:cu,scheme:uu,bearerFormat:lu,flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:pu}},SecurityRequirement:{$visitor:mu},OAuthFlows:{$visitor:Sa,fixedFields:{implicit:{$ref:"#/visitors/document/objects/OAuthFlow"},password:{$ref:"#/visitors/document/objects/OAuthFlow"},clientCredentials:{$ref:"#/visitors/document/objects/OAuthFlow"},authorizationCode:{$ref:"#/visitors/document/objects/OAuthFlow"}}},OAuthFlow:{$visitor:ja,fixedFields:{authorizationUrl:xa,tokenUrl:Oa,refreshUrl:Ba,scopes:qa}},ServerBindings:{$visitor:tu,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:{$visitor:Tu},Parameter:{$visitor:Ru,fixedFields:{description:Fu,schema:Du,location:Vu}},ChannelBindings:{$visitor:ap,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:{$visitor:dm,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:{$visitor:bp,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:{$visitor:ca,fixedFields:{description:ua,location:la}},bindings:{http:{ServerBinding:{$visitor:yh},ChannelBinding:{$visitor:uh},OperationBinding:{$visitor:gh,fixedFields:{type:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},query:bu,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:mh,fixedFields:{headers:bu,bindingVersion:{$ref:"#/visitors/value"}}}},ws:{ServerBinding:{$visitor:Tf},ChannelBinding:{$visitor:Pf,fixedFields:{method:{$ref:"#/visitors/value"},query:bu,headers:bu,bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:Cf},MessageBinding:{$visitor:Mf}},kafka:{ServerBinding:{$visitor:md,fixedFields:{schemaRegistryUrl:{$ref:"#/visitors/value"},schemaRegistryVendor:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:sd,fixedFields:{topic:{$ref:"#/visitors/value"},partitions:{$ref:"#/visitors/value"},replicas:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:ud,fixedFields:{groupId:bu,clientId:bu,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:od,fixedFields:{key:bu,schemaIdLocation:{$ref:"#/visitors/value"},schemaIdPayloadEncoding:{$ref:"#/visitors/value"},schemaLookupStrategy:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},anypointmq:{ServerBinding:{$visitor:oh},ChannelBinding:{$visitor:Qm,fixedFields:{destination:{$ref:"#/visitors/value"},destinationType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:sh},MessageBinding:{$visitor:eh,fixedFields:{headers:bu,bindingVersion:{$ref:"#/visitors/value"}}}},amqp:{ServerBinding:{$visitor:Im},ChannelBinding:{$visitor:Bm,fixedFields:{is:{$ref:"#/visitors/value"},exchange:{$ref:"#/visitors/value"},queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:km,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:{$visitor:Am,fixedFields:{contentEncoding:{$ref:"#/visitors/value"},messageType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},amqp1:{ServerBinding:{$visitor:Km},ChannelBinding:{$visitor:Fm},OperationBinding:{$visitor:Um},MessageBinding:{$visitor:Lm}},mqtt:{ServerBinding:{$visitor:Id,fixedFields:{clientId:{$ref:"#/visitors/value"},cleanSession:{$ref:"#/visitors/value"},lastWill:{$ref:"#/visitors/value"},keepAlive:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:Bd},OperationBinding:{$visitor:kd,fixedFields:{qos:{$ref:"#/visitors/value"},retain:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:Ad,fixedFields:{bindingVersion:{$ref:"#/visitors/value"}}}},mqtt5:{ServerBinding:{$visitor:Kd},ChannelBinding:{$visitor:Fd},OperationBinding:{$visitor:Ud},MessageBinding:{$visitor:Ld}},nats:{ServerBinding:{$visitor:og},ChannelBinding:{$visitor:Qd},OperationBinding:{$visitor:sg,fixedFields:{queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:eg}},pulsar:{ServerBinding:{$visitor:yg,fixedFields:{tenant:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:ug,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:{$visitor:gg},MessageBinding:{$visitor:mg}},jms:{ServerBinding:{$visitor:ed},ChannelBinding:{$visitor:Uh},OperationBinding:{$visitor:Qh},MessageBinding:{$visitor:Kh}},sns:{ServerBinding:{$visitor:Lg},ChannelBinding:{$visitor:kg},OperationBinding:{$visitor:Fg},MessageBinding:{$visitor:Ig}},solace:{ServerBinding:{$visitor:ef,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},msgVpn:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:Ug},OperationBinding:{$visitor:Qg,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},destinations:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:Kg}},sqs:{ServerBinding:{$visitor:hf},ChannelBinding:{$visitor:sf},OperationBinding:{$visitor:lf},MessageBinding:{$visitor:af}},stomp:{ServerBinding:{$visitor:xf},ChannelBinding:{$visitor:ff},OperationBinding:{$visitor:Ef},MessageBinding:{$visitor:_f}},redis:{ServerBinding:{$visitor:Ag},ChannelBinding:{$visitor:Sg},OperationBinding:{$visitor:Bg},MessageBinding:{$visitor:jg}},mercure:{ServerBinding:{$visitor:jd},ChannelBinding:{$visitor:gd},OperationBinding:{$visitor:Sd},MessageBinding:{$visitor:yd}},googlepubsub:{ServerBinding:{$visitor:Ah},ChannelBinding:{$visitor:Sh,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:{$visitor:Bh},MessageBinding:{$visitor:jh,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},attributes:{$ref:"#/visitors/value"},orderingKey:{$ref:"#/visitors/value"},schema:{$ref:"#/visitors/value"}}}},ibmmq:{ServerBinding:{$visitor:Lh,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:{$visitor:kh,fixedFields:{destinationType:{$ref:"#/visitors/value"},queue:{$ref:"#/visitors/value"},topic:{$ref:"#/visitors/value"},maxMsgLength:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:Ih,fixedFields:{type:{$ref:"#/visitors/value"},headers:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},expiry:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:Fh}}}},extension:{$visitor:$o}}}},Df={namespace:e=>{const{base:t}=e;return t.register("asyncApi2",Fo),t.register("asyncApiVersion",Lo),t.register("channelBindings",Ta),t.register("channelItem",Fa),t.register("channels",Da),t.register("components",Ja),t.register("contact",ta),t.register("correlationID",aa),t.register("defaultContentType",ma),t.register("externalDocumentation",Ju),t.register("identifier",Uo),t.register("info",Ko),t.register("license",ga),t.register("message",Gp),t.register("messageBindings",fp),t.register("messageExample",_p),t.register("messageTrait",Op),t.register("oAuthFlow",wa),t.register("oAuthFlows",va),t.register("operation",Ua),t.register("operationBindings",hm),t.register("operationTrait",fm),t.register("parameter",Ga),t.register("parameters",Ha),t.register("reference",Qa),t.register("schema",oc),t.register("securityRequirement",cc),t.register("securityScheme",su),t.register("server",lc),t.register("serverBindings",mc),t.register("servers",Na),t.register("serverVariable",dc),t.register("tag",np),t.register("tags",Yl),t.register("amqpChannelBinding",Om),t.register("amqpMessageBinding",$m),t.register("amqpOperationBinding",qm),t.register("amqpServerBinding",Nm),t.register("amqp1ChannelBinding",Rm),t.register("amqp1MessageBinding",Dm),t.register("amqp1OperationBinding",zm),t.register("amqp1ServerBinding",Gm),t.register("anypointmqChannelBinding",Zm),t.register("anypointmqMessageBinding",Ym),t.register("anypointmqOperationBinding",nh),t.register("anypointmqServerBinding",ih),t.register("googlepubsubChannelBinding",vh),t.register("googlepubsubMessageBinding",wh),t.register("googlepubsubOperationBinding",Oh),t.register("googlepubsubServerBinding",$h),t.register("httpChannelBinding",ch),t.register("httpMessageBinding",ph),t.register("httpOperationBinding",dh),t.register("httpServerBinding",bh),t.register("ibmmqChannelBinding",qh),t.register("ibmmqMessageBinding",Nh),t.register("ibmmqOperationBinding",Rh),t.register("ibmmqServerBinding",Dh),t.register("jmsChannelBinding",zh),t.register("jmsMessageBinding",Gh),t.register("jmsOperationBinding",Zh),t.register("jmsServerBinding",Yh),t.register("kafkaChannelBinding",nd),t.register("kafkaMessageBinding",id),t.register("kafkaOperationBinding",cd),t.register("kafkaServerBinding",pd),t.register("mercureChannelBinding",dd),t.register("mercureMessageBinding",bd),t.register("mercureOperationBinding",vd),t.register("mercureServerBinding",wd),t.register("mqttChannelBinding",Od),t.register("mqttMessageBinding",$d),t.register("mqttOperationBinding",qd),t.register("mqttServerBinding",Nd),t.register("mqtt5ChannelBinding",Rd),t.register("mqtt5MessageBinding",Dd),t.register("mqtt5OperationBinding",zd),t.register("mqtt5ServerBinding",Gd),t.register("natsChannelBinding",Zd),t.register("natsMessageBinding",Yd),t.register("natsOperationBinding",ng),t.register("natsServerBinding",ig),t.register("pulsarChannelBinding",cg),t.register("pulsarMessageBinding",pg),t.register("pulsarOperationBinding",dg),t.register("pulsarServerBinding",bg),t.register("redisChannelBinding",vg),t.register("redisMessageBinding",wg),t.register("redisOperationBinding",Og),t.register("redisServerBinding",$g),t.register("snsChannelBinding",qg),t.register("snsMessageBinding",Ng),t.register("snsOperationBinding",Rg),t.register("snsServerBinding",Dg),t.register("solaceChannelBinding",zg),t.register("solaceMessageBinding",Gg),t.register("solaceOperationBinding",Zg),t.register("solaceServerBinding",Yg),t.register("sqsChannelBinding",nf),t.register("sqsMessageBinding",of),t.register("sqsOperationBinding",uf),t.register("sqsServerBinding",mf),t.register("stompChannelBinding",gf),t.register("stompMessageBinding",yf),t.register("stompOperationBinding",Sf),t.register("stompServerBinding",jf),t.register("webSocketChannelBinding",Bf),t.register("webSocketMessageBinding",Af),t.register("webSocketOperationBinding",kf),t.register("webSocketServerBinding",If),t}},Lf=()=>{const e=lt(Df);return{predicates:{...o,isStringElement:Jt},namespace:e}},Jf=(e,{specPath:t=["visitors","document","objects","AsyncApi","$visitor"],plugins:n=[]}={})=>{const s=(0,ae.Qc)(e),r=Us(Vf),i=An(t,[],r);return yn(s,i,{state:{specObj:r}}),kn(i.element,n,{toolboxCreator:Lf,visitorOptions:{keyMap:Bo,nodeTypeGetter:Oo}})},zf=e=>(t,n={})=>Jf(t,{...n,specPath:e});Fo.refract=zf(["visitors","document","objects","AsyncApi","$visitor"]),Lo.refract=zf(["visitors","document","objects","AsyncApiVersion","$visitor"]),Ta.refract=zf(["visitors","document","objects","ChannelBindings","$visitor"]),Fa.refract=zf(["visitors","document","objects","ChannelItem","$visitor"]),Da.refract=zf(["visitors","document","objects","Channels","$visitor"]),Ja.refract=zf(["visitors","document","objects","Components","$visitor"]),ta.refract=zf(["visitors","document","objects","Contact","$visitor"]),aa.refract=zf(["visitors","document","objects","CorrelationID","$visitor"]),ma.refract=zf(["visitors","document","objects","DefaultContentType","$visitor"]),Ju.refract=zf(["visitors","document","objects","ExternalDocumentation","$visitor"]),Uo.refract=zf(["visitors","document","objects","Identifier","$visitor"]),Ko.refract=zf(["visitors","document","objects","Info","$visitor"]),ga.refract=zf(["visitors","document","objects","License","$visitor"]),Gp.refract=zf(["visitors","document","objects","Message","$visitor"]),fp.refract=zf(["visitors","document","objects","MessageBindings","$visitor"]),_p.refract=zf(["visitors","document","objects","MessageExample","$visitor"]),Op.refract=zf(["visitors","document","objects","MessageTrait","$visitor"]),wa.refract=zf(["visitors","document","objects","OAuthFlow","$visitor"]),va.refract=zf(["visitors","document","objects","OAuthFlows","$visitor"]),Ua.refract=zf(["visitors","document","objects","Operation","$visitor"]),hm.refract=zf(["visitors","document","objects","OperationBindings","$visitor"]),fm.refract=zf(["visitors","document","objects","OperationTrait","$visitor"]),Ga.refract=zf(["visitors","document","objects","Parameter","$visitor"]),Ha.refract=zf(["visitors","document","objects","Parameters","$visitor"]),Qa.refract=zf(["visitors","document","objects","Reference","$visitor"]),oc.refract=zf(["visitors","document","objects","Schema","$visitor"]),cc.refract=zf(["visitors","document","objects","SecurityRequirement","$visitor"]),su.refract=zf(["visitors","document","objects","SecurityScheme","$visitor"]),lc.refract=zf(["visitors","document","objects","Server","$visitor"]),mc.refract=zf(["visitors","document","objects","ServerBindings","$visitor"]),Na.refract=zf(["visitors","document","objects","Servers","$visitor"]),dc.refract=zf(["visitors","document","objects","ServerVariable","$visitor"]),np.refract=zf(["visitors","document","objects","Tag","$visitor"]),Yl.refract=zf(["visitors","document","objects","Tags","$visitor"]),Om.refract=zf(["visitors","document","objects","bindings","amqp","ChannelBinding","$visitor"]),$m.refract=zf(["visitors","document","objects","bindings","amqp","MessageBinding","$visitor"]),qm.refract=zf(["visitors","document","objects","bindings","amqp","OperationBinding","$visitor"]),Nm.refract=zf(["visitors","document","objects","bindings","amqp","ServerBinding","$visitor"]),Rm.refract=zf(["visitors","document","objects","bindings","amqp1","ChannelBinding","$visitor"]),Dm.refract=zf(["visitors","document","objects","bindings","amqp1","MessageBinding","$visitor"]),zm.refract=zf(["visitors","document","objects","bindings","amqp1","OperationBinding","$visitor"]),Gm.refract=zf(["visitors","document","objects","bindings","amqp1","ServerBinding","$visitor"]),ch.refract=zf(["visitors","document","objects","bindings","http","ChannelBinding","$visitor"]),ph.refract=zf(["visitors","document","objects","bindings","http","MessageBinding","$visitor"]),dh.refract=zf(["visitors","document","objects","bindings","http","OperationBinding","$visitor"]),bh.refract=zf(["visitors","document","objects","bindings","http","ServerBinding","$visitor"]),vh.refract=zf(["visitors","document","objects","bindings","googlepubsub","ChannelBinding","$visitor"]),wh.refract=zf(["visitors","document","objects","bindings","googlepubsub","MessageBinding","$visitor"]),Oh.refract=zf(["visitors","document","objects","bindings","googlepubsub","OperationBinding","$visitor"]),$h.refract=zf(["visitors","document","objects","bindings","googlepubsub","ServerBinding","$visitor"]),qh.refract=zf(["visitors","document","objects","bindings","ibmmq","ChannelBinding","$visitor"]),Nh.refract=zf(["visitors","document","objects","bindings","ibmmq","MessageBinding","$visitor"]),Rh.refract=zf(["visitors","document","objects","bindings","ibmmq","OperationBinding","$visitor"]),Dh.refract=zf(["visitors","document","objects","bindings","ibmmq","ServerBinding","$visitor"]),zh.refract=zf(["visitors","document","objects","bindings","jms","ChannelBinding","$visitor"]),Gh.refract=zf(["visitors","document","objects","bindings","jms","MessageBinding","$visitor"]),Zh.refract=zf(["visitors","document","objects","bindings","jms","OperationBinding","$visitor"]),Yh.refract=zf(["visitors","document","objects","bindings","jms","ServerBinding","$visitor"]),nd.refract=zf(["visitors","document","objects","bindings","kafka","ChannelBinding","$visitor"]),id.refract=zf(["visitors","document","objects","bindings","kafka","MessageBinding","$visitor"]),cd.refract=zf(["visitors","document","objects","bindings","kafka","OperationBinding","$visitor"]),pd.refract=zf(["visitors","document","objects","bindings","kafka","ServerBinding","$visitor"]),Zm.refract=zf(["visitors","document","objects","bindings","anypointmq","ChannelBinding","$visitor"]),Ym.refract=zf(["visitors","document","objects","bindings","anypointmq","MessageBinding","$visitor"]),nh.refract=zf(["visitors","document","objects","bindings","anypointmq","OperationBinding","$visitor"]),ih.refract=zf(["visitors","document","objects","bindings","anypointmq","ServerBinding","$visitor"]),dd.refract=zf(["visitors","document","objects","bindings","mercure","ChannelBinding","$visitor"]),bd.refract=zf(["visitors","document","objects","bindings","mercure","MessageBinding","$visitor"]),vd.refract=zf(["visitors","document","objects","bindings","mercure","OperationBinding","$visitor"]),wd.refract=zf(["visitors","document","objects","bindings","mercure","ServerBinding","$visitor"]),Od.refract=zf(["visitors","document","objects","bindings","mqtt","ChannelBinding","$visitor"]),$d.refract=zf(["visitors","document","objects","bindings","mqtt","MessageBinding","$visitor"]),qd.refract=zf(["visitors","document","objects","bindings","mqtt","OperationBinding","$visitor"]),Nd.refract=zf(["visitors","document","objects","bindings","mqtt","ServerBinding","$visitor"]),Rd.refract=zf(["visitors","document","objects","bindings","mqtt5","ChannelBinding","$visitor"]),Dd.refract=zf(["visitors","document","objects","bindings","mqtt5","MessageBinding","$visitor"]),zd.refract=zf(["visitors","document","objects","bindings","mqtt5","OperationBinding","$visitor"]),Gd.refract=zf(["visitors","document","objects","bindings","mqtt5","ServerBinding","$visitor"]),Zd.refract=zf(["visitors","document","objects","bindings","nats","ChannelBinding","$visitor"]),Yd.refract=zf(["visitors","document","objects","bindings","nats","MessageBinding","$visitor"]),ng.refract=zf(["visitors","document","objects","bindings","nats","OperationBinding","$visitor"]),ig.refract=zf(["visitors","document","objects","bindings","nats","ServerBinding","$visitor"]),cg.refract=zf(["visitors","document","objects","bindings","pulsar","ChannelBinding","$visitor"]),pg.refract=zf(["visitors","document","objects","bindings","pulsar","MessageBinding","$visitor"]),dg.refract=zf(["visitors","document","objects","bindings","pulsar","OperationBinding","$visitor"]),bg.refract=zf(["visitors","document","objects","bindings","pulsar","ServerBinding","$visitor"]),vg.refract=zf(["visitors","document","objects","bindings","redis","ChannelBinding","$visitor"]),wg.refract=zf(["visitors","document","objects","bindings","redis","MessageBinding","$visitor"]),Og.refract=zf(["visitors","document","objects","bindings","redis","OperationBinding","$visitor"]),$g.refract=zf(["visitors","document","objects","bindings","redis","ServerBinding","$visitor"]),qg.refract=zf(["visitors","document","objects","bindings","sns","ChannelBinding","$visitor"]),Ng.refract=zf(["visitors","document","objects","bindings","sns","MessageBinding","$visitor"]),Rg.refract=zf(["visitors","document","objects","bindings","sns","OperationBinding","$visitor"]),Dg.refract=zf(["visitors","document","objects","bindings","sns","ServerBinding","$visitor"]),zg.refract=zf(["visitors","document","objects","bindings","solace","ChannelBinding","$visitor"]),Gg.refract=zf(["visitors","document","objects","bindings","solace","MessageBinding","$visitor"]),Zg.refract=zf(["visitors","document","objects","bindings","solace","OperationBinding","$visitor"]),Yg.refract=zf(["visitors","document","objects","bindings","solace","ServerBinding","$visitor"]),nf.refract=zf(["visitors","document","objects","bindings","sqs","ChannelBinding","$visitor"]),of.refract=zf(["visitors","document","objects","bindings","sqs","MessageBinding","$visitor"]),uf.refract=zf(["visitors","document","objects","bindings","sqs","OperationBinding","$visitor"]),mf.refract=zf(["visitors","document","objects","bindings","sqs","ServerBinding","$visitor"]),gf.refract=zf(["visitors","document","objects","bindings","stomp","ChannelBinding","$visitor"]),yf.refract=zf(["visitors","document","objects","bindings","stomp","MessageBinding","$visitor"]),Sf.refract=zf(["visitors","document","objects","bindings","stomp","OperationBinding","$visitor"]),jf.refract=zf(["visitors","document","objects","bindings","stomp","ServerBinding","$visitor"]),Bf.refract=zf(["visitors","document","objects","bindings","ws","ChannelBinding","$visitor"]),Af.refract=zf(["visitors","document","objects","bindings","ws","MessageBinding","$visitor"]),kf.refract=zf(["visitors","document","objects","bindings","ws","OperationBinding","$visitor"]),If.refract=zf(["visitors","document","objects","bindings","ws","ServerBinding","$visitor"]);const Uf=new zp(...Up.filterByFormat("generic"),...Up.filterByFormat("json")),Wf=/"asyncapi"\s*:\s*"(?<version_json>2\.(?:[1-9]\d*|0)\.(?:[1-9]\d*|0))"/,Gf=async e=>Wf.test(e)&&await(async e=>{if(!As.test(e))return!1;try{return"ERROR"!==(await wt(e)).rootNode.type}catch{return!1}})(e),Kf=async(e,t={})=>{const n=f({},"refractorOpts",t),s=y(["refractorOpts"],t),r=await(async(e,{sourceMap:t=!1,syntacticAnalysis:n="direct"}={})=>{const s=await wt(e);let r;return r="indirect"===n?$s(s,{sourceMap:t}):zn(s,{sourceMap:t}),r})(e,s),{result:i}=r;if(oe(i)){const e=Fo.refract(i,n);e.classes.push("result"),r.replaceResult(e)}return r},Hf=lt(Df)})(),s})()));
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.apidomParserAdapterAsyncApiJson2=t():e.apidomParserAdapterAsyncApiJson2=t()}(self,(()=>(()=>{var e={9408:(e,t,s)=>{var n=s(2676)(s(9088),"DataView");e.exports=n},9728:(e,t,s)=>{var n=s(7152),r=s(1372),i=s(1084),o=s(3516),c=s(1836);function a(e){var t=-1,s=null==e?0:e.length;for(this.clear();++t<s;){var n=e[t];this.set(n[0],n[1])}}a.prototype.clear=n,a.prototype.delete=r,a.prototype.get=i,a.prototype.has=o,a.prototype.set=c,e.exports=a},4920:(e,t,s)=>{var n=s(2444),r=s(8776),i=s(3580),o=s(1776),c=s(4688);function a(e){var t=-1,s=null==e?0:e.length;for(this.clear();++t<s;){var n=e[t];this.set(n[0],n[1])}}a.prototype.clear=n,a.prototype.delete=r,a.prototype.get=i,a.prototype.has=o,a.prototype.set=c,e.exports=a},8192:(e,t,s)=>{var n=s(2676)(s(9088),"Map");e.exports=n},9892:(e,t,s)=>{var n=s(4112),r=s(1928),i=s(8976),o=s(9336),c=s(3976);function a(e){var t=-1,s=null==e?0:e.length;for(this.clear();++t<s;){var n=e[t];this.set(n[0],n[1])}}a.prototype.clear=n,a.prototype.delete=r,a.prototype.get=i,a.prototype.has=o,a.prototype.set=c,e.exports=a},5092:(e,t,s)=>{var n=s(2676)(s(9088),"Promise");e.exports=n},7968:(e,t,s)=>{var n=s(2676)(s(9088),"Set");e.exports=n},2539:(e,t,s)=>{var n=s(9892),r=s(520),i=s(6240);function o(e){var t=-1,s=null==e?0:e.length;for(this.__data__=new n;++t<s;)this.add(e[t])}o.prototype.add=o.prototype.push=r,o.prototype.has=i,e.exports=o},3288:(e,t,s)=>{var n=s(4920),r=s(816),i=s(4040),o=s(3304),c=s(4316),a=s(2968);function u(e){var t=this.__data__=new n(e);this.size=t.size}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=c,u.prototype.set=a,e.exports=u},3972:(e,t,s)=>{var n=s(9088).Symbol;e.exports=n},400:(e,t,s)=>{var n=s(9088).Uint8Array;e.exports=n},1432:(e,t,s)=>{var n=s(2676)(s(9088),"WeakMap");e.exports=n},2856:e=>{e.exports=function(e,t){for(var s=-1,n=null==e?0:e.length,r=0,i=[];++s<n;){var o=e[s];t(o,s,e)&&(i[r++]=o)}return i}},192:(e,t,s)=>{var n=s(9664),r=s(3396),i=s(1648),o=s(9028),c=s(1640),a=s(5692),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var s=i(e),l=!s&&r(e),p=!s&&!l&&o(e),h=!s&&!l&&!p&&a(e),d=s||l||p||h,m=d?n(e.length,String):[],g=m.length;for(var f in e)!t&&!u.call(e,f)||d&&("length"==f||p&&("offset"==f||"parent"==f)||h&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||c(f,g))||m.push(f);return m}},4972:e=>{e.exports=function(e,t){for(var s=-1,n=t.length,r=e.length;++s<n;)e[r+s]=t[s];return e}},8702:e=>{e.exports=function(e,t){for(var s=-1,n=null==e?0:e.length;++s<n;)if(t(e[s],s,e))return!0;return!1}},1840:(e,t,s)=>{var n=s(4684);e.exports=function(e,t){for(var s=e.length;s--;)if(n(e[s][0],t))return s;return-1}},9476:(e,t,s)=>{var n=s(4972),r=s(1648);e.exports=function(e,t,s){var i=t(e);return r(e)?i:n(i,s(e))}},7596:(e,t,s)=>{var n=s(3972),r=s(712),i=s(2640),o=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?r(e):i(e)}},5064:(e,t,s)=>{var n=s(7596),r=s(8152);e.exports=function(e){return r(e)&&"[object Arguments]"==n(e)}},7816:(e,t,s)=>{var n=s(4480),r=s(8152);e.exports=function e(t,s,i,o,c){return t===s||(null==t||null==s||!r(t)&&!r(s)?t!=t&&s!=s:n(t,s,i,o,e,c))}},4480:(e,t,s)=>{var n=s(3288),r=s(7227),i=s(1872),o=s(3980),c=s(2300),a=s(1648),u=s(9028),l=s(5692),p="[object Arguments]",h="[object Array]",d="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,t,s,g,f,b){var v=a(e),y=a(t),_=v?h:c(e),w=y?h:c(t),x=(_=_==p?d:_)==d,E=(w=w==p?d:w)==d,S=_==w;if(S&&u(e)){if(!u(t))return!1;v=!0,x=!1}if(S&&!x)return b||(b=new n),v||l(e)?r(e,t,s,g,f,b):i(e,t,_,s,g,f,b);if(!(1&s)){var j=x&&m.call(e,"__wrapped__"),O=E&&m.call(t,"__wrapped__");if(j||O){var B=j?e.value():e,P=O?t.value():t;return b||(b=new n),f(B,P,s,g,b)}}return!!S&&(b||(b=new n),o(e,t,s,g,f,b))}},7376:(e,t,s)=>{var n=s(9848),r=s(9008),i=s(3016),o=s(4776),c=/^\[object .+?Constructor\]$/,a=Function.prototype,u=Object.prototype,l=a.toString,p=u.hasOwnProperty,h=RegExp("^"+l.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||r(e))&&(n(e)?h:c).test(o(e))}},420:(e,t,s)=>{var n=s(7596),r=s(9912),i=s(8152),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&r(e.length)&&!!o[n(e)]}},2144:(e,t,s)=>{var n=s(4084),r=s(7532),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return r(e);var t=[];for(var s in Object(e))i.call(e,s)&&"constructor"!=s&&t.push(s);return t}},9664:e=>{e.exports=function(e,t){for(var s=-1,n=Array(e);++s<e;)n[s]=t(s);return n}},5792:e=>{e.exports=function(e){return function(t){return e(t)}}},2844:e=>{e.exports=function(e,t){return e.has(t)}},1812:(e,t,s)=>{var n=s(9088)["__core-js_shared__"];e.exports=n},7227:(e,t,s)=>{var n=s(2539),r=s(8702),i=s(2844);e.exports=function(e,t,s,o,c,a){var u=1&s,l=e.length,p=t.length;if(l!=p&&!(u&&p>l))return!1;var h=a.get(e),d=a.get(t);if(h&&d)return h==t&&d==e;var m=-1,g=!0,f=2&s?new n:void 0;for(a.set(e,t),a.set(t,e);++m<l;){var b=e[m],v=t[m];if(o)var y=u?o(v,b,m,t,e,a):o(b,v,m,e,t,a);if(void 0!==y){if(y)continue;g=!1;break}if(f){if(!r(t,(function(e,t){if(!i(f,t)&&(b===e||c(b,e,s,o,a)))return f.push(t)}))){g=!1;break}}else if(b!==v&&!c(b,v,s,o,a)){g=!1;break}}return a.delete(e),a.delete(t),g}},1872:(e,t,s)=>{var n=s(3972),r=s(400),i=s(4684),o=s(7227),c=s(8788),a=s(7280),u=n?n.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,s,n,u,p,h){switch(s){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!p(new r(e),new r(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=c;case"[object Set]":var m=1&n;if(d||(d=a),e.size!=t.size&&!m)return!1;var g=h.get(e);if(g)return g==t;n|=2,h.set(e,t);var f=o(d(e),d(t),n,u,p,h);return h.delete(e),f;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},3980:(e,t,s)=>{var n=s(2892),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,s,i,o,c){var a=1&s,u=n(e),l=u.length;if(l!=n(t).length&&!a)return!1;for(var p=l;p--;){var h=u[p];if(!(a?h in t:r.call(t,h)))return!1}var d=c.get(e),m=c.get(t);if(d&&m)return d==t&&m==e;var g=!0;c.set(e,t),c.set(t,e);for(var f=a;++p<l;){var b=e[h=u[p]],v=t[h];if(i)var y=a?i(v,b,h,t,e,c):i(b,v,h,e,t,c);if(!(void 0===y?b===v||o(b,v,s,i,c):y)){g=!1;break}f||(f="constructor"==h)}if(g&&!f){var _=e.constructor,w=t.constructor;_==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w||(g=!1)}return c.delete(e),c.delete(t),g}},7400:(e,t,s)=>{var n="object"==typeof s.g&&s.g&&s.g.Object===Object&&s.g;e.exports=n},2892:(e,t,s)=>{var n=s(9476),r=s(7112),i=s(2820);e.exports=function(e){return n(e,i,r)}},2840:(e,t,s)=>{var n=s(6768);e.exports=function(e,t){var s=e.__data__;return n(t)?s["string"==typeof t?"string":"hash"]:s.map}},2676:(e,t,s)=>{var n=s(7376),r=s(2420);e.exports=function(e,t){var s=r(e,t);return n(s)?s:void 0}},712:(e,t,s)=>{var n=s(3972),r=Object.prototype,i=r.hasOwnProperty,o=r.toString,c=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,c),s=e[c];try{e[c]=void 0;var n=!0}catch(e){}var r=o.call(e);return n&&(t?e[c]=s:delete e[c]),r}},7112:(e,t,s)=>{var n=s(2856),r=s(5992),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,c=o?function(e){return null==e?[]:(e=Object(e),n(o(e),(function(t){return i.call(e,t)})))}:r;e.exports=c},2300:(e,t,s)=>{var n=s(9408),r=s(8192),i=s(5092),o=s(7968),c=s(1432),a=s(7596),u=s(4776),l="[object Map]",p="[object Promise]",h="[object Set]",d="[object WeakMap]",m="[object DataView]",g=u(n),f=u(r),b=u(i),v=u(o),y=u(c),_=a;(n&&_(new n(new ArrayBuffer(1)))!=m||r&&_(new r)!=l||i&&_(i.resolve())!=p||o&&_(new o)!=h||c&&_(new c)!=d)&&(_=function(e){var t=a(e),s="[object Object]"==t?e.constructor:void 0,n=s?u(s):"";if(n)switch(n){case g:return m;case f:return l;case b:return p;case v:return h;case y:return d}return t}),e.exports=_},2420:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},7152:(e,t,s)=>{var n=s(3768);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},1372:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},1084:(e,t,s)=>{var n=s(3768),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var s=t[e];return"__lodash_hash_undefined__"===s?void 0:s}return r.call(t,e)?t[e]:void 0}},3516:(e,t,s)=>{var n=s(3768),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:r.call(t,e)}},1836:(e,t,s)=>{var n=s(3768);e.exports=function(e,t){var s=this.__data__;return this.size+=this.has(e)?0:1,s[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},1640:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,s){var n=typeof e;return!!(s=null==s?9007199254740991:s)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<s}},6768:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},9008:(e,t,s)=>{var n,r=s(1812),i=(n=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!i&&i in e}},4084:e=>{var t=Object.prototype;e.exports=function(e){var s=e&&e.constructor;return e===("function"==typeof s&&s.prototype||t)}},2444:e=>{e.exports=function(){this.__data__=[],this.size=0}},8776:(e,t,s)=>{var n=s(1840),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,s=n(t,e);return!(s<0)&&(s==t.length-1?t.pop():r.call(t,s,1),--this.size,!0)}},3580:(e,t,s)=>{var n=s(1840);e.exports=function(e){var t=this.__data__,s=n(t,e);return s<0?void 0:t[s][1]}},1776:(e,t,s)=>{var n=s(1840);e.exports=function(e){return n(this.__data__,e)>-1}},4688:(e,t,s)=>{var n=s(1840);e.exports=function(e,t){var s=this.__data__,r=n(s,e);return r<0?(++this.size,s.push([e,t])):s[r][1]=t,this}},4112:(e,t,s)=>{var n=s(9728),r=s(4920),i=s(8192);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||r),string:new n}}},1928:(e,t,s)=>{var n=s(2840);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},8976:(e,t,s)=>{var n=s(2840);e.exports=function(e){return n(this,e).get(e)}},9336:(e,t,s)=>{var n=s(2840);e.exports=function(e){return n(this,e).has(e)}},3976:(e,t,s)=>{var n=s(2840);e.exports=function(e,t){var s=n(this,e),r=s.size;return s.set(e,t),this.size+=s.size==r?0:1,this}},8788:e=>{e.exports=function(e){var t=-1,s=Array(e.size);return e.forEach((function(e,n){s[++t]=[n,e]})),s}},3768:(e,t,s)=>{var n=s(2676)(Object,"create");e.exports=n},7532:(e,t,s)=>{var n=s(8443)(Object.keys,Object);e.exports=n},1548:(e,t,s)=>{e=s.nmd(e);var n=s(7400),r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,o=i&&i.exports===r&&n.process,c=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=c},2640:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},8443:e=>{e.exports=function(e,t){return function(s){return e(t(s))}}},9088:(e,t,s)=>{var n=s(7400),r="object"==typeof self&&self&&self.Object===Object&&self,i=n||r||Function("return this")();e.exports=i},520:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},6240:e=>{e.exports=function(e){return this.__data__.has(e)}},7280:e=>{e.exports=function(e){var t=-1,s=Array(e.size);return e.forEach((function(e){s[++t]=e})),s}},816:(e,t,s)=>{var n=s(4920);e.exports=function(){this.__data__=new n,this.size=0}},4040:e=>{e.exports=function(e){var t=this.__data__,s=t.delete(e);return this.size=t.size,s}},3304:e=>{e.exports=function(e){return this.__data__.get(e)}},4316:e=>{e.exports=function(e){return this.__data__.has(e)}},2968:(e,t,s)=>{var n=s(4920),r=s(8192),i=s(9892);e.exports=function(e,t){var s=this.__data__;if(s instanceof n){var o=s.__data__;if(!r||o.length<199)return o.push([e,t]),this.size=++s.size,this;s=this.__data__=new i(o)}return s.set(e,t),this.size=s.size,this}},4776:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},4684:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},3396:(e,t,s)=>{var n=s(5064),r=s(8152),i=Object.prototype,o=i.hasOwnProperty,c=i.propertyIsEnumerable,a=n(function(){return arguments}())?n:function(e){return r(e)&&o.call(e,"callee")&&!c.call(e,"callee")};e.exports=a},1648:e=>{var t=Array.isArray;e.exports=t},2468:(e,t,s)=>{var n=s(9848),r=s(9912);e.exports=function(e){return null!=e&&r(e.length)&&!n(e)}},5904:(e,t,s)=>{var n=s(7596),r=s(8152);e.exports=function(e){return!0===e||!1===e||r(e)&&"[object Boolean]"==n(e)}},9028:(e,t,s)=>{e=s.nmd(e);var n=s(9088),r=s(6388),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,c=o&&o.exports===i?n.Buffer:void 0,a=(c?c.isBuffer:void 0)||r;e.exports=a},4744:(e,t,s)=>{var n=s(7816);e.exports=function(e,t){return n(e,t)}},9848:(e,t,s)=>{var n=s(7596),r=s(3016);e.exports=function(e){if(!r(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},9912:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},9948:e=>{e.exports=function(e){return null===e}},776:(e,t,s)=>{var n=s(7596),r=s(8152);e.exports=function(e){return"number"==typeof e||r(e)&&"[object Number]"==n(e)}},3016:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},8152:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},3116:(e,t,s)=>{var n=s(7596),r=s(1648),i=s(8152);e.exports=function(e){return"string"==typeof e||!r(e)&&i(e)&&"[object String]"==n(e)}},5692:(e,t,s)=>{var n=s(420),r=s(5792),i=s(1548),o=i&&i.isTypedArray,c=o?r(o):n;e.exports=c},2820:(e,t,s)=>{var n=s(192),r=s(2144),i=s(2468);e.exports=function(e){return i(e)?n(e):r(e)}},9364:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},5992:e=>{e.exports=function(){return[]}},6388:e=>{e.exports=function(){return!1}},1715:(e,t,s)=>{const n=s(9364);function r(e){return"string"==typeof e?t=>t.element===e:e.constructor&&e.extend?t=>t instanceof e:e}class i{constructor(e){this.elements=e||[]}toValue(){return this.elements.map((e=>e.toValue()))}map(e,t){return this.elements.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const s=[];return this.forEach((n=>{const r=e.bind(t)(n);r&&s.push(r)})),s}filter(e,t){return e=r(e),new i(this.elements.filter(e,t))}reject(e,t){return e=r(e),new i(this.elements.filter(n(e),t))}find(e,t){return e=r(e),this.elements.find(e,t)}forEach(e,t){this.elements.forEach(e,t)}reduce(e,t){return this.elements.reduce(e,t)}includes(e){return this.elements.some((t=>t.equals(e)))}shift(){return this.elements.shift()}unshift(e){this.elements.unshift(this.refract(e))}push(e){return this.elements.push(this.refract(e)),this}add(e){this.push(e)}get(e){return this.elements[e]}getValue(e){const t=this.elements[e];if(t)return t.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(i.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),e.exports=i},6984:e=>{class t{constructor(e,t){this.key=e,this.value=t}clone(){const e=new t;return this.key&&(e.key=this.key.clone()),this.value&&(e.value=this.value.clone()),e}}e.exports=t},5524:(e,t,s)=>{const n=s(9948),r=s(3116),i=s(776),o=s(5904),c=s(3016),a=s(824),u=s(5012);class l{constructor(e){this.elementMap={},this.elementDetection=[],this.Element=u.Element,this.KeyValuePair=u.KeyValuePair,e&&e.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(e){return e.namespace&&e.namespace({base:this}),e.load&&e.load({base:this}),this}useDefault(){return this.register("null",u.NullElement).register("string",u.StringElement).register("number",u.NumberElement).register("boolean",u.BooleanElement).register("array",u.ArrayElement).register("object",u.ObjectElement).register("member",u.MemberElement).register("ref",u.RefElement).register("link",u.LinkElement),this.detect(n,u.NullElement,!1).detect(r,u.StringElement,!1).detect(i,u.NumberElement,!1).detect(o,u.BooleanElement,!1).detect(Array.isArray,u.ArrayElement,!1).detect(c,u.ObjectElement,!1),this}register(e,t){return this._elements=void 0,this.elementMap[e]=t,this}unregister(e){return this._elements=void 0,delete this.elementMap[e],this}detect(e,t,s){return void 0===s||s?this.elementDetection.unshift([e,t]):this.elementDetection.push([e,t]),this}toElement(e){if(e instanceof this.Element)return e;let t;for(let s=0;s<this.elementDetection.length;s+=1){const n=this.elementDetection[s][0],r=this.elementDetection[s][1];if(n(e)){t=new r(e);break}}return t}getElementClass(e){const t=this.elementMap[e];return void 0===t?this.Element:t}fromRefract(e){return this.serialiser.deserialise(e)}toRefract(e){return this.serialiser.serialise(e)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((e=>{const t=e[0].toUpperCase()+e.substr(1);this._elements[t]=this.elementMap[e]}))),this._elements}get serialiser(){return new a(this)}}a.prototype.Namespace=l,e.exports=l},6040:(e,t,s)=>{const n=s(9364),r=s(1715);class i extends r{map(e,t){return this.elements.map((s=>e.bind(t)(s.value,s.key,s)))}filter(e,t){return new i(this.elements.filter((s=>e.bind(t)(s.value,s.key,s))))}reject(e,t){return this.filter(n(e.bind(t)))}forEach(e,t){return this.elements.forEach(((s,n)=>{e.bind(t)(s.value,s.key,s,n)}))}keys(){return this.map(((e,t)=>t.toValue()))}values(){return this.map((e=>e.toValue()))}}e.exports=i},5012:(e,t,s)=>{const n=s(3216),r=s(904),i=s(2800),o=s(8640),c=s(1164),a=s(5208),u=s(7416),l=s(1800),p=s(5048),h=s(3392),d=s(1715),m=s(6040),g=s(6984);function f(e){if(e instanceof n)return e;if("string"==typeof e)return new i(e);if("number"==typeof e)return new o(e);if("boolean"==typeof e)return new c(e);if(null===e)return new r;if(Array.isArray(e))return new a(e.map(f));if("object"==typeof e){return new l(e)}return e}n.prototype.ObjectElement=l,n.prototype.RefElement=h,n.prototype.MemberElement=u,n.prototype.refract=f,d.prototype.refract=f,e.exports={Element:n,NullElement:r,StringElement:i,NumberElement:o,BooleanElement:c,ArrayElement:a,MemberElement:u,ObjectElement:l,LinkElement:p,RefElement:h,refract:f,ArraySlice:d,ObjectSlice:m,KeyValuePair:g}},5048:(e,t,s)=>{const n=s(3216);e.exports=class extends n{constructor(e,t,s){super(e||[],t,s),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(e){this.attributes.set("relation",e)}get href(){return this.attributes.get("href")}set href(e){this.attributes.set("href",e)}}},3392:(e,t,s)=>{const n=s(3216);e.exports=class extends n{constructor(e,t,s){super(e||[],t,s),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(e){this.attributes.set("path",e)}}},928:(e,t,s)=>{const n=s(5524),r=s(5012);t.MH=n,t.KeyValuePair=s(6984),t.eW=r.ArraySlice,t.wL=r.ObjectSlice,t.gr=r.Element,t.M$=r.StringElement,t.wH=r.NumberElement,t.Ar=r.BooleanElement,t.WM=r.NullElement,t.uQ=r.ArrayElement,t.We=r.ObjectElement,t.u6=r.MemberElement,t.eE=r.RefElement,t.UH=r.LinkElement,t.WG=r.refract,s(824),s(6400)},5208:(e,t,s)=>{const n=s(9364),r=s(3216),i=s(1715);class o extends r{constructor(e,t,s){super(e||[],t,s),this.element="array"}primitive(){return"array"}get(e){return this.content[e]}getValue(e){const t=this.get(e);if(t)return t.toValue()}getIndex(e){return this.content[e]}set(e,t){return this.content[e]=this.refract(t),this}remove(e){const t=this.content.splice(e,1);return t.length?t[0]:null}map(e,t){return this.content.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const s=[];return this.forEach((n=>{const r=e.bind(t)(n);r&&s.push(r)})),s}filter(e,t){return new i(this.content.filter(e,t))}reject(e,t){return this.filter(n(e),t)}reduce(e,t){let s,n;void 0!==t?(s=0,n=this.refract(t)):(s=1,n="object"===this.primitive()?this.first.value:this.first);for(let t=s;t<this.length;t+=1){const s=this.content[t];n="object"===this.primitive()?this.refract(e(n,s.value,s.key,s,this)):this.refract(e(n,s,t,this))}return n}forEach(e,t){this.content.forEach(((s,n)=>{e.bind(t)(s,this.refract(n))}))}shift(){return this.content.shift()}unshift(e){this.content.unshift(this.refract(e))}push(e){return this.content.push(this.refract(e)),this}add(e){this.push(e)}findElements(e,t){const s=t||{},n=!!s.recursive,r=void 0===s.results?[]:s.results;return this.forEach(((t,s,i)=>{n&&void 0!==t.findElements&&t.findElements(e,{results:r,recursive:n}),e(t,s,i)&&r.push(t)})),r}find(e){return new i(this.findElements(e,{recursive:!0}))}findByElement(e){return this.find((t=>t.element===e))}findByClass(e){return this.find((t=>t.classes.includes(e)))}getById(e){return this.find((t=>t.id.toValue()===e)).first}includes(e){return this.content.some((t=>t.equals(e)))}contains(e){return this.includes(e)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(e){return new this.constructor(this.content.concat(e.content))}"fantasy-land/concat"(e){return this.concat(e)}"fantasy-land/map"(e){return new this.constructor(this.map(e))}"fantasy-land/chain"(e){return this.map((t=>e(t)),this).reduce(((e,t)=>e.concat(t)),this.empty())}"fantasy-land/filter"(e){return new this.constructor(this.content.filter(e))}"fantasy-land/reduce"(e,t){return this.content.reduce(e,t)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}o.empty=function(){return new this},o["fantasy-land/empty"]=o.empty,"undefined"!=typeof Symbol&&(o.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),e.exports=o},1164:(e,t,s)=>{const n=s(3216);e.exports=class extends n{constructor(e,t,s){super(e,t,s),this.element="boolean"}primitive(){return"boolean"}}},3216:(e,t,s)=>{const n=s(4744),r=s(6984),i=s(1715);class o{constructor(e,t,s){t&&(this.meta=t),s&&(this.attributes=s),this.content=e}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach((e=>{e.parent=this,e.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const e=new this.constructor;return e.element=this.element,this.meta.length&&(e._meta=this.meta.clone()),this.attributes.length&&(e._attributes=this.attributes.clone()),this.content?this.content.clone?e.content=this.content.clone():Array.isArray(this.content)?e.content=this.content.map((e=>e.clone())):e.content=this.content:e.content=this.content,e}toValue(){return this.content instanceof o?this.content.toValue():this.content instanceof r?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((e=>e.toValue()),this):this.content}toRef(e){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const t=new this.RefElement(this.id.toValue());return e&&(t.path=e),t}findRecursive(...e){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const t=e.pop();let s=new i;const n=(e,t)=>(e.push(t),e),o=(e,s)=>{s.element===t&&e.push(s);const i=s.findRecursive(t);return i&&i.reduce(n,e),s.content instanceof r&&(s.content.key&&o(e,s.content.key),s.content.value&&o(e,s.content.value)),e};return this.content&&(this.content.element&&o(s,this.content),Array.isArray(this.content)&&this.content.reduce(o,s)),e.isEmpty||(s=s.filter((t=>{let s=t.parents.map((e=>e.element));for(const t in e){const n=e[t],r=s.indexOf(n);if(-1===r)return!1;s=s.splice(0,r)}return!0}))),s}set(e){return this.content=e,this}equals(e){return n(this.toValue(),e)}getMetaProperty(e,t){if(!this.meta.hasKey(e)){if(this.isFrozen){const e=this.refract(t);return e.freeze(),e}this.meta.set(e,t)}return this.meta.get(e)}setMetaProperty(e,t){this.meta.set(e,t)}get element(){return this._storedElement||"element"}set element(e){this._storedElement=e}get content(){return this._content}set content(e){if(e instanceof o)this._content=e;else if(e instanceof i)this.content=e.elements;else if("string"==typeof e||"number"==typeof e||"boolean"==typeof e||"null"===e||null==e)this._content=e;else if(e instanceof r)this._content=e;else if(Array.isArray(e))this._content=e.map(this.refract);else{if("object"!=typeof e)throw new Error("Cannot set content to given value");this._content=Object.keys(e).map((t=>new this.MemberElement(t,e[t])))}}get meta(){if(!this._meta){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._meta=new this.ObjectElement}return this._meta}set meta(e){e instanceof this.ObjectElement?this._meta=e:this.meta.set(e||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._attributes=new this.ObjectElement}return this._attributes}set attributes(e){e instanceof this.ObjectElement?this._attributes=e:this.attributes.set(e||{})}get id(){return this.getMetaProperty("id","")}set id(e){this.setMetaProperty("id",e)}get classes(){return this.getMetaProperty("classes",[])}set classes(e){this.setMetaProperty("classes",e)}get title(){return this.getMetaProperty("title","")}set title(e){this.setMetaProperty("title",e)}get description(){return this.getMetaProperty("description","")}set description(e){this.setMetaProperty("description",e)}get links(){return this.getMetaProperty("links",[])}set links(e){this.setMetaProperty("links",e)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:e}=this;const t=new i;for(;e;)t.push(e),e=e.parent;return t}get children(){if(Array.isArray(this.content))return new i(this.content);if(this.content instanceof r){const e=new i([this.content.key]);return this.content.value&&e.push(this.content.value),e}return this.content instanceof o?new i([this.content]):new i}get recursiveChildren(){const e=new i;return this.children.forEach((t=>{e.push(t),t.recursiveChildren.forEach((t=>{e.push(t)}))})),e}}e.exports=o},7416:(e,t,s)=>{const n=s(6984),r=s(3216);e.exports=class extends r{constructor(e,t,s,r){super(new n,s,r),this.element="member",this.key=e,this.value=t}get key(){return this.content.key}set key(e){this.content.key=this.refract(e)}get value(){return this.content.value}set value(e){this.content.value=this.refract(e)}}},904:(e,t,s)=>{const n=s(3216);e.exports=class extends n{constructor(e,t,s){super(e||null,t,s),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},8640:(e,t,s)=>{const n=s(3216);e.exports=class extends n{constructor(e,t,s){super(e,t,s),this.element="number"}primitive(){return"number"}}},1800:(e,t,s)=>{const n=s(9364),r=s(3016),i=s(5208),o=s(7416),c=s(6040);e.exports=class extends i{constructor(e,t,s){super(e||[],t,s),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((e,t)=>(e[t.key.toValue()]=t.value?t.value.toValue():void 0,e)),{})}get(e){const t=this.getMember(e);if(t)return t.value}getMember(e){if(void 0!==e)return this.content.find((t=>t.key.toValue()===e))}remove(e){let t=null;return this.content=this.content.filter((s=>s.key.toValue()!==e||(t=s,!1))),t}getKey(e){const t=this.getMember(e);if(t)return t.key}set(e,t){if(r(e))return Object.keys(e).forEach((t=>{this.set(t,e[t])})),this;const s=e,n=this.getMember(s);return n?n.value=t:this.content.push(new o(s,t)),this}keys(){return this.content.map((e=>e.key.toValue()))}values(){return this.content.map((e=>e.value.toValue()))}hasKey(e){return this.content.some((t=>t.key.equals(e)))}items(){return this.content.map((e=>[e.key.toValue(),e.value.toValue()]))}map(e,t){return this.content.map((s=>e.bind(t)(s.value,s.key,s)))}compactMap(e,t){const s=[];return this.forEach(((n,r,i)=>{const o=e.bind(t)(n,r,i);o&&s.push(o)})),s}filter(e,t){return new c(this.content).filter(e,t)}reject(e,t){return this.filter(n(e),t)}forEach(e,t){return this.content.forEach((s=>e.bind(t)(s.value,s.key,s)))}}},2800:(e,t,s)=>{const n=s(3216);e.exports=class extends n{constructor(e,t,s){super(e,t,s),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},6400:(e,t,s)=>{const n=s(824);e.exports=class extends n{serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);let t;e._attributes&&e.attributes.get("variable")&&(t=e.attributes.get("variable"));const s={element:e.element};e._meta&&e._meta.length>0&&(s.meta=this.serialiseObject(e.meta));const n="enum"===e.element||-1!==e.attributes.keys().indexOf("enumerations");if(n){const t=this.enumSerialiseAttributes(e);t&&(s.attributes=t)}else if(e._attributes&&e._attributes.length>0){let{attributes:n}=e;n.get("metadata")&&(n=n.clone(),n.set("meta",n.get("metadata")),n.remove("metadata")),"member"===e.element&&t&&(n=n.clone(),n.remove("variable")),n.length>0&&(s.attributes=this.serialiseObject(n))}if(n)s.content=this.enumSerialiseContent(e,s);else if(this[`${e.element}SerialiseContent`])s.content=this[`${e.element}SerialiseContent`](e,s);else if(void 0!==e.content){let n;t&&e.content.key?(n=e.content.clone(),n.key.attributes.set("variable",t),n=this.serialiseContent(n)):n=this.serialiseContent(e.content),this.shouldSerialiseContent(e,n)&&(s.content=n)}else this.shouldSerialiseContent(e,e.content)&&e instanceof this.namespace.elements.Array&&(s.content=[]);return s}shouldSerialiseContent(e,t){return"parseResult"===e.element||"httpRequest"===e.element||"httpResponse"===e.element||"category"===e.element||"link"===e.element||void 0!==t&&(!Array.isArray(t)||0!==t.length)}refSerialiseContent(e,t){return delete t.attributes,{href:e.toValue(),path:e.path.toValue()}}sourceMapSerialiseContent(e){return e.toValue()}dataStructureSerialiseContent(e){return[this.serialiseContent(e.content)]}enumSerialiseAttributes(e){const t=e.attributes.clone(),s=t.remove("enumerations")||new this.namespace.elements.Array([]),n=t.get("default");let r=t.get("samples")||new this.namespace.elements.Array([]);if(n&&n.content&&(n.content.attributes&&n.content.attributes.remove("typeAttributes"),t.set("default",new this.namespace.elements.Array([n.content]))),r.forEach((e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")})),e.content&&0!==s.length&&r.unshift(e.content),r=r.map((e=>e instanceof this.namespace.elements.Array?[e]:new this.namespace.elements.Array([e.content]))),r.length&&t.set("samples",r),t.length>0)return this.serialiseObject(t)}enumSerialiseContent(e){if(e._attributes){const t=e.attributes.get("enumerations");if(t&&t.length>0)return t.content.map((e=>{const t=e.clone();return t.attributes.remove("typeAttributes"),this.serialise(t)}))}if(e.content){const t=e.content.clone();return t.attributes.remove("typeAttributes"),[this.serialise(t)]}return[]}deserialise(e){if("string"==typeof e)return new this.namespace.elements.String(e);if("number"==typeof e)return new this.namespace.elements.Number(e);if("boolean"==typeof e)return new this.namespace.elements.Boolean(e);if(null===e)return new this.namespace.elements.Null;if(Array.isArray(e))return new this.namespace.elements.Array(e.map(this.deserialise,this));const t=this.namespace.getElementClass(e.element),s=new t;s.element!==e.element&&(s.element=e.element),e.meta&&this.deserialiseObject(e.meta,s.meta),e.attributes&&this.deserialiseObject(e.attributes,s.attributes);const n=this.deserialiseContent(e.content);if(void 0===n&&null!==s.content||(s.content=n),"enum"===s.element){s.content&&s.attributes.set("enumerations",s.content);let e=s.attributes.get("samples");if(s.attributes.remove("samples"),e){const n=e;e=new this.namespace.elements.Array,n.forEach((n=>{n.forEach((n=>{const r=new t(n);r.element=s.element,e.push(r)}))}));const r=e.shift();s.content=r?r.content:void 0,s.attributes.set("samples",e)}else s.content=void 0;let n=s.attributes.get("default");if(n&&n.length>0){n=n.get(0);const e=new t(n);e.element=s.element,s.attributes.set("default",e)}}else if("dataStructure"===s.element&&Array.isArray(s.content))[s.content]=s.content;else if("category"===s.element){const e=s.attributes.get("meta");e&&(s.attributes.set("metadata",e),s.attributes.remove("meta"))}else"member"===s.element&&s.key&&s.key._attributes&&s.key._attributes.getValue("variable")&&(s.attributes.set("variable",s.key.attributes.get("variable")),s.key.attributes.remove("variable"));return s}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}return e&&e.map?e.map(this.serialise,this):e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}shouldRefract(e){return!!(e._attributes&&e.attributes.keys().length||e._meta&&e.meta.keys().length)||"enum"!==e.element&&(e.element!==e.primitive()||"member"===e.element)}convertKeyToRefract(e,t){return this.shouldRefract(t)?this.serialise(t):"enum"===t.element?this.serialiseEnum(t):"array"===t.element?t.map((t=>this.shouldRefract(t)||"default"===e?this.serialise(t):"array"===t.element||"object"===t.element||"enum"===t.element?t.children.map((e=>this.serialise(e))):t.toValue())):"object"===t.element?(t.content||[]).map(this.serialise,this):t.toValue()}serialiseEnum(e){return e.children.map((e=>this.serialise(e)))}serialiseObject(e){const t={};return e.forEach(((e,s)=>{if(e){const n=s.toValue();t[n]=this.convertKeyToRefract(n,e)}})),t}deserialiseObject(e,t){Object.keys(e).forEach((s=>{t.set(s,this.deserialise(e[s]))}))}}},824:e=>{e.exports=class{constructor(e){this.namespace=e||new this.Namespace}serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);const t={element:e.element};e._meta&&e._meta.length>0&&(t.meta=this.serialiseObject(e.meta)),e._attributes&&e._attributes.length>0&&(t.attributes=this.serialiseObject(e.attributes));const s=this.serialiseContent(e.content);return void 0!==s&&(t.content=s),t}deserialise(e){if(!e.element)throw new Error("Given value is not an object containing an element name");const t=new(this.namespace.getElementClass(e.element));t.element!==e.element&&(t.element=e.element),e.meta&&this.deserialiseObject(e.meta,t.meta),e.attributes&&this.deserialiseObject(e.attributes,t.attributes);const s=this.deserialiseContent(e.content);return void 0===s&&null!==t.content||(t.content=s),t}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}if(e&&e.map){if(0===e.length)return;return e.map(this.serialise,this)}return e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}serialiseObject(e){const t={};if(e.forEach(((e,s)=>{e&&(t[s.toValue()]=this.serialise(e))})),0!==Object.keys(t).length)return t}deserialiseObject(e,t){Object.keys(e).forEach((s=>{t.set(s,this.deserialise(e[s]))}))}}},4248:e=>{!function(){"use strict";var t,s,n,r,i,o="properties",c="deepProperties",a="propertyDescriptors",u="staticProperties",l="staticDeepProperties",p="staticPropertyDescriptors",h="configuration",d="deepConfiguration",m="deepProps",g="deepStatics",f="deepConf",b="initializers",v="methods",y="composers",_="compose";function w(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[])}function x(e,t){return Array.prototype.slice.call(arguments,2).reduce(e,t)}var E=x.bind(0,(function(e,t){if(t)for(var s=w(t),n=0;n<s.length;n+=1)Object.defineProperty(e,s[n],Object.getOwnPropertyDescriptor(t,s[n]));return e}));function S(e){return"function"==typeof e}function j(e){return e&&"object"==typeof e||S(e)}function O(e){return e&&"object"==typeof e&&e.__proto__==Object.prototype}var B=x.bind(0,(function e(s,n){if(n===t)return s;if(Array.isArray(n))return(Array.isArray(s)?s:[]).concat(n);if(!O(n))return n;for(var r,i,o=w(n),c=0;c<o.length;)r=o[c++],(i=Object.getOwnPropertyDescriptor(n,r)).hasOwnProperty("value")?i.value!==t&&(s[r]=e(O(s[r])||Array.isArray(n[r])?s[r]:{},n[r])):Object.defineProperty(s,r,i);return s}));function P(){return(s=Array.prototype.concat.apply([],arguments).filter((function(e,t,s){return S(e)&&s.indexOf(e)===t}))).length?s:t}function $(e,t){function n(s,n){j(t[s])&&(j(e[s])||(e[s]={}),(n||E)(e[s],t[s]))}function r(n){(s=P(e[n],t[n]))&&(e[n]=s)}return t&&j(t=t[_]||t)&&(n(v),n(o),n(c,B),n(a),n(u),n(l,B),n(p),n(h),n(d,B),r(b),r(y)),e}function M(){return function(e){return s=function e(s){var n,r,i=e[_]||{},u={__proto__:i[v]},l=i[b],p=Array.prototype.slice.apply(arguments),h=i[c];if(h&&B(u,h),(h=i[o])&&E(u,h),(h=i[a])&&Object.defineProperties(u,h),!l||!l.length)return u;for(s===t&&(s={}),i=0;i<l.length;)S(n=l[i++])&&(u=(r=n.call(u,s,{instance:u,stamp:e,args:p}))===t?u:r);return u},(n=e[l])&&B(s,n),(n=e[u])&&E(s,n),(n=e[p])&&Object.defineProperties(s,n),n=S(s[_])?s[_]:M,E(s[_]=function(){return n.apply(this,arguments)},e),s}(Array.prototype.concat.apply([this],arguments).reduce($,{}))}function A(e){return S(e)&&S(e[_])}var q={};function k(e,i){return function(){return(r={})[e]=i.apply(t,Array.prototype.concat.apply([{}],arguments)),((s=this)&&s[_]||n).call(s,r)}}q[v]=k(v,E),q[o]=q.props=k(o,E),q[b]=q.init=k(b,P),q[y]=k(y,P),q[c]=q[m]=k(c,B),q[u]=q.statics=k(u,E),q[l]=q[g]=k(l,B),q[h]=q.conf=k(h,E),q[d]=q[f]=k(d,B),q[a]=k(a,E),q[p]=k(p,E),n=q[_]=E((function(){for(var e,w,x=0,S=[],O=arguments,$=this;x<O.length;)j(e=O[x++])&&S.push(A(e)?e:((r={})[v]=(w=e)[v]||t,n=w.props,r[o]=j((s=w[o])||n)?E({},n,s):t,r[b]=P(w.init,w[b]),r[y]=P(w[y]),n=w[m],r[c]=j((s=w[c])||n)?B({},n,s):t,r[a]=w[a],n=w.statics,r[u]=j((s=w[u])||n)?E({},n,s):t,n=w[g],r[l]=j((s=w[l])||n)?B({},n,s):t,s=w[p],r[p]=j((n=w.name&&{name:{value:w.name}})||s)?E({},s,n):t,n=w.conf,r[h]=j((s=w[h])||n)?E({},n,s):t,n=w[f],r[d]=j((s=w[d])||n)?B({},n,s):t,r));if(e=M.apply($||i,S),$&&S.unshift($),Array.isArray(O=e[_][y]))for(x=0;x<O.length;)e=A($=O[x++]({stamp:e,composables:S}))?$:e;return e}),q),q.create=function(){return this.apply(t,arguments)},(r={})[u]=q,i=M(r),n[_]=n.bind(),n.version="4.3.2","object"!=typeof t?e.exports=n:self.stampit=n}()},843:(e,t,s)=>{var n=void 0!==n?n:{},r=function(){var t,r="object"==typeof window?{currentScript:window.document.currentScript}:null;class i{constructor(){this.initialize()}initialize(){throw new Error("cannot construct a Parser before calling `init()`")}static init(o){return t||(n=Object.assign({},n,o),t=new Promise((t=>{var o,c={};for(o in n)n.hasOwnProperty(o)&&(c[o]=n[o]);var a,u,l,p,h=[],d="./this.program",m=function(e,t){throw t};l="object"==typeof window,p="function"==typeof importScripts,a="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,u=!l&&!a&&!p;var g,f,b,v,y,_="";a?(_=p?s(1560).dirname(_)+"/":"//",g=function(e,t){return v||(v=s(8544)),y||(y=s(1560)),e=y.normalize(e),v.readFileSync(e,t?null:"utf8")},b=function(e){var t=g(e,!0);return t.buffer||(t=new Uint8Array(t)),k(t.buffer),t},process.argv.length>1&&(d=process.argv[1].replace(/\\/g,"/")),h=process.argv.slice(2),e.exports=n,m=function(e){process.exit(e)},n.inspect=function(){return"[Emscripten Module object]"}):u?("undefined"!=typeof read&&(g=function(e){return read(e)}),b=function(e){var t;return"function"==typeof readbuffer?new Uint8Array(readbuffer(e)):(k("object"==typeof(t=read(e,"binary"))),t)},"undefined"!=typeof scriptArgs?h=scriptArgs:void 0!==arguments&&(h=arguments),"function"==typeof quit&&(m=function(e){quit(e)}),"undefined"!=typeof print&&("undefined"==typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!=typeof printErr?printErr:print)):(l||p)&&(p?_=self.location.href:void 0!==r&&r.currentScript&&(_=r.currentScript.src),_=0!==_.indexOf("blob:")?_.substr(0,_.lastIndexOf("/")+1):"",g=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},p&&(b=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),f=function(e,t,s){var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="arraybuffer",n.onload=function(){200==n.status||0==n.status&&n.response?t(n.response):s()},n.onerror=s,n.send(null)}),n.print||console.log.bind(console);var w=n.printErr||console.warn.bind(console);for(o in c)c.hasOwnProperty(o)&&(n[o]=c[o]);c=null,n.arguments&&(h=n.arguments),n.thisProgram&&(d=n.thisProgram),n.quit&&(m=n.quit);var x,E=16,S=[];function j(e,t){if(!x){x=new WeakMap;for(var s=0;s<Z.length;s++){var n=Z.get(s);n&&x.set(n,s)}}if(x.has(e))return x.get(e);var r=function(){if(S.length)return S.pop();try{Z.grow(1)}catch(e){if(!(e instanceof RangeError))throw e;throw"Unable to grow wasm table. Set ALLOW_TABLE_GROWTH."}return Z.length-1}();try{Z.set(r,e)}catch(s){if(!(s instanceof TypeError))throw s;var i=function(e,t){if("function"==typeof WebAssembly.Function){for(var s={i:"i32",j:"i64",f:"f32",d:"f64"},n={parameters:[],results:"v"==t[0]?[]:[s[t[0]]]},r=1;r<t.length;++r)n.parameters.push(s[t[r]]);return new WebAssembly.Function(n,e)}var i=[1,0,1,96],o=t.slice(0,1),c=t.slice(1),a={i:127,j:126,f:125,d:124};for(i.push(c.length),r=0;r<c.length;++r)i.push(a[c[r]]);"v"==o?i.push(0):i=i.concat([1,a[o]]),i[1]=i.length-2;var u=new Uint8Array([0,97,115,109,1,0,0,0].concat(i,[2,7,1,1,101,1,102,0,0,7,5,1,1,102,0,0])),l=new WebAssembly.Module(u);return new WebAssembly.Instance(l,{e:{f:e}}).exports.f}(e,t);Z.set(r,i)}return x.set(e,r),r}var O,B=n.dynamicLibraries||[];n.wasmBinary&&(O=n.wasmBinary);var P,$=n.noExitRuntime||!0;function M(e,t,s,n){switch("*"===(s=s||"i8").charAt(s.length-1)&&(s="i32"),s){case"i1":case"i8":I[e>>0]=t;break;case"i16":T[e>>1]=t;break;case"i32":R[e>>2]=t;break;case"i64":le=[t>>>0,(ue=t,+Math.abs(ue)>=1?ue>0?(0|Math.min(+Math.floor(ue/4294967296),4294967295))>>>0:~~+Math.ceil((ue-+(~~ue>>>0))/4294967296)>>>0:0)],R[e>>2]=le[0],R[e+4>>2]=le[1];break;case"float":F[e>>2]=t;break;case"double":V[e>>3]=t;break;default:ce("invalid type for setValue: "+s)}}function A(e,t,s){switch("*"===(t=t||"i8").charAt(t.length-1)&&(t="i32"),t){case"i1":case"i8":return I[e>>0];case"i16":return T[e>>1];case"i32":case"i64":return R[e>>2];case"float":return F[e>>2];case"double":return V[e>>3];default:ce("invalid type for getValue: "+t)}return null}"object"!=typeof WebAssembly&&ce("no native wasm support detected");var q=!1;function k(e,t){e||ce("Assertion failed: "+t)}var C,I,N,T,R,F,V,W="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function D(e,t,s){for(var n=t+s,r=t;e[r]&&!(r>=n);)++r;if(r-t>16&&e.subarray&&W)return W.decode(e.subarray(t,r));for(var i="";t<r;){var o=e[t++];if(128&o){var c=63&e[t++];if(192!=(224&o)){var a=63&e[t++];if((o=224==(240&o)?(15&o)<<12|c<<6|a:(7&o)<<18|c<<12|a<<6|63&e[t++])<65536)i+=String.fromCharCode(o);else{var u=o-65536;i+=String.fromCharCode(55296|u>>10,56320|1023&u)}}else i+=String.fromCharCode((31&o)<<6|c)}else i+=String.fromCharCode(o)}return i}function L(e,t){return e?D(N,e,t):""}function J(e,t,s,n){if(!(n>0))return 0;for(var r=s,i=s+n-1,o=0;o<e.length;++o){var c=e.charCodeAt(o);if(c>=55296&&c<=57343&&(c=65536+((1023&c)<<10)|1023&e.charCodeAt(++o)),c<=127){if(s>=i)break;t[s++]=c}else if(c<=2047){if(s+1>=i)break;t[s++]=192|c>>6,t[s++]=128|63&c}else if(c<=65535){if(s+2>=i)break;t[s++]=224|c>>12,t[s++]=128|c>>6&63,t[s++]=128|63&c}else{if(s+3>=i)break;t[s++]=240|c>>18,t[s++]=128|c>>12&63,t[s++]=128|c>>6&63,t[s++]=128|63&c}}return t[s]=0,s-r}function U(e,t,s){return J(e,N,t,s)}function z(e){for(var t=0,s=0;s<e.length;++s){var n=e.charCodeAt(s);n>=55296&&n<=57343&&(n=65536+((1023&n)<<10)|1023&e.charCodeAt(++s)),n<=127?++t:t+=n<=2047?2:n<=65535?3:4}return t}function G(e){var t=z(e)+1,s=Le(t);return J(e,I,s,t),s}function H(e){C=e,n.HEAP8=I=new Int8Array(e),n.HEAP16=T=new Int16Array(e),n.HEAP32=R=new Int32Array(e),n.HEAPU8=N=new Uint8Array(e),n.HEAPU16=new Uint16Array(e),n.HEAPU32=new Uint32Array(e),n.HEAPF32=F=new Float32Array(e),n.HEAPF64=V=new Float64Array(e)}var K=n.INITIAL_MEMORY||33554432;(P=n.wasmMemory?n.wasmMemory:new WebAssembly.Memory({initial:K/65536,maximum:32768}))&&(C=P.buffer),K=C.byteLength,H(C);var Z=new WebAssembly.Table({initial:17,element:"anyfunc"}),Q=[],X=[],Y=[],ee=[],te=!1,se=0,ne=null,re=null;function ie(e){se++,n.monitorRunDependencies&&n.monitorRunDependencies(se)}function oe(e){if(se--,n.monitorRunDependencies&&n.monitorRunDependencies(se),0==se&&(null!==ne&&(clearInterval(ne),ne=null),re)){var t=re;re=null,t()}}function ce(e){throw n.onAbort&&n.onAbort(e),w(e+=""),q=!0,e="abort("+e+"). Build with -s ASSERTIONS=1 for more info.",new WebAssembly.RuntimeError(e)}n.preloadedImages={},n.preloadedAudios={},n.preloadedWasm={};var ae,ue,le;function pe(e){return e.startsWith("data:application/octet-stream;base64,")}function he(e){return e.startsWith("file://")}function de(e){try{if(e==ae&&O)return new Uint8Array(O);if(b)return b(e);throw"both async and sync fetching of the wasm failed"}catch(e){ce(e)}}pe(ae="tree-sitter.wasm")||(ae=function(e){return n.locateFile?n.locateFile(e,_):_+e}(ae));var me={},ge={get:function(e,t){return me[t]||(me[t]=new WebAssembly.Global({value:"i32",mutable:!0})),me[t]}};function fe(e){for(;e.length>0;){var t=e.shift();if("function"!=typeof t){var s=t.func;"number"==typeof s?void 0===t.arg?Z.get(s)():Z.get(s)(t.arg):s(void 0===t.arg?null:t.arg)}else t(n)}}function be(e){var t=0;function s(){for(var s=0,n=1;;){var r=e[t++];if(s+=(127&r)*n,n*=128,!(128&r))break}return s}if(e instanceof WebAssembly.Module){var n=WebAssembly.Module.customSections(e,"dylink");k(0!=n.length,"need dylink section"),e=new Int8Array(n[0])}else k(1836278016==new Uint32Array(new Uint8Array(e.subarray(0,24)).buffer)[0],"need to see wasm magic number"),k(0===e[8],"need the dylink section to be first"),t=9,s(),k(6===e[t]),k(e[++t]==="d".charCodeAt(0)),k(e[++t]==="y".charCodeAt(0)),k(e[++t]==="l".charCodeAt(0)),k(e[++t]==="i".charCodeAt(0)),k(e[++t]==="n".charCodeAt(0)),k(e[++t]==="k".charCodeAt(0)),t++;var r={};r.memorySize=s(),r.memoryAlign=s(),r.tableSize=s(),r.tableAlign=s();var i=s();r.neededDynlibs=[];for(var o=0;o<i;++o){var c=s(),a=e.subarray(t,t+c);t+=c;var u=D(a,0);r.neededDynlibs.push(u)}return r}var ve=0;function ye(){return $||ve>0}function _e(e){return 0==e.indexOf("dynCall_")||["stackAlloc","stackSave","stackRestore"].includes(e)?e:"_"+e}function we(e,t){for(var s in e)if(e.hasOwnProperty(s)){Re.hasOwnProperty(s)||(Re[s]=e[s]);var r=_e(s);n.hasOwnProperty(r)||(n[r]=e[s])}}var xe={nextHandle:1,loadedLibs:{},loadedLibNames:{}};var Ee=5250880;function Se(e){return["__cpp_exception","__wasm_apply_data_relocs","__dso_handle","__set_stack_limits"].includes(e)}function je(e,t){var s={};for(var n in e){var r=e[n];"object"==typeof r&&(r=r.value),"number"==typeof r&&(r+=t),s[n]=r}return function(e){for(var t in e)if(!Se(t)){var s=!1,n=e[t];t.startsWith("orig$")&&(t=t.split("$")[1],s=!0),me[t]||(me[t]=new WebAssembly.Global({value:"i32",mutable:!0})),(s||0==me[t].value)&&("function"==typeof n?me[t].value=j(n):"number"==typeof n?me[t].value=n:w("unhandled export type for `"+t+"`: "+typeof n))}}(s),s}function Oe(e,t){var s,r;return t&&(s=Re["orig$"+e]),s||(s=Re[e]),s||(s=n[_e(e)]),!s&&e.startsWith("invoke_")&&(r=e.split("_")[1],s=function(){var e=We();try{return function(e,t,s){return e.includes("j")?function(e,t,s){var r=n["dynCall_"+e];return s&&s.length?r.apply(null,[t].concat(s)):r.call(null,t)}(e,t,s):Z.get(t).apply(null,s)}(r,arguments[0],Array.prototype.slice.call(arguments,1))}catch(t){if(De(e),t!==t+0&&"longjmp"!==t)throw t;Je(1,0)}}),s}function Be(e,t){var s=be(e);function n(){var n=Math.pow(2,s.memoryAlign);n=Math.max(n,E);var r,i,o,c=(r=function(e){if(te)return Fe(e);var t=Ee,s=t+e+15&-16;return Ee=s,me.__heap_base.value=s,t}(s.memorySize+n),(i=n)||(i=E),Math.ceil(r/i)*i),a=Z.length;Z.grow(s.tableSize);for(var u=c;u<c+s.memorySize;u++)I[u]=0;for(u=a;u<a+s.tableSize;u++)Z.set(u,null);var l=new Proxy({},{get:function(e,t){switch(t){case"__memory_base":return c;case"__table_base":return a}return t in Re?Re[t]:(t in e||(e[t]=function(){return s||(s=function(e){var t=Oe(e,!1);return t||(t=o[e]),t}(t)),s.apply(null,arguments)}),e[t]);var s}}),p={"GOT.mem":new Proxy({},ge),"GOT.func":new Proxy({},ge),env:l,wasi_snapshot_preview1:l};function h(e){for(var n=0;n<s.tableSize;n++){var r=Z.get(a+n);r&&x.set(r,a+n)}o=je(e.exports,c),t.allowUndefined||$e();var i=o.__wasm_call_ctors;return i||(i=o.__post_instantiate),i&&(te?i():X.push(i)),o}if(t.loadAsync){if(e instanceof WebAssembly.Module){var d=new WebAssembly.Instance(e,p);return Promise.resolve(h(d))}return WebAssembly.instantiate(e,p).then((function(e){return h(e.instance)}))}var m=e instanceof WebAssembly.Module?e:new WebAssembly.Module(e);return h(d=new WebAssembly.Instance(m,p))}return t.loadAsync?s.neededDynlibs.reduce((function(e,s){return e.then((function(){return Pe(s,t)}))}),Promise.resolve()).then((function(){return n()})):(s.neededDynlibs.forEach((function(e){Pe(e,t)})),n())}function Pe(e,t){"__main__"!=e||xe.loadedLibNames[e]||(xe.loadedLibs[-1]={refcount:1/0,name:"__main__",module:n.asm,global:!0},xe.loadedLibNames.__main__=-1),t=t||{global:!0,nodelete:!0};var s,r=xe.loadedLibNames[e];if(r)return s=xe.loadedLibs[r],t.global&&!s.global&&(s.global=!0,"loading"!==s.module&&we(s.module)),t.nodelete&&s.refcount!==1/0&&(s.refcount=1/0),s.refcount++,t.loadAsync?Promise.resolve(r):r;function i(e){if(t.fs){var s=t.fs.readFile(e,{encoding:"binary"});return s instanceof Uint8Array||(s=new Uint8Array(s)),t.loadAsync?Promise.resolve(s):s}return t.loadAsync?(n=e,fetch(n,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load binary file at '"+n+"'";return e.arrayBuffer()})).then((function(e){return new Uint8Array(e)}))):b(e);var n}function o(){if(void 0!==n.preloadedWasm&&void 0!==n.preloadedWasm[e]){var s=n.preloadedWasm[e];return t.loadAsync?Promise.resolve(s):s}return t.loadAsync?i(e).then((function(e){return Be(e,t)})):Be(i(e),t)}function c(e){s.global&&we(e),s.module=e}return r=xe.nextHandle++,s={refcount:t.nodelete?1/0:1,name:e,module:"loading",global:t.global},xe.loadedLibNames[e]=r,xe.loadedLibs[r]=s,t.loadAsync?o().then((function(e){return c(e),r})):(c(o()),r)}function $e(){for(var e in me)if(0==me[e].value){var t=Oe(e,!0);"function"==typeof t?me[e].value=j(t,t.sig):"number"==typeof t?me[e].value=t:k(!1,"bad export type for `"+e+"`: "+typeof t)}}n.___heap_base=Ee;var Me,Ae=new WebAssembly.Global({value:"i32",mutable:!0},5250880);function qe(){ce()}n._abort=qe,qe.sig="v",Me=a?function(){var e=process.hrtime();return 1e3*e[0]+e[1]/1e6}:"undefined"!=typeof dateNow?dateNow:function(){return performance.now()};function ke(e,t){var s;if(0===e)s=Date.now();else{if(1!==e&&4!==e)return 28,R[Ve()>>2]=28,-1;s=Me()}return R[t>>2]=s/1e3|0,R[t+4>>2]=s%1e3*1e3*1e3|0,0}function Ce(e){try{return P.grow(e-C.byteLength+65535>>>16),H(P.buffer),1}catch(e){}}function Ie(e){He(e)}function Ne(e){}ke.sig="iii",Ie.sig="vi",Ne.sig="vi";var Te,Re={__heap_base:Ee,__indirect_function_table:Z,__memory_base:1024,__stack_pointer:Ae,__table_base:1,abort:qe,clock_gettime:ke,emscripten_memcpy_big:function(e,t,s){N.copyWithin(e,t,t+s)},emscripten_resize_heap:function(e){var t,s=N.length;if((e>>>=0)>2147483648)return!1;for(var n=1;n<=4;n*=2){var r=s*(1+.2/n);if(r=Math.min(r,e+100663296),Ce(Math.min(2147483648,((t=Math.max(e,r))%65536>0&&(t+=65536-t%65536),t))))return!0}return!1},exit:Ie,memory:P,setTempRet0:Ne,tree_sitter_log_callback:function(e,t){if(ut){const s=L(t);ut(s,0!==e)}},tree_sitter_parse_callback:function(e,t,s,n,r){var i=at(t,{row:s,column:n});"string"==typeof i?(M(r,i.length,"i32"),function(e,t,s){if(void 0===s&&(s=2147483647),s<2)return 0;for(var n=(s-=2)<2*e.length?s/2:e.length,r=0;r<n;++r){var i=e.charCodeAt(r);T[t>>1]=i,t+=2}T[t>>1]=0}(i,e,10240)):M(r,0,"i32")}},Fe=(function(){var e={env:Re,wasi_snapshot_preview1:Re,"GOT.mem":new Proxy(Re,ge),"GOT.func":new Proxy(Re,ge)};function t(e,t){var s=e.exports;s=je(s,1024),n.asm=s;var r,i=be(t);i.neededDynlibs&&(B=i.neededDynlibs.concat(B)),we(s),r=n.asm.__wasm_call_ctors,X.unshift(r),oe()}function s(e){t(e.instance,e.module)}function r(t){return function(){if(!O&&(l||p)){if("function"==typeof fetch&&!he(ae))return fetch(ae,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load wasm binary file at '"+ae+"'";return e.arrayBuffer()})).catch((function(){return de(ae)}));if(f)return new Promise((function(e,t){f(ae,(function(t){e(new Uint8Array(t))}),t)}))}return Promise.resolve().then((function(){return de(ae)}))}().then((function(t){return WebAssembly.instantiate(t,e)})).then(t,(function(e){w("failed to asynchronously prepare wasm: "+e),ce(e)}))}if(ie(),n.instantiateWasm)try{return n.instantiateWasm(e,t)}catch(e){return w("Module.instantiateWasm callback failed with error: "+e),!1}O||"function"!=typeof WebAssembly.instantiateStreaming||pe(ae)||he(ae)||"function"!=typeof fetch?r(s):fetch(ae,{credentials:"same-origin"}).then((function(t){return WebAssembly.instantiateStreaming(t,e).then(s,(function(e){return w("wasm streaming compile failed: "+e),w("falling back to ArrayBuffer instantiation"),r(s)}))}))}(),n.___wasm_call_ctors=function(){return(n.___wasm_call_ctors=n.asm.__wasm_call_ctors).apply(null,arguments)},n._malloc=function(){return(Fe=n._malloc=n.asm.malloc).apply(null,arguments)}),Ve=(n._calloc=function(){return(n._calloc=n.asm.calloc).apply(null,arguments)},n._realloc=function(){return(n._realloc=n.asm.realloc).apply(null,arguments)},n._free=function(){return(n._free=n.asm.free).apply(null,arguments)},n._ts_language_symbol_count=function(){return(n._ts_language_symbol_count=n.asm.ts_language_symbol_count).apply(null,arguments)},n._ts_language_version=function(){return(n._ts_language_version=n.asm.ts_language_version).apply(null,arguments)},n._ts_language_field_count=function(){return(n._ts_language_field_count=n.asm.ts_language_field_count).apply(null,arguments)},n._ts_language_symbol_name=function(){return(n._ts_language_symbol_name=n.asm.ts_language_symbol_name).apply(null,arguments)},n._ts_language_symbol_for_name=function(){return(n._ts_language_symbol_for_name=n.asm.ts_language_symbol_for_name).apply(null,arguments)},n._ts_language_symbol_type=function(){return(n._ts_language_symbol_type=n.asm.ts_language_symbol_type).apply(null,arguments)},n._ts_language_field_name_for_id=function(){return(n._ts_language_field_name_for_id=n.asm.ts_language_field_name_for_id).apply(null,arguments)},n._memcpy=function(){return(n._memcpy=n.asm.memcpy).apply(null,arguments)},n._ts_parser_delete=function(){return(n._ts_parser_delete=n.asm.ts_parser_delete).apply(null,arguments)},n._ts_parser_reset=function(){return(n._ts_parser_reset=n.asm.ts_parser_reset).apply(null,arguments)},n._ts_parser_set_language=function(){return(n._ts_parser_set_language=n.asm.ts_parser_set_language).apply(null,arguments)},n._ts_parser_timeout_micros=function(){return(n._ts_parser_timeout_micros=n.asm.ts_parser_timeout_micros).apply(null,arguments)},n._ts_parser_set_timeout_micros=function(){return(n._ts_parser_set_timeout_micros=n.asm.ts_parser_set_timeout_micros).apply(null,arguments)},n._memmove=function(){return(n._memmove=n.asm.memmove).apply(null,arguments)},n._memcmp=function(){return(n._memcmp=n.asm.memcmp).apply(null,arguments)},n._ts_query_new=function(){return(n._ts_query_new=n.asm.ts_query_new).apply(null,arguments)},n._ts_query_delete=function(){return(n._ts_query_delete=n.asm.ts_query_delete).apply(null,arguments)},n._iswspace=function(){return(n._iswspace=n.asm.iswspace).apply(null,arguments)},n._iswalnum=function(){return(n._iswalnum=n.asm.iswalnum).apply(null,arguments)},n._ts_query_pattern_count=function(){return(n._ts_query_pattern_count=n.asm.ts_query_pattern_count).apply(null,arguments)},n._ts_query_capture_count=function(){return(n._ts_query_capture_count=n.asm.ts_query_capture_count).apply(null,arguments)},n._ts_query_string_count=function(){return(n._ts_query_string_count=n.asm.ts_query_string_count).apply(null,arguments)},n._ts_query_capture_name_for_id=function(){return(n._ts_query_capture_name_for_id=n.asm.ts_query_capture_name_for_id).apply(null,arguments)},n._ts_query_string_value_for_id=function(){return(n._ts_query_string_value_for_id=n.asm.ts_query_string_value_for_id).apply(null,arguments)},n._ts_query_predicates_for_pattern=function(){return(n._ts_query_predicates_for_pattern=n.asm.ts_query_predicates_for_pattern).apply(null,arguments)},n._ts_tree_copy=function(){return(n._ts_tree_copy=n.asm.ts_tree_copy).apply(null,arguments)},n._ts_tree_delete=function(){return(n._ts_tree_delete=n.asm.ts_tree_delete).apply(null,arguments)},n._ts_init=function(){return(n._ts_init=n.asm.ts_init).apply(null,arguments)},n._ts_parser_new_wasm=function(){return(n._ts_parser_new_wasm=n.asm.ts_parser_new_wasm).apply(null,arguments)},n._ts_parser_enable_logger_wasm=function(){return(n._ts_parser_enable_logger_wasm=n.asm.ts_parser_enable_logger_wasm).apply(null,arguments)},n._ts_parser_parse_wasm=function(){return(n._ts_parser_parse_wasm=n.asm.ts_parser_parse_wasm).apply(null,arguments)},n._ts_language_type_is_named_wasm=function(){return(n._ts_language_type_is_named_wasm=n.asm.ts_language_type_is_named_wasm).apply(null,arguments)},n._ts_language_type_is_visible_wasm=function(){return(n._ts_language_type_is_visible_wasm=n.asm.ts_language_type_is_visible_wasm).apply(null,arguments)},n._ts_tree_root_node_wasm=function(){return(n._ts_tree_root_node_wasm=n.asm.ts_tree_root_node_wasm).apply(null,arguments)},n._ts_tree_edit_wasm=function(){return(n._ts_tree_edit_wasm=n.asm.ts_tree_edit_wasm).apply(null,arguments)},n._ts_tree_get_changed_ranges_wasm=function(){return(n._ts_tree_get_changed_ranges_wasm=n.asm.ts_tree_get_changed_ranges_wasm).apply(null,arguments)},n._ts_tree_cursor_new_wasm=function(){return(n._ts_tree_cursor_new_wasm=n.asm.ts_tree_cursor_new_wasm).apply(null,arguments)},n._ts_tree_cursor_delete_wasm=function(){return(n._ts_tree_cursor_delete_wasm=n.asm.ts_tree_cursor_delete_wasm).apply(null,arguments)},n._ts_tree_cursor_reset_wasm=function(){return(n._ts_tree_cursor_reset_wasm=n.asm.ts_tree_cursor_reset_wasm).apply(null,arguments)},n._ts_tree_cursor_goto_first_child_wasm=function(){return(n._ts_tree_cursor_goto_first_child_wasm=n.asm.ts_tree_cursor_goto_first_child_wasm).apply(null,arguments)},n._ts_tree_cursor_goto_next_sibling_wasm=function(){return(n._ts_tree_cursor_goto_next_sibling_wasm=n.asm.ts_tree_cursor_goto_next_sibling_wasm).apply(null,arguments)},n._ts_tree_cursor_goto_parent_wasm=function(){return(n._ts_tree_cursor_goto_parent_wasm=n.asm.ts_tree_cursor_goto_parent_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_type_id_wasm=function(){return(n._ts_tree_cursor_current_node_type_id_wasm=n.asm.ts_tree_cursor_current_node_type_id_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_is_named_wasm=function(){return(n._ts_tree_cursor_current_node_is_named_wasm=n.asm.ts_tree_cursor_current_node_is_named_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_is_missing_wasm=function(){return(n._ts_tree_cursor_current_node_is_missing_wasm=n.asm.ts_tree_cursor_current_node_is_missing_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_id_wasm=function(){return(n._ts_tree_cursor_current_node_id_wasm=n.asm.ts_tree_cursor_current_node_id_wasm).apply(null,arguments)},n._ts_tree_cursor_start_position_wasm=function(){return(n._ts_tree_cursor_start_position_wasm=n.asm.ts_tree_cursor_start_position_wasm).apply(null,arguments)},n._ts_tree_cursor_end_position_wasm=function(){return(n._ts_tree_cursor_end_position_wasm=n.asm.ts_tree_cursor_end_position_wasm).apply(null,arguments)},n._ts_tree_cursor_start_index_wasm=function(){return(n._ts_tree_cursor_start_index_wasm=n.asm.ts_tree_cursor_start_index_wasm).apply(null,arguments)},n._ts_tree_cursor_end_index_wasm=function(){return(n._ts_tree_cursor_end_index_wasm=n.asm.ts_tree_cursor_end_index_wasm).apply(null,arguments)},n._ts_tree_cursor_current_field_id_wasm=function(){return(n._ts_tree_cursor_current_field_id_wasm=n.asm.ts_tree_cursor_current_field_id_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_wasm=function(){return(n._ts_tree_cursor_current_node_wasm=n.asm.ts_tree_cursor_current_node_wasm).apply(null,arguments)},n._ts_node_symbol_wasm=function(){return(n._ts_node_symbol_wasm=n.asm.ts_node_symbol_wasm).apply(null,arguments)},n._ts_node_child_count_wasm=function(){return(n._ts_node_child_count_wasm=n.asm.ts_node_child_count_wasm).apply(null,arguments)},n._ts_node_named_child_count_wasm=function(){return(n._ts_node_named_child_count_wasm=n.asm.ts_node_named_child_count_wasm).apply(null,arguments)},n._ts_node_child_wasm=function(){return(n._ts_node_child_wasm=n.asm.ts_node_child_wasm).apply(null,arguments)},n._ts_node_named_child_wasm=function(){return(n._ts_node_named_child_wasm=n.asm.ts_node_named_child_wasm).apply(null,arguments)},n._ts_node_child_by_field_id_wasm=function(){return(n._ts_node_child_by_field_id_wasm=n.asm.ts_node_child_by_field_id_wasm).apply(null,arguments)},n._ts_node_next_sibling_wasm=function(){return(n._ts_node_next_sibling_wasm=n.asm.ts_node_next_sibling_wasm).apply(null,arguments)},n._ts_node_prev_sibling_wasm=function(){return(n._ts_node_prev_sibling_wasm=n.asm.ts_node_prev_sibling_wasm).apply(null,arguments)},n._ts_node_next_named_sibling_wasm=function(){return(n._ts_node_next_named_sibling_wasm=n.asm.ts_node_next_named_sibling_wasm).apply(null,arguments)},n._ts_node_prev_named_sibling_wasm=function(){return(n._ts_node_prev_named_sibling_wasm=n.asm.ts_node_prev_named_sibling_wasm).apply(null,arguments)},n._ts_node_parent_wasm=function(){return(n._ts_node_parent_wasm=n.asm.ts_node_parent_wasm).apply(null,arguments)},n._ts_node_descendant_for_index_wasm=function(){return(n._ts_node_descendant_for_index_wasm=n.asm.ts_node_descendant_for_index_wasm).apply(null,arguments)},n._ts_node_named_descendant_for_index_wasm=function(){return(n._ts_node_named_descendant_for_index_wasm=n.asm.ts_node_named_descendant_for_index_wasm).apply(null,arguments)},n._ts_node_descendant_for_position_wasm=function(){return(n._ts_node_descendant_for_position_wasm=n.asm.ts_node_descendant_for_position_wasm).apply(null,arguments)},n._ts_node_named_descendant_for_position_wasm=function(){return(n._ts_node_named_descendant_for_position_wasm=n.asm.ts_node_named_descendant_for_position_wasm).apply(null,arguments)},n._ts_node_start_point_wasm=function(){return(n._ts_node_start_point_wasm=n.asm.ts_node_start_point_wasm).apply(null,arguments)},n._ts_node_end_point_wasm=function(){return(n._ts_node_end_point_wasm=n.asm.ts_node_end_point_wasm).apply(null,arguments)},n._ts_node_start_index_wasm=function(){return(n._ts_node_start_index_wasm=n.asm.ts_node_start_index_wasm).apply(null,arguments)},n._ts_node_end_index_wasm=function(){return(n._ts_node_end_index_wasm=n.asm.ts_node_end_index_wasm).apply(null,arguments)},n._ts_node_to_string_wasm=function(){return(n._ts_node_to_string_wasm=n.asm.ts_node_to_string_wasm).apply(null,arguments)},n._ts_node_children_wasm=function(){return(n._ts_node_children_wasm=n.asm.ts_node_children_wasm).apply(null,arguments)},n._ts_node_named_children_wasm=function(){return(n._ts_node_named_children_wasm=n.asm.ts_node_named_children_wasm).apply(null,arguments)},n._ts_node_descendants_of_type_wasm=function(){return(n._ts_node_descendants_of_type_wasm=n.asm.ts_node_descendants_of_type_wasm).apply(null,arguments)},n._ts_node_is_named_wasm=function(){return(n._ts_node_is_named_wasm=n.asm.ts_node_is_named_wasm).apply(null,arguments)},n._ts_node_has_changes_wasm=function(){return(n._ts_node_has_changes_wasm=n.asm.ts_node_has_changes_wasm).apply(null,arguments)},n._ts_node_has_error_wasm=function(){return(n._ts_node_has_error_wasm=n.asm.ts_node_has_error_wasm).apply(null,arguments)},n._ts_node_is_missing_wasm=function(){return(n._ts_node_is_missing_wasm=n.asm.ts_node_is_missing_wasm).apply(null,arguments)},n._ts_query_matches_wasm=function(){return(n._ts_query_matches_wasm=n.asm.ts_query_matches_wasm).apply(null,arguments)},n._ts_query_captures_wasm=function(){return(n._ts_query_captures_wasm=n.asm.ts_query_captures_wasm).apply(null,arguments)},n._iswdigit=function(){return(n._iswdigit=n.asm.iswdigit).apply(null,arguments)},n._iswalpha=function(){return(n._iswalpha=n.asm.iswalpha).apply(null,arguments)},n._iswlower=function(){return(n._iswlower=n.asm.iswlower).apply(null,arguments)},n._towupper=function(){return(n._towupper=n.asm.towupper).apply(null,arguments)},n.___errno_location=function(){return(Ve=n.___errno_location=n.asm.__errno_location).apply(null,arguments)}),We=(n._memchr=function(){return(n._memchr=n.asm.memchr).apply(null,arguments)},n._strlen=function(){return(n._strlen=n.asm.strlen).apply(null,arguments)},n.stackSave=function(){return(We=n.stackSave=n.asm.stackSave).apply(null,arguments)}),De=n.stackRestore=function(){return(De=n.stackRestore=n.asm.stackRestore).apply(null,arguments)},Le=n.stackAlloc=function(){return(Le=n.stackAlloc=n.asm.stackAlloc).apply(null,arguments)},Je=n._setThrew=function(){return(Je=n._setThrew=n.asm.setThrew).apply(null,arguments)};function Ue(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm).apply(null,arguments)},n.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=function(){return(n.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=n.asm._ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc).apply(null,arguments)},n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=function(){return(n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=n.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev).apply(null,arguments)},n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=function(){return(n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=n.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw).apply(null,arguments)},n.__Znwm=function(){return(n.__Znwm=n.asm._Znwm).apply(null,arguments)},n.__ZdlPv=function(){return(n.__ZdlPv=n.asm._ZdlPv).apply(null,arguments)},n.__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv=function(){return(n.__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv=n.asm._ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv).apply(null,arguments)},n._orig$ts_parser_timeout_micros=function(){return(n._orig$ts_parser_timeout_micros=n.asm.orig$ts_parser_timeout_micros).apply(null,arguments)},n._orig$ts_parser_set_timeout_micros=function(){return(n._orig$ts_parser_set_timeout_micros=n.asm.orig$ts_parser_set_timeout_micros).apply(null,arguments)},n.allocate=function(e,t){var s;return s=1==t?Le(e.length):Fe(e.length),e.subarray||e.slice?N.set(e,s):N.set(new Uint8Array(e),s),s},re=function e(){Te||Ge(),Te||(re=e)};var ze=!1;function Ge(e){function t(){Te||(Te=!0,n.calledRun=!0,q||(te=!0,fe(X),fe(Y),n.onRuntimeInitialized&&n.onRuntimeInitialized(),Ke&&function(e){var t=n._main;if(t){var s=(e=e||[]).length+1,r=Le(4*(s+1));R[r>>2]=G(d);for(var i=1;i<s;i++)R[(r>>2)+i]=G(e[i-1]);R[(r>>2)+s]=0;try{He(t(s,r),!0)}catch(e){if(e instanceof Ue)return;if("unwind"==e)return;var o=e;e&&"object"==typeof e&&e.stack&&(o=[e,e.stack]),w("exception thrown: "+o),m(1,e)}}}(e),function(){if(n.postRun)for("function"==typeof n.postRun&&(n.postRun=[n.postRun]);n.postRun.length;)e=n.postRun.shift(),ee.unshift(e);var e;fe(ee)}()))}e=e||h,se>0||!ze&&(function(){if(B.length){if(!b)return ie(),void B.reduce((function(e,t){return e.then((function(){return Pe(t,{loadAsync:!0,global:!0,nodelete:!0,allowUndefined:!0})}))}),Promise.resolve()).then((function(){oe(),$e()}));B.forEach((function(e){Pe(e,{global:!0,nodelete:!0,allowUndefined:!0})})),$e()}else $e()}(),ze=!0,se>0)||(function(){if(n.preRun)for("function"==typeof n.preRun&&(n.preRun=[n.preRun]);n.preRun.length;)e=n.preRun.shift(),Q.unshift(e);var e;fe(Q)}(),se>0||(n.setStatus?(n.setStatus("Running..."),setTimeout((function(){setTimeout((function(){n.setStatus("")}),1),t()}),1)):t()))}function He(e,t){t&&ye()&&0===e||(ye()||(n.onExit&&n.onExit(e),q=!0),m(e,new Ue(e)))}if(n.run=Ge,n.preInit)for("function"==typeof n.preInit&&(n.preInit=[n.preInit]);n.preInit.length>0;)n.preInit.pop()();var Ke=!0;n.noInitialRun&&(Ke=!1),Ge();const Ze=n,Qe={},Xe=4,Ye=5*Xe,et=2*Xe,tt=2*Xe+2*et,st={row:0,column:0},nt=/[\w-.]*/g,rt=/^_?tree_sitter_\w+/;var it,ot,ct,at,ut;class lt{static init(){ct=Ze._ts_init(),it=A(ct,"i32"),ot=A(ct+Xe,"i32")}initialize(){Ze._ts_parser_new_wasm(),this[0]=A(ct,"i32"),this[1]=A(ct+Xe,"i32")}delete(){Ze._ts_parser_delete(this[0]),Ze._free(this[1]),this[0]=0,this[1]=0}setLanguage(e){let t;if(e){if(e.constructor!==mt)throw new Error("Argument must be a Language");{t=e[0];const s=Ze._ts_language_version(t);if(s<ot||it<s)throw new Error(`Incompatible language version ${s}. Compatibility range ${ot} through ${it}.`)}}else t=0,e=null;return this.language=e,Ze._ts_parser_set_language(this[0],t),this}getLanguage(){return this.language}parse(e,t,s){if("string"==typeof e)at=(t,s,n)=>e.slice(t,n);else{if("function"!=typeof e)throw new Error("Argument must be a string or a function");at=e}this.logCallback?(ut=this.logCallback,Ze._ts_parser_enable_logger_wasm(this[0],1)):(ut=null,Ze._ts_parser_enable_logger_wasm(this[0],0));let n=0,r=0;if(s&&s.includedRanges){n=s.includedRanges.length;let e=r=Ze._calloc(n,tt);for(let t=0;t<n;t++)Ot(e,s.includedRanges[t]),e+=tt}const i=Ze._ts_parser_parse_wasm(this[0],this[1],t?t[0]:0,r,n);if(!i)throw at=null,ut=null,new Error("Parsing failed");const o=new pt(Qe,i,this.language,at);return at=null,ut=null,o}reset(){Ze._ts_parser_reset(this[0])}setTimeoutMicros(e){Ze._ts_parser_set_timeout_micros(this[0],e)}getTimeoutMicros(){return Ze._ts_parser_timeout_micros(this[0])}setLogger(e){if(e){if("function"!=typeof e)throw new Error("Logger callback must be a function")}else e=null;return this.logCallback=e,this}getLogger(){return this.logCallback}}class pt{constructor(e,t,s,n){vt(e),this[0]=t,this.language=s,this.textCallback=n}copy(){const e=Ze._ts_tree_copy(this[0]);return new pt(Qe,e,this.language,this.textCallback)}delete(){Ze._ts_tree_delete(this[0]),this[0]=0}edit(e){!function(e){let t=ct;St(t,e.startPosition),St(t+=et,e.oldEndPosition),St(t+=et,e.newEndPosition),M(t+=et,e.startIndex,"i32"),M(t+=Xe,e.oldEndIndex,"i32"),M(t+=Xe,e.newEndIndex,"i32"),t+=Xe}(e),Ze._ts_tree_edit_wasm(this[0])}get rootNode(){return Ze._ts_tree_root_node_wasm(this[0]),wt(this)}getLanguage(){return this.language}walk(){return this.rootNode.walk()}getChangedRanges(e){if(e.constructor!==pt)throw new TypeError("Argument must be a Tree");Ze._ts_tree_get_changed_ranges_wasm(this[0],e[0]);const t=A(ct,"i32"),s=A(ct+Xe,"i32"),n=new Array(t);if(t>0){let e=s;for(let s=0;s<t;s++)n[s]=Bt(e),e+=tt;Ze._free(s)}return n}}class ht{constructor(e,t){vt(e),this.tree=t}get typeId(){return _t(this),Ze._ts_node_symbol_wasm(this.tree[0])}get type(){return this.tree.language.types[this.typeId]||"ERROR"}get endPosition(){return _t(this),Ze._ts_node_end_point_wasm(this.tree[0]),jt(ct)}get endIndex(){return _t(this),Ze._ts_node_end_index_wasm(this.tree[0])}get text(){return ft(this.tree,this.startIndex,this.endIndex)}isNamed(){return _t(this),1===Ze._ts_node_is_named_wasm(this.tree[0])}hasError(){return _t(this),1===Ze._ts_node_has_error_wasm(this.tree[0])}hasChanges(){return _t(this),1===Ze._ts_node_has_changes_wasm(this.tree[0])}isMissing(){return _t(this),1===Ze._ts_node_is_missing_wasm(this.tree[0])}equals(e){return this.id===e.id}child(e){return _t(this),Ze._ts_node_child_wasm(this.tree[0],e),wt(this.tree)}namedChild(e){return _t(this),Ze._ts_node_named_child_wasm(this.tree[0],e),wt(this.tree)}childForFieldId(e){return _t(this),Ze._ts_node_child_by_field_id_wasm(this.tree[0],e),wt(this.tree)}childForFieldName(e){const t=this.tree.language.fields.indexOf(e);if(-1!==t)return this.childForFieldId(t)}get childCount(){return _t(this),Ze._ts_node_child_count_wasm(this.tree[0])}get namedChildCount(){return _t(this),Ze._ts_node_named_child_count_wasm(this.tree[0])}get firstChild(){return this.child(0)}get firstNamedChild(){return this.namedChild(0)}get lastChild(){return this.child(this.childCount-1)}get lastNamedChild(){return this.namedChild(this.namedChildCount-1)}get children(){if(!this._children){_t(this),Ze._ts_node_children_wasm(this.tree[0]);const e=A(ct,"i32"),t=A(ct+Xe,"i32");if(this._children=new Array(e),e>0){let s=t;for(let t=0;t<e;t++)this._children[t]=wt(this.tree,s),s+=Ye;Ze._free(t)}}return this._children}get namedChildren(){if(!this._namedChildren){_t(this),Ze._ts_node_named_children_wasm(this.tree[0]);const e=A(ct,"i32"),t=A(ct+Xe,"i32");if(this._namedChildren=new Array(e),e>0){let s=t;for(let t=0;t<e;t++)this._namedChildren[t]=wt(this.tree,s),s+=Ye;Ze._free(t)}}return this._namedChildren}descendantsOfType(e,t,s){Array.isArray(e)||(e=[e]),t||(t=st),s||(s=st);const n=[],r=this.tree.language.types;for(let t=0,s=r.length;t<s;t++)e.includes(r[t])&&n.push(t);const i=Ze._malloc(Xe*n.length);for(let e=0,t=n.length;e<t;e++)M(i+e*Xe,n[e],"i32");_t(this),Ze._ts_node_descendants_of_type_wasm(this.tree[0],i,n.length,t.row,t.column,s.row,s.column);const o=A(ct,"i32"),c=A(ct+Xe,"i32"),a=new Array(o);if(o>0){let e=c;for(let t=0;t<o;t++)a[t]=wt(this.tree,e),e+=Ye}return Ze._free(c),Ze._free(i),a}get nextSibling(){return _t(this),Ze._ts_node_next_sibling_wasm(this.tree[0]),wt(this.tree)}get previousSibling(){return _t(this),Ze._ts_node_prev_sibling_wasm(this.tree[0]),wt(this.tree)}get nextNamedSibling(){return _t(this),Ze._ts_node_next_named_sibling_wasm(this.tree[0]),wt(this.tree)}get previousNamedSibling(){return _t(this),Ze._ts_node_prev_named_sibling_wasm(this.tree[0]),wt(this.tree)}get parent(){return _t(this),Ze._ts_node_parent_wasm(this.tree[0]),wt(this.tree)}descendantForIndex(e,t=e){if("number"!=typeof e||"number"!=typeof t)throw new Error("Arguments must be numbers");_t(this);let s=ct+Ye;return M(s,e,"i32"),M(s+Xe,t,"i32"),Ze._ts_node_descendant_for_index_wasm(this.tree[0]),wt(this.tree)}namedDescendantForIndex(e,t=e){if("number"!=typeof e||"number"!=typeof t)throw new Error("Arguments must be numbers");_t(this);let s=ct+Ye;return M(s,e,"i32"),M(s+Xe,t,"i32"),Ze._ts_node_named_descendant_for_index_wasm(this.tree[0]),wt(this.tree)}descendantForPosition(e,t=e){if(!yt(e)||!yt(t))throw new Error("Arguments must be {row, column} objects");_t(this);let s=ct+Ye;return St(s,e),St(s+et,t),Ze._ts_node_descendant_for_position_wasm(this.tree[0]),wt(this.tree)}namedDescendantForPosition(e,t=e){if(!yt(e)||!yt(t))throw new Error("Arguments must be {row, column} objects");_t(this);let s=ct+Ye;return St(s,e),St(s+et,t),Ze._ts_node_named_descendant_for_position_wasm(this.tree[0]),wt(this.tree)}walk(){return _t(this),Ze._ts_tree_cursor_new_wasm(this.tree[0]),new dt(Qe,this.tree)}toString(){_t(this);const e=Ze._ts_node_to_string_wasm(this.tree[0]),t=function(e){for(var t="";;){var s=N[e++>>0];if(!s)return t;t+=String.fromCharCode(s)}}(e);return Ze._free(e),t}}class dt{constructor(e,t){vt(e),this.tree=t,Et(this)}delete(){xt(this),Ze._ts_tree_cursor_delete_wasm(this.tree[0]),this[0]=this[1]=this[2]=0}reset(e){_t(e),xt(this,ct+Ye),Ze._ts_tree_cursor_reset_wasm(this.tree[0]),Et(this)}get nodeType(){return this.tree.language.types[this.nodeTypeId]||"ERROR"}get nodeTypeId(){return xt(this),Ze._ts_tree_cursor_current_node_type_id_wasm(this.tree[0])}get nodeId(){return xt(this),Ze._ts_tree_cursor_current_node_id_wasm(this.tree[0])}get nodeIsNamed(){return xt(this),1===Ze._ts_tree_cursor_current_node_is_named_wasm(this.tree[0])}get nodeIsMissing(){return xt(this),1===Ze._ts_tree_cursor_current_node_is_missing_wasm(this.tree[0])}get nodeText(){xt(this);const e=Ze._ts_tree_cursor_start_index_wasm(this.tree[0]),t=Ze._ts_tree_cursor_end_index_wasm(this.tree[0]);return ft(this.tree,e,t)}get startPosition(){return xt(this),Ze._ts_tree_cursor_start_position_wasm(this.tree[0]),jt(ct)}get endPosition(){return xt(this),Ze._ts_tree_cursor_end_position_wasm(this.tree[0]),jt(ct)}get startIndex(){return xt(this),Ze._ts_tree_cursor_start_index_wasm(this.tree[0])}get endIndex(){return xt(this),Ze._ts_tree_cursor_end_index_wasm(this.tree[0])}currentNode(){return xt(this),Ze._ts_tree_cursor_current_node_wasm(this.tree[0]),wt(this.tree)}currentFieldId(){return xt(this),Ze._ts_tree_cursor_current_field_id_wasm(this.tree[0])}currentFieldName(){return this.tree.language.fields[this.currentFieldId()]}gotoFirstChild(){xt(this);const e=Ze._ts_tree_cursor_goto_first_child_wasm(this.tree[0]);return Et(this),1===e}gotoNextSibling(){xt(this);const e=Ze._ts_tree_cursor_goto_next_sibling_wasm(this.tree[0]);return Et(this),1===e}gotoParent(){xt(this);const e=Ze._ts_tree_cursor_goto_parent_wasm(this.tree[0]);return Et(this),1===e}}class mt{constructor(e,t){vt(e),this[0]=t,this.types=new Array(Ze._ts_language_symbol_count(this[0]));for(let e=0,t=this.types.length;e<t;e++)Ze._ts_language_symbol_type(this[0],e)<2&&(this.types[e]=L(Ze._ts_language_symbol_name(this[0],e)));this.fields=new Array(Ze._ts_language_field_count(this[0])+1);for(let e=0,t=this.fields.length;e<t;e++){const t=Ze._ts_language_field_name_for_id(this[0],e);this.fields[e]=0!==t?L(t):null}}get version(){return Ze._ts_language_version(this[0])}get fieldCount(){return this.fields.length-1}fieldIdForName(e){const t=this.fields.indexOf(e);return-1!==t?t:null}fieldNameForId(e){return this.fields[e]||null}idForNodeType(e,t){const s=z(e),n=Ze._malloc(s+1);U(e,n,s+1);const r=Ze._ts_language_symbol_for_name(this[0],n,s,t);return Ze._free(n),r||null}get nodeTypeCount(){return Ze._ts_language_symbol_count(this[0])}nodeTypeForId(e){const t=Ze._ts_language_symbol_name(this[0],e);return t?L(t):null}nodeTypeIsNamed(e){return!!Ze._ts_language_type_is_named_wasm(this[0],e)}nodeTypeIsVisible(e){return!!Ze._ts_language_type_is_visible_wasm(this[0],e)}query(e){const t=z(e),s=Ze._malloc(t+1);U(e,s,t+1);const n=Ze._ts_query_new(this[0],s,t,ct,ct+Xe);if(!n){const t=A(ct+Xe,"i32"),n=L(s,A(ct,"i32")).length,r=e.substr(n,100).split("\n")[0];let i,o=r.match(nt)[0];switch(t){case 2:i=new RangeError(`Bad node name '${o}'`);break;case 3:i=new RangeError(`Bad field name '${o}'`);break;case 4:i=new RangeError(`Bad capture name @${o}`);break;case 5:i=new TypeError(`Bad pattern structure at offset ${n}: '${r}'...`),o="";break;default:i=new SyntaxError(`Bad syntax at offset ${n}: '${r}'...`),o=""}throw i.index=n,i.length=o.length,Ze._free(s),i}const r=Ze._ts_query_string_count(n),i=Ze._ts_query_capture_count(n),o=Ze._ts_query_pattern_count(n),c=new Array(i),a=new Array(r);for(let e=0;e<i;e++){const t=Ze._ts_query_capture_name_for_id(n,e,ct),s=A(ct,"i32");c[e]=L(t,s)}for(let e=0;e<r;e++){const t=Ze._ts_query_string_value_for_id(n,e,ct),s=A(ct,"i32");a[e]=L(t,s)}const u=new Array(o),l=new Array(o),p=new Array(o),h=new Array(o),d=new Array(o);for(let e=0;e<o;e++){const t=Ze._ts_query_predicates_for_pattern(n,e,ct),s=A(ct,"i32");h[e]=[],d[e]=[];const r=[];let i=t;for(let t=0;t<s;t++){const t=A(i,"i32"),s=A(i+=Xe,"i32");if(i+=Xe,1===t)r.push({type:"capture",name:c[s]});else if(2===t)r.push({type:"string",value:a[s]});else if(r.length>0){if("string"!==r[0].type)throw new Error("Predicates must begin with a literal value");const t=r[0].value;let s=!0;switch(t){case"not-eq?":s=!1;case"eq?":if(3!==r.length)throw new Error("Wrong number of arguments to `#eq?` predicate. Expected 2, got "+(r.length-1));if("capture"!==r[1].type)throw new Error(`First argument of \`#eq?\` predicate must be a capture. Got "${r[1].value}"`);if("capture"===r[2].type){const t=r[1].name,n=r[2].name;d[e].push((function(e){let r,i;for(const s of e)s.name===t&&(r=s.node),s.name===n&&(i=s.node);return void 0===r||void 0===i||r.text===i.text===s}))}else{const t=r[1].name,n=r[2].value;d[e].push((function(e){for(const r of e)if(r.name===t)return r.node.text===n===s;return!0}))}break;case"not-match?":s=!1;case"match?":if(3!==r.length)throw new Error(`Wrong number of arguments to \`#match?\` predicate. Expected 2, got ${r.length-1}.`);if("capture"!==r[1].type)throw new Error(`First argument of \`#match?\` predicate must be a capture. Got "${r[1].value}".`);if("string"!==r[2].type)throw new Error(`Second argument of \`#match?\` predicate must be a string. Got @${r[2].value}.`);const n=r[1].name,i=new RegExp(r[2].value);d[e].push((function(e){for(const t of e)if(t.name===n)return i.test(t.node.text)===s;return!0}));break;case"set!":if(r.length<2||r.length>3)throw new Error(`Wrong number of arguments to \`#set!\` predicate. Expected 1 or 2. Got ${r.length-1}.`);if(r.some((e=>"string"!==e.type)))throw new Error('Arguments to `#set!` predicate must be a strings.".');u[e]||(u[e]={}),u[e][r[1].value]=r[2]?r[2].value:null;break;case"is?":case"is-not?":if(r.length<2||r.length>3)throw new Error(`Wrong number of arguments to \`#${t}\` predicate. Expected 1 or 2. Got ${r.length-1}.`);if(r.some((e=>"string"!==e.type)))throw new Error(`Arguments to \`#${t}\` predicate must be a strings.".`);const o="is?"===t?l:p;o[e]||(o[e]={}),o[e][r[1].value]=r[2]?r[2].value:null;break;default:h[e].push({operator:t,operands:r.slice(1)})}r.length=0}}Object.freeze(u[e]),Object.freeze(l[e]),Object.freeze(p[e])}return Ze._free(s),new gt(Qe,n,c,d,h,Object.freeze(u),Object.freeze(l),Object.freeze(p))}static load(e){let t;if(e instanceof Uint8Array)t=Promise.resolve(e);else{const n=e;if("undefined"!=typeof process&&process.versions&&process.versions.node){const e=s(8544);t=Promise.resolve(e.readFileSync(n))}else t=fetch(n).then((e=>e.arrayBuffer().then((t=>{if(e.ok)return new Uint8Array(t);{const s=new TextDecoder("utf-8").decode(t);throw new Error(`Language.load failed with status ${e.status}.\n\n${s}`)}}))))}const n="function"==typeof loadSideModule?loadSideModule:Be;return t.then((e=>n(e,{loadAsync:!0}))).then((e=>{const t=Object.keys(e),s=t.find((e=>rt.test(e)&&!e.includes("external_scanner_")));s||console.log(`Couldn't find language function in WASM file. Symbols:\n${JSON.stringify(t,null,2)}`);const n=e[s]();return new mt(Qe,n)}))}}class gt{constructor(e,t,s,n,r,i,o,c){vt(e),this[0]=t,this.captureNames=s,this.textPredicates=n,this.predicates=r,this.setProperties=i,this.assertedProperties=o,this.refutedProperties=c,this.exceededMatchLimit=!1}delete(){Ze._ts_query_delete(this[0]),this[0]=0}matches(e,t,s,n){t||(t=st),s||(s=st),n||(n={});let r=n.matchLimit;if(void 0===r)r=0;else if("number"!=typeof r)throw new Error("Arguments must be numbers");_t(e),Ze._ts_query_matches_wasm(this[0],e.tree[0],t.row,t.column,s.row,s.column,r);const i=A(ct,"i32"),o=A(ct+Xe,"i32"),c=A(ct+2*Xe,"i32"),a=new Array(i);this.exceededMatchLimit=!!c;let u=0,l=o;for(let t=0;t<i;t++){const s=A(l,"i32"),n=A(l+=Xe,"i32");l+=Xe;const r=new Array(n);if(l=bt(this,e.tree,l,r),this.textPredicates[s].every((e=>e(r)))){a[u++]={pattern:s,captures:r};const e=this.setProperties[s];e&&(a[t].setProperties=e);const n=this.assertedProperties[s];n&&(a[t].assertedProperties=n);const i=this.refutedProperties[s];i&&(a[t].refutedProperties=i)}}return a.length=u,Ze._free(o),a}captures(e,t,s,n){t||(t=st),s||(s=st),n||(n={});let r=n.matchLimit;if(void 0===r)r=0;else if("number"!=typeof r)throw new Error("Arguments must be numbers");_t(e),Ze._ts_query_captures_wasm(this[0],e.tree[0],t.row,t.column,s.row,s.column,r);const i=A(ct,"i32"),o=A(ct+Xe,"i32"),c=A(ct+2*Xe,"i32"),a=[];this.exceededMatchLimit=!!c;const u=[];let l=o;for(let t=0;t<i;t++){const t=A(l,"i32"),s=A(l+=Xe,"i32"),n=A(l+=Xe,"i32");if(l+=Xe,u.length=s,l=bt(this,e.tree,l,u),this.textPredicates[t].every((e=>e(u)))){const e=u[n],s=this.setProperties[t];s&&(e.setProperties=s);const r=this.assertedProperties[t];r&&(e.assertedProperties=r);const i=this.refutedProperties[t];i&&(e.refutedProperties=i),a.push(e)}}return Ze._free(o),a}predicatesForPattern(e){return this.predicates[e]}didExceedMatchLimit(){return this.exceededMatchLimit}}function ft(e,t,s){const n=s-t;let r=e.textCallback(t,null,s);for(t+=r.length;t<s;){const n=e.textCallback(t,null,s);if(!(n&&n.length>0))break;t+=n.length,r+=n}return t>s&&(r=r.slice(0,n)),r}function bt(e,t,s,n){for(let r=0,i=n.length;r<i;r++){const i=A(s,"i32"),o=wt(t,s+=Xe);s+=Ye,n[r]={name:e.captureNames[i],node:o}}return s}function vt(e){if(e!==Qe)throw new Error("Illegal constructor")}function yt(e){return e&&"number"==typeof e.row&&"number"==typeof e.column}function _t(e){let t=ct;M(t,e.id,"i32"),M(t+=Xe,e.startIndex,"i32"),M(t+=Xe,e.startPosition.row,"i32"),M(t+=Xe,e.startPosition.column,"i32"),M(t+=Xe,e[0],"i32")}function wt(e,t=ct){const s=A(t,"i32");if(0===s)return null;const n=A(t+=Xe,"i32"),r=A(t+=Xe,"i32"),i=A(t+=Xe,"i32"),o=A(t+=Xe,"i32"),c=new ht(Qe,e);return c.id=s,c.startIndex=n,c.startPosition={row:r,column:i},c[0]=o,c}function xt(e,t=ct){M(t+0*Xe,e[0],"i32"),M(t+1*Xe,e[1],"i32"),M(t+2*Xe,e[2],"i32")}function Et(e){e[0]=A(ct+0*Xe,"i32"),e[1]=A(ct+1*Xe,"i32"),e[2]=A(ct+2*Xe,"i32")}function St(e,t){M(e,t.row,"i32"),M(e+Xe,t.column,"i32")}function jt(e){return{row:A(e,"i32"),column:A(e+Xe,"i32")}}function Ot(e,t){St(e,t.startPosition),St(e+=et,t.endPosition),M(e+=et,t.startIndex,"i32"),M(e+=Xe,t.endIndex,"i32"),e+=Xe}function Bt(e){const t={};return t.startPosition=jt(e),e+=et,t.endPosition=jt(e),e+=et,t.startIndex=A(e,"i32"),e+=Xe,t.endIndex=A(e,"i32"),t}for(const e of Object.getOwnPropertyNames(lt.prototype))Object.defineProperty(i.prototype,e,{value:lt.prototype[e],enumerable:!1,writable:!1});i.Language=mt,n.onRuntimeInitialized=()=>{lt.init(),t()}})))}}return i}();e.exports=r},8544:()=>{},1560:()=>{},1204:(e,t,s)=>{e.exports=s(5616)},2772:(e,t,s)=>{"use strict";var n=s(7828);e.exports=n},7984:(e,t,s)=>{"use strict";s(4420),s(8436),s(5936),s(340),s(4176);var n=s(9832);e.exports=n.AggregateError},5616:(e,t,s)=>{"use strict";e.exports=s(9888)},9888:(e,t,s)=>{"use strict";s(2796);var n=s(2772);e.exports=n},28:(e,t,s)=>{"use strict";var n=s(8536),r=s(8944),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(r(e)+" is not a function")}},1459:(e,t,s)=>{"use strict";var n=s(7432),r=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i("Can't set "+r(e)+" as a prototype")}},1472:e=>{"use strict";e.exports=function(){}},2032:(e,t,s)=>{"use strict";var n=s(8608),r=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(r(e)+" is not an object")}},7464:(e,t,s)=>{"use strict";var n=s(445),r=s(4180),i=s(5316),o=function(e){return function(t,s,o){var c,a=n(t),u=i(a),l=r(o,u);if(e&&s!=s){for(;u>l;)if((c=a[l++])!=c)return!0}else for(;u>l;l++)if((e||l in a)&&a[l]===s)return e||l||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},7936:(e,t,s)=>{"use strict";var n=s(9252),r=n({}.toString),i=n("".slice);e.exports=function(e){return i(r(e),8,-1)}},636:(e,t,s)=>{"use strict";var n=s(6744),r=s(8536),i=s(7936),o=s(3336)("toStringTag"),c=Object,a="Arguments"===i(function(){return arguments}());e.exports=n?i:function(e){var t,s,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(s=function(e,t){try{return e[t]}catch(e){}}(t=c(e),o))?s:a?i(t):"Object"===(n=i(t))&&r(t.callee)?"Arguments":n}},1100:(e,t,s)=>{"use strict";var n=s(4664),r=s(7876),i=s(1008),o=s(2280);e.exports=function(e,t,s){for(var c=r(t),a=o.f,u=i.f,l=0;l<c.length;l++){var p=c[l];n(e,p)||s&&n(s,p)||a(e,p,u(t,p))}}},2480:(e,t,s)=>{"use strict";var n=s(2064);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},3848:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},896:(e,t,s)=>{"use strict";var n=s(9172),r=s(2280),i=s(8981);e.exports=n?function(e,t,s){return r.f(e,t,i(1,s))}:function(e,t,s){return e[t]=s,e}},8981:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},5424:(e,t,s)=>{"use strict";var n=s(896);e.exports=function(e,t,s,r){return r&&r.enumerable?e[t]=s:n(e,t,s),e}},4408:(e,t,s)=>{"use strict";var n=s(5216),r=Object.defineProperty;e.exports=function(e,t){try{r(n,e,{value:t,configurable:!0,writable:!0})}catch(s){n[e]=t}return t}},9172:(e,t,s)=>{"use strict";var n=s(2064);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},1940:(e,t,s)=>{"use strict";var n=s(5216),r=s(8608),i=n.document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},472:e=>{"use strict";e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},2276:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},3896:(e,t,s)=>{"use strict";var n,r,i=s(5216),o=s(2276),c=i.process,a=i.Deno,u=c&&c.versions||a&&a.version,l=u&&u.v8;l&&(r=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!r&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(r=+n[1]),e.exports=r},3620:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},9492:(e,t,s)=>{"use strict";var n=s(9252),r=Error,i=n("".replace),o=String(new r("zxcasd").stack),c=/\n\s*at [^:]*:[^\n]*/,a=c.test(o);e.exports=function(e,t){if(a&&"string"==typeof e&&!r.prepareStackTrace)for(;t--;)e=i(e,c,"");return e}},9035:(e,t,s)=>{"use strict";var n=s(896),r=s(9492),i=s(1376),o=Error.captureStackTrace;e.exports=function(e,t,s,c){i&&(o?o(e,t):n(e,"stack",r(s,c)))}},1376:(e,t,s)=>{"use strict";var n=s(2064),r=s(8981);e.exports=!n((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",r(1,7)),7!==e.stack)}))},3952:(e,t,s)=>{"use strict";var n=s(5216),r=s(9867),i=s(1248),o=s(8536),c=s(1008).f,a=s(6155),u=s(9832),l=s(1884),p=s(896),h=s(4664),d=function(e){var t=function(s,n,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(s);case 2:return new e(s,n)}return new e(s,n,i)}return r(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var s,r,m,g,f,b,v,y,_,w=e.target,x=e.global,E=e.stat,S=e.proto,j=x?n:E?n[w]:n[w]&&n[w].prototype,O=x?u:u[w]||p(u,w,{})[w],B=O.prototype;for(g in t)r=!(s=a(x?g:w+(E?".":"#")+g,e.forced))&&j&&h(j,g),b=O[g],r&&(v=e.dontCallGetSet?(_=c(j,g))&&_.value:j[g]),f=r&&v?v:t[g],(s||S||typeof b!=typeof f)&&(y=e.bind&&r?l(f,n):e.wrap&&r?d(f):S&&o(f)?i(f):f,(e.sham||f&&f.sham||b&&b.sham)&&p(y,"sham",!0),p(O,g,y),S&&(h(u,m=w+"Prototype")||p(u,m,{}),p(u[m],g,f),e.real&&B&&(s||!B[g])&&p(B,g,f)))}},2064:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},9867:(e,t,s)=>{"use strict";var n=s(5200),r=Function.prototype,i=r.apply,o=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(i):function(){return o.apply(i,arguments)})},1884:(e,t,s)=>{"use strict";var n=s(1248),r=s(28),i=s(5200),o=n(n.bind);e.exports=function(e,t){return r(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}},5200:(e,t,s)=>{"use strict";var n=s(2064);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},4580:(e,t,s)=>{"use strict";var n=s(5200),r=Function.prototype.call;e.exports=n?r.bind(r):function(){return r.apply(r,arguments)}},3564:(e,t,s)=>{"use strict";var n=s(9172),r=s(4664),i=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,c=r(i,"name"),a=c&&"something"===function(){}.name,u=c&&(!n||n&&o(i,"name").configurable);e.exports={EXISTS:c,PROPER:a,CONFIGURABLE:u}},7864:(e,t,s)=>{"use strict";var n=s(9252),r=s(28);e.exports=function(e,t,s){try{return n(r(Object.getOwnPropertyDescriptor(e,t)[s]))}catch(e){}}},1248:(e,t,s)=>{"use strict";var n=s(7936),r=s(9252);e.exports=function(e){if("Function"===n(e))return r(e)}},9252:(e,t,s)=>{"use strict";var n=s(5200),r=Function.prototype,i=r.call,o=n&&r.bind.bind(i,i);e.exports=n?o:function(e){return function(){return i.apply(e,arguments)}}},3464:(e,t,s)=>{"use strict";var n=s(9832),r=s(5216),i=s(8536),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e])||o(r[e]):n[e]&&n[e][t]||r[e]&&r[e][t]}},68:(e,t,s)=>{"use strict";var n=s(636),r=s(1636),i=s(9511),o=s(7256),c=s(3336)("iterator");e.exports=function(e){if(!i(e))return r(e,c)||r(e,"@@iterator")||o[n(e)]}},4656:(e,t,s)=>{"use strict";var n=s(4580),r=s(28),i=s(2032),o=s(8944),c=s(68),a=TypeError;e.exports=function(e,t){var s=arguments.length<2?c(e):t;if(r(s))return i(n(s,e));throw new a(o(e)+" is not iterable")}},1636:(e,t,s)=>{"use strict";var n=s(28),r=s(9511);e.exports=function(e,t){var s=e[t];return r(s)?void 0:n(s)}},5216:function(e,t,s){"use strict";var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof s.g&&s.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},4664:(e,t,s)=>{"use strict";var n=s(9252),r=s(2819),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(r(e),t)}},3328:e=>{"use strict";e.exports={}},7896:(e,t,s)=>{"use strict";var n=s(3464);e.exports=n("document","documentElement")},124:(e,t,s)=>{"use strict";var n=s(9172),r=s(2064),i=s(1940);e.exports=!n&&!r((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},2899:(e,t,s)=>{"use strict";var n=s(9252),r=s(2064),i=s(7936),o=Object,c=n("".split);e.exports=r((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?c(e,""):o(e)}:o},1664:(e,t,s)=>{"use strict";var n=s(8536),r=s(8608),i=s(2288);e.exports=function(e,t,s){var o,c;return i&&n(o=t.constructor)&&o!==s&&r(c=o.prototype)&&c!==s.prototype&&i(e,c),e}},9055:(e,t,s)=>{"use strict";var n=s(8608),r=s(896);e.exports=function(e,t){n(t)&&"cause"in t&&r(e,"cause",t.cause)}},2344:(e,t,s)=>{"use strict";var n,r,i,o=s(3184),c=s(5216),a=s(8608),u=s(896),l=s(4664),p=s(9284),h=s(924),d=s(3328),m="Object already initialized",g=c.TypeError,f=c.WeakMap;if(o||p.state){var b=p.state||(p.state=new f);b.get=b.get,b.has=b.has,b.set=b.set,n=function(e,t){if(b.has(e))throw new g(m);return t.facade=e,b.set(e,t),t},r=function(e){return b.get(e)||{}},i=function(e){return b.has(e)}}else{var v=h("state");d[v]=!0,n=function(e,t){if(l(e,v))throw new g(m);return t.facade=e,u(e,v,t),t},r=function(e){return l(e,v)?e[v]:{}},i=function(e){return l(e,v)}}e.exports={set:n,get:r,has:i,enforce:function(e){return i(e)?r(e):n(e,{})},getterFor:function(e){return function(t){var s;if(!a(t)||(s=r(t)).type!==e)throw new g("Incompatible receiver, "+e+" required");return s}}}},4992:(e,t,s)=>{"use strict";var n=s(3336),r=s(7256),i=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},8536:e=>{"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},6155:(e,t,s)=>{"use strict";var n=s(2064),r=s(8536),i=/#|\.prototype\./,o=function(e,t){var s=a[c(e)];return s===l||s!==u&&(r(t)?n(t):!!t)},c=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},a=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},9511:e=>{"use strict";e.exports=function(e){return null==e}},8608:(e,t,s)=>{"use strict";var n=s(8536);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},7432:(e,t,s)=>{"use strict";var n=s(8608);e.exports=function(e){return n(e)||null===e}},1016:e=>{"use strict";e.exports=!0},5376:(e,t,s)=>{"use strict";var n=s(3464),r=s(8536),i=s(2360),o=s(6416),c=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return r(t)&&i(t.prototype,c(e))}},5799:(e,t,s)=>{"use strict";var n=s(1884),r=s(4580),i=s(2032),o=s(8944),c=s(4992),a=s(5316),u=s(2360),l=s(4656),p=s(68),h=s(5872),d=TypeError,m=function(e,t){this.stopped=e,this.result=t},g=m.prototype;e.exports=function(e,t,s){var f,b,v,y,_,w,x,E=s&&s.that,S=!(!s||!s.AS_ENTRIES),j=!(!s||!s.IS_RECORD),O=!(!s||!s.IS_ITERATOR),B=!(!s||!s.INTERRUPTED),P=n(t,E),$=function(e){return f&&h(f,"normal",e),new m(!0,e)},M=function(e){return S?(i(e),B?P(e[0],e[1],$):P(e[0],e[1])):B?P(e,$):P(e)};if(j)f=e.iterator;else if(O)f=e;else{if(!(b=p(e)))throw new d(o(e)+" is not iterable");if(c(b)){for(v=0,y=a(e);y>v;v++)if((_=M(e[v]))&&u(g,_))return _;return new m(!1)}f=l(e,b)}for(w=j?e.next:f.next;!(x=r(w,f)).done;){try{_=M(x.value)}catch(e){h(f,"throw",e)}if("object"==typeof _&&_&&u(g,_))return _}return new m(!1)}},5872:(e,t,s)=>{"use strict";var n=s(4580),r=s(2032),i=s(1636);e.exports=function(e,t,s){var o,c;r(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw s;return s}o=n(o,e)}catch(e){c=!0,o=e}if("throw"===t)throw s;if(c)throw o;return r(o),s}},9976:(e,t,s)=>{"use strict";var n=s(2224).IteratorPrototype,r=s(4488),i=s(8981),o=s(5836),c=s(7256),a=function(){return this};e.exports=function(e,t,s,u){var l=t+" Iterator";return e.prototype=r(n,{next:i(+!u,s)}),o(e,l,!1,!0),c[l]=a,e}},536:(e,t,s)=>{"use strict";var n=s(3952),r=s(4580),i=s(1016),o=s(3564),c=s(8536),a=s(9976),u=s(7800),l=s(2288),p=s(5836),h=s(896),d=s(5424),m=s(3336),g=s(7256),f=s(2224),b=o.PROPER,v=o.CONFIGURABLE,y=f.IteratorPrototype,_=f.BUGGY_SAFARI_ITERATORS,w=m("iterator"),x="keys",E="values",S="entries",j=function(){return this};e.exports=function(e,t,s,o,m,f,O){a(s,t,o);var B,P,$,M=function(e){if(e===m&&I)return I;if(!_&&e&&e in k)return k[e];switch(e){case x:case E:case S:return function(){return new s(this,e)}}return function(){return new s(this)}},A=t+" Iterator",q=!1,k=e.prototype,C=k[w]||k["@@iterator"]||m&&k[m],I=!_&&C||M(m),N="Array"===t&&k.entries||C;if(N&&(B=u(N.call(new e)))!==Object.prototype&&B.next&&(i||u(B)===y||(l?l(B,y):c(B[w])||d(B,w,j)),p(B,A,!0,!0),i&&(g[A]=j)),b&&m===E&&C&&C.name!==E&&(!i&&v?h(k,"name",E):(q=!0,I=function(){return r(C,this)})),m)if(P={values:M(E),keys:f?I:M(x),entries:M(S)},O)for($ in P)(_||q||!($ in k))&&d(k,$,P[$]);else n({target:t,proto:!0,forced:_||q},P);return i&&!O||k[w]===I||d(k,w,I,{name:m}),g[t]=I,P}},2224:(e,t,s)=>{"use strict";var n,r,i,o=s(2064),c=s(8536),a=s(8608),u=s(4488),l=s(7800),p=s(5424),h=s(3336),d=s(1016),m=h("iterator"),g=!1;[].keys&&("next"in(i=[].keys())?(r=l(l(i)))!==Object.prototype&&(n=r):g=!0),!a(n)||o((function(){var e={};return n[m].call(e)!==e}))?n={}:d&&(n=u(n)),c(n[m])||p(n,m,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},7256:e=>{"use strict";e.exports={}},5316:(e,t,s)=>{"use strict";var n=s(4596);e.exports=function(e){return n(e.length)}},24:e=>{"use strict";var t=Math.ceil,s=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?s:t)(n)}},3080:(e,t,s)=>{"use strict";var n=s(9352);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},4488:(e,t,s)=>{"use strict";var n,r=s(2032),i=s(6452),o=s(3620),c=s(3328),a=s(7896),u=s(1940),l=s(924),p="prototype",h="script",d=l("IE_PROTO"),m=function(){},g=function(e){return"<"+h+">"+e+"</"+h+">"},f=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,s;b="undefined"!=typeof document?document.domain&&n?f(n):(t=u("iframe"),s="java"+h+":",t.style.display="none",a.appendChild(t),t.src=String(s),(e=t.contentWindow.document).open(),e.write(g("document.F=Object")),e.close(),e.F):f(n);for(var r=o.length;r--;)delete b[p][o[r]];return b()};c[d]=!0,e.exports=Object.create||function(e,t){var s;return null!==e?(m[p]=r(e),s=new m,m[p]=null,s[d]=e):s=b(),void 0===t?s:i.f(s,t)}},6452:(e,t,s)=>{"use strict";var n=s(9172),r=s(3109),i=s(2280),o=s(2032),c=s(445),a=s(9547);t.f=n&&!r?Object.defineProperties:function(e,t){o(e);for(var s,n=c(t),r=a(t),u=r.length,l=0;u>l;)i.f(e,s=r[l++],n[s]);return e}},2280:(e,t,s)=>{"use strict";var n=s(9172),r=s(124),i=s(3109),o=s(2032),c=s(2319),a=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,p="enumerable",h="configurable",d="writable";t.f=n?i?function(e,t,s){if(o(e),t=c(t),o(s),"function"==typeof e&&"prototype"===t&&"value"in s&&d in s&&!s[d]){var n=l(e,t);n&&n[d]&&(e[t]=s.value,s={configurable:h in s?s[h]:n[h],enumerable:p in s?s[p]:n[p],writable:!1})}return u(e,t,s)}:u:function(e,t,s){if(o(e),t=c(t),o(s),r)try{return u(e,t,s)}catch(e){}if("get"in s||"set"in s)throw new a("Accessors not supported");return"value"in s&&(e[t]=s.value),e}},1008:(e,t,s)=>{"use strict";var n=s(9172),r=s(4580),i=s(6500),o=s(8981),c=s(445),a=s(2319),u=s(4664),l=s(124),p=Object.getOwnPropertyDescriptor;t.f=n?p:function(e,t){if(e=c(e),t=a(t),l)try{return p(e,t)}catch(e){}if(u(e,t))return o(!r(i.f,e,t),e[t])}},1600:(e,t,s)=>{"use strict";var n=s(2884),r=s(3620).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,r)}},4060:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},7800:(e,t,s)=>{"use strict";var n=s(4664),r=s(8536),i=s(2819),o=s(924),c=s(2480),a=o("IE_PROTO"),u=Object,l=u.prototype;e.exports=c?u.getPrototypeOf:function(e){var t=i(e);if(n(t,a))return t[a];var s=t.constructor;return r(s)&&t instanceof s?s.prototype:t instanceof u?l:null}},2360:(e,t,s)=>{"use strict";var n=s(9252);e.exports=n({}.isPrototypeOf)},2884:(e,t,s)=>{"use strict";var n=s(9252),r=s(4664),i=s(445),o=s(7464).indexOf,c=s(3328),a=n([].push);e.exports=function(e,t){var s,n=i(e),u=0,l=[];for(s in n)!r(c,s)&&r(n,s)&&a(l,s);for(;t.length>u;)r(n,s=t[u++])&&(~o(l,s)||a(l,s));return l}},9547:(e,t,s)=>{"use strict";var n=s(2884),r=s(3620);e.exports=Object.keys||function(e){return n(e,r)}},6500:(e,t)=>{"use strict";var s={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!s.call({1:2},1);t.f=r?function(e){var t=n(this,e);return!!t&&t.enumerable}:s},2288:(e,t,s)=>{"use strict";var n=s(7864),r=s(2032),i=s(1459);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,s={};try{(e=n(Object.prototype,"__proto__","set"))(s,[]),t=s instanceof Array}catch(e){}return function(s,n){return r(s),i(n),t?e(s,n):s.__proto__=n,s}}():void 0)},1616:(e,t,s)=>{"use strict";var n=s(6744),r=s(636);e.exports=n?{}.toString:function(){return"[object "+r(this)+"]"}},416:(e,t,s)=>{"use strict";var n=s(4580),r=s(8536),i=s(8608),o=TypeError;e.exports=function(e,t){var s,c;if("string"===t&&r(s=e.toString)&&!i(c=n(s,e)))return c;if(r(s=e.valueOf)&&!i(c=n(s,e)))return c;if("string"!==t&&r(s=e.toString)&&!i(c=n(s,e)))return c;throw new o("Can't convert object to primitive value")}},7876:(e,t,s)=>{"use strict";var n=s(3464),r=s(9252),i=s(1600),o=s(4060),c=s(2032),a=r([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(c(e)),s=o.f;return s?a(t,s(e)):t}},9832:e=>{"use strict";e.exports={}},9360:(e,t,s)=>{"use strict";var n=s(2280).f;e.exports=function(e,t,s){s in e||n(e,s,{configurable:!0,get:function(){return t[s]},set:function(e){t[s]=e}})}},9952:(e,t,s)=>{"use strict";var n=s(9511),r=TypeError;e.exports=function(e){if(n(e))throw new r("Can't call method on "+e);return e}},5836:(e,t,s)=>{"use strict";var n=s(6744),r=s(2280).f,i=s(896),o=s(4664),c=s(1616),a=s(3336)("toStringTag");e.exports=function(e,t,s,u){var l=s?e:e&&e.prototype;l&&(o(l,a)||r(l,a,{configurable:!0,value:t}),u&&!n&&i(l,"toString",c))}},924:(e,t,s)=>{"use strict";var n=s(8852),r=s(6696),i=n("keys");e.exports=function(e){return i[e]||(i[e]=r(e))}},9284:(e,t,s)=>{"use strict";var n=s(5216),r=s(4408),i="__core-js_shared__",o=n[i]||r(i,{});e.exports=o},8852:(e,t,s)=>{"use strict";var n=s(1016),r=s(9284);(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.35.1",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})},6392:(e,t,s)=>{"use strict";var n=s(9252),r=s(5016),i=s(9352),o=s(9952),c=n("".charAt),a=n("".charCodeAt),u=n("".slice),l=function(e){return function(t,s){var n,l,p=i(o(t)),h=r(s),d=p.length;return h<0||h>=d?e?"":void 0:(n=a(p,h))<55296||n>56319||h+1===d||(l=a(p,h+1))<56320||l>57343?e?c(p,h):n:e?u(p,h,h+2):l-56320+(n-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},5235:(e,t,s)=>{"use strict";var n=s(3896),r=s(2064),i=s(5216).String;e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},4180:(e,t,s)=>{"use strict";var n=s(5016),r=Math.max,i=Math.min;e.exports=function(e,t){var s=n(e);return s<0?r(s+t,0):i(s,t)}},445:(e,t,s)=>{"use strict";var n=s(2899),r=s(9952);e.exports=function(e){return n(r(e))}},5016:(e,t,s)=>{"use strict";var n=s(24);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},4596:(e,t,s)=>{"use strict";var n=s(5016),r=Math.min;e.exports=function(e){var t=n(e);return t>0?r(t,9007199254740991):0}},2819:(e,t,s)=>{"use strict";var n=s(9952),r=Object;e.exports=function(e){return r(n(e))}},3504:(e,t,s)=>{"use strict";var n=s(4580),r=s(8608),i=s(5376),o=s(1636),c=s(416),a=s(3336),u=TypeError,l=a("toPrimitive");e.exports=function(e,t){if(!r(e)||i(e))return e;var s,a=o(e,l);if(a){if(void 0===t&&(t="default"),s=n(a,e,t),!r(s)||i(s))return s;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),c(e,t)}},2319:(e,t,s)=>{"use strict";var n=s(3504),r=s(5376);e.exports=function(e){var t=n(e,"string");return r(t)?t:t+""}},6744:(e,t,s)=>{"use strict";var n={};n[s(3336)("toStringTag")]="z",e.exports="[object z]"===String(n)},9352:(e,t,s)=>{"use strict";var n=s(636),r=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return r(e)}},8944:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},6696:(e,t,s)=>{"use strict";var n=s(9252),r=0,i=Math.random(),o=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++r+i,36)}},6416:(e,t,s)=>{"use strict";var n=s(5235);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3109:(e,t,s)=>{"use strict";var n=s(9172),r=s(2064);e.exports=n&&r((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},3184:(e,t,s)=>{"use strict";var n=s(5216),r=s(8536),i=n.WeakMap;e.exports=r(i)&&/native code/.test(String(i))},3336:(e,t,s)=>{"use strict";var n=s(5216),r=s(8852),i=s(4664),o=s(6696),c=s(5235),a=s(6416),u=n.Symbol,l=r("wks"),p=a?u.for||u:u&&u.withoutSetter||o;e.exports=function(e){return i(l,e)||(l[e]=c&&i(u,e)?u[e]:p("Symbol."+e)),l[e]}},5960:(e,t,s)=>{"use strict";var n=s(3464),r=s(4664),i=s(896),o=s(2360),c=s(2288),a=s(1100),u=s(9360),l=s(1664),p=s(3080),h=s(9055),d=s(9035),m=s(9172),g=s(1016);e.exports=function(e,t,s,f){var b="stackTraceLimit",v=f?2:1,y=e.split("."),_=y[y.length-1],w=n.apply(null,y);if(w){var x=w.prototype;if(!g&&r(x,"cause")&&delete x.cause,!s)return w;var E=n("Error"),S=t((function(e,t){var s=p(f?t:e,void 0),n=f?new w(e):new w;return void 0!==s&&i(n,"message",s),d(n,S,n.stack,2),this&&o(x,this)&&l(n,this,S),arguments.length>v&&h(n,arguments[v]),n}));if(S.prototype=x,"Error"!==_?c?c(S,E):a(S,E,{name:!0}):m&&b in w&&(u(S,w,b),u(S,w,"prepareStackTrace")),a(S,w),!g)try{x.name!==_&&i(x,"name",_),x.constructor=S}catch(e){}return S}}},5936:(e,t,s)=>{"use strict";var n=s(3952),r=s(3464),i=s(9867),o=s(2064),c=s(5960),a="AggregateError",u=r(a),l=!o((function(){return 1!==u([1]).errors[0]}))&&o((function(){return 7!==u([1],a,{cause:7}).cause}));n({global:!0,constructor:!0,arity:2,forced:l},{AggregateError:c(a,(function(e){return function(t,s){return i(e,this,arguments)}}),l,!0)})},9232:(e,t,s)=>{"use strict";var n=s(3952),r=s(2360),i=s(7800),o=s(2288),c=s(1100),a=s(4488),u=s(896),l=s(8981),p=s(9055),h=s(9035),d=s(5799),m=s(3080),g=s(3336)("toStringTag"),f=Error,b=[].push,v=function(e,t){var s,n=r(y,this);o?s=o(new f,n?i(this):y):(s=n?this:a(y),u(s,g,"Error")),void 0!==t&&u(s,"message",m(t)),h(s,v,s.stack,1),arguments.length>2&&p(s,arguments[2]);var c=[];return d(e,b,{that:c}),u(s,"errors",c),s};o?o(v,f):c(v,f,{name:!0});var y=v.prototype=a(f.prototype,{constructor:l(1,v),message:l(1,""),name:l(1,"AggregateError")});n({global:!0,constructor:!0,arity:2},{AggregateError:v})},8436:(e,t,s)=>{"use strict";s(9232)},340:(e,t,s)=>{"use strict";var n=s(445),r=s(1472),i=s(7256),o=s(2344),c=s(2280).f,a=s(536),u=s(3848),l=s(1016),p=s(9172),h="Array Iterator",d=o.set,m=o.getterFor(h);e.exports=a(Array,"Array",(function(e,t){d(this,{type:h,target:n(e),index:0,kind:t})}),(function(){var e=m(this),t=e.target,s=e.index++;if(!t||s>=t.length)return e.target=void 0,u(void 0,!0);switch(e.kind){case"keys":return u(s,!1);case"values":return u(t[s],!1)}return u([s,t[s]],!1)}),"values");var g=i.Arguments=i.Array;if(r("keys"),r("values"),r("entries"),!l&&p&&"values"!==g.name)try{c(g,"name",{value:"values"})}catch(e){}},4420:(e,t,s)=>{"use strict";var n=s(3952),r=s(5216),i=s(9867),o=s(5960),c="WebAssembly",a=r[c],u=7!==new Error("e",{cause:7}).cause,l=function(e,t){var s={};s[e]=o(e,t,u),n({global:!0,constructor:!0,arity:1,forced:u},s)},p=function(e,t){if(a&&a[e]){var s={};s[e]=o(c+"."+e,t,u),n({target:c,stat:!0,constructor:!0,arity:1,forced:u},s)}};l("Error",(function(e){return function(t){return i(e,this,arguments)}})),l("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),l("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),l("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),l("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),l("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),l("URIError",(function(e){return function(t){return i(e,this,arguments)}})),p("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),p("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),p("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},4176:(e,t,s)=>{"use strict";var n=s(6392).charAt,r=s(9352),i=s(2344),o=s(536),c=s(3848),a="String Iterator",u=i.set,l=i.getterFor(a);o(String,"String",(function(e){u(this,{type:a,string:r(e),index:0})}),(function(){var e,t=l(this),s=t.string,r=t.index;return r>=s.length?c(void 0,!0):(e=n(s,r),t.index+=e.length,c(e,!1))}))},2796:(e,t,s)=>{"use strict";s(8436)},3624:(e,t,s)=>{"use strict";s(340);var n=s(472),r=s(5216),i=s(5836),o=s(7256);for(var c in n)i(r[c],c),o[c]=o.Array},7828:(e,t,s)=>{"use strict";s(2796);var n=s(7984);s(3624),e.exports=n}},t={};function s(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(i.exports,i,i.exports,s),i.loaded=!0,i.exports}s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;s.g.importScripts&&(e=s.g.location+"");var t=s.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&!e;)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.p=e})();var n={};return(()=>{"use strict";s.r(n),s.d(n,{detect:()=>Lv,detectionRegExp:()=>Dv,mediaTypes:()=>Wv,namespace:()=>Uv,parse:()=>Jv});var e={};s.r(e),s.d(e,{hasElementSourceMap:()=>ns,includesClasses:()=>is,includesSymbols:()=>rs,isAnnotationElement:()=>Xt,isArrayElement:()=>Ht,isBooleanElement:()=>zt,isCommentElement:()=>Yt,isElement:()=>Dt,isLinkElement:()=>Zt,isMemberElement:()=>Kt,isNullElement:()=>Ut,isNumberElement:()=>Jt,isObjectElement:()=>Gt,isParseResultElement:()=>es,isPrimitiveElement:()=>ss,isRefElement:()=>Qt,isSourceMapElement:()=>ts,isStringElement:()=>Lt});var t={};s.r(t),s.d(t,{isJSONReferenceElement:()=>Ni,isJSONSchemaElement:()=>Ii,isLinkDescriptionElement:()=>Ri,isMediaElement:()=>Ti});var r={};s.r(r),s.d(r,{isJSONReferenceElement:()=>Ni,isJSONSchemaElement:()=>to,isLinkDescriptionElement:()=>so,isMediaElement:()=>Ti});var i={};s.r(i),s.d(i,{isJSONReferenceElement:()=>Ni,isJSONSchemaElement:()=>ga,isLinkDescriptionElement:()=>fa});var o={};function c(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function a(e){return function t(s){return 0===arguments.length||c(s)?t:e.apply(this,arguments)}}function u(e){return function t(s,n){switch(arguments.length){case 0:return t;case 1:return c(s)?t:a((function(t){return e(s,t)}));default:return c(s)&&c(n)?t:c(s)?a((function(t){return e(t,n)})):c(n)?a((function(t){return e(s,t)})):e(s,n)}}}function l(e){return function t(s,n,r){switch(arguments.length){case 0:return t;case 1:return c(s)?t:u((function(t,n){return e(s,t,n)}));case 2:return c(s)&&c(n)?t:c(s)?u((function(t,s){return e(t,n,s)})):c(n)?u((function(t,n){return e(s,t,n)})):a((function(t){return e(s,n,t)}));default:return c(s)&&c(n)&&c(r)?t:c(s)&&c(n)?u((function(t,s){return e(t,s,r)})):c(s)&&c(r)?u((function(t,s){return e(t,n,s)})):c(n)&&c(r)?u((function(t,n){return e(s,t,n)})):c(s)?a((function(t){return e(t,n,r)})):c(n)?a((function(t){return e(s,t,r)})):c(r)?a((function(t){return e(s,n,t)})):e(s,n,r)}}}s.r(o),s.d(o,{isAsyncApi2Element:()=>Ma,isAsyncApiVersionElement:()=>Aa,isBooleanJsonSchemaElement:()=>Ua,isChannelBindingsElement:()=>qa,isChannelItemElement:()=>ka,isChannelsElement:()=>Ca,isComponentsElement:()=>Ia,isContactElement:()=>Na,isIdentifierElement:()=>Ta,isInfoElement:()=>Ra,isLicenseElement:()=>Fa,isOperationElement:()=>Va,isParameterElement:()=>Wa,isParametersElement:()=>Da,isReferenceElement:()=>La,isSchemaElement:()=>Ja,isSecurityRequirementElement:()=>za,isServerBindingsElement:()=>Ha,isServerElement:()=>Ga,isServerVariableElement:()=>Za,isServersElement:()=>Ka});const p=u((function(e,t){return null==t||t!=t?e:t})),h=Number.isInteger||function(e){return e<<0===e};function d(e){return"[object String]"===Object.prototype.toString.call(e)}const m=u((function(e,t){var s=e<0?t.length+e:e;return d(t)?t.charAt(s):t[s]}));const g=u((function(e,t){if(null!=t)return h(e)?m(e,t):t[e]}));const f=l((function(e,t,s){return p(e,g(t,s))}));var b=u((function(e,t){for(var s={},n={},r=0,i=e.length;r<i;)n[e[r]]=1,r+=1;for(var o in t)n.hasOwnProperty(o)||(s[o]=t[o]);return s}));const v=b;function y(e,t,s){for(var n=0,r=s.length;n<r;)t=e(t,s[n]),n+=1;return t}const _=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};const w=a((function(e){return!!_(e)||!!e&&("object"==typeof e&&(!d(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var x="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function E(e,t,s){return function(n,r,i){if(w(i))return e(n,r,i);if(null==i)return r;if("function"==typeof i["fantasy-land/reduce"])return t(n,r,i,"fantasy-land/reduce");if(null!=i[x])return s(n,r,i[x]());if("function"==typeof i.next)return s(n,r,i);if("function"==typeof i.reduce)return t(n,r,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function S(e,t,s){for(var n=s.next();!n.done;)t=e(t,n.value),n=s.next();return t}function j(e,t,s,n){return s[n](e,t)}const O=E(y,j,S);function B(e,t,s){return function(){if(0===arguments.length)return s();var n=arguments[arguments.length-1];if(!_(n)){for(var r=0;r<e.length;){if("function"==typeof n[e[r]])return n[e[r]].apply(n,Array.prototype.slice.call(arguments,0,-1));r+=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 P(e,t){for(var s=0,n=t.length,r=Array(n);s<n;)r[s]=e(t[s]),s+=1;return r}const $=function(){return this.xf["@@transducer/init"]()},M=function(e){return this.xf["@@transducer/result"](e)};var A=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=$,e.prototype["@@transducer/result"]=M,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const q=function(e){return function(t){return new A(e,t)}};function k(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,r){return t.apply(this,arguments)};case 5:return function(e,s,n,r,i){return t.apply(this,arguments)};case 6:return function(e,s,n,r,i,o){return t.apply(this,arguments)};case 7:return function(e,s,n,r,i,o,c){return t.apply(this,arguments)};case 8:return function(e,s,n,r,i,o,c,a){return t.apply(this,arguments)};case 9:return function(e,s,n,r,i,o,c,a,u){return t.apply(this,arguments)};case 10:return function(e,s,n,r,i,o,c,a,u,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function C(e,t,s){return function(){for(var n=[],r=0,i=e,o=0,a=!1;o<t.length||r<arguments.length;){var u;o<t.length&&(!c(t[o])||r>=arguments.length)?u=t[o]:(u=arguments[r],r+=1),n[o]=u,c(u)?a=!0:i-=1,o+=1}return!a&&i<=0?s.apply(this,n):k(Math.max(0,i),C(e,n,s))}}const I=u((function(e,t){return 1===e?a(t):k(e,C(e,[],t))}));function N(e,t){return Object.prototype.hasOwnProperty.call(t,e)}var T=Object.prototype.toString;const R=function(){return"[object Arguments]"===T.call(arguments)?function(e){return"[object Arguments]"===T.call(e)}:function(e){return N("callee",e)}}();var F=!{toString:null}.propertyIsEnumerable("toString"),V=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],W=function(){return arguments.propertyIsEnumerable("length")}(),D=function(e,t){for(var s=0;s<e.length;){if(e[s]===t)return!0;s+=1}return!1},L="function"!=typeof Object.keys||W?a((function(e){if(Object(e)!==e)return[];var t,s,n=[],r=W&&R(e);for(t in e)!N(t,e)||r&&"length"===t||(n[n.length]=t);if(F)for(s=V.length-1;s>=0;)N(t=V[s],e)&&!D(n,t)&&(n[n.length]=t),s-=1;return n})):a((function(e){return Object(e)!==e?[]:Object.keys(e)}));const J=L;const U=u(B(["fantasy-land/map","map"],q,(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return I(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return y((function(s,n){return s[n]=e(t[n]),s}),{},J(t));default:return P(e,t)}})));const z=u((function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(s){return e(s)(t(s))}:O((function(e,s){return function(e,t){var s;t=t||[];var n=(e=e||[]).length,r=t.length,i=[];for(s=0;s<n;)i[i.length]=e[s],s+=1;for(s=0;s<r;)i[i.length]=t[s],s+=1;return i}(e,U(s,t))}),[],e)}));const G=u((function(e,t){var s=I(e,t);return I(e,(function(){return y(z,U(s,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const H=a((function(e){return G(e.length,e)}));const K=H(a((function(e){return!e})));function Z(e){for(var t,s=[];!(t=e.next()).done;)s.push(t.value);return s}function Q(e,t,s){for(var n=0,r=s.length;n<r;){if(e(t,s[n]))return!0;n+=1}return!1}const X="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};const Y=a((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function ee(e,t,s,n){var r=Z(e);function i(e,t){return te(e,t,s.slice(),n.slice())}return!Q((function(e,t){return!Q(i,t,e)}),Z(t),r)}function te(e,t,s,n){if(X(e,t))return!0;var r,i,o=Y(e);if(o!==Y(t))return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(o){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===(r=e.constructor,null==(i=String(r).match(/^function (\w*)/))?"":i[1]))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!X(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!X(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var 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&&ee(e.entries(),t.entries(),s.concat([e]),n.concat([t]));case"Set":return e.size===t.size&&ee(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=J(e);if(a.length!==J(t).length)return!1;var u=s.concat([e]),l=n.concat([t]);for(c=a.length-1;c>=0;){var p=a[c];if(!N(p,t)||!te(t[p],e[p],u,l))return!1;c-=1}return!0}const se=u((function(e,t){return te(e,t,[],[])}));const ne=a((function(e){return function(){return e}}));const re=ne(void 0);const ie=se(re());const oe=K(ie);var ce=s(928);function ae(e,t){return function(){return t.call(this,e.apply(this,arguments))}}function ue(e,t,s){for(var n=0,r=s.length;n<r;){if((t=e["@@transducer/step"](t,s[n]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n+=1}return e["@@transducer/result"](t)}const le=u((function(e,t){return k(e.length,(function(){return e.apply(t,arguments)}))}));function pe(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 he(e,t,s,n){return e["@@transducer/result"](s[n](le(e["@@transducer/step"],e),t))}const de=E(ue,he,pe);var me=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 ge=l((function(e,t,s){return de("function"==typeof e?new me(e):e,t,s)}));function fe(e,t){return function(){var s=arguments.length;if(0===s)return t();var n=arguments[s-1];return _(n)||"function"!=typeof n[e]?t.apply(this,arguments):n[e].apply(n,Array.prototype.slice.call(arguments,0,s-1))}}const be=l(fe("slice",(function(e,t,s){return Array.prototype.slice.call(s,e,t)})));const ve=a(fe("tail",be(1,1/0)));function ye(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return k(arguments[0].length,ge(ae,arguments[0],ve(arguments)))}var _e=function(e,t){switch(arguments.length){case 0:return _e;case 1:return function t(s){return 0===arguments.length?t:X(e,s)};default:return X(e,t)}};const we=_e;function xe(e,t){return function(e,t,s){var n,r;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(n=1/t;s<e.length;){if(0===(r=e[s])&&1/r===n)return s;s+=1}return-1}if(t!=t){for(;s<e.length;){if("number"==typeof(r=e[s])&&r!=r)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(se(e[s],t))return s;s+=1}return-1}(t,e,0)>=0}function Ee(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 Se=function(e){return(e<10?"0":"")+e};const je="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+Se(e.getUTCMonth()+1)+"-"+Se(e.getUTCDate())+"T"+Se(e.getUTCHours())+":"+Se(e.getUTCMinutes())+":"+Se(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function Oe(e){return"[object Object]"===Object.prototype.toString.call(e)}var Be=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=$,e.prototype["@@transducer/result"]=M,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function Pe(e){return function(t){return new Be(e,t)}}const $e=u(B(["fantasy-land/filter","filter"],Pe,(function(e,t){return Oe(t)?y((function(s,n){return e(t[n])&&(s[n]=t[n]),s}),{},J(t)):function(e,t){for(var s=0,n=t.length,r=[];s<n;)e(t[s])&&(r[r.length]=t[s]),s+=1;return r}(e,t)})));const Me=u((function(e,t){return $e((s=e,function(){return!s.apply(this,arguments)}),t);var s}));function Ae(e,t){var s=function(s){var n=t.concat([e]);return xe(s,n)?"<Circular>":Ae(s,n)},n=function(e,t){return P((function(t){return Ee(t)+": "+s(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+P(s,e).join(", ")+"))";case"[object Array]":return"["+P(s,e).concat(n(e,Me((function(e){return/^\d+$/.test(e)}),J(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):Ee(je(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())+")":Ee(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var r=e.toString();if("[object Object]"!==r)return r}return"{"+n(e,J(e)).join(", ")+"}"}}const qe=a((function(e){return Ae(e,[])}));const ke=u((function(e,t){return e.map((function(e){for(var s,n=t,r=0;r<e.length;){if(null==n)return;s=e[r],n=h(s)?m(s,n):n[s],r+=1}return n}))}));const Ce=u((function(e,t){return ke([e],t)[0]}));const Ie=l((function(e,t,s){return e(Ce(t,s))}));function Ne(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const Te=u((function(e,t){return e&&t}));const Re=u((function(e,t){return Ne(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:H(Te)(e,t)}));const Fe=se(null);const Ve=K(Fe);function We(e){return We="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},We(e)}const De=function(e){return"object"===We(e)};const Le=I(1,Re(Ve,De));const Je=u((function(e,t){if(e===t)return t;function s(e,t){if(e>t!=t>e)return t>e?t:e}var n=s(e,t);if(void 0!==n)return n;var r=s(typeof e,typeof t);if(void 0!==r)return r===typeof e?e:t;var i=qe(e),o=s(i,qe(t));return void 0!==o&&o===i?e:t}));const Ue=u((function(e,t){return U(g(e),t)}));const ze=a((function(e){return I(ge(Je,0,Ue("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 Ge=I(1,ye(Y,we("GeneratorFunction")));const He=I(1,ye(Y,we("AsyncFunction")));const Ke=ze([ye(Y,we("Function")),Ge,He]);var Ze=ye(Y,we("Object")),Qe=ye(qe,se(qe(Object))),Xe=Ie(Re(Ke,Qe),["constructor"]);const Ye=I(1,(function(e){if(!Le(e)||!Ze(e))return!1;var t=Object.getPrototypeOf(e);return!!Fe(t)||Xe(t)}));class et extends ce.M${constructor(e,t,s){super(e,t,s),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const tt=et;class st extends ce.M${constructor(e,t,s){super(e,t,s),this.element="comment"}}const nt=st;class rt extends ce.uQ{constructor(e,t,s){super(e,t,s),this.element="parseResult"}get api(){return this.children.filter((e=>e.classes.contains("api"))).first}get results(){return this.children.filter((e=>e.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((e=>"annotation"===e.element))}get warnings(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("warning")))}get errors(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("error")))}get isEmpty(){return this.children.reject((e=>"annotation"===e.element)).isEmpty}replaceResult(e){const{result:t}=this;if(ie(t))return!1;const s=this.content.findIndex((e=>e===t));return-1!==s&&(this.content[s]=e,!0)}}const it=rt;class ot extends ce.uQ{constructor(e,t,s){super(e,t,s),this.element="sourceMap"}get positionStart(){return this.children.filter((e=>e.classes.contains("position"))).get(0)}get positionEnd(){return this.children.filter((e=>e.classes.contains("position"))).get(1)}set position(e){if(void 0===e)return;const t=new ce.uQ([e.start.row,e.start.column,e.start.char]),s=new ce.uQ([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),s.classes.push("position"),this.push(t).push(s)}}const ct=ot;class at extends ce.MH{constructor(){super(),this.register("annotation",tt),this.register("comment",nt),this.register("parseResult",it),this.register("sourceMap",ct)}}const ut=new at,lt=e=>{const t=new at;return Ye(e)&&t.use(e),t},pt=ut;const ht=I(1,ye(Y,we("String"))),dt=s.p+"23aac571c96605dc25219087ad291441.wasm",mt=globalThis.fetch;Ke(mt)&&(globalThis.fetch=(...e)=>ht(e[0])&&e[0].endsWith("tree-sitter.wasm")?mt.apply(globalThis,[dt,ve(e)]):mt.apply(globalThis,e));var gt=s(843),ft=s(1204);const bt=class extends ft{constructor(e,t,s){if(super(e,t,s),this.name=this.constructor.name,"string"==typeof t&&(this.message=t),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack,null!=s&&"object"==typeof s&&Object.hasOwn(s,"cause")&&!("cause"in this)){const{cause:e}=s;this.cause=e,e instanceof Error&&"stack"in e&&(this.stack=`${this.stack}\nCAUSE: ${e.stack}`)}}};class vt extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(bt,e)}constructor(e,t){if(super(e,t),this.name=this.constructor.name,"string"==typeof e&&(this.message=e),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack,null!=t&&"object"==typeof t&&Object.hasOwn(t,"cause")&&!("cause"in this)){const{cause:e}=t;this.cause=e,e instanceof Error&&"stack"in e&&(this.stack=`${this.stack}\nCAUSE: ${e.stack}`)}}}const yt=vt,_t=s.p+"64a30dfa8a51b6a090ebd363beeaad5d.wasm";let wt=null,xt=null;const Et=async e=>{if(null===wt&&null===xt)xt=gt.init().then((()=>gt.Language.load(_t))).then((e=>{const t=new gt;return t.setLanguage(e),t})).finally((()=>{xt=null})),wt=await xt;else if(null===wt&&null!==xt)wt=await xt;else if(null===wt)throw new yt("Error while initializing web-tree-sitter and loading tree-sitter-json grammar.");return wt.parse(e)};const St=class extends yt{constructor(e,t){if(super(e,t),null!=t&&"object"==typeof t){const{cause:e,...s}=t;Object.assign(this,s)}}},jt=(e,t,s)=>{const n=e[t];if(null!=n){if(!s&&"function"==typeof n)return n;const e=s?n.leave:n.enter;if("function"==typeof e)return e}else{const n=s?e.leave:e.enter;if(null!=n){if("function"==typeof n)return n;const e=n[t];if("function"==typeof e)return e}}return null},Ot={},Bt=e=>null==e?void 0:e.type,Pt=e=>"string"==typeof Bt(e),$t=e=>Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)),Mt=(e,t,{keyMap:s=null,state:n={},breakSymbol:r=Ot,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:c=jt,nodeTypeGetter:a=Bt,nodePredicate:u=Pt,nodeCloneFn:l=$t,detectCycles:p=!0}={})=>{const h=s||{};let d,m,g=Array.isArray(e),f=[e],b=-1,v=[],y=e;const _=[],w=[];do{b+=1;const e=b===f.length;let s;const E=e&&0!==v.length;if(e){if(s=0===w.length?void 0:_.pop(),y=m,m=w.pop(),E)if(g){y=y.slice();let e=0;for(const[t,s]of v){const n=t-e;s===i?(y.splice(n,1),e+=1):y[n]=s}}else{y=l(y);for(const[e,t]of v)y[e]=t}b=d.index,f=d.keys,v=d.edits,g=d.inArray,d=d.prev}else if(m!==i&&void 0!==m){if(s=g?b:f[b],y=m[s],y===i||void 0===y)continue;_.push(s)}let S;if(!Array.isArray(y)){if(!u(y))throw new St(`Invalid AST Node: ${String(y)}`,{node:y});if(p&&w.includes(y)){_.pop();continue}const i=c(t,a(y),e);if(i){for(const[e,s]of Object.entries(n))t[e]=s;S=i.call(t,y,s,m,_,w)}if(S===r)break;if(S===o){if(!e){_.pop();continue}}else if(void 0!==S&&(v.push([s,S]),!e)){if(!u(S)){_.pop();continue}y=S}}var x;if(void 0===S&&E&&v.push([s,y]),!e)d={inArray:g,index:b,keys:f,edits:v,prev:d},g=Array.isArray(y),f=g?y:null!==(x=h[a(y)])&&void 0!==x?x:[],b=-1,v=[],m!==i&&void 0!==m&&w.push(m),m=y}while(void 0!==d);return 0!==v.length?v[v.length-1][1]:e};function At(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}Mt[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:s=null,state:n={},breakSymbol:r=Ot,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:c=jt,nodeTypeGetter:a=Bt,nodePredicate:u=Pt,nodeCloneFn:l=$t,detectCycles:p=!0}={})=>{const h=s||{};let d,m,g=Array.isArray(e),f=[e],b=-1,v=[],y=e;const _=[],w=[];do{b+=1;const e=b===f.length;let s;const E=e&&0!==v.length;if(e){if(s=0===w.length?void 0:_.pop(),y=m,m=w.pop(),E)if(g){y=y.slice();let e=0;for(const[t,s]of v){const n=t-e;s===i?(y.splice(n,1),e+=1):y[n]=s}}else{y=l(y);for(const[e,t]of v)y[e]=t}b=d.index,f=d.keys,v=d.edits,g=d.inArray,d=d.prev}else if(m!==i&&void 0!==m){if(s=g?b:f[b],y=m[s],y===i||void 0===y)continue;_.push(s)}let S;if(!Array.isArray(y)){if(!u(y))throw new St(`Invalid AST Node: ${String(y)}`,{node:y});if(p&&w.includes(y)){_.pop();continue}const i=c(t,a(y),e);if(i){for(const[e,s]of Object.entries(n))t[e]=s;S=await i.call(t,y,s,m,_,w)}if(S===r)break;if(S===o){if(!e){_.pop();continue}}else if(void 0!==S&&(v.push([s,S]),!e)){if(!u(S)){_.pop();continue}y=S}}var x;if(void 0===S&&E&&v.push([s,y]),!e)d={inArray:g,index:b,keys:f,edits:v,prev:d},g=Array.isArray(y),f=g?y:null!==(x=h[a(y)])&&void 0!==x?x:[],b=-1,v=[],m!==i&&void 0!==m&&w.push(m),m=y}while(void 0!==d);return 0!==v.length?v[v.length-1][1]:e};var qt=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=$,e.prototype["@@transducer/result"]=function(e){return this.all&&(e=this.xf["@@transducer/step"](e,!0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)||(this.all=!1,e=At(this.xf["@@transducer/step"](e,!1))),e},e}();function kt(e){return function(t){return new qt(e,t)}}const Ct=u(B(["all"],kt,(function(e,t){for(var s=0;s<t.length;){if(!e(t[s]))return!1;s+=1}return!0})));const It=a((function(e){return I(e.length,(function(t,s){var n=Array.prototype.slice.call(arguments,0);return n[0]=s,n[1]=t,e.apply(this,n)}))}))(u(xe)),Nt=(e,t)=>"object"==typeof t&&null!==t&&e in t&&"function"==typeof t[e],Tt=e=>"object"==typeof e&&null!=e&&"_storedElement"in e&&"string"==typeof e._storedElement&&"_content"in e,Rt=(e,t)=>"object"==typeof t&&null!==t&&"primitive"in t&&("function"==typeof t.primitive&&t.primitive()===e),Ft=(e,t)=>"object"==typeof t&&null!==t&&"classes"in t&&(Array.isArray(t.classes)||t.classes instanceof ce.uQ)&&t.classes.includes(e),Vt=(e,t)=>"object"==typeof t&&null!==t&&"element"in t&&t.element===e,Wt=e=>e({hasMethod:Nt,hasBasicElementProps:Tt,primitiveEq:Rt,isElementType:Vt,hasClass:Ft}),Dt=Wt((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof ce.gr||e(s)&&t(void 0,s))),Lt=Wt((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof ce.M$||e(s)&&t("string",s))),Jt=Wt((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof ce.wH||e(s)&&t("number",s))),Ut=Wt((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof ce.WM||e(s)&&t("null",s))),zt=Wt((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof ce.Ar||e(s)&&t("boolean",s))),Gt=Wt((({hasBasicElementProps:e,primitiveEq:t,hasMethod:s})=>n=>n instanceof ce.We||e(n)&&t("object",n)&&s("keys",n)&&s("values",n)&&s("items",n))),Ht=Wt((({hasBasicElementProps:e,primitiveEq:t,hasMethod:s})=>n=>n instanceof ce.uQ&&!(n instanceof ce.We)||e(n)&&t("array",n)&&s("push",n)&&s("unshift",n)&&s("map",n)&&s("reduce",n))),Kt=Wt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ce.u6||e(n)&&t("member",n)&&s(void 0,n))),Zt=Wt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ce.UH||e(n)&&t("link",n)&&s(void 0,n))),Qt=Wt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ce.eE||e(n)&&t("ref",n)&&s(void 0,n))),Xt=Wt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof tt||e(n)&&t("annotation",n)&&s("array",n))),Yt=Wt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof nt||e(n)&&t("comment",n)&&s("string",n))),es=Wt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof it||e(n)&&t("parseResult",n)&&s("array",n))),ts=Wt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ct||e(n)&&t("sourceMap",n)&&s("array",n))),ss=e=>Vt("object",e)||Vt("array",e)||Vt("boolean",e)||Vt("number",e)||Vt("string",e)||Vt("null",e)||Vt("member",e),ns=e=>ts(e.meta.get("sourceMap")),rs=(e,t)=>{if(0===e.length)return!0;const s=t.attributes.get("symbols");return!!Ht(s)&&Ct(It(s.toValue()),e)},is=(e,t)=>0===e.length||Ct(It(t.classes.toValue()),e);const os=class extends St{value;constructor(e,t){super(e,t),void 0!==t&&(this.value=t.value)}};const cs=class extends os{};const as=class extends os{},us=(e,t={})=>{const{visited:s=new WeakMap}=t,n={...t,visited:s};if(s.has(e))return s.get(e);if(e instanceof ce.KeyValuePair){const{key:t,value:r}=e,i=Dt(t)?us(t,n):t,o=Dt(r)?us(r,n):r,c=new ce.KeyValuePair(i,o);return s.set(e,c),c}if(e instanceof ce.wL){const t=e=>us(e,n),r=[...e].map(t),i=new ce.wL(r);return s.set(e,i),i}if(e instanceof ce.eW){const t=e=>us(e,n),r=[...e].map(t),i=new ce.eW(r);return s.set(e,i),i}if(Dt(e)){const t=hs(e);if(s.set(e,t),e.content)if(Dt(e.content))t.content=us(e.content,n);else if(e.content instanceof ce.KeyValuePair)t.content=us(e.content,n);else if(Array.isArray(e.content)){const s=e=>us(e,n);t.content=e.content.map(s)}else t.content=e.content;else t.content=e.content;return t}throw new cs("Value provided to cloneDeep function couldn't be cloned",{value:e})};us.safe=e=>{try{return us(e)}catch{return e}};const ls=e=>{const{key:t,value:s}=e;return new ce.KeyValuePair(t,s)},ps=e=>{const t=new e.constructor;if(t.element=e.element,e.meta.length>0&&(t._meta=us(e.meta)),e.attributes.length>0&&(t._attributes=us(e.attributes)),Dt(e.content)){const s=e.content;t.content=ps(s)}else Array.isArray(e.content)?t.content=[...e.content]:e.content instanceof ce.KeyValuePair?t.content=ls(e.content):t.content=e.content;return t},hs=e=>{if(e instanceof ce.KeyValuePair)return ls(e);if(e instanceof ce.wL)return(e=>{const t=[...e];return new ce.wL(t)})(e);if(e instanceof ce.eW)return(e=>{const t=[...e];return new ce.eW(t)})(e);if(Dt(e))return ps(e);throw new as("Value provided to cloneShallow function couldn't be cloned",{value:e})};hs.safe=e=>{try{return hs(e)}catch{return e}};const ds=e=>Gt(e)?"ObjectElement":Ht(e)?"ArrayElement":Kt(e)?"MemberElement":Lt(e)?"StringElement":zt(e)?"BooleanElement":Jt(e)?"NumberElement":Ut(e)?"NullElement":Zt(e)?"LinkElement":Qt(e)?"RefElement":void 0,ms=e=>Dt(e)?hs(e):$t(e),gs=ye(ds,ht),fs={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]};const bs=(e,t,{keyMap:s=fs,...n}={})=>Mt(e,t,{keyMap:s,nodeTypeGetter:ds,nodePredicate:gs,nodeCloneFn:ms,...n});bs[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:s=fs,...n}={})=>Mt[Symbol.for("nodejs.util.promisify.custom")](e,t,{keyMap:s,nodeTypeGetter:ds,nodePredicate:gs,nodeCloneFn:ms,...n});const vs=l((function(e,t,s){var n,r={};for(n in s=s||{},t=t||{})N(n,t)&&(r[n]=N(n,s)?e(n,t[n],s[n]):t[n]);for(n in s)N(n,s)&&!N(n,r)&&(r[n]=s[n]);return r}));const ys=l((function e(t,s,n){return vs((function(s,n,r){return Oe(n)&&Oe(r)?e(t,n,r):t(s,n,r)}),s,n)}));const _s=u((function(e,t){return ys((function(e,t,s){return s}),e,t)}));const ws=be(0,-1);const xs=u((function(e,t){return e.apply(this,t)}));const Es=K(Ke);var Ss=a((function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():_(e)?[]:d(e)?"":Oe(e)?{}:R(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 js=Ss;const Os=a((function(e){return null!=e&&se(e,js(e))}));const Bs=I(1,Ke(Array.isArray)?Array.isArray:ye(Y,we("Array")));const Ps=Re(Bs,Os);const $s=I(3,(function(e,t,s){var n=Ce(e,s),r=Ce(ws(e),s);if(!Es(n)&&!Ps(e)){var i=le(n,r);return xs(i,t)}})),Ms=()=>({predicates:{...e},namespace:pt}),As={toolboxCreator:Ms,visitorOptions:{nodeTypeGetter:ds,exposeEdits:!0}},qs=(e,t,s={})=>{if(0===t.length)return e;const n=_s(As,s),{toolboxCreator:r,visitorOptions:i}=n,o=r(),c=t.map((e=>e(o))),a=((e,{visitFnGetter:t=jt,nodeTypeGetter:s=Bt,breakSymbol:n=Ot,deleteNodeSymbol:r=null,skipVisitingNodeSymbol:i=!1,exposeEdits:o=!1}={})=>{const c=Symbol("skip"),a=new Array(e.length).fill(c);return{enter(u,...l){let p=u,h=!1;for(let d=0;d<e.length;d+=1)if(a[d]===c){const c=t(e[d],s(p),!1);if("function"==typeof c){const t=c.call(e[d],p,...l);if(t===i)a[d]=u;else if(t===n)a[d]=n;else{if(t===r)return t;if(void 0!==t){if(!o)return t;p=t,h=!0}}}}return h?p:void 0},leave(r,...o){for(let u=0;u<e.length;u+=1)if(a[u]===c){const c=t(e[u],s(r),!0);if("function"==typeof c){const t=c.call(e[u],r,...o);if(t===n)a[u]=n;else if(void 0!==t&&t!==i)return t}}else a[u]===r&&(a[u]=c)}}})(c.map(f({},"visitor")),{...i});c.forEach($s(["pre"],[]));const u=bs(e,a,i);return c.forEach($s(["post"],[])),u},ks=(e,{Type:t,plugins:s=[]})=>{const n=new t(e);return qs(n,s,{toolboxCreator:Ms,visitorOptions:{nodeTypeGetter:ds}})},Cs=e=>(t,s={})=>ks(t,{...s,Type:e});ce.We.refract=Cs(ce.We),ce.uQ.refract=Cs(ce.uQ),ce.M$.refract=Cs(ce.M$),ce.Ar.refract=Cs(ce.Ar),ce.WM.refract=Cs(ce.WM),ce.wH.refract=Cs(ce.wH),ce.UH.refract=Cs(ce.UH),ce.eE.refract=Cs(ce.eE),tt.refract=Cs(tt),nt.refract=Cs(nt),it.refract=Cs(it),ct.refract=Cs(ct);const Is=class{type;startPosition;endPosition;startIndex;endIndex;text;isNamed;isMissing;fieldName;hasError=!1;children=[];constructor(e){this.type=e.nodeType,this.startPosition=e.startPosition,this.endPosition=e.endPosition,this.startIndex=e.startIndex,this.endIndex=e.endIndex,this.text=e.nodeText,this.isNamed=e.nodeIsNamed,this.isMissing=e.nodeIsMissing}get keyNode(){if("pair"===this.type)return this.children.find((e=>"key"===e.fieldName))}get valueNode(){if("pair"===this.type)return this.children.find((e=>"value"===e.fieldName))}setFieldName(e){return"function"==typeof e.currentFieldName?this.fieldName=e.currentFieldName():this.fieldName=e.currentFieldName,this}setHasError(e){return"function"==typeof e.currentNode?this.hasError=e.currentNode().hasError():this.hasError=e.currentNode.hasError(),this}pushChildren(...e){this.children.push(...e)}};class Ns{static toPosition(e){const t=new ce.uQ([e.startPosition.row,e.startPosition.column,e.startIndex]),s=new ce.uQ([e.endPosition.row,e.endPosition.column,e.endIndex]);return t.classes.push("position"),s.classes.push("position"),[t,s]}sourceMap=!1;annotations;ParseResultElement={leave:e=>{const t=e.findElements(ss);if(t.length>0){t[0].classes.push("result")}this.annotations.forEach((t=>{e.push(t)})),this.annotations=[]}};constructor(){this.annotations=[]}enter(e){if(e instanceof Is&&!e.isNamed&&e.isMissing){const t=e.type||e.text,s=new tt(`(Missing ${t})`);s.classes.push("warning"),this.maybeAddSourceMap(e,s),this.annotations.push(s)}return null}document(e){const t=new it;return t._content=e.children,this.maybeAddSourceMap(e,t),t}object(e){const t=new ce.We;return t._content=e.children,this.maybeAddSourceMap(e,t),t}array(e){const t=new ce.uQ;return t._content=e.children,this.maybeAddSourceMap(e,t),t}pair(e){const t=new ce.u6;return t.content.key=e.keyNode,t.content.value=e.valueNode,this.maybeAddSourceMap(e,t),e.children.length>3&&e.children.filter((e=>"ERROR"===e.type)).forEach((t=>{this.ERROR(t,e,[],[e])})),t}string(e){const t=new ce.M$(JSON.parse(e.text));return this.maybeAddSourceMap(e,t),t}number(e){const t=new ce.wH(Number(e.text));return this.maybeAddSourceMap(e,t),t}null(e){const t=new ce.WM;return this.maybeAddSourceMap(e,t),t}true(e){const t=new ce.Ar(!0);return this.maybeAddSourceMap(e,t),t}false(e){const t=new ce.Ar(!1);return this.maybeAddSourceMap(e,t),t}ERROR(e,t,s,n){const r=!e.hasError,i=e.text,o=new tt(r?`(Unexpected ${i})`:`(Error ${i})`);if(o.classes.push("error"),this.maybeAddSourceMap(e,o),0===n.length){const e=new it;return e.push(o),e}return this.annotations.push(o),null}maybeAddSourceMap(e,t){if(!this.sourceMap)return;const s=new ct,n=Ns.toPosition(e);if(null!==n){const[e,t]=n;s.push(e),s.push(t)}s.astNode=e,t.meta.set("sourceMap",s)}}const Ts=Ns;class Rs{cursor;constructor(e){this.cursor=e}document(){return new Is(this.cursor)}object(){return new Is(this.cursor).setFieldName(this.cursor)}array(){return new Is(this.cursor).setFieldName(this.cursor)}pair(){return new Is(this.cursor)}string(){return new Is(this.cursor).setFieldName(this.cursor)}number(){return new Is(this.cursor).setFieldName(this.cursor)}null(){return new Is(this.cursor).setFieldName(this.cursor)}true(){return new Is(this.cursor).setFieldName(this.cursor)}false(){return new Is(this.cursor).setFieldName(this.cursor)}ERROR(){return new Is(this.cursor).setHasError(this.cursor)}*[Symbol.iterator](){let e;if(e=this.cursor.nodeType in this?this[this.cursor.nodeType]():new Is(this.cursor),this.cursor.gotoFirstChild()){const[t]=new Rs(this.cursor);for(e.pushChildren(t);this.cursor.gotoNextSibling();){const t=new Rs(this.cursor);e.pushChildren(...t)}this.cursor.gotoParent()}yield e}}const Fs=Rs,Vs={document:["children"],object:["children"],array:["children"],string:["children"],property:["children"],key:["children"],error:["children"],...fs},Ws=e=>es(e)?"ParseResultElement":Dt(e)?ds(e):Bt(e),Ds=e=>Dt(e)||Pt(e),Ls=(e,{sourceMap:t=!1}={})=>{const s=new Ts,n=e.walk(),r=new Fs(n),[i]=Array.from(r);return Mt(i,s,{keyMap:Vs,nodeTypeGetter:Ws,nodePredicate:Ds,state:{sourceMap:t}})};class Js{static type="point";type=Js.type;row;column;char;constructor({row:e,column:t,char:s}){this.row=e,this.column=t,this.char=s}}class Us{static type="position";type=Us.type;start;end;constructor({start:e,end:t}){this.start=e,this.end=t}}const zs=Us;const Gs=m(0);const Hs=class{static type="node";type="node";isMissing;children;position;constructor({children:e=[],position:t,isMissing:s=!1}={}){this.type=this.constructor.type,this.isMissing=s,this.children=e,this.position=t}clone(){const e=Object.create(Object.getPrototypeOf(this));return Object.getOwnPropertyNames(this).forEach((t=>{const s=Object.getOwnPropertyDescriptor(this,t);Object.defineProperty(e,t,s)})),e}};const Ks=class extends Hs{};const Zs=class extends Ks{static type="document";get child(){return Gs(this.children)}};const Qs=class extends Hs{static type="parseResult";get rootNode(){return Gs(this.children)}};const Xs=class extends Hs{static type="literal";value;constructor({value:e,...t}={}){super({...t}),this.value=e}},Ys=(e,t)=>null!=t&&"object"==typeof t&&"type"in t&&t.type===e,en=e=>Ys("string",e),tn=e=>Ys("false",e),sn=e=>Ys("true",e),nn=e=>Ys("null",e),rn=e=>Ys("number",e),on=e=>Ys("array",e),cn=e=>Ys("object",e),an=e=>Ys("property",e),un=e=>Ys("key",e);const ln=class extends Ks{static type="object";get properties(){return this.children.filter(an)}};const pn=class extends Ks{static type="string";get value(){if(1===this.children.length){return this.children[0].value}return this.children.filter((e=>(e=>Ys("stringContent",e))(e)||(e=>Ys("escapeSequence",e))(e))).reduce(((e,t)=>e+t.value),"")}};const hn=class extends pn{static type="key"};const dn=class extends Ks{static type="property";get key(){return this.children.find(un)}get value(){return this.children.find((e=>tn(e)||sn(e)||nn(e)||rn(e)||en(e)||on(e)||cn(e)))}};const mn=class extends Ks{static type="array";get items(){return this.children.filter((e=>tn(e)||sn(e)||nn(e)||rn(e)||en(e)||on(e)||cn))}};const gn=class extends Ks{static type="value";value;constructor({value:e,...t}){super({...t}),this.value=e}};const fn=class extends gn{static type="stringContent"};const bn=class extends gn{static type="number"};const vn=class extends gn{static type="null"};const yn=class extends gn{static type="true"};const _n=class extends gn{static type="false"};const wn=class extends Hs{static type="error";value;isUnexpected;constructor({value:e,isUnexpected:t=!1,...s}={}){super({...s}),this.value=e,this.isUnexpected=t}},xn={document:["children"],object:["children"],array:["children"],string:["children"],property:["children"],key:["children"],error:["children"]};class En{static toPosition(e){const t=new Js({row:e.startPosition.row,column:e.startPosition.column,char:e.startIndex}),s=new Js({row:e.endPosition.row,column:e.endPosition.column,char:e.endIndex});return new zs({start:t,end:s})}document={enter:e=>{const t=En.toPosition(e);return new Zs({children:e.children,position:t,isMissing:e.isMissing})},leave:e=>new Qs({children:[e]})};enter(e){if(e instanceof Is&&!e.isNamed){const t=En.toPosition(e),s=e.type||e.text,{isMissing:n}=e;return new Xs({value:s,position:t,isMissing:n})}}object(e){const t=En.toPosition(e);return new ln({children:e.children,position:t,isMissing:e.isMissing})}pair(e){const t=En.toPosition(e),s=e.children.slice(1),{keyNode:n}=e,r=new hn({children:(null==n?void 0:n.children)||[],position:null!=n?En.toPosition(n):void 0,isMissing:null!=n&&n.isMissing});return new dn({children:[r,...s],position:t,isMissing:e.isMissing})}array(e){const t=En.toPosition(e);return new mn({children:e.children,position:t,isMissing:e.isMissing})}string(e){const t=En.toPosition(e),s=new fn({value:JSON.parse(e.text)});return new pn({children:[s],position:t,isMissing:e.isMissing})}number(e){const t=En.toPosition(e),s=e.text;return new bn({value:s,position:t,isMissing:e.isMissing})}null(e){const t=En.toPosition(e),s=e.text;return new vn({value:s,position:t,isMissing:e.isMissing})}true(e){const t=En.toPosition(e),s=e.text;return new yn({value:s,position:t,isMissing:e.isMissing})}false(e){const t=En.toPosition(e),s=e.text;return new _n({value:s,position:t,isMissing:e.isMissing})}ERROR(e,t,s,n){const r=En.toPosition(e),i=new wn({children:e.children,position:r,isUnexpected:!e.hasError,isMissing:e.isMissing,value:e.text});return 0===n.length?new Qs({children:[i]}):i}}const Sn=En,jn={[Qs.type]:["children"],[Zs.type]:["children"],[ln.type]:["children"],[dn.type]:["children"],[mn.type]:["children"],[wn.type]:["children"],...fs},On=e=>es(e)?"ParseResultElement":Dt(e)?ds(e):Bt(e),Bn=e=>Dt(e)||Pt(e);const Pn=class{sourceMap=!1;annotations;ParseResultElement={leave:e=>{const t=e.findElements(ss);if(t.length>0){t[0].classes.push("result")}this.annotations.forEach((t=>{e.push(t)})),this.annotations=[]}};constructor(){this.annotations=[]}document(e){const t=new it;return t._content=e.children,t}object(e){const t=new ce.We;return t._content=e.children,this.maybeAddSourceMap(e,t),t}property(e){const t=new ce.u6;return t.content.key=e.key,t.content.value=e.value,this.maybeAddSourceMap(e,t),e.children.length>3&&e.children.filter((e=>"error"===e.type)).forEach((t=>{this.error(t,e,[],[e])})),t}key(e){const t=new ce.M$(e.value);return this.maybeAddSourceMap(e,t),t}array(e){const t=new ce.uQ;return t._content=e.children,this.maybeAddSourceMap(e,t),t}string(e){const t=new ce.M$(e.value);return this.maybeAddSourceMap(e,t),t}number(e){const t=new ce.wH(Number(e.value));return this.maybeAddSourceMap(e,t),t}null(e){const t=new ce.WM;return this.maybeAddSourceMap(e,t),t}true(e){const t=new ce.Ar(!0);return this.maybeAddSourceMap(e,t),t}false(e){const t=new ce.Ar(!1);return this.maybeAddSourceMap(e,t),t}literal(e){if(e.isMissing){const t=`(Missing ${e.value})`,s=new tt(t);s.classes.push("warning"),this.maybeAddSourceMap(e,s),this.annotations.push(s)}return null}error(e,t,s,n){const r=e.isUnexpected?`(Unexpected ${e.value})`:`(Error ${e.value})`,i=new tt(r);if(i.classes.push("error"),this.maybeAddSourceMap(e,i),0===n.length){const e=new it;return e.push(i),e}return this.annotations.push(i),null}maybeAddSourceMap(e,t){if(!this.sourceMap)return;const s=new ct;s.position=e.position,s.astNode=e,t.meta.set("sourceMap",s)}},$n=(e,{sourceMap:t=!1}={})=>{const s=e.walk(),n=new Fs(s),[r]=Array.from(n),i=new Sn,o=new Pn,c=Mt(r,i,{keyMap:xn,state:{sourceMap:t}});return Mt(c.rootNode,o,{keyMap:jn,nodeTypeGetter:On,nodePredicate:Bn,state:{sourceMap:t}})},Mn=(lt(),/(?<true>^\s*true\s*$)|(?<false>^\s*false\s*$)|(?<null>^\s*null\s*$)|(?<number>^\s*\d+\s*$)|(?<object>^\s*{\s*)|(?<array>^\s*\[\s*)|(?<string>^\s*"(((?=\\)\\(["\\/bfnrt]|u[0-9a-fA-F]{4}))|[^"\\\x00-\x1F\x7F])*"\s*$)/);const An=u((function(e,t){return y((function(s,n){return s[n]=e(t[n],n,t),s}),{},J(t))}));const qn=a((function(e){return null==e}));const kn=u((function(e,t){if(0===e.length||qn(t))return!1;for(var s=t,n=0;n<e.length;){if(qn(s)||!N(e[n],s))return!1;s=s[e[n]],n+=1}return!0}));var Cn=u((function(e,t){return kn([e],t)}));const In=Cn;const Nn=l((function(e,t,s){return e(g(t,s))}));const Tn=a((function(e){return I(e.length,e)}));const Rn=u((function(e,t){return I(e+1,(function(){var s=arguments[e];if(null!=s&&Ne(s[t]))return s[t].apply(s,Array.prototype.slice.call(arguments,0,e));throw new TypeError(qe(s)+' does not have a method named "'+t+'"')}))}));const Fn=Rn(1,"split");var Vn=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=$,e.prototype["@@transducer/result"]=M,e.prototype["@@transducer/step"]=function(e,t){if(this.f){if(this.f(t))return e;this.f=null}return this.xf["@@transducer/step"](e,t)},e}();function Wn(e){return function(t){return new Vn(e,t)}}const Dn=u(B(["dropWhile"],Wn,(function(e,t){for(var s=0,n=t.length;s<n&&e(t[s]);)s+=1;return be(s,1/0,t)})));const Ln=Rn(1,"join");const Jn=Tn((function(e,t){return ye(Fn(""),Dn(It(e)),Ln(""))(t)})),Un=(e,t)=>{const s=p(e,t);return An((e=>{if(Ye(e)&&In("$ref",e)&&Nn(ht,"$ref",e)){const t=Ce(["$ref"],e),n=Jn("#/",t);return Ce(n.split("/"),s)}return Ye(e)?Un(e,s):e}),e)};var zn=l((function e(t,s,n){if(0===t.length)return s;var r=t[0];if(t.length>1){var i=!qn(n)&&N(r,n)&&"object"==typeof n[r]?n[r]:h(t[1])?[]:{};s=e(Array.prototype.slice.call(t,1),s,i)}return function(e,t,s){if(h(e)&&_(s)){var n=[].concat(s);return n[e]=t,n}var r={};for(var i in s)r[i]=s[i];return r[e]=t,r}(r,s,n)}));const Gn=zn;const Hn=l((function(e,t,s){var n=Array.prototype.slice.call(s,0);return n.splice(e,t),n}));var Kn=l((function(e,t,s){return Gn([e],t,s)}));const Zn=Kn;var Qn=u((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(h(e)&&_(t))return Hn(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],r=Array.prototype.slice.call(t,1);return null==s[n]?function(e,t){if(h(e)&&_(t))return[].concat(t);var s={};for(var n in t)s[n]=t[n];return s}(n,s):Zn(n,e(r,s[n]),s)}}));const Xn=Qn;var Yn=s(4248);const er=Yn({props:{element:null},methods:{copyMetaAndAttributes(e,t){ns(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),tr=Yn(er,{methods:{enter(e){return this.element=us(e),Ot}}});const sr=ne(re());const nr=function(){return!0},rr=e=>"string"==typeof(null==e?void 0:e.type)?e.type:ds(e),ir={EphemeralObject:["content"],EphemeralArray:["content"],...fs},or=(e,t,{keyMap:s=ir,...n}={})=>bs(e,t,{keyMap:s,nodeTypeGetter:rr,nodePredicate:nr,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});or[Symbol.for("nodejs.util.promisify.custom")]=async(e,{keyMap:t=ir,...s}={})=>bs[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,nodeTypeGetter:rr,nodePredicate:nr,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...s});const cr=class{type="EphemeralArray";content=[];reference=void 0;constructor(e){this.content=e,this.reference=[]}toReference(){return this.reference}toArray(){return this.reference.push(...this.content),this.reference}};const ar=class{type="EphemeralObject";content=[];reference=void 0;constructor(e){this.content=e,this.reference={}}toReference(){return this.reference}toObject(){return Object.assign(this.reference,Object.fromEntries(this.content))}};class ur{ObjectElement={enter:e=>{if(this.references.has(e))return this.references.get(e).toReference();const t=new ar(e.content);return this.references.set(e,t),t}};EphemeralObject={leave:e=>e.toObject()};MemberElement={enter:e=>[e.key,e.value]};ArrayElement={enter:e=>{if(this.references.has(e))return this.references.get(e).toReference();const t=new cr(e.content);return this.references.set(e,t),t}};EphemeralArray={leave:e=>e.toArray()};references=new WeakMap;BooleanElement(e){return e.toValue()}NumberElement(e){return e.toValue()}StringElement(e){return e.toValue()}NullElement(){return null}}const lr=e=>Dt(e)?Lt(e)||Jt(e)||zt(e)||Ut(e)?e.toValue():or(e,new ur):e;const pr=u((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})),hr=Yn(er,{props:{specObj:null,passingOptionsNames:["specObj"]},init({specObj:e=this.specObj}){this.specObj=e},methods:{retrievePassingOptions(){return pr(this.passingOptionsNames,this)},retrieveFixedFields(e){const t=Ce(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]},retrieveVisitor(e){return Ie(Ke,["visitors",...e],this.specObj)?Ce(["visitors",...e],this.specObj):Ce(["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),r=Object.getPrototypeOf(n);return ie(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===r?us(t):(bs(t,n,s),n.element)}}}),dr=Yn(hr,{props:{specPath:sr,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){const t=this.specPath(e),s=this.retrieveFixedFields(t);return e.forEach(((e,n,r)=>{if(Lt(n)&&s.includes(lr(n))&&!this.ignoredFields.includes(lr(n))){const s=this.toRefractedElement([...t,"fixedFields",lr(n)],e),i=new ce.u6(us(n),s);this.copyMetaAndAttributes(r,i),i.classes.push("fixed-field"),this.element.content.push(i)}else this.ignoredFields.includes(lr(n))||this.element.content.push(us(r))})),this.copyMetaAndAttributes(e,this.element),Ot}}});class mr extends ce.We{constructor(e,t,s){super(e,t,s),this.element="JSONSchemaDraft4"}get idProp(){return this.get("id")}set idProp(e){this.set("id",e)}get $schema(){return this.get("$schema")}set $schema(e){this.set("$schema",e)}get multipleOf(){return this.get("multipleOf")}set multipleOf(e){this.set("multipleOf",e)}get maximum(){return this.get("maximum")}set maximum(e){this.set("maximum",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get minimum(){return this.get("minimum")}set minimum(e){this.set("minimum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get maxLength(){return this.get("maxLength")}set maxLength(e){this.set("maxLength",e)}get minLength(){return this.get("minLength")}set minLength(e){this.set("minLength",e)}get pattern(){return this.get("pattern")}set pattern(e){this.set("pattern",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get maxItems(){return this.get("maxItems")}set maxItems(e){this.set("maxItems",e)}get minItems(){return this.get("minItems")}set minItems(e){this.set("minItems",e)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(e){this.set("uniqueItems",e)}get maxProperties(){return this.get("maxProperties")}set maxProperties(e){this.set("maxProperties",e)}get minProperties(){return this.get("minProperties")}set minProperties(e){this.set("minProperties",e)}get required(){return this.get("required")}set required(e){this.set("required",e)}get properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get dependencies(){return this.get("dependencies")}set dependencies(e){this.set("dependencies",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get allOf(){return this.get("allOf")}set allOf(e){this.set("allOf",e)}get anyOf(){return this.get("anyOf")}set anyOf(e){this.set("anyOf",e)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){return this.get("definitions")}set definitions(e){this.set("definitions",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get format(){return this.get("format")}set format(e){this.set("format",e)}get base(){return this.get("base")}set base(e){this.set("base",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get media(){return this.get("media")}set media(e){this.set("media",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}}const gr=mr,fr=Yn(dr,tr,{props:{specPath:ne(["document","objects","JSONSchema"])},init(){this.element=new gr}}),br=tr,vr=tr,yr=tr,_r=tr,wr=tr,xr=tr,Er=tr,Sr=tr,jr=tr,Or=tr,Br=Yn({props:{parent:null},init({parent:e=this.parent}){this.parent=e,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),Pr=e=>Gt(e)&&e.hasKey("$ref"),$r=Yn(hr,Br,tr,{methods:{ObjectElement(e){const t=Pr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),Ot},ArrayElement(e){return this.element=new ce.uQ,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=Pr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),Mr=tr,Ar=tr,qr=tr,kr=tr,Cr=tr,Ir=Yn(tr,{methods:{ArrayElement(e){return this.element=us(e),this.element.classes.push("json-schema-required"),Ot}}});const Nr=a((function(e){return I(ge(Je,0,Ue("length",e)),(function(){for(var t=0,s=e.length;t<s;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0}))}));const Tr=u((function(e,t){return e||t}));const Rr=K(I(1,Re(Ve,u((function(e,t){return Ne(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:H(Tr)(e,t)}))(De,Ke))));const Fr=K(Os);const Vr=Nr([ht,Rr,Fr]);const Wr=function(){return!1},Dr=Yn(hr,{props:{fieldPatternPredicate:Wr,specPath:sr,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){return e.forEach(((e,t,s)=>{if(!this.ignoredFields.includes(lr(t))&&this.fieldPatternPredicate(lr(t))){const n=this.specPath(e),r=this.toRefractedElement(n,e),i=new ce.u6(us(t),r);this.copyMetaAndAttributes(s,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(lr(t))||this.element.content.push(us(s))})),this.copyMetaAndAttributes(e,this.element),Ot}}}),Lr=Yn(Dr,{props:{fieldPatternPredicate:Vr}}),Jr=Yn(Lr,Br,tr,{props:{specPath:e=>Pr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new ce.We,this.element.classes.push("json-schema-properties")}}),Ur=Yn(Lr,Br,tr,{props:{specPath:e=>Pr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new ce.We,this.element.classes.push("json-schema-patternProperties")}}),zr=Yn(Lr,Br,tr,{props:{specPath:e=>Pr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new ce.We,this.element.classes.push("json-schema-dependencies")}}),Gr=Yn(tr,{methods:{ArrayElement(e){return this.element=us(e),this.element.classes.push("json-schema-enum"),Ot}}}),Hr=Yn(tr,{methods:{StringElement(e){return this.element=us(e),this.element.classes.push("json-schema-type"),Ot},ArrayElement(e){return this.element=us(e),this.element.classes.push("json-schema-type"),Ot}}}),Kr=Yn(hr,Br,tr,{init(){this.element=new ce.uQ,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Pr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),Zr=Yn(hr,Br,tr,{init(){this.element=new ce.uQ,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Pr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),Qr=Yn(hr,Br,tr,{init(){this.element=new ce.uQ,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Pr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),Xr=Yn(Lr,Br,tr,{props:{specPath:e=>Pr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new ce.We,this.element.classes.push("json-schema-definitions")}}),Yr=tr,ei=tr,ti=tr,si=tr,ni=tr,ri=Yn(hr,Br,tr,{init(){this.element=new ce.uQ,this.element.classes.push("json-schema-links")},methods:{ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","LinkDescription"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),ii=tr;class oi extends ce.We{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 ci=oi,ai=Yn(dr,tr,{props:{specPath:ne(["document","objects","JSONReference"])},init(){this.element=new ci},methods:{ObjectElement(e){const t=dr.compose.methods.ObjectElement.call(this,e);return Lt(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),ui=Yn(tr,{methods:{StringElement(e){return this.element=us(e),this.element.classes.push("reference-value"),Ot}}});const li=l((function(e,t,s){return I(Math.max(e.length,t.length,s.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):s.apply(this,arguments)}))}));const pi=a((function(e){return function(t,s){return e(t,s)?-1:e(s,t)?1:0}}));var hi=u((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const di=hi;const mi=a(At);const gi=K(qn);const fi=Re(Bs,Fr);function bi(e){return function(e){if(Array.isArray(e))return vi(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return vi(e,t);var s=Object.prototype.toString.call(e).slice(8,-1);"Object"===s&&e.constructor&&(s=e.constructor.name);if("Map"===s||"Set"===s)return Array.from(e);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return vi(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function vi(e,t){(null==t||t>e.length)&&(t=e.length);for(var s=0,n=new Array(t);s<t;s++)n[s]=e[s];return n}var yi=ye(di(pi((function(e,t){return e.length>t.length}))),Gs,g("length")),_i=Tn((function(e,t,s){var n=s.apply(void 0,bi(e));return gi(n)?mi(n):t}));const wi=li(fi,(function(e){var t=yi(e);return I(t,(function(){for(var t=arguments.length,s=new Array(t),n=0;n<t;n++)s[n]=arguments[n];return ge(_i(s),void 0,e)}))}),re),xi=Yn(hr,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>li(e,ne(t),re))),s=wi(t)(e);return this.element=this.toRefractedElement(s,e),Ot}}}),Ei=Yn(xi,{props:{alternator:[{predicate:Pr,specPath:["document","objects","JSONReference"]},{predicate:nr,specPath:["document","objects","JSONSchema"]}]}});class Si extends ce.We{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 ji=Si,Oi=Yn(dr,tr,{props:{specPath:ne(["document","objects","Media"])},init(){this.element=new ji}}),Bi=tr,Pi=tr;class $i extends ce.We{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 Mi=$i,Ai={visitors:{value:tr,JSONSchemaOrJSONReferenceVisitor:Ei,document:{objects:{JSONSchema:{$visitor:fr,fixedFields:{id:br,$schema:vr,multipleOf:yr,maximum:_r,exclusiveMaximum:wr,minimum:xr,exclusiveMinimum:Er,maxLength:Sr,minLength:jr,pattern:Or,additionalItems:Ei,items:$r,maxItems:Mr,minItems:Ar,uniqueItems:qr,maxProperties:kr,minProperties:Cr,required:Ir,properties:Jr,additionalProperties:Ei,patternProperties:Ur,dependencies:zr,enum:Gr,type:Hr,allOf:Kr,anyOf:Zr,oneOf:Qr,not:Ei,definitions:Xr,title:Yr,description:ei,default:ti,format:si,base:ni,links:ri,media:{$ref:"#/visitors/document/objects/Media"},readOnly:ii}},JSONReference:{$visitor:ai,fixedFields:{$ref:ui}},Media:{$visitor:Oi,fixedFields:{binaryEncoding:Bi,type:Pi}},LinkDescription:{$visitor:Yn(dr,tr,{props:{specPath:ne(["document","objects","LinkDescription"])},init(){this.element=new Mi}}),fixedFields:{href:tr,rel:tr,title:tr,targetSchema:Ei,mediaType:tr,method:tr,encType:tr,schema:Ei}}}}}};const qi=class extends yt{},ki=e=>{if(Dt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Ci={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...fs},Ii=Wt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof gr||e(n)&&t("JSONSchemaDraft4",n)&&s("object",n))),Ni=Wt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ci||e(n)&&t("JSONReference",n)&&s("object",n))),Ti=Wt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ji||e(n)&&t("media",n)&&s("object",n))),Ri=Wt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Mi||e(n)&&t("linkDescription",n)&&s("object",n))),Fi={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",gr),t.register("jSONReference",ci),t.register("media",ji),t.register("linkDescription",Mi),t}},Vi=()=>{const e=lt(Fi);return{predicates:{...t,isStringElement:Lt},namespace:e}},Wi=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:s=[],specificationObj:n=Ai}={})=>{const r=(0,ce.WG)(e),i=Un(n),o=$s(t,[],i);return bs(r,o,{state:{specObj:i}}),qs(o.element,s,{toolboxCreator:Vi,visitorOptions:{keyMap:Ci,nodeTypeGetter:ki}})},Di=e=>(t,s={})=>Wi(t,{specPath:e,...s});gr.refract=Di(["visitors","document","objects","JSONSchema","$visitor"]),ci.refract=Di(["visitors","document","objects","JSONReference","$visitor"]),ji.refract=Di(["visitors","document","objects","Media","$visitor"]),Mi.refract=Di(["visitors","document","objects","LinkDescription","$visitor"]);const Li=class extends gr{constructor(e,t,s){super(e,t,s),this.element="JSONSchemaDraft6"}get idProp(){throw new qi("id keyword from Core vocabulary has been renamed to $id.")}set idProp(e){throw new qi("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 containsProp(){return this.get("contains")}set containsProp(e){this.set("contains",e)}get items(){return this.get("items")}set items(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)}},Ji=Yn(dr,tr,{props:{specPath:ne(["document","objects","JSONSchema"])},methods:{ObjectElement(e){return this.element=new Li,dr.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=us(e),this.element.classes.push("boolean-json-schema"),Ot}}}),Ui=tr,zi=Yn(hr,Br,tr,{methods:{ObjectElement(e){const t=Pr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),Ot},ArrayElement(e){return this.element=new ce.uQ,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=Pr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),Ot},BooleanElement(e){return this.element=this.toRefractedElement(["document","objects","JSONSchema"],e),Ot}}}),Gi=tr,Hi=Yn(tr,{methods:{ArrayElement(e){return this.element=us(e),this.element.classes.push("json-schema-examples"),Ot}}});const Ki=class extends Mi{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 qi("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}set schema(e){throw new qi("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 qi("method keyword from Hyper-Schema vocabulary has been removed.")}set method(e){throw new qi("method keyword from Hyper-Schema vocabulary has been removed.")}get encType(){throw new qi("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}set encType(e){throw new qi("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}get submissionEncType(){return this.get("submissionEncType")}set submissionEncType(e){this.set("submissionEncType",e)}},Zi=Yn(dr,tr,{props:{specPath:ne(["document","objects","LinkDescription"])},init(){this.element=new Ki}}),Qi=tr,Xi=ye(Gn(["visitors","document","objects","JSONSchema","$visitor"],Ji),Xn(["visitors","document","objects","JSONSchema","fixedFields","id"]),Gn(["visitors","document","objects","JSONSchema","fixedFields","$id"],Ui),Gn(["visitors","document","objects","JSONSchema","fixedFields","contains"],Ai.visitors.JSONSchemaOrJSONReferenceVisitor),Gn(["visitors","document","objects","JSONSchema","fixedFields","items"],zi),Gn(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],Ai.visitors.JSONSchemaOrJSONReferenceVisitor),Gn(["visitors","document","objects","JSONSchema","fixedFields","const"],Gi),Gn(["visitors","document","objects","JSONSchema","fixedFields","examples"],Hi),Gn(["visitors","document","objects","LinkDescription","$visitor"],Zi),Gn(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],Ai.visitors.JSONSchemaOrJSONReferenceVisitor),Xn(["visitors","document","objects","LinkDescription","fixedFields","schema"]),Gn(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],Ai.visitors.JSONSchemaOrJSONReferenceVisitor),Xn(["visitors","document","objects","LinkDescription","fixedFields","method"]),Xn(["visitors","document","objects","LinkDescription","fixedFields","encType"]),Gn(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"],Qi))(Ai),Yi=e=>{if(Dt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},eo={JSONSchemaDraft6Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...fs},to=Wt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Li||e(n)&&t("JSONSchemaDraft6",n)&&s("object",n))),so=Wt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Ki||e(n)&&t("linkDescription",n)&&s("object",n))),no={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft6",Li),t.register("jSONReference",ci),t.register("media",ji),t.register("linkDescription",Ki),t}},ro=()=>{const e=lt(no);return{predicates:{...r,isStringElement:Lt},namespace:e}},io=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:s=[],specificationObj:n=Xi}={})=>{const r=(0,ce.WG)(e),i=Un(n),o=$s(t,[],i);return bs(r,o,{state:{specObj:i}}),qs(o.element,s,{toolboxCreator:ro,visitorOptions:{keyMap:eo,nodeTypeGetter:Yi}})},oo=e=>(t,s={})=>io(t,{specPath:e,...s});Li.refract=oo(["visitors","document","objects","JSONSchema","$visitor"]),Ki.refract=oo(["visitors","document","objects","LinkDescription","$visitor"]);const co=class extends Li{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 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 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 qi('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}set media(e){throw new qi('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)}},ao=Yn(dr,tr,{props:{specPath:ne(["document","objects","JSONSchema"])},methods:{ObjectElement(e){return this.element=new co,dr.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=us(e),this.element.classes.push("boolean-json-schema"),Ot}}}),uo=tr,lo=tr,po=tr,ho=tr;const mo=class extends Ki{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 mediaType(){throw new qi("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}set mediaType(e){throw new qi("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 submissionEncType(){throw new qi("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}set submissionEncType(e){throw new qi("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}get submissionMediaType(){return this.get("submissionMediaType")}set submissionMediaType(e){this.set("submissionMediaType",e)}},go=Yn(dr,tr,{props:{specPath:ne(["document","objects","LinkDescription"])},init(){this.element=new mo}}),fo=tr,bo=tr,vo=tr,yo=tr,_o=tr,wo=tr,xo=tr,Eo=ye(Gn(["visitors","document","objects","JSONSchema","$visitor"],ao),Gn(["visitors","document","objects","JSONSchema","fixedFields","$comment"],uo),Gn(["visitors","document","objects","JSONSchema","fixedFields","if"],Xi.visitors.JSONSchemaOrJSONReferenceVisitor),Gn(["visitors","document","objects","JSONSchema","fixedFields","then"],Xi.visitors.JSONSchemaOrJSONReferenceVisitor),Gn(["visitors","document","objects","JSONSchema","fixedFields","else"],Xi.visitors.JSONSchemaOrJSONReferenceVisitor),Xn(["visitors","document","objects","JSONSchema","fixedFields","media"]),Gn(["visitors","document","objects","JSONSchema","fixedFields","contentEncoding"],lo),Gn(["visitors","document","objects","JSONSchema","fixedFields","contentMediaType"],po),Gn(["visitors","document","objects","JSONSchema","fixedFields","writeOnly"],ho),Gn(["visitors","document","objects","LinkDescription","$visitor"],go),Gn(["visitors","document","objects","LinkDescription","fixedFields","anchor"],fo),Gn(["visitors","document","objects","LinkDescription","fixedFields","anchorPointer"],bo),Xn(["visitors","document","objects","LinkDescription","fixedFields","mediaType"]),Gn(["visitors","document","objects","LinkDescription","fixedFields","targetMediaType"],vo),Gn(["visitors","document","objects","LinkDescription","fixedFields","targetHints"],yo),Gn(["visitors","document","objects","LinkDescription","fixedFields","description"],_o),Gn(["visitors","document","objects","LinkDescription","fixedFields","$comment"],wo),Xn(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"]),Gn(["visitors","document","objects","LinkDescription","fixedFields","submissionMediaType"],xo))(Xi);const So=class{element;constructor(e){Object.assign(this,e)}copyMetaAndAttributes(e,t){ns(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}};const jo=class extends So{enter(e){return this.element=us(e),Ot}};const Oo=class extends So{specObj;passingOptionsNames=["specObj"];constructor({specObj:e,...t}){super({...t}),this.specObj=e}retrievePassingOptions(){return pr(this.passingOptionsNames,this)}retrieveFixedFields(e){const t=Ce(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]}retrieveVisitor(e){return Ie(Ke,["visitors",...e],this.specObj)?Ce(["visitors",...e],this.specObj):Ce(["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 jo&&(null==n?void 0:n.constructor)===jo?us(t):(bs(t,n,s),n.element)}};const Bo=class extends Oo{MemberElement(e){return this.element=us(e),this.element.classes.push("specification-extension"),Ot}},Po=(e,t,s=[])=>{const n=Object.getOwnPropertyDescriptors(t);for(let e of s)delete n[e];Object.defineProperties(e,n)},$o=(e,t=[e])=>{const s=Object.getPrototypeOf(e);return null===s?t:$o(s,[...t,s])},Mo=(e,t,s=[])=>{var n;const r=null!==(n=((...e)=>{if(0===e.length)return;let t;const s=e.map((e=>$o(e)));for(;s.every((e=>e.length>0));){const e=s.map((e=>e.pop())),n=e[0];if(!e.every((e=>e===n)))break;t=n}return t})(...e))&&void 0!==n?n:Object.prototype,i=Object.create(r),o=$o(r);for(let t of e){let e=$o(t);for(let t=e.length-1;t>=0;t--){let n=e[t];-1===o.indexOf(n)&&(Po(i,n,["constructor",...s]),o.push(n))}}return i.constructor=t,i},Ao=e=>e.filter(((t,s)=>e.indexOf(t)==s)),qo=(e,t)=>{const s=t.map((e=>$o(e)));let n=0,r=!0;for(;r;){r=!1;for(let i=t.length-1;i>=0;i--){const t=s[i][n];if(null!=t&&(r=!0,null!=Object.getOwnPropertyDescriptor(t,e)))return s[i][0]}n++}},ko=(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(qo(s,e)||{},s),defineProperty(){throw new Error("Cannot define new properties on Proxies created by ts-mixer")},has:(s,n)=>void 0!==qo(n,e)||void 0!==t[n],get:(s,n)=>(qo(n,e)||t)[n],set(t,s,n){const r=qo(s,e);if(void 0===r)throw new Error("Cannot set new properties on Proxies created by ts-mixer");return r[s]=n,!0},deleteProperty(){throw new Error("Cannot delete properties on Proxies created by ts-mixer")},ownKeys:()=>e.map(Object.getOwnPropertyNames).reduce(((e,t)=>t.concat(e.filter((e=>t.indexOf(e)<0)))))}),Co=null,Io="copy",No="copy",To="deep",Ro=new Map,Fo=e=>Ro.get(e),Vo=(e,t)=>{var s,n;const r=Ao([...Object.getOwnPropertyNames(e),...Object.getOwnPropertyNames(t)]),i={};for(let o of r)i[o]=Ao([...null!==(s=null==e?void 0:e[o])&&void 0!==s?s:[],...null!==(n=null==t?void 0:t[o])&&void 0!==n?n:[]]);return i},Wo=(e,t)=>{var s,n,r,i;return{property:Vo(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:Vo(null!==(r=null==e?void 0:e.method)&&void 0!==r?r:{},null!==(i=null==t?void 0:t.method)&&void 0!==i?i:{})}},Do=(e,t)=>{var s,n,r,i,o,c;return{class:Ao([...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:Wo(null!==(r=null==e?void 0:e.static)&&void 0!==r?r:{},null!==(i=null==t?void 0:t.static)&&void 0!==i?i:{}),instance:Wo(null!==(o=null==e?void 0:e.instance)&&void 0!==o?o:{},null!==(c=null==t?void 0:t.instance)&&void 0!==c?c:{})}},Lo=new Map,Jo=(...e)=>{const t=((...e)=>{var t;const s=new Set,n=new Set([...e]);for(;n.size>0;)for(let e of n){const r=[...$o(e.prototype).map((e=>e.constructor)),...null!==(t=Fo(e))&&void 0!==t?t:[]].filter((e=>!s.has(e)));for(let e of r)n.add(e);s.add(e),n.delete(e)}return[...s]})(...e).map((e=>Lo.get(e))).filter((e=>!!e));return 0==t.length?{}:1==t.length?t[0]:t.reduce(((e,t)=>Do(e,t)))},Uo=e=>{let t=Lo.get(e);return t||(t={},Lo.set(e,t)),t};function zo(...e){var t,s,n;const r=e.map((e=>e.prototype)),i=Co;if(null!==i){const e=r.map((e=>e[i])).filter((e=>"function"==typeof e)),t={[i]:function(...t){for(let s of e)s.apply(this,t)}};r.push(t)}function o(...t){for(const s of e)Po(this,new s(...t));null!==i&&"function"==typeof this[i]&&this[i].apply(this,t)}var c,a;o.prototype="copy"===No?Mo(r,o):(c=r,a=o,ko([...c,{constructor:a}])),Object.setPrototypeOf(o,"copy"===Io?Mo(e,null,["prototype"]):ko(e,Function.prototype));let u=o;if("none"!==To){const r="deep"===To?Jo(...e):((...e)=>{const t=e.map((e=>Uo(e)));return 0===t.length?{}:1===t.length?t[0]:t.reduce(((e,t)=>Do(e,t)))})(...e);for(let e of null!==(t=null==r?void 0:r.class)&&void 0!==t?t:[]){const t=e(u);t&&(u=t)}Go(null!==(s=null==r?void 0:r.static)&&void 0!==s?s:{},u),Go(null!==(n=null==r?void 0:r.instance)&&void 0!==n?n:{},u.prototype)}var l,p;return l=u,p=e,Ro.set(l,p),u}const Go=(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))};var Ho=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=$,e.prototype["@@transducer/result"]=M,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?At(s):s},e}();function Ko(e){return function(t){return new Ho(e,t)}}const Zo=u(B(["take"],Ko,(function(e,t){return be(0,e<0?1/0:e,t)})));const Qo=u((function(e,t){return se(Zo(e.length,t),e)})),Xo=e=>Gt(e)&&e.hasKey("$ref"),Yo=e=>Lt(e.key)&&Qo("x-",lr(e.key));const ec=class extends Oo{specPath;ignoredFields;canSupportSpecificationExtensions=!0;specificationExtensionPredicate=Yo;constructor({specPath:e,ignoredFields:t,canSupportSpecificationExtensions:s,specificationExtensionPredicate:n,...r}){super({...r}),this.specPath=e,this.ignoredFields=t||[],"boolean"==typeof s&&(this.canSupportSpecificationExtensions=s),"function"==typeof n&&(this.specificationExtensionPredicate=n)}ObjectElement(e){const t=this.specPath(e),s=this.retrieveFixedFields(t);return e.forEach(((e,n,r)=>{if(Lt(n)&&s.includes(lr(n))&&!this.ignoredFields.includes(lr(n))){const s=this.toRefractedElement([...t,"fixedFields",lr(n)],e),i=new ce.u6(us(n),s);i.classes.push("fixed-field"),this.copyMetaAndAttributes(r,i),this.element.content.push(i)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(r)){const e=this.toRefractedElement(["document","extension"],r);this.element.content.push(e)}else this.ignoredFields.includes(lr(n))||this.element.content.push(us(r))})),this.copyMetaAndAttributes(e,this.element),Ot}};class tc extends ce.We{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 idProp(){return this.get("id")}set idProp(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 sc=tc;class nc extends(zo(ec,jo)){constructor(e){super(e),this.element=new sc,this.specPath=ne(["document","objects","AsyncApi"]),this.canSupportSpecificationExtensions=!0}}const rc=nc;class ic extends ce.M${constructor(e,t,s){super(e,t,s),this.element="asyncApiVersion",this.classes.push("spec-version"),this.classes.push("version")}}const oc=ic;class cc extends(zo(Oo,jo)){StringElement(e){const t=new oc(lr(e));return this.copyMetaAndAttributes(e,t),this.element=t,Ot}}const ac=cc;class uc extends ce.M${constructor(e,t,s){super(e,t,s),this.element="identifier"}}const lc=uc;class pc extends(zo(Oo,jo)){StringElement(e){const t=new lc(lr(e));return this.copyMetaAndAttributes(e,t),this.element=t,Ot}}const hc=pc;class dc extends ce.We{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 mc=dc;class gc extends(zo(ec,jo)){constructor(e){super(e),this.element=new mc,this.specPath=ne(["document","objects","Info"]),this.canSupportSpecificationExtensions=!0}}const fc=gc;const bc=class extends jo{StringElement(e){return this.element=new ce.M$(lr(e)),this.copyMetaAndAttributes(e,this.element),this.element.classes.push("api-version"),this.element.classes.push("version"),Ot}};class vc extends ce.We{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 yc=vc;class _c extends(zo(ec,jo)){constructor(e){super(e),this.element=new yc,this.specPath=ne(["document","objects","Contact"]),this.canSupportSpecificationExtensions=!0}}const wc=_c;class xc extends ce.We{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 Ec=xc;class Sc extends(zo(ec,jo)){constructor(e){super(e),this.element=new Ec,this.specPath=ne(["document","objects","CorrelationID"]),this.canSupportSpecificationExtensions=!0}}const jc=Sc;class Oc extends ce.M${constructor(e,t,s){super(e,t,s),this.element="defaultContentType"}}const Bc=Oc;class Pc extends(zo(Oo,jo)){StringElement(e){const t=new Bc(lr(e));return this.copyMetaAndAttributes(e,t),this.element=t,Ot}}const $c=Pc;class Mc extends ce.We{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 Ac=Mc;class qc extends(zo(ec,jo)){constructor(e){super(e),this.element=new Ac,this.specPath=ne(["document","objects","License"]),this.canSupportSpecificationExtensions=!0}}const kc=qc;class Cc extends ce.We{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 Ic=Cc;class Nc extends(zo(ec,jo)){constructor(e){super(e),this.element=new Ic,this.specPath=ne(["document","objects","OAuthFlows"]),this.canSupportSpecificationExtensions=!0}}const Tc=Nc;class Rc extends ce.We{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 Fc=Rc;class Vc extends(zo(ec,jo)){constructor(e){super(e),this.element=new Fc,this.specPath=ne(["document","objects","OAuthFlow"]),this.canSupportSpecificationExtensions=!0}}const Wc=Vc;class Dc extends ce.We{static primaryClass="oauth-flow-scopes";constructor(e,t,s){super(e,t,s),this.classes.push(Dc.primaryClass)}}const Lc=Dc;const Jc=class extends Oo{specPath;ignoredFields;fieldPatternPredicate=Wr;canSupportSpecificationExtensions=!1;specificationExtensionPredicate=Yo;constructor({specPath:e,ignoredFields:t,fieldPatternPredicate:s,canSupportSpecificationExtensions:n,specificationExtensionPredicate:r,...i}){super({...i}),this.specPath=e,this.ignoredFields=t||[],"function"==typeof s&&(this.fieldPatternPredicate=s),"boolean"==typeof n&&(this.canSupportSpecificationExtensions=n),"function"==typeof r&&(this.specificationExtensionPredicate=r)}ObjectElement(e){return e.forEach(((e,t,s)=>{if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(s)){const e=this.toRefractedElement(["document","extension"],s);this.element.content.push(e)}else if(!this.ignoredFields.includes(lr(t))&&this.fieldPatternPredicate(lr(t))){const n=this.specPath(e),r=this.toRefractedElement(n,e),i=new ce.u6(us(t),r);this.copyMetaAndAttributes(s,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(lr(t))||this.element.content.push(us(s))})),this.copyMetaAndAttributes(e,this.element),Ot}};const Uc=class extends Jc{constructor(e){super(e),this.fieldPatternPredicate=Vr}};class zc extends(zo(Uc,jo)){constructor(e){super(e),this.element=new Lc,this.specPath=ne(["value"])}}const Gc=zc;const Hc=u((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 "+qe(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)}));class Kc extends ce.We{constructor(e,t,s){super(e,t,s),this.element="servers"}}const Zc=Kc;class Qc extends ce.We{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 Xc=Qc;class Yc extends ce.We{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 ea=Yc;class ta extends ce.We{constructor(e,t,s){super(e,t,s),this.element="channels"}}const sa=ta;class na extends ce.We{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 ra=na;class ia extends ce.We{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 oa=ia;class ca extends ce.We{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 aa=ca;class ua extends ce.We{constructor(e,t,s){super(e,t,s),this.element="parameters"}}const la=ua;class pa extends ce.We{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")}}const ha=pa,da=e=>{if(Dt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},ma={JSONSchemaDraft7Element:["content"],JSONReferenceElement:["content"],LinkDescriptionElement:["content"],...fs},ga=Wt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof co||e(n)&&t("JSONSchemaDraft7",n)&&s("object",n))),fa=Wt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof mo||e(n)&&t("linkDescription",n)&&s("object",n))),ba={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft7",co),t.register("jSONReference",ci),t.register("linkDescription",mo),t}},va=()=>{const e=lt(ba);return{predicates:{...i,isStringElement:Lt},namespace:e}},ya=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:s=[],specificationObj:n=Eo}={})=>{const r=(0,ce.WG)(e),i=Un(n),o=$s(t,[],i);return bs(r,o,{state:{specObj:i}}),qs(o.element,s,{toolboxCreator:va,visitorOptions:{keyMap:ma,nodeTypeGetter:da}})},_a=e=>(t,s={})=>ya(t,{specPath:e,...s});co.refract=_a(["visitors","document","objects","JSONSchema","$visitor"]),mo.refract=_a(["visitors","document","objects","LinkDescription","$visitor"]);const wa=class extends co{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 items(){return this.get("items")}set items(e){this.set("items",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get containsProp(){return this.get("contains")}set containsProp(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")}};class xa extends ce.We{constructor(e,t,s){super(e,t,s),this.element="securityRequirement"}}const Ea=xa;class Sa extends ce.We{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 ja=Sa;class Oa extends ce.We{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 Ba=Oa;class Pa extends ce.We{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 $a=Pa,Ma=Wt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s,hasClass:n})=>r=>r instanceof sc||e(r)&&t("asyncApi2",r)&&s("object",r)&&n("api",r))),Aa=Wt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof oc||e(n)&&t("asyncApiVersion",n)&&s("string",n))),qa=Wt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Xc||e(n)&&t("channelBindings",n)&&s("object",n))),ka=Wt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ea||e(n)&&t("channelItem",n)&&s("object",n))),Ca=Wt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof sa||e(n)&&t("channels",n)&&s("object",n))),Ia=Wt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ra||e(n)&&t("components",n)&&s("object",n))),Na=Wt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof yc||e(n)&&t("contact",n)&&s("object",n))),Ta=Wt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof lc||e(n)&&t("identifier",n)&&s("string",n))),Ra=Wt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof mc||e(n)&&t("info",n)&&s("object",n))),Fa=Wt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Ac||e(n)&&t("license",n)&&s("object",n))),Va=Wt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof oa||e(n)&&t("operation",n)&&s("object",n))),Wa=Wt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof aa||e(n)&&t("parameter",n)&&s("object",n))),Da=Wt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof la||e(n)&&t("parameters",n)&&s("object",n))),La=Wt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ha||e(n)&&t("reference",n)&&s("object",n))),Ja=Wt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof wa||e(n)&&t("schema",n)&&s("object",n))),Ua=e=>zt(e)&&e.classes.includes("boolean-json-schema"),za=Wt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Ea||e(n)&&t("securityRequirement",n)&&s("object",n))),Ga=Wt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ja||e(n)&&t("server",n)&&s("object",n))),Ha=Wt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Ba||e(n)&&t("serverBindings",n)&&s("object",n))),Ka=Wt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Zc||e(n)&&t("servers",n)&&s("object",n))),Za=Wt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof $a||e(n)&&t("serverVariable",n)&&s("object",n)));class Qa extends(zo(Jc,jo)){constructor(e){super(e),this.element=new Zc,this.element.classes.push("servers"),this.specPath=e=>Xo(e)?["document","objects","Reference"]:["document","objects","Server"],this.canSupportSpecificationExtensions=!1,this.fieldPatternPredicate=Hc(/^[A-Za-z0-9_-]+$/)}ObjectElement(e){const t=Jc.prototype.ObjectElement.call(this,e);return this.element.filter(La).forEach((e=>{e.setMetaProperty("referenced-element","server")})),t}}const Xa=Qa;class Ya extends(zo(ec,jo)){constructor(e){super(e),this.element=new ja,this.specPath=ne(["document","objects","Server"]),this.canSupportSpecificationExtensions=!0}}const eu=Ya;const tu=class extends jo{StringElement(e){const t=super.enter(e);return this.element.classes.push("server-url"),t}};const su=class extends Oo{alternator;constructor({alternator:e,...t}){super({...t}),this.alternator=e}enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>li(e,ne(t),re))),s=wi(t)(e);return this.element=this.toRefractedElement(s,e),Ot}};class nu extends(zo(su,jo)){constructor(e){super(e),this.alternator=[{predicate:Xo,specPath:["document","objects","Reference"]},{predicate:nr,specPath:["document","objects","ServerBindings"]}]}ObjectElement(e){const t=su.prototype.enter.call(this,e);return La(this.element)&&this.element.setMetaProperty("referenced-element","serverBindings"),t}}const ru=nu;class iu extends ce.We{static primaryClass="server-variables";constructor(e,t,s){super(e,t,s),this.classes.push(iu.primaryClass)}}const ou=iu;class cu extends(zo(Uc,jo)){constructor(e){super(e),this.element=new ou,this.specPath=e=>Xo(e)?["document","objects","Reference"]:["document","objects","ServerVariable"]}}const au=cu;class uu extends ce.uQ{static primaryClass="server-security";constructor(e,t,s){super(e,t,s),this.classes.push(uu.primaryClass)}}const lu=uu;class pu extends(zo(Oo,jo)){constructor(e){super(e),this.element=new lu}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ot}}const hu=pu;class du extends(zo(ec,jo)){constructor(e){super(e),this.element=new $a,this.specPath=ne(["document","objects","ServerVariable"]),this.canSupportSpecificationExtensions=!0}}const mu=du;class gu extends(zo(ec,jo)){constructor(e){super(e),this.element=new Ba,this.specPath=ne(["document","objects","ServerBindings"]),this.canSupportSpecificationExtensions=!0}}const fu=gu;class bu extends ce.We{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 vu=bu;class yu extends(zo(ec,jo)){constructor(e){super(e),this.element=new vu,this.specPath=ne(["document","objects","SecurityScheme"]),this.canSupportSpecificationExtensions=!0}}const _u=yu;class wu extends(zo(Uc,jo)){constructor(e){super(e),this.element=new Ea,this.specPath=ne(["value"])}}const xu=wu;class Eu extends(zo(ec,jo)){constructor(e){super(e),this.element=new ha,this.specPath=ne(["document","objects","Reference"]),this.canSupportSpecificationExtensions=!1}ObjectElement(e){const t=ec.prototype.ObjectElement.call(this,e);return Lt(this.element.$ref)&&this.element.classes.push("reference-element"),t}}const Su=Eu;const ju=class extends jo{StringElement(e){const t=super.enter(e);return this.element.classes.push("reference-value"),t}};class Ou extends(zo(ec,jo)){constructor(e){super(e),this.specPath=ne(["document","objects","Schema"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){return this.element=new wa,ec.prototype.ObjectElement.call(this,e)}BooleanElement(e){const t=super.enter(e);return this.element.classes.push("boolean-json-schema"),t}}const Bu=Ou,{JSONSchemaOrJSONReferenceVisitor:Pu}=Eo.visitors,$u=Pu.compose({methods:{enter(e){const t=Pu.compose.methods.enter.call(this,e);return La(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),{allOf:Mu}=Eo.visitors.document.objects.JSONSchema.fixedFields,Au=Mu.compose({methods:{ArrayElement(e){const t=Mu.compose.methods.ArrayElement.call(this,e);return this.element.filter(La).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{anyOf:qu}=Eo.visitors.document.objects.JSONSchema.fixedFields,ku=qu.compose({methods:{ArrayElement(e){const t=qu.compose.methods.ArrayElement.call(this,e);return this.element.filter(La).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{oneOf:Cu}=Eo.visitors.document.objects.JSONSchema.fixedFields,Iu=Cu.compose({methods:{ArrayElement(e){const t=Cu.compose.methods.ArrayElement.call(this,e);return this.element.filter(La).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{definitions:Nu}=Eo.visitors.document.objects.JSONSchema.fixedFields,Tu=Nu.compose({methods:{ObjectElement(e){const t=Nu.compose.methods.ObjectElement.call(this,e);return this.element.filter(La).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{dependencies:Ru}=Eo.visitors.document.objects.JSONSchema.fixedFields,Fu=Ru.compose({methods:{ObjectElement(e){const t=Ru.compose.methods.ObjectElement.call(this,e);return this.element.filter(La).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{items:Vu}=Eo.visitors.document.objects.JSONSchema.fixedFields,Wu=Vu.compose({methods:{ObjectElement(e){const t=Vu.compose.methods.ObjectElement.call(this,e);return La(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t},ArrayElement(e){const t=Vu.compose.methods.ArrayElement.call(this,e);return this.element.filter(La).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{patternProperties:Du}=Eo.visitors.document.objects.JSONSchema.fixedFields,Lu=Du.compose({methods:{ObjectElement(e){const t=Du.compose.methods.ObjectElement.call(this,e);return this.element.filter(La).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{properties:Ju}=Eo.visitors.document.objects.JSONSchema.fixedFields,Uu=Ju.compose({methods:{ObjectElement(e){const t=Ju.compose.methods.ObjectElement.call(this,e);return this.element.filter(La).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),zu=U((e=>e===Eo.visitors.JSONSchemaOrJSONReferenceVisitor?$u:e),Eo.visitors.document.objects.JSONSchema.fixedFields);class Gu extends(zo(Jc,jo)){constructor(e){super(e),this.element=new la,this.specPath=e=>Xo(e)?["document","objects","Reference"]:["document","objects","Parameter"],this.canSupportSpecificationExtensions=!1,this.fieldPatternPredicate=e=>"string"==typeof e&&/^[A-Za-z0-9_-]+$/.test(e)}ObjectElement(e){const t=Jc.prototype.ObjectElement.call(this,e);return this.element.filter(La).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}const Hu=Gu;class Ku extends(zo(ec,jo)){constructor(e){super(e),this.element=new aa,this.specPath=ne(["document","objects","Parameter"]),this.canSupportSpecificationExtensions=!0}}const Zu=Ku;class Qu extends(zo(su,jo)){constructor(e){super(e),this.alternator=[{predicate:Xo,specPath:["document","objects","Reference"]},{predicate:nr,specPath:["document","objects","Schema"]}]}ObjectElement(e){const t=su.prototype.enter.call(this,e);return La(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}const Xu=Qu;class Yu extends ce.We{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 el=Yu;class tl extends(zo(ec,jo)){constructor(e){super(e),this.element=new el,this.specPath=ne(["document","objects","ExternalDocumentation"]),this.canSupportSpecificationExtensions=!0}}const sl=tl;class nl extends(zo(ec,jo)){constructor(e){super(e),this.element=new ra,this.specPath=ne(["document","objects","Components"]),this.canSupportSpecificationExtensions=!0}}const rl=nl;class il extends ce.We{static primaryClass="components-schemas";constructor(e,t,s){super(e,t,s),this.classes.push(il.primaryClass)}}const ol=il;class cl extends(zo(Uc,jo)){constructor(e){super(e),this.element=new ol,this.specPath=e=>Xo(e)?["document","objects","Reference"]:["document","objects","Schema"]}ObjectElement(e){const t=Uc.prototype.ObjectElement.call(this,e);return this.element.filter(La).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}const al=cl;class ul extends ce.We{static primaryClass="components-servers";constructor(e,t,s){super(e,t,s),this.classes.push(ul.primaryClass)}}const ll=ul;class pl extends(zo(Uc,jo)){constructor(e){super(e),this.element=new ll,this.specPath=e=>Xo(e)?["document","objects","Reference"]:["document","objects","Server"]}ObjectElement(e){const t=Uc.prototype.ObjectElement.call(this,e);return this.element.filter(La).forEach((e=>{e.setMetaProperty("referenced-element","server")})),t}}const hl=pl;class dl extends ce.We{static primaryClass="components-server-variables";constructor(e,t,s){super(e,t,s),this.classes.push(dl.primaryClass)}}const ml=dl;class gl extends(zo(Uc,jo)){constructor(e){super(e),this.element=new ml,this.specPath=e=>Xo(e)?["document","objects","Reference"]:["document","objects","ServerVariable"]}ObjectElement(e){const t=Uc.prototype.ObjectElement.call(this,e);return this.element.filter(La).forEach((e=>{e.setMetaProperty("referenced-element","serverVariable")})),t}}const fl=gl;class bl extends ce.We{static primaryClass="components-channels";constructor(e,t,s){super(e,t,s),this.classes.push(bl.primaryClass)}}const vl=bl;class yl extends(zo(Uc,jo)){constructor(e){super(e),this.element=new vl,this.specPath=ne(["document","objects","ChannelItem"])}}const _l=yl;class wl extends ce.We{static primaryClass="components-messages";constructor(e,t,s){super(e,t,s),this.classes.push(wl.primaryClass)}}const xl=wl;class El extends(zo(Uc,jo)){constructor(e){super(e),this.element=new xl,this.specPath=e=>Xo(e)?["document","objects","Reference"]:["document","objects","Message"]}ObjectElement(e){const t=Uc.prototype.ObjectElement.call(this,e);return this.element.filter(La).forEach((e=>{e.setMetaProperty("referenced-element","message")})),t}}const Sl=El;class jl extends ce.We{static primaryClass="components-security-schemes";constructor(e,t,s){super(e,t,s),this.classes.push(jl.primaryClass)}}const Ol=jl;class Bl extends(zo(Uc,jo)){constructor(e){super(e),this.element=new Ol,this.specPath=e=>Xo(e)?["document","objects","Reference"]:["document","objects","SecurityScheme"]}ObjectElement(e){const t=Uc.prototype.ObjectElement.call(this,e);return this.element.filter(La).forEach((e=>{e.setMetaProperty("referenced-element","securityScheme")})),t}}const Pl=Bl;class $l extends ce.We{static primaryClass="components-parameters";constructor(e,t,s){super(e,t,s),this.classes.push($l.primaryClass)}}const Ml=$l;class Al extends(zo(Uc,jo)){constructor(e){super(e),this.element=new Ml,this.specPath=e=>Xo(e)?["document","objects","Reference"]:["document","objects","Parameter"]}ObjectElement(e){const t=Uc.prototype.ObjectElement.call(this,e);return this.element.filter(La).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}const ql=Al;class kl extends ce.We{static primaryClass="components-correlation-ids";constructor(e,t,s){super(e,t,s),this.classes.push(kl.primaryClass)}}const Cl=kl;class Il extends(zo(Uc,jo)){constructor(e){super(e),this.element=new Cl,this.specPath=e=>Xo(e)?["document","objects","Reference"]:["document","objects","CorrelationID"]}ObjectElement(e){const t=Uc.prototype.ObjectElement.call(this,e);return this.element.filter(La).forEach((e=>{e.setMetaProperty("referenced-element","correlationID")})),t}}const Nl=Il;class Tl extends ce.We{static primaryClass="components-operation-traits";constructor(e,t,s){super(e,t,s),this.classes.push(Tl.primaryClass)}}const Rl=Tl;class Fl extends(zo(Uc,jo)){constructor(e){super(e),this.element=new Rl,this.specPath=e=>Xo(e)?["document","objects","Reference"]:["document","objects","OperationTrait"]}ObjectElement(e){const t=Uc.prototype.ObjectElement.call(this,e);return this.element.filter(La).forEach((e=>{e.setMetaProperty("referenced-element","operationTrait")})),t}}const Vl=Fl;class Wl extends ce.We{static primaryClass="components-message-traits";constructor(e,t,s){super(e,t,s),this.classes.push(Wl.primaryClass)}}const Dl=Wl;class Ll extends(zo(Uc,jo)){constructor(e){super(e),this.element=new Dl,this.specPath=e=>Xo(e)?["document","objects","Reference"]:["document","objects","MessageTrait"]}ObjectElement(e){const t=Uc.prototype.ObjectElement.call(this,e);return this.element.filter(La).forEach((e=>{e.setMetaProperty("referenced-element","messageTrait")})),t}}const Jl=Ll;class Ul extends ce.We{static primaryClass="components-server-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(Ul.primaryClass)}}const zl=Ul;class Gl extends(zo(Uc,jo)){constructor(e){super(e),this.element=new zl,this.specPath=e=>Xo(e)?["document","objects","Reference"]:["document","objects","ServerBindings"]}ObjectElement(e){const t=Uc.prototype.ObjectElement.call(this,e);return this.element.filter(La).forEach((e=>{e.setMetaProperty("referenced-element","serverBindings")})),t}}const Hl=Gl;class Kl extends ce.We{static primaryClass="components-channel-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(Kl.primaryClass)}}const Zl=Kl;class Ql extends(zo(Uc,jo)){constructor(e){super(e),this.element=new Zl,this.specPath=e=>Xo(e)?["document","objects","Reference"]:["document","objects","ChannelBindings"]}ObjectElement(e){const t=Uc.prototype.ObjectElement.call(this,e);return this.element.filter(La).forEach((e=>{e.setMetaProperty("referenced-element","channelBindings")})),t}}const Xl=Ql;class Yl extends ce.We{static primaryClass="components-operation-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(Yl.primaryClass)}}const ep=Yl;class tp extends(zo(Uc,jo)){constructor(e){super(e),this.element=new ep,this.specPath=e=>Xo(e)?["document","objects","Reference"]:["document","objects","OperationBindings"]}ObjectElement(e){const t=Uc.prototype.ObjectElement.call(this,e);return this.element.filter(La).forEach((e=>{e.setMetaProperty("referenced-element","operationBindings")})),t}}const sp=tp;class np extends ce.We{static primaryClass="components-message-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(np.primaryClass)}}const rp=np;class ip extends(zo(Uc,jo)){constructor(e){super(e),this.element=new rp,this.specPath=e=>Xo(e)?["document","objects","Reference"]:["document","objects","MessageBindings"]}ObjectElement(e){const t=Uc.prototype.ObjectElement.call(this,e);return this.element.filter(La).forEach((e=>{e.setMetaProperty("referenced-element","messageBindings")})),t}}const op=ip;class cp extends(zo(ec,jo)){constructor(e){super(e),this.element=new oa,this.specPath=ne(["document","objects","Operation"])}}const ap=cp;class up extends ce.uQ{static primaryClass="operation-security";constructor(e,t,s){super(e,t,s),this.classes.push(up.primaryClass)}}const lp=up;class pp extends(zo(Oo,jo)){constructor(e){super(e),this.element=new lp}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ot}}const hp=pp;class dp extends(zo(su,jo)){constructor(e){super(e),this.alternator=[{predicate:Xo,specPath:["document","objects","Reference"]},{predicate:nr,specPath:["document","objects","OperationBindings"]}]}ObjectElement(e){const t=su.prototype.enter.call(this,e);return La(this.element)&&this.element.setMetaProperty("referenced-element","operationBindings"),t}}const mp=dp;class gp extends ce.uQ{static primaryClass="operation-traits";constructor(e,t,s){super(e,t,s),this.classes.push(gp.primaryClass)}}const fp=gp;class bp extends(zo(Oo,jo)){constructor(e){super(e),this.element=new fp}ArrayElement(e){return e.forEach((e=>{let t;Xo(e)?(t=this.toRefractedElement(["document","objects","Reference"],e),t.setMetaProperty("referenced-element","operationTrait")):t=this.toRefractedElement(["document","objects","OperationTrait"],e),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ot}}const vp=bp;class yp extends ce.We{static primaryClass="operation-message-map";constructor(e,t,s){super(e,t,s),this.classes.push(yp.primaryClass)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}}const _p=yp;class wp extends ce.uQ{static primaryClass="operation-message";constructor(e,t,s){super(e,t,s),this.classes.push(wp.primaryClass)}}const xp=wp;class Ep extends(zo(Oo,jo)){ObjectElement(e){if(Xo(e))this.element=this.toRefractedElement(["document","objects","Reference"],e),this.element.setMetaProperty("referenced-element","message");else if(Ht(e.get("oneOf"))){this.element=new _p;const t=new xp;e.get("oneOf").forEach((e=>{let s;Xo(e)?(s=this.toRefractedElement(["document","objects","Reference"],e),s.setMetaProperty("referenced-element","message")):s=this.toRefractedElement(["document","objects","Message"],e),t.push(s)})),this.element.oneOf=t}else this.element=this.toRefractedElement(["document","objects","Message"],e);return this.copyMetaAndAttributes(e,this.element),Ot}}const Sp=Ep;class jp extends ce.uQ{constructor(e,t,s){super(e,t,s),this.element="tags"}}const Op=jp;class Bp extends(zo(Oo,jo)){constructor(e){super(e),this.element=new Op}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","Tag"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ot}}const Pp=Bp;class $p extends ce.We{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 Mp=$p;class Ap extends(zo(ec,jo)){constructor(e){super(e),this.element=new Mp,this.specPath=ne(["document","objects","Tag"]),this.canSupportSpecificationExtensions=!0}}const qp=Ap;class kp extends(zo(Uc,jo)){constructor(e){super(e),this.element=new sa,this.specPath=ne(["document","objects","ChannelItem"])}}const Cp=kp;class Ip extends(zo(ec,jo)){constructor(e){super(e),this.element=new Xc,this.specPath=ne(["document","objects","ChannelBindings"]),this.canSupportSpecificationExtensions=!0}}const Np=Ip;class Tp extends(zo(ec,jo)){constructor(e){super(e),this.element=new ea,this.specPath=ne(["document","objects","ChannelItem"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const t=ec.prototype.ObjectElement.call(this,e);return Lt(this.element.$ref)&&(this.element.classes.push("reference-element"),this.element.setMetaProperty("referenced-element","channelItem")),t}}const Rp=Tp;const Fp=class extends jo{StringElement(e){const t=super.enter(e);return this.element.classes.push("reference-value"),t}};class Vp extends ce.uQ{static primaryClass="channel-item-server-names-list";constructor(e,t,s){super(e,t,s),this.classes.push(Vp.primaryClass)}}const Wp=Vp;class Dp extends(zo(Oo,jo)){constructor(e){super(e),this.element=new Wp}ArrayElement(e){return e.forEach((e=>{const t=us(e);Lt(t)&&t.classes.push("server-name"),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ot}}const Lp=Dp;class Jp extends(zo(su,jo)){constructor(e){super(e),this.alternator=[{predicate:Xo,specPath:["document","objects","Reference"]},{predicate:nr,specPath:["document","objects","ChannelBindings"]}]}ObjectElement(e){const t=su.prototype.enter.call(this,e);return La(this.element)&&this.element.setMetaProperty("referenced-element","channelBindings"),t}}const Up=Jp;class zp extends ce.We{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 Gp=zp;class Hp extends(zo(ec,jo)){constructor(e){super(e),this.element=new Gp,this.specPath=ne(["document","objects","MessageBindings"]),this.canSupportSpecificationExtensions=!0}}const Kp=Hp;class Zp extends ce.We{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 Qp=Zp;class Xp extends(zo(ec,jo)){constructor(e){super(e),this.element=new Qp,this.specPath=ne(["document","objects","MessageExample"]),this.canSupportSpecificationExtensions=!0}}const Yp=Xp;class eh extends ce.We{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 th=eh;class sh extends(zo(ec,jo)){constructor(e){super(e),this.element=new th,this.specPath=ne(["document","objects","MessageTrait"]),this.canSupportSpecificationExtensions=!0}}const nh=sh;class rh extends(zo(su,jo)){constructor(e){super(e),this.alternator=[{predicate:Xo,specPath:["document","objects","Reference"]},{predicate:nr,specPath:["document","objects","Schema"]}]}ObjectElement(e){const t=su.prototype.enter.call(this,e);return La(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}const ih=rh;class oh extends(zo(su,jo)){constructor(e){super(e),this.alternator=[{predicate:Xo,specPath:["document","objects","Reference"]},{predicate:nr,specPath:["document","objects","CorrelationID"]}]}ObjectElement(e){const t=su.prototype.enter.call(this,e);return La(this.element)&&this.element.setMetaProperty("referenced-element","correlationID"),t}}const ch=oh;class ah extends(zo(su,jo)){constructor(e){super(e),this.alternator=[{predicate:Xo,specPath:["document","objects","Reference"]},{predicate:nr,specPath:["document","objects","MessageBindings"]}]}ObjectElement(e){const t=su.prototype.enter.call(this,e);return La(this.element)&&this.element.setMetaProperty("referenced-element","messageBindings"),t}}const uh=ah;class lh extends ce.uQ{static primaryClass="message-trait-examples";constructor(e,t,s){super(e,t,s),this.classes.push(lh.primaryClass)}}const ph=lh;class hh extends(zo(Oo,jo)){constructor(e){super(e),this.element=new ph}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","MessageExample"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ot}}const dh=hh;const mh=m(-1);const gh=class extends qi{};const fh=class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new gh("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new gh("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new gh("latest method in MediaTypes class is not yet implemented.")}};class bh extends fh{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 mh(this.filterByFormat(e))}}const vh=new bh("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");class yh extends ce.We{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 _h=yh;class wh extends(zo(ec,jo)){constructor(e){super(e),this.element=new _h,this.specPath=ne(["document","objects","Message"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const t=ec.prototype.ObjectElement.call(this,e),s=this.element.get("payload"),n=p(vh.latest(),lr(e.get("schemaFormat")));if(vh.includes(n)&&Xo(s)){const e=this.toRefractedElement(["document","objects","Reference"],s);e.meta.set("referenced-element","schema"),this.element.payload=e}else vh.includes(n)&&Gt(this.element.payload)&&(this.element.payload=this.toRefractedElement(["document","objects","Schema"],s));return t}}const xh=wh;class Eh extends(zo(su,jo)){constructor(e){super(e),this.alternator=[{predicate:Xo,specPath:["document","objects","Reference"]},{predicate:nr,specPath:["document","objects","Schema"]}]}ObjectElement(e){const t=su.prototype.enter.call(this,e);return La(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}const Sh=Eh;class jh extends(zo(su,jo)){constructor(e){super(e),this.alternator=[{predicate:Xo,specPath:["document","objects","Reference"]},{predicate:nr,specPath:["document","objects","CorrelationID"]}]}ObjectElement(e){const t=su.prototype.enter.call(this,e);return La(this.element)&&this.element.setMetaProperty("referenced-element","correlationID"),t}}const Oh=jh;class Bh extends(zo(su,jo)){constructor(e){super(e),this.alternator=[{predicate:Xo,specPath:["document","objects","Reference"]},{predicate:nr,specPath:["document","objects","MessageBindings"]}]}ObjectElement(e){const t=su.prototype.enter.call(this,e);return La(this.element)&&this.element.setMetaProperty("referenced-element","messageBindings"),t}}const Ph=Bh;class $h extends ce.uQ{static primaryClass="message-examples";constructor(e,t,s){super(e,t,s),this.classes.push($h.primaryClass)}}const Mh=$h;class Ah extends(zo(Oo,jo)){constructor(e){super(e),this.element=new Mh}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","MessageExample"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ot}}const qh=Ah;class kh extends ce.uQ{static primaryClass="message-traits";constructor(e,t,s){super(e,t,s),this.classes.push(kh.primaryClass)}}const Ch=kh;class Ih extends(zo(Oo,jo)){constructor(e){super(e),this.element=new Ch}ArrayElement(e){return e.forEach((e=>{let t;Xo(e)?(t=this.toRefractedElement(["document","objects","Reference"],e),t.setMetaProperty("referenced-element","messageTrait")):t=this.toRefractedElement(["document","objects","MessageTrait"],e),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ot}}const Nh=Ih;class Th extends ce.We{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 Rh=Th;class Fh extends(zo(ec,jo)){constructor(e){super(e),this.element=new Rh,this.specPath=ne(["document","objects","OperationBindings"]),this.canSupportSpecificationExtensions=!0}}const Vh=Fh;class Wh extends ce.We{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 Dh=Wh;class Lh extends(zo(ec,jo)){constructor(e){super(e),this.element=new Dh,this.specPath=ne(["document","objects","OperationTrait"]),this.canSupportSpecificationExtensions=!0}}const Jh=Lh;class Uh extends ce.uQ{static primaryClass="operation-trait-security";constructor(e,t,s){super(e,t,s),this.classes.push(Uh.primaryClass)}}const zh=Uh;class Gh extends(zo(Oo,jo)){constructor(e){super(e),this.element=new zh}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ot}}const Hh=Gh;class Kh extends(zo(su,jo)){constructor(e){super(e),this.alternator=[{predicate:Xo,specPath:["document","objects","Reference"]},{predicate:nr,specPath:["document","objects","OperationBindings"]}]}ObjectElement(e){const t=su.prototype.enter.call(this,e);return La(this.element)&&this.element.setMetaProperty("referenced-element","operationBindings"),t}}const Zh=Kh;class Qh extends ce.We{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 Xh=Qh;class Yh extends(zo(ec,jo)){constructor(e){super(e),this.element=new Xh,this.specPath=ne(["document","objects","bindings","amqp","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const ed=Yh;class td extends ce.We{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 sd=td;class nd extends(zo(ec,jo)){constructor(e){super(e),this.element=new sd,this.specPath=ne(["document","objects","bindings","amqp","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const rd=nd;class id extends ce.We{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 od=id;class cd extends(zo(ec,jo)){constructor(e){super(e),this.element=new od,this.specPath=ne(["document","objects","bindings","amqp","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const ad=cd;class ud extends ce.We{constructor(e,t,s){super(e,t,s),this.element="amqpServerBinding",this.classes.push("server-binding")}}const ld=ud;class pd extends(zo(ec,jo)){constructor(e){super(e),this.element=new ld,this.specPath=ne(["document","objects","bindings","amqp","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const hd=pd;class dd extends ce.We{constructor(e,t,s){super(e,t,s),this.element="amqp1ChannelBinding",this.classes.push("channel-binding")}}const md=dd;class gd extends(zo(ec,jo)){constructor(e){super(e),this.element=new md,this.specPath=ne(["document","objects","bindings","amqp1","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const fd=gd;class bd extends ce.We{constructor(e,t,s){super(e,t,s),this.element="amqp1MessageBinding",this.classes.push("message-binding")}}const vd=bd;class yd extends(zo(ec,jo)){constructor(e){super(e),this.element=new vd,this.specPath=ne(["document","objects","bindings","amqp1","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const _d=yd;class wd extends ce.We{constructor(e,t,s){super(e,t,s),this.element="amqp1OperationBinding",this.classes.push("operation-binding")}}const xd=wd;class Ed extends(zo(ec,jo)){constructor(e){super(e),this.element=new xd,this.specPath=ne(["document","objects","bindings","amqp1","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Sd=Ed;class jd extends ce.We{constructor(e,t,s){super(e,t,s),this.element="amqp1ServerBinding",this.classes.push("server-binding")}}const Od=jd;class Bd extends(zo(ec,jo)){constructor(e){super(e),this.element=new Od,this.specPath=ne(["document","objects","bindings","amqp1","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Pd=Bd;class $d extends ce.We{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 Md=$d;class Ad extends(zo(ec,jo)){constructor(e){super(e),this.element=new Md,this.specPath=ne(["document","objects","bindings","anypointmq","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const qd=Ad;class kd extends ce.We{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 Cd=kd;class Id extends(zo(ec,jo)){constructor(e){super(e),this.element=new Cd,this.specPath=ne(["document","objects","bindings","anypointmq","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Nd=Id;class Td extends ce.We{constructor(e,t,s){super(e,t,s),this.element="anypointmqOperationBinding",this.classes.push("operation-binding")}}const Rd=Td;class Fd extends(zo(ec,jo)){constructor(e){super(e),this.element=new Rd,this.specPath=ne(["document","objects","bindings","anypointmq","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Vd=Fd;class Wd extends ce.We{constructor(e,t,s){super(e,t,s),this.element="anypointmqServerBinding",this.classes.push("server-binding")}}const Dd=Wd;class Ld extends(zo(ec,jo)){constructor(e){super(e),this.element=new Dd,this.specPath=ne(["document","objects","bindings","anypointmq","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Jd=Ld;class Ud extends ce.We{constructor(e,t,s){super(e,t,s),this.element="httpChannelBinding",this.classes.push("channel-binding")}}const zd=Ud;class Gd extends(zo(ec,jo)){constructor(e){super(e),this.element=new zd,this.specPath=ne(["document","objects","bindings","http","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Hd=Gd;class Kd extends ce.We{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 Zd=Kd;class Qd extends(zo(ec,jo)){constructor(e){super(e),this.element=new Zd,this.specPath=ne(["document","objects","bindings","http","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Xd=Qd;class Yd extends ce.We{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 em=Yd;class tm extends(zo(ec,jo)){constructor(e){super(e),this.element=new em,this.specPath=ne(["document","objects","bindings","http","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const sm=tm;class nm extends ce.We{constructor(e,t,s){super(e,t,s),this.element="httpServerBinding",this.classes.push("server-binding")}}const rm=nm;class im extends(zo(ec,jo)){constructor(e){super(e),this.element=new rm,this.specPath=ne(["document","objects","bindings","http","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const om=im;class cm extends ce.We{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 am=cm;class um extends(zo(ec,jo)){constructor(e){super(e),this.element=new am,this.specPath=ne(["document","objects","bindings","googlepubsub","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const lm=um;class pm extends ce.We{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 attributesProp(){return this.get("attributes")}set attributesProp(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 hm=pm;class dm extends(zo(ec,jo)){constructor(e){super(e),this.element=new hm,this.specPath=ne(["document","objects","bindings","googlepubusb","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const mm=dm;class gm extends ce.We{constructor(e,t,s){super(e,t,s),this.element="googlepubsubOperationBinding",this.classes.push("operation-binding")}}const fm=gm;class bm extends(zo(ec,jo)){constructor(e){super(e),this.element=new fm,this.specPath=ne(["document","objects","bindings","googlepubsub","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const vm=bm;class ym extends ce.We{constructor(e,t,s){super(e,t,s),this.element="googlepubsubServerBinding",this.classes.push("server-binding")}}const _m=ym;class wm extends(zo(ec,jo)){constructor(e){super(e),this.element=new _m,this.specPath=ne(["document","objects","bindings","googlepubsub","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const xm=wm;class Em extends ce.We{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 Sm=Em;class jm extends(zo(ec,jo)){constructor(e){super(e),this.element=new Sm,this.specPath=ne(["document","objects","bindings","ibmmq","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Om=jm;class Bm extends ce.We{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 Pm=Bm;class $m extends(zo(ec,jo)){constructor(e){super(e),this.element=new Pm,this.specPath=ne(["document","objects","bindings","ibmmq","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Mm=$m;class Am extends ce.We{constructor(e,t,s){super(e,t,s),this.element="ibmmqOperationBinding",this.classes.push("operation-binding")}}const qm=Am;class km extends(zo(ec,jo)){constructor(e){super(e),this.element=new qm,this.specPath=ne(["document","objects","bindings","ibmmq","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Cm=km;class Im extends ce.We{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 Nm=Im;class Tm extends(zo(ec,jo)){constructor(e){super(e),this.element=new Nm,this.specPath=ne(["document","objects","bindings","ibmmq","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Rm=Tm;class Fm extends ce.We{constructor(e,t,s){super(e,t,s),this.element="jmsChannelBinding",this.classes.push("channel-binding")}}const Vm=Fm;class Wm extends(zo(ec,jo)){constructor(e){super(e),this.element=new Vm,this.specPath=ne(["document","objects","bindings","jms","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Dm=Wm;class Lm extends ce.We{constructor(e,t,s){super(e,t,s),this.element="jmsMessageBinding",this.classes.push("message-binding")}}const Jm=Lm;class Um extends(zo(ec,jo)){constructor(e){super(e),this.element=new Jm,this.specPath=ne(["document","objects","bindings","jms","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const zm=Um;class Gm extends ce.We{constructor(e,t,s){super(e,t,s),this.element="jmsOperationBinding",this.classes.push("operation-binding")}}const Hm=Gm;class Km extends(zo(ec,jo)){constructor(e){super(e),this.element=new Hm,this.specPath=ne(["document","objects","bindings","jms","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Zm=Km;class Qm extends ce.We{constructor(e,t,s){super(e,t,s),this.element="jmsServerBinding",this.classes.push("server-binding")}}const Xm=Qm;class Ym extends(zo(ec,jo)){constructor(e){super(e),this.element=new Xm,this.specPath=ne(["document","objects","bindings","jms","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const eg=Ym;class tg extends ce.We{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 sg=tg;class ng extends(zo(ec,jo)){constructor(e){super(e),this.element=new sg,this.specPath=ne(["document","objects","bindings","kafka","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const rg=ng;class ig extends ce.We{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 og=ig;class cg extends(zo(ec,jo)){constructor(e){super(e),this.element=new og,this.specPath=ne(["document","objects","bindings","kafka","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const ag=cg;class ug extends ce.We{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 lg=ug;class pg extends(zo(ec,jo)){constructor(e){super(e),this.element=new lg,this.specPath=ne(["document","objects","bindings","kafka","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const hg=pg;class dg extends ce.We{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 mg=dg;class gg extends(zo(ec,jo)){constructor(e){super(e),this.element=new mg,this.specPath=ne(["document","objects","bindings","kafka","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const fg=gg;class bg extends ce.We{constructor(e,t,s){super(e,t,s),this.element="mercureChannelBinding",this.classes.push("channel-binding")}}const vg=bg;class yg extends(zo(ec,jo)){constructor(e){super(e),this.element=new vg,this.specPath=ne(["document","objects","bindings","mercure","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const _g=yg;class wg extends ce.We{constructor(e,t,s){super(e,t,s),this.element="mercureMessageBinding",this.classes.push("message-binding")}}const xg=wg;class Eg extends(zo(ec,jo)){constructor(e){super(e),this.element=new xg,this.specPath=ne(["document","objects","bindings","mercure","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Sg=Eg;class jg extends ce.We{constructor(e,t,s){super(e,t,s),this.element="mercureOperationBinding",this.classes.push("operation-binding")}}const Og=jg;class Bg extends(zo(ec,jo)){constructor(e){super(e),this.element=new Og,this.specPath=ne(["document","objects","bindings","mercure","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Pg=Bg;class $g extends ce.We{constructor(e,t,s){super(e,t,s),this.element="mercureServerBinding",this.classes.push("server-binding")}}const Mg=$g;class Ag extends(zo(ec,jo)){constructor(e){super(e),this.element=new Mg,this.specPath=ne(["document","objects","bindings","mercure","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const qg=Ag;class kg extends ce.We{constructor(e,t,s){super(e,t,s),this.element="mqttChannelBinding",this.classes.push("channel-binding")}}const Cg=kg;class Ig extends(zo(ec,jo)){constructor(e){super(e),this.element=new Cg,this.specPath=ne(["document","objects","bindings","mqtt","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Ng=Ig;class Tg extends ce.We{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 Rg=Tg;class Fg extends(zo(ec,jo)){constructor(e){super(e),this.element=new Rg,this.specPath=ne(["document","objects","bindings","mqtt","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Vg=Fg;class Wg extends ce.We{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 Dg=Wg;class Lg extends(zo(ec,jo)){constructor(e){super(e),this.element=new Dg,this.specPath=ne(["document","objects","bindings","mqtt","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Jg=Lg;class Ug extends ce.We{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 zg=Ug;class Gg extends(zo(ec,jo)){constructor(e){super(e),this.element=new zg,this.specPath=ne(["document","objects","bindings","mqtt","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Hg=Gg;class Kg extends ce.We{constructor(e,t,s){super(e,t,s),this.element="mqtt5ChannelBinding",this.classes.push("channel-binding")}}const Zg=Kg;class Qg extends(zo(ec,jo)){constructor(e){super(e),this.element=new Zg,this.specPath=ne(["document","objects","bindings","mqtt5","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Xg=Qg;class Yg extends ce.We{constructor(e,t,s){super(e,t,s),this.element="mqtt5MessageBinding",this.classes.push("message-binding")}}const ef=Yg;class tf extends(zo(ec,jo)){constructor(e){super(e),this.element=new ef,this.specPath=ne(["document","objects","bindings","mqtt5","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const sf=tf;class nf extends ce.We{constructor(e,t,s){super(e,t,s),this.element="mqtt5OperationBinding",this.classes.push("operation-binding")}}const rf=nf;class of extends(zo(ec,jo)){constructor(e){super(e),this.element=new rf,this.specPath=ne(["document","objects","bindings","mqtt5","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const cf=of;class af extends ce.We{constructor(e,t,s){super(e,t,s),this.element="mqtt5ServerBinding",this.classes.push("server-binding")}}const uf=af;class lf extends(zo(ec,jo)){constructor(e){super(e),this.element=new uf,this.specPath=ne(["document","objects","bindings","mqtt5","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const pf=lf;class hf extends ce.We{constructor(e,t,s){super(e,t,s),this.element="natsChannelBinding",this.classes.push("channel-binding")}}const df=hf;class mf extends(zo(ec,jo)){constructor(e){super(e),this.element=new df,this.specPath=ne(["document","objects","bindings","nats","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const gf=mf;class ff extends ce.We{constructor(e,t,s){super(e,t,s),this.element="natsMessageBinding",this.classes.push("message-binding")}}const bf=ff;class vf extends(zo(ec,jo)){constructor(e){super(e),this.element=new bf,this.specPath=ne(["document","objects","bindings","nats","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const yf=vf;class _f extends ce.We{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 wf=_f;class xf extends(zo(ec,jo)){constructor(e){super(e),this.element=new wf,this.specPath=ne(["document","objects","bindings","nats","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Ef=xf;class Sf extends ce.We{constructor(e,t,s){super(e,t,s),this.element="natsServerBinding",this.classes.push("server-binding")}}const jf=Sf;class Of extends(zo(ec,jo)){constructor(e){super(e),this.element=new jf,this.specPath=ne(["document","objects","bindings","nats","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Bf=Of;class Pf extends ce.We{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("compaction")}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 $f=Pf;class Mf extends(zo(ec,jo)){constructor(e){super(e),this.element=new $f,this.specPath=ne(["document","objects","bindings","pulsar","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Af=Mf;class qf extends ce.We{constructor(e,t,s){super(e,t,s),this.element="pulsarMessageBinding",this.classes.push("message-binding")}}const kf=qf;class Cf extends(zo(ec,jo)){constructor(e){super(e),this.element=new kf,this.specPath=ne(["document","objects","bindings","pulsar","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const If=Cf;class Nf extends ce.We{constructor(e,t,s){super(e,t,s),this.element="pulsarOperationBinding",this.classes.push("operation-binding")}}const Tf=Nf;class Rf extends(zo(ec,jo)){constructor(e){super(e),this.element=new Tf,this.specPath=ne(["document","objects","bindings","pulsar","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Ff=Rf;class Vf extends ce.We{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 Wf=Vf;class Df extends(zo(ec,jo)){constructor(e){super(e),this.element=new Wf,this.specPath=ne(["document","objects","bindings","pulsar","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Lf=Df;class Jf extends ce.We{constructor(e,t,s){super(e,t,s),this.element="redisChannelBinding",this.classes.push("channel-binding")}}const Uf=Jf;class zf extends(zo(ec,jo)){constructor(e){super(e),this.element=new Uf,this.specPath=ne(["document","objects","bindings","redis","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Gf=zf;class Hf extends ce.We{constructor(e,t,s){super(e,t,s),this.element="redisMessageBinding",this.classes.push("message-binding")}}const Kf=Hf;class Zf extends(zo(ec,jo)){constructor(e){super(e),this.element=new Kf,this.specPath=ne(["document","objects","bindings","redis","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Qf=Zf;class Xf extends ce.We{constructor(e,t,s){super(e,t,s),this.element="redisOperationBinding",this.classes.push("operation-binding")}}const Yf=Xf;class eb extends(zo(ec,jo)){constructor(e){super(e),this.element=new Yf,this.specPath=ne(["document","objects","bindings","redis","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const tb=eb;class sb extends ce.We{constructor(e,t,s){super(e,t,s),this.element="redisServerBinding",this.classes.push("server-binding")}}const nb=sb;class rb extends(zo(ec,jo)){constructor(e){super(e),this.element=new nb,this.specPath=ne(["document","objects","bindings","redis","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const ib=rb;class ob extends ce.We{constructor(e,t,s){super(e,t,s),this.element="snsChannelBinding",this.classes.push("channel-binding")}}const cb=ob;class ab extends(zo(ec,jo)){constructor(e){super(e),this.element=new cb,this.specPath=ne(["document","objects","bindings","sns","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const ub=ab;class lb extends ce.We{constructor(e,t,s){super(e,t,s),this.element="snsMessageBinding",this.classes.push("message-binding")}}const pb=lb;class hb extends(zo(ec,jo)){constructor(e){super(e),this.element=new pb,this.specPath=ne(["document","objects","bindings","sns","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const db=hb;class mb extends ce.We{constructor(e,t,s){super(e,t,s),this.element="snsOperationBinding",this.classes.push("operation-binding")}}const gb=mb;class fb extends(zo(ec,jo)){constructor(e){super(e),this.element=new gb,this.specPath=ne(["document","objects","bindings","sns","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const bb=fb;class vb extends ce.We{constructor(e,t,s){super(e,t,s),this.element="snsServerBinding",this.classes.push("server-binding")}}const yb=vb;class _b extends(zo(ec,jo)){constructor(e){super(e),this.element=new yb,this.specPath=ne(["document","objects","bindings","sns","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const wb=_b;class xb extends ce.We{constructor(e,t,s){super(e,t,s),this.element="solaceChannelBinding",this.classes.push("channel-binding")}}const Eb=xb;class Sb extends(zo(ec,jo)){constructor(e){super(e),this.element=new Eb,this.specPath=ne(["document","objects","bindings","solace","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const jb=Sb;class Ob extends ce.We{constructor(e,t,s){super(e,t,s),this.element="solaceMessageBinding",this.classes.push("message-binding")}}const Bb=Ob;class Pb extends(zo(ec,jo)){constructor(e){super(e),this.element=new Bb,this.specPath=ne(["document","objects","bindings","solace","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const $b=Pb;class Mb extends ce.We{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 Ab=Mb;class qb extends(zo(ec,jo)){constructor(e){super(e),this.element=new Ab,this.specPath=ne(["document","objects","bindings","solace","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const kb=qb;class Cb extends ce.We{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 Ib=Cb;class Nb extends(zo(ec,jo)){constructor(e){super(e),this.element=new Ib,this.specPath=ne(["document","objects","bindings","solace","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Tb=Nb;class Rb extends ce.We{constructor(e,t,s){super(e,t,s),this.element="sqsChannelBinding",this.classes.push("channel-binding")}}const Fb=Rb;class Vb extends(zo(ec,jo)){constructor(e){super(e),this.element=new Fb,this.specPath=ne(["document","objects","bindings","sqs","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Wb=Vb;class Db extends ce.We{constructor(e,t,s){super(e,t,s),this.element="sqsMessageBinding",this.classes.push("message-binding")}}const Lb=Db;class Jb extends(zo(ec,jo)){constructor(e){super(e),this.element=new Lb,this.specPath=ne(["document","objects","bindings","sqs","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Ub=Jb;class zb extends ce.We{constructor(e,t,s){super(e,t,s),this.element="sqsOperationBinding",this.classes.push("operation-binding")}}const Gb=zb;class Hb extends(zo(ec,jo)){constructor(e){super(e),this.element=new Gb,this.specPath=ne(["document","objects","bindings","sqs","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Kb=Hb;class Zb extends ce.We{constructor(e,t,s){super(e,t,s),this.element="sqsServerBinding",this.classes.push("server-binding")}}const Qb=Zb;class Xb extends(zo(ec,jo)){constructor(e){super(e),this.element=new Qb,this.specPath=ne(["document","objects","bindings","sqs","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Yb=Xb;class ev extends ce.We{constructor(e,t,s){super(e,t,s),this.element="stompChannelBinding",this.classes.push("channel-binding")}}const tv=ev;class sv extends(zo(ec,jo)){constructor(e){super(e),this.element=new tv,this.specPath=ne(["document","objects","bindings","stomp","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const nv=sv;class rv extends ce.We{constructor(e,t,s){super(e,t,s),this.element="stompMessageBinding",this.classes.push("message-binding")}}const iv=rv;class ov extends(zo(ec,jo)){constructor(e){super(e),this.element=new iv,this.specPath=ne(["document","objects","bindings","stomp","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const cv=ov;class av extends ce.We{constructor(e,t,s){super(e,t,s),this.element="stompOperationBinding",this.classes.push("operation-binding")}}const uv=av;class lv extends(zo(ec,jo)){constructor(e){super(e),this.element=new uv,this.specPath=ne(["document","objects","bindings","stomp","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const pv=lv;class hv extends ce.We{constructor(e,t,s){super(e,t,s),this.element="stompServerBinding",this.classes.push("server-binding")}}const dv=hv;class mv extends(zo(ec,jo)){constructor(e){super(e),this.element=new dv,this.specPath=ne(["document","objects","bindings","stomp","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const gv=mv;class fv extends ce.We{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 bv=fv;class vv extends(zo(ec,jo)){constructor(e){super(e),this.element=new bv,this.specPath=ne(["document","objects","bindings","ws","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const yv=vv;class _v extends ce.We{constructor(e,t,s){super(e,t,s),this.element="webSocketMessageBinding",this.classes.push("message-binding")}}const wv=_v;class xv extends(zo(ec,jo)){constructor(e){super(e),this.element=new wv,this.specPath=ne(["document","objects","bindings","ws","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Ev=xv;class Sv extends ce.We{constructor(e,t,s){super(e,t,s),this.element="webSocketOperationBinding",this.classes.push("operation-binding")}}const jv=Sv;class Ov extends(zo(ec,jo)){constructor(e){super(e),this.element=new jv,this.specPath=ne(["document","objects","bindings","ws","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Bv=Ov;class Pv extends ce.We{constructor(e,t,s){super(e,t,s),this.element="webSocketServerBinding",this.classes.push("server-binding")}}const $v=Pv;class Mv extends(zo(ec,jo)){constructor(e){super(e),this.element=new $v,this.specPath=ne(["document","objects","bindings","ws","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Av=Mv,qv={$visitor:Su,fixedFields:{$ref:ju}},kv={$visitor:Bu,fixedFields:{...zu,allOf:Au,anyOf:ku,oneOf:Iu,items:Wu,properties:Uu,patternProperties:Lu,dependencies:Fu,definitions:Tu,discriminator:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},deprecated:{$ref:"#/visitors/value"}}},Cv={visitors:{value:jo,document:{objects:{AsyncApi:{$visitor:rc,fixedFields:{asyncapi:{$ref:"#/visitors/document/objects/AsyncApiVersion"},id:{$ref:"#/visitors/document/objects/Identifier"},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:{$visitor:ac},Identifier:{$visitor:hc},Info:{$visitor:fc,fixedFields:{title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},termsOfService:{$ref:"#/visitors/value"},version:bc,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"}}},Contact:{$visitor:wc,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"},email:{$ref:"#/visitors/value"}}},License:{$visitor:kc,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Servers:{$visitor:Xa},Server:{$visitor:eu,fixedFields:{url:tu,protocol:{$ref:"#/visitors/value"},protocolVersion:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},variables:au,security:hu,tags:{$ref:"#/visitors/document/objects/Tags"},bindings:ru}},ServerVariable:{$visitor:mu,fixedFields:{enum:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},examples:{$ref:"#/visitors/value"}}},DefaultContentType:{$visitor:$c},Channels:{$visitor:Cp},ChannelItem:{$visitor:Rp,fixedFields:{$ref:Fp,description:{$ref:"#/visitors/value"},servers:Lp,subscribe:{$ref:"#/visitors/document/objects/Operation"},publish:{$ref:"#/visitors/document/objects/Operation"},parameters:{$ref:"#/visitors/document/objects/Parameters"},bindings:Up}},Operation:{$visitor:ap,fixedFields:{operationId:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},security:hp,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:mp,traits:vp,message:Sp}},OperationTrait:{$visitor:Jh,fixedFields:{operationId:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},security:Hh,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:Zh}},Message:{$visitor:xh,fixedFields:{messageId:{$ref:"#/visitors/value"},headers:Sh,payload:{$ref:"#/visitors/value"},correlationId:Oh,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:Ph,examples:qh,traits:Nh}},MessageTrait:{$visitor:nh,fixedFields:{messageId:{$ref:"#/visitors/value"},headers:ih,correlationId:ch,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:uh,examples:dh}},MessageExample:{$visitor:Yp,fixedFields:{headers:{$ref:"#/visitors/value"},payload:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"}}},Tags:{$visitor:Pp},Tag:{$visitor:qp,fixedFields:{name:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},ExternalDocumentation:{$visitor:sl,fixedFields:{description:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Components:{$visitor:rl,fixedFields:{schemas:al,servers:hl,serverVariables:fl,channels:_l,messages:Sl,securitySchemes:Pl,parameters:ql,correlationIds:Nl,operationTraits:Vl,messageTraits:Jl,serverBindings:Hl,channelBindings:Xl,operationBindings:sp,messageBindings:op}},JSONReference:qv,Reference:qv,JSONSchema:kv,Schema:kv,LinkDescription:Eo.visitors.document.objects.LinkDescription,SecurityScheme:{$visitor:_u,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:{$visitor:xu},OAuthFlows:{$visitor:Tc,fixedFields:{implicit:{$ref:"#/visitors/document/objects/OAuthFlow"},password:{$ref:"#/visitors/document/objects/OAuthFlow"},clientCredentials:{$ref:"#/visitors/document/objects/OAuthFlow"},authorizationCode:{$ref:"#/visitors/document/objects/OAuthFlow"}}},OAuthFlow:{$visitor:Wc,fixedFields:{authorizationUrl:{$ref:"#/visitors/value"},tokenUrl:{$ref:"#/visitors/value"},refreshUrl:{$ref:"#/visitors/value"},scopes:Gc}},ServerBindings:{$visitor:fu,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:{$visitor:Hu},Parameter:{$visitor:Zu,fixedFields:{description:{$ref:"#/visitors/value"},schema:Xu,location:{$ref:"#/visitors/value"}}},ChannelBindings:{$visitor:Np,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:{$visitor:Vh,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:{$visitor:Kp,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:{$visitor:jc,fixedFields:{description:{$ref:"#/visitors/value"},location:{$ref:"#/visitors/value"}}},bindings:{http:{ServerBinding:{$visitor:om},ChannelBinding:{$visitor:Hd},OperationBinding:{$visitor:sm,fixedFields:{type:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},query:$u,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:Xd,fixedFields:{headers:$u,bindingVersion:{$ref:"#/visitors/value"}}}},ws:{ServerBinding:{$visitor:Av},ChannelBinding:{$visitor:yv,fixedFields:{method:{$ref:"#/visitors/value"},query:$u,headers:$u,bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:Bv},MessageBinding:{$visitor:Ev}},kafka:{ServerBinding:{$visitor:fg,fixedFields:{schemaRegistryUrl:{$ref:"#/visitors/value"},schemaRegistryVendor:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:rg,fixedFields:{topic:{$ref:"#/visitors/value"},partitions:{$ref:"#/visitors/value"},replicas:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:hg,fixedFields:{groupId:$u,clientId:$u,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:ag,fixedFields:{key:$u,schemaIdLocation:{$ref:"#/visitors/value"},schemaIdPayloadEncoding:{$ref:"#/visitors/value"},schemaLookupStrategy:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},anypointmq:{ServerBinding:{$visitor:Jd},ChannelBinding:{$visitor:qd,fixedFields:{destination:{$ref:"#/visitors/value"},destinationType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:Vd},MessageBinding:{$visitor:Nd,fixedFields:{headers:$u,bindingVersion:{$ref:"#/visitors/value"}}}},amqp:{ServerBinding:{$visitor:hd},ChannelBinding:{$visitor:ed,fixedFields:{is:{$ref:"#/visitors/value"},exchange:{$ref:"#/visitors/value"},queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:ad,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:{$visitor:rd,fixedFields:{contentEncoding:{$ref:"#/visitors/value"},messageType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},amqp1:{ServerBinding:{$visitor:Pd},ChannelBinding:{$visitor:fd},OperationBinding:{$visitor:Sd},MessageBinding:{$visitor:_d}},mqtt:{ServerBinding:{$visitor:Hg,fixedFields:{clientId:{$ref:"#/visitors/value"},cleanSession:{$ref:"#/visitors/value"},lastWill:{$ref:"#/visitors/value"},keepAlive:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:Ng},OperationBinding:{$visitor:Jg,fixedFields:{qos:{$ref:"#/visitors/value"},retain:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:Vg,fixedFields:{bindingVersion:{$ref:"#/visitors/value"}}}},mqtt5:{ServerBinding:{$visitor:pf},ChannelBinding:{$visitor:Xg},OperationBinding:{$visitor:cf},MessageBinding:{$visitor:sf}},nats:{ServerBinding:{$visitor:Bf},ChannelBinding:{$visitor:gf},OperationBinding:{$visitor:Ef,fixedFields:{queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:yf}},pulsar:{ServerBinding:{$visitor:Lf,fixedFields:{tenant:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:Af,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:{$visitor:Ff},MessageBinding:{$visitor:If}},jms:{ServerBinding:{$visitor:eg},ChannelBinding:{$visitor:Dm},OperationBinding:{$visitor:Zm},MessageBinding:{$visitor:zm}},sns:{ServerBinding:{$visitor:wb},ChannelBinding:{$visitor:ub},OperationBinding:{$visitor:bb},MessageBinding:{$visitor:db}},solace:{ServerBinding:{$visitor:Tb,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},msgVpn:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:jb},OperationBinding:{$visitor:kb,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},destinations:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:$b}},sqs:{ServerBinding:{$visitor:Yb},ChannelBinding:{$visitor:Wb},OperationBinding:{$visitor:Kb},MessageBinding:{$visitor:Ub}},stomp:{ServerBinding:{$visitor:gv},ChannelBinding:{$visitor:nv},OperationBinding:{$visitor:pv},MessageBinding:{$visitor:cv}},redis:{ServerBinding:{$visitor:ib},ChannelBinding:{$visitor:Gf},OperationBinding:{$visitor:tb},MessageBinding:{$visitor:Qf}},mercure:{ServerBinding:{$visitor:qg},ChannelBinding:{$visitor:_g},OperationBinding:{$visitor:Pg},MessageBinding:{$visitor:Sg}},googlepubsub:{ServerBinding:{$visitor:xm},ChannelBinding:{$visitor:lm,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:{$visitor:vm},MessageBinding:{$visitor:mm,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},attributes:{$ref:"#/visitors/value"},orderingKey:{$ref:"#/visitors/value"},schema:{$ref:"#/visitors/value"}}}},ibmmq:{ServerBinding:{$visitor:Rm,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:{$visitor:Om,fixedFields:{destinationType:{$ref:"#/visitors/value"},queue:{$ref:"#/visitors/value"},topic:{$ref:"#/visitors/value"},maxMsgLength:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:Mm,fixedFields:{type:{$ref:"#/visitors/value"},headers:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},expiry:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:Cm}}}},extension:{$visitor:Bo}}}},Iv=e=>{if(Dt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Nv={AsyncApi2Element:["content"],AsyncApiVersionElement:[],ChannelBindingsElement:["content"],ChannelItemElement:["content"],ChannelsElement:["content"],ComponentsElement:["content"],ContactElement:["content"],CorrelationIDElement:["content"],DefaultContentType:[],ExternalDocumentationElement:["content"],InfoElement:["content"],LicenseElement:["content"],MessageElement:["content"],MessageBindingsElement:["content"],MessageTraitElement:["content"],OAuthFlowElement:["content"],OAuthFlowsElement:["content"],OperationElement:["content"],OperationBindingsElement:["content"],OperationTraitElement:["content"],ParameterElement:["content"],ParametersElement:["content"],ReferenceElement:["content"],SchemaElement:["content"],SecurityRequirementElement:["content"],SecuritySchemeElement:["content"],ServerElement:["content"],ServerBindingsElement:["content"],ServersElement:["content"],ServerVariableElement:["content"],TagElement:["content"],TagsElement:["content"],AmqpChannelBindingElement:["content"],AmqpMessageBindingElement:["content"],AmqpOperationBindingElement:["content"],AmqpServerBindingElement:["content"],Amqp1ChannelBindingElement:["content"],Amqp1MessageBindingElement:["content"],Amqp1OperationBindingElement:["content"],Amqp1ServerBindingElement:["content"],AnypointmqChannelBindingElement:["content"],AnypointmqMessageBindingElement:["content"],AnypointmqOperationBindingElement:["content"],AnypointmqServerBindingElement:["content"],GooglepubsubChannelBindingElement:["content"],GooglepubsubMessageBindingElement:["content"],GooglepubsubOperationBindingElement:["content"],GooglepubsubServerBindingElement:["content"],HttpChannelBindingElement:["content"],HttpMessageBindingElement:["content"],HttpOperationBindingElement:["content"],HttpServerBindingElement:["content"],IbmmqChannelBindingElement:["content"],IbmmqMessageBindingElement:["content"],IbmmqChannelOperationElement:["content"],IbmmqServerBindingElement:["content"],JmsChannelBindingElement:["content"],JmsMessageBindingElement:["content"],JmsOperationBindingElement:["content"],JmsServerBindingElement:["content"],KafkaChannelBindingElement:["content"],KafkaMessageBindingElement:["content"],KafkaOperationBindingElement:["content"],KafkaServerBindingElement:["content"],MercureChannelBindingElement:["content"],MercureMessageBindingElement:["content"],MercureOperationBindingElement:["content"],MercureServerBindingElement:["content"],MqttChannelBindingElement:["content"],MqttMessageBindingElement:["content"],MqttOperationBindingElement:["content"],MqttServerBindingElement:["content"],Mqtt5ChannelBindingElement:["content"],Mqtt5MessageBindingElement:["content"],Mqtt5OperationBindingElement:["content"],Mqtt5ServerBindingElement:["content"],NatsChannelBindingElement:["content"],NatsMessageBindingElement:["content"],NatsOperationBindingElement:["content"],NatsServerBindingElement:["content"],PulsarChannelBindingElement:["content"],PulsarMessageBindingElement:["content"],PulsarOperationBindingElement:["content"],PulsarServerBindingElement:["content"],RedisChannelBindingElement:["content"],RedisMessageBindingElement:["content"],RedisOperationBindingElement:["content"],RedisServerBindingElement:["content"],SnsChannelBindingElement:["content"],SnsMessageBindingElement:["content"],SnsOperationBindingElement:["content"],SnsServerBindingElement:["content"],SolaceChannelBindingElement:["content"],SolaceMessageBindingElement:["content"],SolaceOperationBindingElement:["content"],SolaceServerBindingElement:["content"],SqsChannelBindingElement:["content"],SqsMessageBindingElement:["content"],SqsOperationBindingElement:["content"],SqsServerBindingElement:["content"],StompChannelBindingElement:["content"],StompMessageBindingElement:["content"],StompOperationBindingElement:["content"],StompServerBindingElement:["content"],WebSocketChannelBindingElement:["content"],WebSocketMessageBindingElement:["content"],WebSocketOperationBindingElement:["content"],WebSocketServerBindingElement:["content"],...fs},Tv={namespace:e=>{const{base:t}=e;return t.register("asyncApi2",sc),t.register("asyncApiVersion",oc),t.register("channelBindings",Xc),t.register("channelItem",ea),t.register("channels",sa),t.register("components",ra),t.register("contact",yc),t.register("correlationID",Ec),t.register("defaultContentType",Bc),t.register("externalDocumentation",el),t.register("identifier",lc),t.register("info",mc),t.register("license",Ac),t.register("message",_h),t.register("messageBindings",Gp),t.register("messageExample",Qp),t.register("messageTrait",th),t.register("oAuthFlow",Fc),t.register("oAuthFlows",Ic),t.register("operation",oa),t.register("operationBindings",Rh),t.register("operationTrait",Dh),t.register("parameter",aa),t.register("parameters",la),t.register("reference",ha),t.register("schema",wa),t.register("securityRequirement",Ea),t.register("securityScheme",vu),t.register("server",ja),t.register("serverBindings",Ba),t.register("servers",Zc),t.register("serverVariable",$a),t.register("tag",Mp),t.register("tags",Op),t.register("amqpChannelBinding",Xh),t.register("amqpMessageBinding",sd),t.register("amqpOperationBinding",od),t.register("amqpServerBinding",ld),t.register("amqp1ChannelBinding",md),t.register("amqp1MessageBinding",vd),t.register("amqp1OperationBinding",xd),t.register("amqp1ServerBinding",Od),t.register("anypointmqChannelBinding",Md),t.register("anypointmqMessageBinding",Cd),t.register("anypointmqOperationBinding",Rd),t.register("anypointmqServerBinding",Dd),t.register("googlepubsubChannelBinding",am),t.register("googlepubsubMessageBinding",hm),t.register("googlepubsubOperationBinding",fm),t.register("googlepubsubServerBinding",_m),t.register("httpChannelBinding",zd),t.register("httpMessageBinding",Zd),t.register("httpOperationBinding",em),t.register("httpServerBinding",rm),t.register("ibmmqChannelBinding",Sm),t.register("ibmmqMessageBinding",Pm),t.register("ibmmqOperationBinding",qm),t.register("ibmmqServerBinding",Nm),t.register("jmsChannelBinding",Vm),t.register("jmsMessageBinding",Jm),t.register("jmsOperationBinding",Hm),t.register("jmsServerBinding",Xm),t.register("kafkaChannelBinding",sg),t.register("kafkaMessageBinding",og),t.register("kafkaOperationBinding",lg),t.register("kafkaServerBinding",mg),t.register("mercureChannelBinding",vg),t.register("mercureMessageBinding",xg),t.register("mercureOperationBinding",Og),t.register("mercureServerBinding",Mg),t.register("mqttChannelBinding",Cg),t.register("mqttMessageBinding",Rg),t.register("mqttOperationBinding",Dg),t.register("mqttServerBinding",zg),t.register("mqtt5ChannelBinding",Zg),t.register("mqtt5MessageBinding",ef),t.register("mqtt5OperationBinding",rf),t.register("mqtt5ServerBinding",uf),t.register("natsChannelBinding",df),t.register("natsMessageBinding",bf),t.register("natsOperationBinding",wf),t.register("natsServerBinding",jf),t.register("pulsarChannelBinding",$f),t.register("pulsarMessageBinding",kf),t.register("pulsarOperationBinding",Tf),t.register("pulsarServerBinding",Wf),t.register("redisChannelBinding",Uf),t.register("redisMessageBinding",Kf),t.register("redisOperationBinding",Yf),t.register("redisServerBinding",nb),t.register("snsChannelBinding",cb),t.register("snsMessageBinding",pb),t.register("snsOperationBinding",gb),t.register("snsServerBinding",yb),t.register("solaceChannelBinding",Eb),t.register("solaceMessageBinding",Bb),t.register("solaceOperationBinding",Ab),t.register("solaceServerBinding",Ib),t.register("sqsChannelBinding",Fb),t.register("sqsMessageBinding",Lb),t.register("sqsOperationBinding",Gb),t.register("sqsServerBinding",Qb),t.register("stompChannelBinding",tv),t.register("stompMessageBinding",iv),t.register("stompOperationBinding",uv),t.register("stompServerBinding",dv),t.register("webSocketChannelBinding",bv),t.register("webSocketMessageBinding",wv),t.register("webSocketOperationBinding",jv),t.register("webSocketServerBinding",$v),t}},Rv=()=>{const e=lt(Tv);return{predicates:{...o,isStringElement:Lt},namespace:e}},Fv=(e,{specPath:t=["visitors","document","objects","AsyncApi","$visitor"],plugins:s=[]}={})=>{const n=(0,ce.WG)(e),r=Un(Cv),i=new(Ce(t,r))({specObj:r});return bs(n,i),qs(i.element,s,{toolboxCreator:Rv,visitorOptions:{keyMap:Nv,nodeTypeGetter:Iv}})},Vv=e=>(t,s={})=>Fv(t,{...s,specPath:e});sc.refract=Vv(["visitors","document","objects","AsyncApi","$visitor"]),oc.refract=Vv(["visitors","document","objects","AsyncApiVersion","$visitor"]),Xc.refract=Vv(["visitors","document","objects","ChannelBindings","$visitor"]),ea.refract=Vv(["visitors","document","objects","ChannelItem","$visitor"]),sa.refract=Vv(["visitors","document","objects","Channels","$visitor"]),ra.refract=Vv(["visitors","document","objects","Components","$visitor"]),yc.refract=Vv(["visitors","document","objects","Contact","$visitor"]),Ec.refract=Vv(["visitors","document","objects","CorrelationID","$visitor"]),Bc.refract=Vv(["visitors","document","objects","DefaultContentType","$visitor"]),el.refract=Vv(["visitors","document","objects","ExternalDocumentation","$visitor"]),lc.refract=Vv(["visitors","document","objects","Identifier","$visitor"]),mc.refract=Vv(["visitors","document","objects","Info","$visitor"]),Ac.refract=Vv(["visitors","document","objects","License","$visitor"]),_h.refract=Vv(["visitors","document","objects","Message","$visitor"]),Gp.refract=Vv(["visitors","document","objects","MessageBindings","$visitor"]),Qp.refract=Vv(["visitors","document","objects","MessageExample","$visitor"]),th.refract=Vv(["visitors","document","objects","MessageTrait","$visitor"]),Fc.refract=Vv(["visitors","document","objects","OAuthFlow","$visitor"]),Ic.refract=Vv(["visitors","document","objects","OAuthFlows","$visitor"]),oa.refract=Vv(["visitors","document","objects","Operation","$visitor"]),Rh.refract=Vv(["visitors","document","objects","OperationBindings","$visitor"]),Dh.refract=Vv(["visitors","document","objects","OperationTrait","$visitor"]),aa.refract=Vv(["visitors","document","objects","Parameter","$visitor"]),la.refract=Vv(["visitors","document","objects","Parameters","$visitor"]),ha.refract=Vv(["visitors","document","objects","Reference","$visitor"]),wa.refract=Vv(["visitors","document","objects","Schema","$visitor"]),Ea.refract=Vv(["visitors","document","objects","SecurityRequirement","$visitor"]),vu.refract=Vv(["visitors","document","objects","SecurityScheme","$visitor"]),ja.refract=Vv(["visitors","document","objects","Server","$visitor"]),Ba.refract=Vv(["visitors","document","objects","ServerBindings","$visitor"]),Zc.refract=Vv(["visitors","document","objects","Servers","$visitor"]),$a.refract=Vv(["visitors","document","objects","ServerVariable","$visitor"]),Mp.refract=Vv(["visitors","document","objects","Tag","$visitor"]),Op.refract=Vv(["visitors","document","objects","Tags","$visitor"]),Xh.refract=Vv(["visitors","document","objects","bindings","amqp","ChannelBinding","$visitor"]),sd.refract=Vv(["visitors","document","objects","bindings","amqp","MessageBinding","$visitor"]),od.refract=Vv(["visitors","document","objects","bindings","amqp","OperationBinding","$visitor"]),ld.refract=Vv(["visitors","document","objects","bindings","amqp","ServerBinding","$visitor"]),md.refract=Vv(["visitors","document","objects","bindings","amqp1","ChannelBinding","$visitor"]),vd.refract=Vv(["visitors","document","objects","bindings","amqp1","MessageBinding","$visitor"]),xd.refract=Vv(["visitors","document","objects","bindings","amqp1","OperationBinding","$visitor"]),Od.refract=Vv(["visitors","document","objects","bindings","amqp1","ServerBinding","$visitor"]),zd.refract=Vv(["visitors","document","objects","bindings","http","ChannelBinding","$visitor"]),Zd.refract=Vv(["visitors","document","objects","bindings","http","MessageBinding","$visitor"]),em.refract=Vv(["visitors","document","objects","bindings","http","OperationBinding","$visitor"]),rm.refract=Vv(["visitors","document","objects","bindings","http","ServerBinding","$visitor"]),am.refract=Vv(["visitors","document","objects","bindings","googlepubsub","ChannelBinding","$visitor"]),hm.refract=Vv(["visitors","document","objects","bindings","googlepubsub","MessageBinding","$visitor"]),fm.refract=Vv(["visitors","document","objects","bindings","googlepubsub","OperationBinding","$visitor"]),_m.refract=Vv(["visitors","document","objects","bindings","googlepubsub","ServerBinding","$visitor"]),Sm.refract=Vv(["visitors","document","objects","bindings","ibmmq","ChannelBinding","$visitor"]),Pm.refract=Vv(["visitors","document","objects","bindings","ibmmq","MessageBinding","$visitor"]),qm.refract=Vv(["visitors","document","objects","bindings","ibmmq","OperationBinding","$visitor"]),Nm.refract=Vv(["visitors","document","objects","bindings","ibmmq","ServerBinding","$visitor"]),Vm.refract=Vv(["visitors","document","objects","bindings","jms","ChannelBinding","$visitor"]),Jm.refract=Vv(["visitors","document","objects","bindings","jms","MessageBinding","$visitor"]),Hm.refract=Vv(["visitors","document","objects","bindings","jms","OperationBinding","$visitor"]),Xm.refract=Vv(["visitors","document","objects","bindings","jms","ServerBinding","$visitor"]),sg.refract=Vv(["visitors","document","objects","bindings","kafka","ChannelBinding","$visitor"]),og.refract=Vv(["visitors","document","objects","bindings","kafka","MessageBinding","$visitor"]),lg.refract=Vv(["visitors","document","objects","bindings","kafka","OperationBinding","$visitor"]),mg.refract=Vv(["visitors","document","objects","bindings","kafka","ServerBinding","$visitor"]),Md.refract=Vv(["visitors","document","objects","bindings","anypointmq","ChannelBinding","$visitor"]),Cd.refract=Vv(["visitors","document","objects","bindings","anypointmq","MessageBinding","$visitor"]),Rd.refract=Vv(["visitors","document","objects","bindings","anypointmq","OperationBinding","$visitor"]),Dd.refract=Vv(["visitors","document","objects","bindings","anypointmq","ServerBinding","$visitor"]),vg.refract=Vv(["visitors","document","objects","bindings","mercure","ChannelBinding","$visitor"]),xg.refract=Vv(["visitors","document","objects","bindings","mercure","MessageBinding","$visitor"]),Og.refract=Vv(["visitors","document","objects","bindings","mercure","OperationBinding","$visitor"]),Mg.refract=Vv(["visitors","document","objects","bindings","mercure","ServerBinding","$visitor"]),Cg.refract=Vv(["visitors","document","objects","bindings","mqtt","ChannelBinding","$visitor"]),Rg.refract=Vv(["visitors","document","objects","bindings","mqtt","MessageBinding","$visitor"]),Dg.refract=Vv(["visitors","document","objects","bindings","mqtt","OperationBinding","$visitor"]),zg.refract=Vv(["visitors","document","objects","bindings","mqtt","ServerBinding","$visitor"]),Zg.refract=Vv(["visitors","document","objects","bindings","mqtt5","ChannelBinding","$visitor"]),ef.refract=Vv(["visitors","document","objects","bindings","mqtt5","MessageBinding","$visitor"]),rf.refract=Vv(["visitors","document","objects","bindings","mqtt5","OperationBinding","$visitor"]),uf.refract=Vv(["visitors","document","objects","bindings","mqtt5","ServerBinding","$visitor"]),df.refract=Vv(["visitors","document","objects","bindings","nats","ChannelBinding","$visitor"]),bf.refract=Vv(["visitors","document","objects","bindings","nats","MessageBinding","$visitor"]),wf.refract=Vv(["visitors","document","objects","bindings","nats","OperationBinding","$visitor"]),jf.refract=Vv(["visitors","document","objects","bindings","nats","ServerBinding","$visitor"]),$f.refract=Vv(["visitors","document","objects","bindings","pulsar","ChannelBinding","$visitor"]),kf.refract=Vv(["visitors","document","objects","bindings","pulsar","MessageBinding","$visitor"]),Tf.refract=Vv(["visitors","document","objects","bindings","pulsar","OperationBinding","$visitor"]),Wf.refract=Vv(["visitors","document","objects","bindings","pulsar","ServerBinding","$visitor"]),Uf.refract=Vv(["visitors","document","objects","bindings","redis","ChannelBinding","$visitor"]),Kf.refract=Vv(["visitors","document","objects","bindings","redis","MessageBinding","$visitor"]),Yf.refract=Vv(["visitors","document","objects","bindings","redis","OperationBinding","$visitor"]),nb.refract=Vv(["visitors","document","objects","bindings","redis","ServerBinding","$visitor"]),cb.refract=Vv(["visitors","document","objects","bindings","sns","ChannelBinding","$visitor"]),pb.refract=Vv(["visitors","document","objects","bindings","sns","MessageBinding","$visitor"]),gb.refract=Vv(["visitors","document","objects","bindings","sns","OperationBinding","$visitor"]),yb.refract=Vv(["visitors","document","objects","bindings","sns","ServerBinding","$visitor"]),Eb.refract=Vv(["visitors","document","objects","bindings","solace","ChannelBinding","$visitor"]),Bb.refract=Vv(["visitors","document","objects","bindings","solace","MessageBinding","$visitor"]),Ab.refract=Vv(["visitors","document","objects","bindings","solace","OperationBinding","$visitor"]),Ib.refract=Vv(["visitors","document","objects","bindings","solace","ServerBinding","$visitor"]),Fb.refract=Vv(["visitors","document","objects","bindings","sqs","ChannelBinding","$visitor"]),Lb.refract=Vv(["visitors","document","objects","bindings","sqs","MessageBinding","$visitor"]),Gb.refract=Vv(["visitors","document","objects","bindings","sqs","OperationBinding","$visitor"]),Qb.refract=Vv(["visitors","document","objects","bindings","sqs","ServerBinding","$visitor"]),tv.refract=Vv(["visitors","document","objects","bindings","stomp","ChannelBinding","$visitor"]),iv.refract=Vv(["visitors","document","objects","bindings","stomp","MessageBinding","$visitor"]),uv.refract=Vv(["visitors","document","objects","bindings","stomp","OperationBinding","$visitor"]),dv.refract=Vv(["visitors","document","objects","bindings","stomp","ServerBinding","$visitor"]),bv.refract=Vv(["visitors","document","objects","bindings","ws","ChannelBinding","$visitor"]),wv.refract=Vv(["visitors","document","objects","bindings","ws","MessageBinding","$visitor"]),jv.refract=Vv(["visitors","document","objects","bindings","ws","OperationBinding","$visitor"]),$v.refract=Vv(["visitors","document","objects","bindings","ws","ServerBinding","$visitor"]);const Wv=new bh(...vh.filterByFormat("generic"),...vh.filterByFormat("json")),Dv=/"asyncapi"\s*:\s*"(?<version_json>2\.(?:[1-9]\d*|0)\.(?:[1-9]\d*|0))"/,Lv=async e=>Dv.test(e)&&await(async e=>{if(!Mn.test(e))return!1;try{return"ERROR"!==(await Et(e)).rootNode.type}catch{return!1}})(e),Jv=async(e,t={})=>{const s=f({},"refractorOpts",t),n=v(["refractorOpts"],t),r=await(async(e,{sourceMap:t=!1,syntacticAnalysis:s="direct"}={})=>{const n=await Et(e);let r;return r="indirect"===s?$n(n,{sourceMap:t}):Ls(n,{sourceMap:t}),r})(e,n),{result:i}=r;if(oe(i)){const e=sc.refract(i,s);e.classes.push("result"),r.replaceResult(e)}return r},Uv=lt(Tv)})(),n})()));