@swagger-api/apidom-parser-adapter-asyncapi-json-2 0.96.0 → 0.98.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={3103:(e,t,s)=>{var n=s(4715)(s(8942),"DataView");e.exports=n},5098:(e,t,s)=>{var n=s(3305),r=s(9361),i=s(1112),o=s(5276),c=s(5071);function a(e){var t=-1,s=null==e?0:e.length;for(this.clear();++t<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},1386:(e,t,s)=>{var n=s(2393),r=s(2049),i=s(7144),o=s(7452),c=s(3964);function a(e){var t=-1,s=null==e?0:e.length;for(this.clear();++t<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},9770:(e,t,s)=>{var n=s(4715)(s(8942),"Map");e.exports=n},8250:(e,t,s)=>{var n=s(9753),r=s(5681),i=s(88),o=s(4732),c=s(9068);function a(e){var t=-1,s=null==e?0:e.length;for(this.clear();++t<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},9413:(e,t,s)=>{var n=s(4715)(s(8942),"Promise");e.exports=n},4512:(e,t,s)=>{var n=s(4715)(s(8942),"Set");e.exports=n},3212:(e,t,s)=>{var n=s(8250),r=s(1877),i=s(8006);function o(e){var t=-1,s=null==e?0:e.length;for(this.__data__=new n;++t<s;)this.add(e[t])}o.prototype.add=o.prototype.push=r,o.prototype.has=i,e.exports=o},1340:(e,t,s)=>{var n=s(1386),r=s(4103),i=s(1779),o=s(4162),c=s(7462),a=s(6638);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},5650:(e,t,s)=>{var n=s(8942).Symbol;e.exports=n},1623:(e,t,s)=>{var n=s(8942).Uint8Array;e.exports=n},9270:(e,t,s)=>{var n=s(4715)(s(8942),"WeakMap");e.exports=n},9847:e=>{e.exports=function(e,t){for(var s=-1,n=null==e?0:e.length,r=0,i=[];++s<n;){var o=e[s];t(o,s,e)&&(i[r++]=o)}return i}},358:(e,t,s)=>{var n=s(6137),r=s(3283),i=s(3142),o=s(5853),c=s(9632),a=s(8666),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var s=i(e),l=!s&&r(e),h=!s&&!l&&o(e),p=!s&&!l&&!h&&a(e),d=s||l||h||p,m=d?n(e.length,String):[],g=m.length;for(var f in e)!t&&!u.call(e,f)||d&&("length"==f||h&&("offset"==f||"parent"==f)||p&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||c(f,g))||m.push(f);return m}},1129: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}},6465: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}},7034:(e,t,s)=>{var n=s(6285);e.exports=function(e,t){for(var s=e.length;s--;)if(n(e[s][0],t))return s;return-1}},8244:(e,t,s)=>{var n=s(1129),r=s(3142);e.exports=function(e,t,s){var i=t(e);return r(e)?i:n(i,s(e))}},7379:(e,t,s)=>{var n=s(5650),r=s(8870),i=s(9005),o=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?r(e):i(e)}},6027:(e,t,s)=>{var n=s(7379),r=s(547);e.exports=function(e){return r(e)&&"[object Arguments]"==n(e)}},4687:(e,t,s)=>{var n=s(353),r=s(547);e.exports=function e(t,s,i,o,c){return t===s||(null==t||null==s||!r(t)&&!r(s)?t!=t&&s!=s:n(t,s,i,o,e,c))}},353:(e,t,s)=>{var n=s(1340),r=s(3934),i=s(8861),o=s(1182),c=s(8486),a=s(3142),u=s(5853),l=s(8666),h="[object Arguments]",p="[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?p:c(e),S=y?p:c(t),w=(_=_==h?d:_)==d,E=(S=S==h?d:S)==d,x=_==S;if(x&&u(e)){if(!u(t))return!1;v=!0,w=!1}if(x&&!w)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=w&&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!!x&&(b||(b=new n),o(e,t,s,g,f,b))}},9624:(e,t,s)=>{var n=s(3655),r=s(4759),i=s(1580),o=s(4066),c=/^\[object .+?Constructor\]$/,a=Function.prototype,u=Object.prototype,l=a.toString,h=u.hasOwnProperty,p=RegExp("^"+l.call(h).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||r(e))&&(n(e)?p:c).test(o(e))}},674:(e,t,s)=>{var n=s(7379),r=s(5387),i=s(547),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&r(e.length)&&!!o[n(e)]}},195:(e,t,s)=>{var n=s(4882),r=s(8121),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return r(e);var t=[];for(var s in Object(e))i.call(e,s)&&"constructor"!=s&&t.push(s);return t}},6137:e=>{e.exports=function(e,t){for(var s=-1,n=Array(e);++s<e;)n[s]=t(s);return n}},9460:e=>{e.exports=function(e){return function(t){return e(t)}}},5568:e=>{e.exports=function(e,t){return e.has(t)}},1950:(e,t,s)=>{var n=s(8942)["__core-js_shared__"];e.exports=n},3934:(e,t,s)=>{var n=s(3212),r=s(6465),i=s(5568);e.exports=function(e,t,s,o,c,a){var u=1&s,l=e.length,h=t.length;if(l!=h&&!(u&&h>l))return!1;var p=a.get(e),d=a.get(t);if(p&&d)return p==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}},8861:(e,t,s)=>{var n=s(5650),r=s(1623),i=s(6285),o=s(3934),c=s(5894),a=s(7447),u=n?n.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,s,n,u,h,p){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||!h(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=p.get(e);if(g)return g==t;n|=2,p.set(e,t);var f=o(d(e),d(t),n,u,h,p);return p.delete(e),f;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},1182:(e,t,s)=>{var n=s(393),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,s,i,o,c){var a=1&s,u=n(e),l=u.length;if(l!=n(t).length&&!a)return!1;for(var h=l;h--;){var p=u[h];if(!(a?p in t:r.call(t,p)))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;++h<l;){var b=e[p=u[h]],v=t[p];if(i)var y=a?i(v,b,p,t,e,c):i(b,v,p,e,t,c);if(!(void 0===y?b===v||o(b,v,s,i,c):y)){g=!1;break}f||(f="constructor"==p)}if(g&&!f){var _=e.constructor,S=t.constructor;_==S||!("constructor"in e)||!("constructor"in t)||"function"==typeof _&&_ instanceof _&&"function"==typeof S&&S instanceof S||(g=!1)}return c.delete(e),c.delete(t),g}},4967:(e,t,s)=>{var n="object"==typeof s.g&&s.g&&s.g.Object===Object&&s.g;e.exports=n},393:(e,t,s)=>{var n=s(8244),r=s(7979),i=s(1211);e.exports=function(e){return n(e,i,r)}},4700:(e,t,s)=>{var n=s(9067);e.exports=function(e,t){var s=e.__data__;return n(t)?s["string"==typeof t?"string":"hash"]:s.map}},4715:(e,t,s)=>{var n=s(9624),r=s(155);e.exports=function(e,t){var s=r(e,t);return n(s)?s:void 0}},8870:(e,t,s)=>{var n=s(5650),r=Object.prototype,i=r.hasOwnProperty,o=r.toString,c=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,c),s=e[c];try{e[c]=void 0;var n=!0}catch(e){}var r=o.call(e);return n&&(t?e[c]=s:delete e[c]),r}},7979:(e,t,s)=>{var n=s(9847),r=s(9306),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,c=o?function(e){return null==e?[]:(e=Object(e),n(o(e),(function(t){return i.call(e,t)})))}:r;e.exports=c},8486:(e,t,s)=>{var n=s(3103),r=s(9770),i=s(9413),o=s(4512),c=s(9270),a=s(7379),u=s(4066),l="[object Map]",h="[object Promise]",p="[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())!=h||o&&_(new o)!=p||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 h;case v:return p;case y:return d}return t}),e.exports=_},155:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},3305:(e,t,s)=>{var n=s(4497);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},9361:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},1112:(e,t,s)=>{var n=s(4497),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var s=t[e];return"__lodash_hash_undefined__"===s?void 0:s}return r.call(t,e)?t[e]:void 0}},5276:(e,t,s)=>{var n=s(4497),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:r.call(t,e)}},5071:(e,t,s)=>{var n=s(4497);e.exports=function(e,t){var s=this.__data__;return this.size+=this.has(e)?0:1,s[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},9632:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,s){var n=typeof e;return!!(s=null==s?9007199254740991:s)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<s}},9067:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},4759:(e,t,s)=>{var n,r=s(1950),i=(n=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!i&&i in e}},4882:e=>{var t=Object.prototype;e.exports=function(e){var s=e&&e.constructor;return e===("function"==typeof s&&s.prototype||t)}},2393:e=>{e.exports=function(){this.__data__=[],this.size=0}},2049:(e,t,s)=>{var n=s(7034),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,s=n(t,e);return!(s<0)&&(s==t.length-1?t.pop():r.call(t,s,1),--this.size,!0)}},7144:(e,t,s)=>{var n=s(7034);e.exports=function(e){var t=this.__data__,s=n(t,e);return s<0?void 0:t[s][1]}},7452:(e,t,s)=>{var n=s(7034);e.exports=function(e){return n(this.__data__,e)>-1}},3964:(e,t,s)=>{var n=s(7034);e.exports=function(e,t){var s=this.__data__,r=n(s,e);return r<0?(++this.size,s.push([e,t])):s[r][1]=t,this}},9753:(e,t,s)=>{var n=s(5098),r=s(1386),i=s(9770);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||r),string:new n}}},5681:(e,t,s)=>{var n=s(4700);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},88:(e,t,s)=>{var n=s(4700);e.exports=function(e){return n(this,e).get(e)}},4732:(e,t,s)=>{var n=s(4700);e.exports=function(e){return n(this,e).has(e)}},9068:(e,t,s)=>{var n=s(4700);e.exports=function(e,t){var s=n(this,e),r=s.size;return s.set(e,t),this.size+=s.size==r?0:1,this}},5894:e=>{e.exports=function(e){var t=-1,s=Array(e.size);return e.forEach((function(e,n){s[++t]=[n,e]})),s}},4497:(e,t,s)=>{var n=s(4715)(Object,"create");e.exports=n},8121:(e,t,s)=>{var n=s(3766)(Object.keys,Object);e.exports=n},2306:(e,t,s)=>{e=s.nmd(e);var n=s(4967),r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,o=i&&i.exports===r&&n.process,c=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=c},9005:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},3766:e=>{e.exports=function(e,t){return function(s){return e(t(s))}}},8942:(e,t,s)=>{var n=s(4967),r="object"==typeof self&&self&&self.Object===Object&&self,i=n||r||Function("return this")();e.exports=i},1877:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},8006:e=>{e.exports=function(e){return this.__data__.has(e)}},7447:e=>{e.exports=function(e){var t=-1,s=Array(e.size);return e.forEach((function(e){s[++t]=e})),s}},4103:(e,t,s)=>{var n=s(1386);e.exports=function(){this.__data__=new n,this.size=0}},1779:e=>{e.exports=function(e){var t=this.__data__,s=t.delete(e);return this.size=t.size,s}},4162:e=>{e.exports=function(e){return this.__data__.get(e)}},7462:e=>{e.exports=function(e){return this.__data__.has(e)}},6638:(e,t,s)=>{var n=s(1386),r=s(9770),i=s(8250);e.exports=function(e,t){var s=this.__data__;if(s instanceof n){var o=s.__data__;if(!r||o.length<199)return o.push([e,t]),this.size=++s.size,this;s=this.__data__=new i(o)}return s.set(e,t),this.size=s.size,this}},4066:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},6285:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},3283:(e,t,s)=>{var n=s(6027),r=s(547),i=Object.prototype,o=i.hasOwnProperty,c=i.propertyIsEnumerable,a=n(function(){return arguments}())?n:function(e){return r(e)&&o.call(e,"callee")&&!c.call(e,"callee")};e.exports=a},3142:e=>{var t=Array.isArray;e.exports=t},6529:(e,t,s)=>{var n=s(3655),r=s(5387);e.exports=function(e){return null!=e&&r(e.length)&&!n(e)}},2563:(e,t,s)=>{var n=s(7379),r=s(547);e.exports=function(e){return!0===e||!1===e||r(e)&&"[object Boolean]"==n(e)}},5853:(e,t,s)=>{e=s.nmd(e);var n=s(8942),r=s(4772),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,c=o&&o.exports===i?n.Buffer:void 0,a=(c?c.isBuffer:void 0)||r;e.exports=a},6343:(e,t,s)=>{var n=s(4687);e.exports=function(e,t){return n(e,t)}},3655:(e,t,s)=>{var n=s(7379),r=s(1580);e.exports=function(e){if(!r(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},5387:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},9310:e=>{e.exports=function(e){return null===e}},986:(e,t,s)=>{var n=s(7379),r=s(547);e.exports=function(e){return"number"==typeof e||r(e)&&"[object Number]"==n(e)}},1580:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},547:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},8138:(e,t,s)=>{var n=s(7379),r=s(3142),i=s(547);e.exports=function(e){return"string"==typeof e||!r(e)&&i(e)&&"[object String]"==n(e)}},8666:(e,t,s)=>{var n=s(674),r=s(9460),i=s(2306),o=i&&i.isTypedArray,c=o?r(o):n;e.exports=c},1211:(e,t,s)=>{var n=s(358),r=s(195),i=s(6529);e.exports=function(e){return i(e)?n(e):r(e)}},1517:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},9306:e=>{e.exports=function(){return[]}},4772:e=>{e.exports=function(){return!1}},4123:(e,t,s)=>{const n=s(1517);function r(e){return"string"==typeof e?t=>t.element===e:e.constructor&&e.extend?t=>t instanceof e:e}class i{constructor(e){this.elements=e||[]}toValue(){return this.elements.map((e=>e.toValue()))}map(e,t){return this.elements.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const s=[];return this.forEach((n=>{const r=e.bind(t)(n);r&&s.push(r)})),s}filter(e,t){return e=r(e),new i(this.elements.filter(e,t))}reject(e,t){return e=r(e),new i(this.elements.filter(n(e),t))}find(e,t){return e=r(e),this.elements.find(e,t)}forEach(e,t){this.elements.forEach(e,t)}reduce(e,t){return this.elements.reduce(e,t)}includes(e){return this.elements.some((t=>t.equals(e)))}shift(){return this.elements.shift()}unshift(e){this.elements.unshift(this.refract(e))}push(e){return this.elements.push(this.refract(e)),this}add(e){this.push(e)}get(e){return this.elements[e]}getValue(e){const t=this.elements[e];if(t)return t.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(i.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),e.exports=i},2322:e=>{class t{constructor(e,t){this.key=e,this.value=t}clone(){const e=new t;return this.key&&(e.key=this.key.clone()),this.value&&(e.value=this.value.clone()),e}}e.exports=t},5735:(e,t,s)=>{const n=s(9310),r=s(8138),i=s(986),o=s(2563),c=s(1580),a=s(394),u=s(7547);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},3311:(e,t,s)=>{const n=s(1517),r=s(4123);class i extends r{map(e,t){return this.elements.map((s=>e.bind(t)(s.value,s.key,s)))}filter(e,t){return new i(this.elements.filter((s=>e.bind(t)(s.value,s.key,s))))}reject(e,t){return this.filter(n(e.bind(t)))}forEach(e,t){return this.elements.forEach(((s,n)=>{e.bind(t)(s.value,s.key,s,n)}))}keys(){return this.map(((e,t)=>t.toValue()))}values(){return this.map((e=>e.toValue()))}}e.exports=i},7547:(e,t,s)=>{const n=s(8631),r=s(3004),i=s(8712),o=s(2536),c=s(2555),a=s(9796),u=s(7309),l=s(5642),h=s(9620),p=s(593),d=s(4123),m=s(3311),g=s(2322);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=p,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:h,RefElement:p,refract:f,ArraySlice:d,ObjectSlice:m,KeyValuePair:g}},9620:(e,t,s)=>{const n=s(8631);e.exports=class extends n{constructor(e,t,s){super(e||[],t,s),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(e){this.attributes.set("relation",e)}get href(){return this.attributes.get("href")}set href(e){this.attributes.set("href",e)}}},593:(e,t,s)=>{const n=s(8631);e.exports=class extends n{constructor(e,t,s){super(e||[],t,s),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(e){this.attributes.set("path",e)}}},8326:(e,t,s)=>{const n=s(5735),r=s(7547);t.g$=n,t.KeyValuePair=s(2322),t.G6=r.ArraySlice,t.ot=r.ObjectSlice,t.Hg=r.Element,t.Om=r.StringElement,t.kT=r.NumberElement,t.bd=r.BooleanElement,t.Os=r.NullElement,t.wE=r.ArrayElement,t.Sh=r.ObjectElement,t.Pr=r.MemberElement,t.sI=r.RefElement,t.Ft=r.LinkElement,t.e=r.refract,s(394),s(3148)},9796:(e,t,s)=>{const n=s(1517),r=s(8631),i=s(4123);class o extends r{constructor(e,t,s){super(e||[],t,s),this.element="array"}primitive(){return"array"}get(e){return this.content[e]}getValue(e){const t=this.get(e);if(t)return t.toValue()}getIndex(e){return this.content[e]}set(e,t){return this.content[e]=this.refract(t),this}remove(e){const t=this.content.splice(e,1);return t.length?t[0]:null}map(e,t){return this.content.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const s=[];return this.forEach((n=>{const r=e.bind(t)(n);r&&s.push(r)})),s}filter(e,t){return new i(this.content.filter(e,t))}reject(e,t){return this.filter(n(e),t)}reduce(e,t){let s,n;void 0!==t?(s=0,n=this.refract(t)):(s=1,n="object"===this.primitive()?this.first.value:this.first);for(let t=s;t<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},2555:(e,t,s)=>{const n=s(8631);e.exports=class extends n{constructor(e,t,s){super(e,t,s),this.element="boolean"}primitive(){return"boolean"}}},8631:(e,t,s)=>{const n=s(6343),r=s(2322),i=s(4123);class o{constructor(e,t,s){t&&(this.meta=t),s&&(this.attributes=s),this.content=e}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach((e=>{e.parent=this,e.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const e=new this.constructor;return e.element=this.element,this.meta.length&&(e._meta=this.meta.clone()),this.attributes.length&&(e._attributes=this.attributes.clone()),this.content?this.content.clone?e.content=this.content.clone():Array.isArray(this.content)?e.content=this.content.map((e=>e.clone())):e.content=this.content:e.content=this.content,e}toValue(){return this.content instanceof o?this.content.toValue():this.content instanceof r?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((e=>e.toValue()),this):this.content}toRef(e){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const t=new this.RefElement(this.id.toValue());return e&&(t.path=e),t}findRecursive(...e){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const t=e.pop();let s=new i;const n=(e,t)=>(e.push(t),e),o=(e,s)=>{s.element===t&&e.push(s);const i=s.findRecursive(t);return i&&i.reduce(n,e),s.content instanceof r&&(s.content.key&&o(e,s.content.key),s.content.value&&o(e,s.content.value)),e};return this.content&&(this.content.element&&o(s,this.content),Array.isArray(this.content)&&this.content.reduce(o,s)),e.isEmpty||(s=s.filter((t=>{let s=t.parents.map((e=>e.element));for(const t in e){const n=e[t],r=s.indexOf(n);if(-1===r)return!1;s=s.splice(0,r)}return!0}))),s}set(e){return this.content=e,this}equals(e){return n(this.toValue(),e)}getMetaProperty(e,t){if(!this.meta.hasKey(e)){if(this.isFrozen){const e=this.refract(t);return e.freeze(),e}this.meta.set(e,t)}return this.meta.get(e)}setMetaProperty(e,t){this.meta.set(e,t)}get element(){return this._storedElement||"element"}set element(e){this._storedElement=e}get content(){return this._content}set content(e){if(e instanceof o)this._content=e;else if(e instanceof i)this.content=e.elements;else if("string"==typeof e||"number"==typeof e||"boolean"==typeof e||"null"===e||null==e)this._content=e;else if(e instanceof r)this._content=e;else if(Array.isArray(e))this._content=e.map(this.refract);else{if("object"!=typeof e)throw new Error("Cannot set content to given value");this._content=Object.keys(e).map((t=>new this.MemberElement(t,e[t])))}}get meta(){if(!this._meta){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._meta=new this.ObjectElement}return this._meta}set meta(e){e instanceof this.ObjectElement?this._meta=e:this.meta.set(e||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._attributes=new this.ObjectElement}return this._attributes}set attributes(e){e instanceof this.ObjectElement?this._attributes=e:this.attributes.set(e||{})}get id(){return this.getMetaProperty("id","")}set id(e){this.setMetaProperty("id",e)}get classes(){return this.getMetaProperty("classes",[])}set classes(e){this.setMetaProperty("classes",e)}get title(){return this.getMetaProperty("title","")}set title(e){this.setMetaProperty("title",e)}get description(){return this.getMetaProperty("description","")}set description(e){this.setMetaProperty("description",e)}get links(){return this.getMetaProperty("links",[])}set links(e){this.setMetaProperty("links",e)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:e}=this;const t=new i;for(;e;)t.push(e),e=e.parent;return t}get children(){if(Array.isArray(this.content))return new i(this.content);if(this.content instanceof r){const e=new i([this.content.key]);return this.content.value&&e.push(this.content.value),e}return this.content instanceof o?new i([this.content]):new i}get recursiveChildren(){const e=new i;return this.children.forEach((t=>{e.push(t),t.recursiveChildren.forEach((t=>{e.push(t)}))})),e}}e.exports=o},7309:(e,t,s)=>{const n=s(2322),r=s(8631);e.exports=class extends r{constructor(e,t,s,r){super(new n,s,r),this.element="member",this.key=e,this.value=t}get key(){return this.content.key}set key(e){this.content.key=this.refract(e)}get value(){return this.content.value}set value(e){this.content.value=this.refract(e)}}},3004:(e,t,s)=>{const n=s(8631);e.exports=class extends n{constructor(e,t,s){super(e||null,t,s),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},2536:(e,t,s)=>{const n=s(8631);e.exports=class extends n{constructor(e,t,s){super(e,t,s),this.element="number"}primitive(){return"number"}}},5642:(e,t,s)=>{const n=s(1517),r=s(1580),i=s(9796),o=s(7309),c=s(3311);e.exports=class extends i{constructor(e,t,s){super(e||[],t,s),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((e,t)=>(e[t.key.toValue()]=t.value?t.value.toValue():void 0,e)),{})}get(e){const t=this.getMember(e);if(t)return t.value}getMember(e){if(void 0!==e)return this.content.find((t=>t.key.toValue()===e))}remove(e){let t=null;return this.content=this.content.filter((s=>s.key.toValue()!==e||(t=s,!1))),t}getKey(e){const t=this.getMember(e);if(t)return t.key}set(e,t){if(r(e))return Object.keys(e).forEach((t=>{this.set(t,e[t])})),this;const s=e,n=this.getMember(s);return n?n.value=t:this.content.push(new o(s,t)),this}keys(){return this.content.map((e=>e.key.toValue()))}values(){return this.content.map((e=>e.value.toValue()))}hasKey(e){return this.content.some((t=>t.key.equals(e)))}items(){return this.content.map((e=>[e.key.toValue(),e.value.toValue()]))}map(e,t){return this.content.map((s=>e.bind(t)(s.value,s.key,s)))}compactMap(e,t){const s=[];return this.forEach(((n,r,i)=>{const o=e.bind(t)(n,r,i);o&&s.push(o)})),s}filter(e,t){return new c(this.content).filter(e,t)}reject(e,t){return this.filter(n(e),t)}forEach(e,t){return this.content.forEach((s=>e.bind(t)(s.value,s.key,s)))}}},8712:(e,t,s)=>{const n=s(8631);e.exports=class extends n{constructor(e,t,s){super(e,t,s),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},3148:(e,t,s)=>{const n=s(394);e.exports=class extends n{serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);let t;e._attributes&&e.attributes.get("variable")&&(t=e.attributes.get("variable"));const s={element:e.element};e._meta&&e._meta.length>0&&(s.meta=this.serialiseObject(e.meta));const n="enum"===e.element||-1!==e.attributes.keys().indexOf("enumerations");if(n){const t=this.enumSerialiseAttributes(e);t&&(s.attributes=t)}else if(e._attributes&&e._attributes.length>0){let{attributes:n}=e;n.get("metadata")&&(n=n.clone(),n.set("meta",n.get("metadata")),n.remove("metadata")),"member"===e.element&&t&&(n=n.clone(),n.remove("variable")),n.length>0&&(s.attributes=this.serialiseObject(n))}if(n)s.content=this.enumSerialiseContent(e,s);else if(this[`${e.element}SerialiseContent`])s.content=this[`${e.element}SerialiseContent`](e,s);else if(void 0!==e.content){let n;t&&e.content.key?(n=e.content.clone(),n.key.attributes.set("variable",t),n=this.serialiseContent(n)):n=this.serialiseContent(e.content),this.shouldSerialiseContent(e,n)&&(s.content=n)}else this.shouldSerialiseContent(e,e.content)&&e instanceof this.namespace.elements.Array&&(s.content=[]);return s}shouldSerialiseContent(e,t){return"parseResult"===e.element||"httpRequest"===e.element||"httpResponse"===e.element||"category"===e.element||"link"===e.element||void 0!==t&&(!Array.isArray(t)||0!==t.length)}refSerialiseContent(e,t){return delete t.attributes,{href:e.toValue(),path:e.path.toValue()}}sourceMapSerialiseContent(e){return e.toValue()}dataStructureSerialiseContent(e){return[this.serialiseContent(e.content)]}enumSerialiseAttributes(e){const t=e.attributes.clone(),s=t.remove("enumerations")||new this.namespace.elements.Array([]),n=t.get("default");let r=t.get("samples")||new this.namespace.elements.Array([]);if(n&&n.content&&(n.content.attributes&&n.content.attributes.remove("typeAttributes"),t.set("default",new this.namespace.elements.Array([n.content]))),r.forEach((e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")})),e.content&&0!==s.length&&r.unshift(e.content),r=r.map((e=>e instanceof this.namespace.elements.Array?[e]:new this.namespace.elements.Array([e.content]))),r.length&&t.set("samples",r),t.length>0)return this.serialiseObject(t)}enumSerialiseContent(e){if(e._attributes){const t=e.attributes.get("enumerations");if(t&&t.length>0)return t.content.map((e=>{const t=e.clone();return t.attributes.remove("typeAttributes"),this.serialise(t)}))}if(e.content){const t=e.content.clone();return t.attributes.remove("typeAttributes"),[this.serialise(t)]}return[]}deserialise(e){if("string"==typeof e)return new this.namespace.elements.String(e);if("number"==typeof e)return new this.namespace.elements.Number(e);if("boolean"==typeof e)return new this.namespace.elements.Boolean(e);if(null===e)return new this.namespace.elements.Null;if(Array.isArray(e))return new this.namespace.elements.Array(e.map(this.deserialise,this));const t=this.namespace.getElementClass(e.element),s=new t;s.element!==e.element&&(s.element=e.element),e.meta&&this.deserialiseObject(e.meta,s.meta),e.attributes&&this.deserialiseObject(e.attributes,s.attributes);const n=this.deserialiseContent(e.content);if(void 0===n&&null!==s.content||(s.content=n),"enum"===s.element){s.content&&s.attributes.set("enumerations",s.content);let e=s.attributes.get("samples");if(s.attributes.remove("samples"),e){const n=e;e=new this.namespace.elements.Array,n.forEach((n=>{n.forEach((n=>{const r=new t(n);r.element=s.element,e.push(r)}))}));const r=e.shift();s.content=r?r.content:void 0,s.attributes.set("samples",e)}else s.content=void 0;let n=s.attributes.get("default");if(n&&n.length>0){n=n.get(0);const e=new t(n);e.element=s.element,s.attributes.set("default",e)}}else if("dataStructure"===s.element&&Array.isArray(s.content))[s.content]=s.content;else if("category"===s.element){const e=s.attributes.get("meta");e&&(s.attributes.set("metadata",e),s.attributes.remove("meta"))}else"member"===s.element&&s.key&&s.key._attributes&&s.key._attributes.getValue("variable")&&(s.attributes.set("variable",s.key.attributes.get("variable")),s.key.attributes.remove("variable"));return s}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}return e&&e.map?e.map(this.serialise,this):e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}shouldRefract(e){return!!(e._attributes&&e.attributes.keys().length||e._meta&&e.meta.keys().length)||"enum"!==e.element&&(e.element!==e.primitive()||"member"===e.element)}convertKeyToRefract(e,t){return this.shouldRefract(t)?this.serialise(t):"enum"===t.element?this.serialiseEnum(t):"array"===t.element?t.map((t=>this.shouldRefract(t)||"default"===e?this.serialise(t):"array"===t.element||"object"===t.element||"enum"===t.element?t.children.map((e=>this.serialise(e))):t.toValue())):"object"===t.element?(t.content||[]).map(this.serialise,this):t.toValue()}serialiseEnum(e){return e.children.map((e=>this.serialise(e)))}serialiseObject(e){const t={};return e.forEach(((e,s)=>{if(e){const n=s.toValue();t[n]=this.convertKeyToRefract(n,e)}})),t}deserialiseObject(e,t){Object.keys(e).forEach((s=>{t.set(s,this.deserialise(e[s]))}))}}},394:e=>{e.exports=class{constructor(e){this.namespace=e||new this.Namespace}serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);const t={element:e.element};e._meta&&e._meta.length>0&&(t.meta=this.serialiseObject(e.meta)),e._attributes&&e._attributes.length>0&&(t.attributes=this.serialiseObject(e.attributes));const s=this.serialiseContent(e.content);return void 0!==s&&(t.content=s),t}deserialise(e){if(!e.element)throw new Error("Given value is not an object containing an element name");const t=new(this.namespace.getElementClass(e.element));t.element!==e.element&&(t.element=e.element),e.meta&&this.deserialiseObject(e.meta,t.meta),e.attributes&&this.deserialiseObject(e.attributes,t.attributes);const s=this.deserialiseContent(e.content);return void 0===s&&null!==t.content||(t.content=s),t}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}if(e&&e.map){if(0===e.length)return;return e.map(this.serialise,this)}return e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}serialiseObject(e){const t={};if(e.forEach(((e,s)=>{e&&(t[s.toValue()]=this.serialise(e))})),0!==Object.keys(t).length)return t}deserialiseObject(e,t){Object.keys(e).forEach((s=>{t.set(s,this.deserialise(e[s]))}))}}},8357:e=>{!function(){"use strict";var t,s,n,r,i,o="properties",c="deepProperties",a="propertyDescriptors",u="staticProperties",l="staticDeepProperties",h="staticPropertyDescriptors",p="configuration",d="deepConfiguration",m="deepProps",g="deepStatics",f="deepConf",b="initializers",v="methods",y="composers",_="compose";function S(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[])}function w(e,t){return Array.prototype.slice.call(arguments,2).reduce(e,t)}var E=w.bind(0,(function(e,t){if(t)for(var s=S(t),n=0;n<s.length;n+=1)Object.defineProperty(e,s[n],Object.getOwnPropertyDescriptor(t,s[n]));return e}));function x(e){return"function"==typeof e}function j(e){return e&&"object"==typeof e||x(e)}function O(e){return e&&"object"==typeof e&&e.__proto__==Object.prototype}var B=w.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=S(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 x(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(h),n(p),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],h=Array.prototype.slice.apply(arguments),p=i[c];if(p&&B(u,p),(p=i[o])&&E(u,p),(p=i[a])&&Object.defineProperties(u,p),!l||!l.length)return u;for(s===t&&(s={}),i=0;i<l.length;)x(n=l[i++])&&(u=(r=n.call(u,s,{instance:u,stamp:e,args:h}))===t?u:r);return u},(n=e[l])&&B(s,n),(n=e[u])&&E(s,n),(n=e[h])&&Object.defineProperties(s,n),n=x(s[_])?s[_]:M,E(s[_]=function(){return n.apply(this,arguments)},e),s}(Array.prototype.concat.apply([this],arguments).reduce($,{}))}function A(e){return x(e)&&x(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[p]=q.conf=k(p,E),q[d]=q[f]=k(d,B),q[a]=k(a,E),q[h]=k(h,E),n=q[_]=E((function(){for(var e,S,w=0,x=[],O=arguments,$=this;w<O.length;)j(e=O[w++])&&x.push(A(e)?e:((r={})[v]=(S=e)[v]||t,n=S.props,r[o]=j((s=S[o])||n)?E({},n,s):t,r[b]=P(S.init,S[b]),r[y]=P(S[y]),n=S[m],r[c]=j((s=S[c])||n)?B({},n,s):t,r[a]=S[a],n=S.statics,r[u]=j((s=S[u])||n)?E({},n,s):t,n=S[g],r[l]=j((s=S[l])||n)?B({},n,s):t,s=S[h],r[h]=j((n=S.name&&{name:{value:S.name}})||s)?E({},s,n):t,n=S.conf,r[p]=j((s=S[p])||n)?E({},n,s):t,n=S[f],r[d]=j((s=S[d])||n)?B({},n,s):t,r));if(e=M.apply($||i,x),$&&x.unshift($),Array.isArray(O=e[_][y]))for(w=0;w<O.length;)e=A($=O[w++]({stamp:e,composables:x}))?$: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}()},3833:(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,h,p=[],d="./this.program",m=function(e,t){throw t};l="object"==typeof window,h="function"==typeof importScripts,a="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,u=!l&&!a&&!h;var g,f,b,v,y,_="";a?(_=h?s(4142).dirname(_)+"/":"//",g=function(e,t){return v||(v=s(3078)),y||(y=s(4142)),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,"/")),p=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?p=scriptArgs:void 0!==arguments&&(p=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||h)&&(h?_=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},h&&(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 S=n.printErr||console.warn.bind(console);for(o in c)c.hasOwnProperty(o)&&(n[o]=c[o]);c=null,n.arguments&&(p=n.arguments),n.thisProgram&&(d=n.thisProgram),n.quit&&(m=n.quit);var w,E=16,x=[];function j(e,t){if(!w){w=new WeakMap;for(var s=0;s<Z.length;s++){var n=Z.get(s);n&&w.set(n,s)}}if(w.has(e))return w.get(e);var r=function(){if(x.length)return x.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 w.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,D="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function L(e,t,s){for(var n=t+s,r=t;e[r]&&!(r>=n);)++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 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 J(e,t){return e?L(N,e,t):""}function U(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 z(e,t,s){return U(e,N,t,s)}function W(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=W(e)+1,s=Je(t);return U(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"}),X=[],Q=[],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),S(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 he(e){return e.startsWith("data:application/octet-stream;base64,")}function pe(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)}}he(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=L(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 Se(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 we={nextHandle:1,loadedLibs:{},loadedLibNames:{}};var Ee=5250880;function xe(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(!xe(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:S("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=De();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(Le(e),t!==t+0&&"longjmp"!==t)throw t;Ue(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}}),h={"GOT.mem":new Proxy({},ge),"GOT.func":new Proxy({},ge),env:l,wasi_snapshot_preview1:l};function p(e){for(var n=0;n<s.tableSize;n++){var r=Z.get(a+n);r&&w.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():Q.push(i)),o}if(t.loadAsync){if(e instanceof WebAssembly.Module){var d=new WebAssembly.Instance(e,h);return Promise.resolve(p(d))}return WebAssembly.instantiate(e,h).then((function(e){return p(e.instance)}))}var m=e instanceof WebAssembly.Module?e:new WebAssembly.Module(e);return p(d=new WebAssembly.Instance(m,h))}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||we.loadedLibNames[e]||(we.loadedLibs[-1]={refcount:1/0,name:"__main__",module:n.asm,global:!0},we.loadedLibNames.__main__=-1),t=t||{global:!0,nodelete:!0};var s,r=we.loadedLibNames[e];if(r)return s=we.loadedLibs[r],t.global&&!s.global&&(s.global=!0,"loading"!==s.module&&Se(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&&Se(e),s.module=e}return r=we.nextHandle++,s={refcount:t.nodelete?1/0:1,name:e,module:"loading",global:t.global},we.loadedLibNames[e]=r,we.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=J(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)),Se(s),r=n.asm.__wasm_call_ctors,Q.unshift(r),oe()}function s(e){t(e.instance,e.module)}function r(t){return function(){if(!O&&(l||h)){if("function"==typeof fetch&&!pe(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){S("failed to asynchronously prepare wasm: "+e),ce(e)}))}if(ie(),n.instantiateWasm)try{return n.instantiateWasm(e,t)}catch(e){return S("Module.instantiateWasm callback failed with error: "+e),!1}O||"function"!=typeof WebAssembly.instantiateStreaming||he(ae)||pe(ae)||"function"!=typeof fetch?r(s):fetch(ae,{credentials:"same-origin"}).then((function(t){return WebAssembly.instantiateStreaming(t,e).then(s,(function(e){return S("wasm streaming compile failed: "+e),S("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)}),De=(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(De=n.stackSave=n.asm.stackSave).apply(null,arguments)}),Le=n.stackRestore=function(){return(Le=n.stackRestore=n.asm.stackRestore).apply(null,arguments)},Je=n.stackAlloc=function(){return(Je=n.stackAlloc=n.asm.stackAlloc).apply(null,arguments)},Ue=n._setThrew=function(){return(Ue=n._setThrew=n.asm.setThrew).apply(null,arguments)};function ze(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?Je(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 We=!1;function Ge(e){function t(){Te||(Te=!0,n.calledRun=!0,q||(te=!0,fe(Q),fe(Y),n.onRuntimeInitialized&&n.onRuntimeInitialized(),Ke&&function(e){var t=n._main;if(t){var s=(e=e||[]).length+1,r=Je(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 ze)return;if("unwind"==e)return;var o=e;e&&"object"==typeof e&&e.stack&&(o=[e,e.stack]),S("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||p,se>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,se>0)||(function(){if(n.preRun)for("function"==typeof n.preRun&&(n.preRun=[n.preRun]);n.preRun.length;)e=n.preRun.shift(),X.unshift(e);var e;fe(X)}(),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 ze(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,Xe={},Qe=4,Ye=5*Qe,et=2*Qe,tt=2*Qe+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+Qe,"i32")}initialize(){Ze._ts_parser_new_wasm(),this[0]=A(ct,"i32"),this[1]=A(ct+Qe,"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 ht(Xe,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 ht{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 ht(Xe,e,this.language,this.textCallback)}delete(){Ze._ts_tree_delete(this[0]),this[0]=0}edit(e){!function(e){let t=ct;xt(t,e.startPosition),xt(t+=et,e.oldEndPosition),xt(t+=et,e.newEndPosition),M(t+=et,e.startIndex,"i32"),M(t+=Qe,e.oldEndIndex,"i32"),M(t+=Qe,e.newEndIndex,"i32"),t+=Qe}(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!==ht)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+Qe,"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 pt{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),St(this.tree)}namedChild(e){return _t(this),Ze._ts_node_named_child_wasm(this.tree[0],e),St(this.tree)}childForFieldId(e){return _t(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 _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+Qe,"i32");if(this._children=new Array(e),e>0){let s=t;for(let t=0;t<e;t++)this._children[t]=St(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+Qe,"i32");if(this._namedChildren=new Array(e),e>0){let s=t;for(let t=0;t<e;t++)this._namedChildren[t]=St(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(Qe*n.length);for(let e=0,t=n.length;e<t;e++)M(i+e*Qe,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+Qe,"i32"),a=new Array(o);if(o>0){let e=c;for(let t=0;t<o;t++)a[t]=St(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]),St(this.tree)}get previousSibling(){return _t(this),Ze._ts_node_prev_sibling_wasm(this.tree[0]),St(this.tree)}get nextNamedSibling(){return _t(this),Ze._ts_node_next_named_sibling_wasm(this.tree[0]),St(this.tree)}get previousNamedSibling(){return _t(this),Ze._ts_node_prev_named_sibling_wasm(this.tree[0]),St(this.tree)}get parent(){return _t(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");_t(this);let s=ct+Ye;return M(s,e,"i32"),M(s+Qe,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");_t(this);let s=ct+Ye;return M(s,e,"i32"),M(s+Qe,t,"i32"),Ze._ts_node_named_descendant_for_index_wasm(this.tree[0]),St(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 xt(s,e),xt(s+et,t),Ze._ts_node_descendant_for_position_wasm(this.tree[0]),St(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 xt(s,e),xt(s+et,t),Ze._ts_node_named_descendant_for_position_wasm(this.tree[0]),St(this.tree)}walk(){return _t(this),Ze._ts_tree_cursor_new_wasm(this.tree[0]),new dt(Xe,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(){wt(this),Ze._ts_tree_cursor_delete_wasm(this.tree[0]),this[0]=this[1]=this[2]=0}reset(e){_t(e),wt(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 wt(this),Ze._ts_tree_cursor_current_node_type_id_wasm(this.tree[0])}get nodeId(){return wt(this),Ze._ts_tree_cursor_current_node_id_wasm(this.tree[0])}get nodeIsNamed(){return wt(this),1===Ze._ts_tree_cursor_current_node_is_named_wasm(this.tree[0])}get nodeIsMissing(){return wt(this),1===Ze._ts_tree_cursor_current_node_is_missing_wasm(this.tree[0])}get nodeText(){wt(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 wt(this),Ze._ts_tree_cursor_start_position_wasm(this.tree[0]),jt(ct)}get endPosition(){return wt(this),Ze._ts_tree_cursor_end_position_wasm(this.tree[0]),jt(ct)}get startIndex(){return wt(this),Ze._ts_tree_cursor_start_index_wasm(this.tree[0])}get endIndex(){return wt(this),Ze._ts_tree_cursor_end_index_wasm(this.tree[0])}currentNode(){return wt(this),Ze._ts_tree_cursor_current_node_wasm(this.tree[0]),St(this.tree)}currentFieldId(){return wt(this),Ze._ts_tree_cursor_current_field_id_wasm(this.tree[0])}currentFieldName(){return this.tree.language.fields[this.currentFieldId()]}gotoFirstChild(){wt(this);const e=Ze._ts_tree_cursor_goto_first_child_wasm(this.tree[0]);return Et(this),1===e}gotoNextSibling(){wt(this);const e=Ze._ts_tree_cursor_goto_next_sibling_wasm(this.tree[0]);return Et(this),1===e}gotoParent(){wt(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]=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 s=W(e),n=Ze._malloc(s+1);z(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?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),s=Ze._malloc(t+1);z(e,s,t+1);const n=Ze._ts_query_new(this[0],s,t,ct,ct+Qe);if(!n){const t=A(ct+Qe,"i32"),n=J(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]=J(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]=J(t,s)}const u=new Array(o),l=new Array(o),h=new Array(o),p=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");p[e]=[],d[e]=[];const r=[];let i=t;for(let t=0;t<s;t++){const t=A(i,"i32"),s=A(i+=Qe,"i32");if(i+=Qe,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:h;o[e]||(o[e]={}),o[e][r[1].value]=r[2]?r[2].value:null;break;default:p[e].push({operator:t,operands:r.slice(1)})}r.length=0}}Object.freeze(u[e]),Object.freeze(l[e]),Object.freeze(h[e])}return Ze._free(s),new gt(Xe,n,c,d,p,Object.freeze(u),Object.freeze(l),Object.freeze(h))}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(3078);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(Xe,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+Qe,"i32"),c=A(ct+2*Qe,"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+=Qe,"i32");l+=Qe;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+Qe,"i32"),c=A(ct+2*Qe,"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+=Qe,"i32"),n=A(l+=Qe,"i32");if(l+=Qe,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=St(t,s+=Qe);s+=Ye,n[r]={name:e.captureNames[i],node:o}}return s}function vt(e){if(e!==Xe)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+=Qe,e.startIndex,"i32"),M(t+=Qe,e.startPosition.row,"i32"),M(t+=Qe,e.startPosition.column,"i32"),M(t+=Qe,e[0],"i32")}function St(e,t=ct){const s=A(t,"i32");if(0===s)return null;const n=A(t+=Qe,"i32"),r=A(t+=Qe,"i32"),i=A(t+=Qe,"i32"),o=A(t+=Qe,"i32"),c=new pt(Xe,e);return c.id=s,c.startIndex=n,c.startPosition={row:r,column:i},c[0]=o,c}function wt(e,t=ct){M(t+0*Qe,e[0],"i32"),M(t+1*Qe,e[1],"i32"),M(t+2*Qe,e[2],"i32")}function Et(e){e[0]=A(ct+0*Qe,"i32"),e[1]=A(ct+1*Qe,"i32"),e[2]=A(ct+2*Qe,"i32")}function xt(e,t){M(e,t.row,"i32"),M(e+Qe,t.column,"i32")}function jt(e){return{row:A(e,"i32"),column:A(e+Qe,"i32")}}function Ot(e,t){xt(e,t.startPosition),xt(e+=et,t.endPosition),M(e+=et,t.startIndex,"i32"),M(e+=Qe,t.endIndex,"i32"),e+=Qe}function Bt(e){const t={};return t.startPosition=jt(e),e+=et,t.endPosition=jt(e),e+=et,t.startIndex=A(e,"i32"),e+=Qe,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},3078:()=>{},4142:()=>{},1212:(e,t,s)=>{e.exports=s(8411)},7202:(e,t,s)=>{"use strict";var n=s(239);e.exports=n},6656:(e,t,s)=>{"use strict";s(484),s(5695),s(6138),s(9828),s(3832);var n=s(8099);e.exports=n.AggregateError},8411:(e,t,s)=>{"use strict";e.exports=s(8337)},8337:(e,t,s)=>{"use strict";s(5442);var n=s(7202);e.exports=n},814:(e,t,s)=>{"use strict";var n=s(2769),r=s(459),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(r(e)+" is not a function")}},1966:(e,t,s)=>{"use strict";var n=s(2937),r=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i("Can't set "+r(e)+" as a prototype")}},8137:e=>{"use strict";e.exports=function(){}},7235:(e,t,s)=>{"use strict";var n=s(262),r=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(r(e)+" is not an object")}},1005:(e,t,s)=>{"use strict";var n=s(3273),r=s(4574),i=s(8130),o=function(e){return function(t,s,o){var c,a=n(t),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)}},9932:(e,t,s)=>{"use strict";var n=s(6100),r=n({}.toString),i=n("".slice);e.exports=function(e){return i(r(e),8,-1)}},8407:(e,t,s)=>{"use strict";var n=s(4904),r=s(2769),i=s(9932),o=s(8655)("toStringTag"),c=Object,a="Arguments"===i(function(){return arguments}());e.exports=n?i:function(e){var t,s,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(s=function(e,t){try{return e[t]}catch(e){}}(t=c(e),o))?s:a?i(t):"Object"===(n=i(t))&&r(t.callee)?"Arguments":n}},7464:(e,t,s)=>{"use strict";var n=s(701),r=s(5691),i=s(4543),o=s(9989);e.exports=function(e,t,s){for(var c=r(t),a=o.f,u=i.f,l=0;l<c.length;l++){var h=c[l];n(e,h)||s&&n(s,h)||a(e,h,u(t,h))}}},2871:(e,t,s)=>{"use strict";var n=s(1203);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},877:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},3999:(e,t,s)=>{"use strict";var n=s(5024),r=s(9989),i=s(480);e.exports=n?function(e,t,s){return r.f(e,t,i(1,s))}:function(e,t,s){return e[t]=s,e}},480:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},3508:(e,t,s)=>{"use strict";var n=s(3999);e.exports=function(e,t,s,r){return r&&r.enumerable?e[t]=s:n(e,t,s),e}},7525:(e,t,s)=>{"use strict";var n=s(1063),r=Object.defineProperty;e.exports=function(e,t){try{r(n,e,{value:t,configurable:!0,writable:!0})}catch(s){n[e]=t}return t}},5024:(e,t,s)=>{"use strict";var n=s(1203);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},9619:(e,t,s)=>{"use strict";var n=s(1063),r=s(262),i=n.document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},1100:e=>{"use strict";e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},7868:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},4432:(e,t,s)=>{"use strict";var n,r,i=s(1063),o=s(7868),c=i.process,a=i.Deno,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},9683:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3885:(e,t,s)=>{"use strict";var n=s(6100),r=Error,i=n("".replace),o=String(new r("zxcasd").stack),c=/\n\s*at [^:]*:[^\n]*/,a=c.test(o);e.exports=function(e,t){if(a&&"string"==typeof e&&!r.prepareStackTrace)for(;t--;)e=i(e,c,"");return e}},4279:(e,t,s)=>{"use strict";var n=s(3999),r=s(3885),i=s(5791),o=Error.captureStackTrace;e.exports=function(e,t,s,c){i&&(o?o(e,t):n(e,"stack",r(s,c)))}},5791:(e,t,s)=>{"use strict";var n=s(1203),r=s(480);e.exports=!n((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",r(1,7)),7!==e.stack)}))},9098:(e,t,s)=>{"use strict";var n=s(1063),r=s(7013),i=s(9344),o=s(2769),c=s(4543).f,a=s(8696),u=s(8099),l=s(4572),h=s(3999),p=s(701),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,_,S=e.target,w=e.global,E=e.stat,x=e.proto,j=w?n:E?n[S]:n[S]&&n[S].prototype,O=w?u:u[S]||h(u,S,{})[S],B=O.prototype;for(g in t)r=!(s=a(w?g:S+(E?".":"#")+g,e.forced))&&j&&p(j,g),b=O[g],r&&(v=e.dontCallGetSet?(_=c(j,g))&&_.value:j[g]),f=r&&v?v:t[g],(s||x||typeof b!=typeof f)&&(y=e.bind&&r?l(f,n):e.wrap&&r?d(f):x&&o(f)?i(f):f,(e.sham||f&&f.sham||b&&b.sham)&&h(y,"sham",!0),h(O,g,y),x&&(p(u,m=S+"Prototype")||h(u,m,{}),h(u[m],g,f),e.real&&B&&(s||!B[g])&&h(B,g,f)))}},1203:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},7013:(e,t,s)=>{"use strict";var n=s(1780),r=Function.prototype,i=r.apply,o=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(i):function(){return o.apply(i,arguments)})},4572:(e,t,s)=>{"use strict";var n=s(9344),r=s(814),i=s(1780),o=n(n.bind);e.exports=function(e,t){return r(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}},1780:(e,t,s)=>{"use strict";var n=s(1203);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},4713:(e,t,s)=>{"use strict";var n=s(1780),r=Function.prototype.call;e.exports=n?r.bind(r):function(){return r.apply(r,arguments)}},3410:(e,t,s)=>{"use strict";var n=s(5024),r=s(701),i=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,c=r(i,"name"),a=c&&"something"===function(){}.name,u=c&&(!n||n&&o(i,"name").configurable);e.exports={EXISTS:c,PROPER:a,CONFIGURABLE:u}},3574:(e,t,s)=>{"use strict";var n=s(6100),r=s(814);e.exports=function(e,t,s){try{return n(r(Object.getOwnPropertyDescriptor(e,t)[s]))}catch(e){}}},9344:(e,t,s)=>{"use strict";var n=s(9932),r=s(6100);e.exports=function(e){if("Function"===n(e))return r(e)}},6100:(e,t,s)=>{"use strict";var n=s(1780),r=Function.prototype,i=r.call,o=n&&r.bind.bind(i,i);e.exports=n?o:function(e){return function(){return i.apply(e,arguments)}}},1003:(e,t,s)=>{"use strict";var n=s(8099),r=s(1063),i=s(2769),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e])||o(r[e]):n[e]&&n[e][t]||r[e]&&r[e][t]}},967:(e,t,s)=>{"use strict";var n=s(8407),r=s(4674),i=s(3057),o=s(6625),c=s(8655)("iterator");e.exports=function(e){if(!i(e))return r(e,c)||r(e,"@@iterator")||o[n(e)]}},1613:(e,t,s)=>{"use strict";var n=s(4713),r=s(814),i=s(7235),o=s(459),c=s(967),a=TypeError;e.exports=function(e,t){var s=arguments.length<2?c(e):t;if(r(s))return i(n(s,e));throw new a(o(e)+" is not iterable")}},4674:(e,t,s)=>{"use strict";var n=s(814),r=s(3057);e.exports=function(e,t){var s=e[t];return r(s)?void 0:n(s)}},1063:function(e,t,s){"use strict";var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof s.g&&s.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},701:(e,t,s)=>{"use strict";var n=s(6100),r=s(2137),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(r(e),t)}},5241:e=>{"use strict";e.exports={}},3489:(e,t,s)=>{"use strict";var n=s(1003);e.exports=n("document","documentElement")},9665:(e,t,s)=>{"use strict";var n=s(5024),r=s(1203),i=s(9619);e.exports=!n&&!r((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},1395:(e,t,s)=>{"use strict";var n=s(6100),r=s(1203),i=s(9932),o=Object,c=n("".split);e.exports=r((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?c(e,""):o(e)}:o},3507:(e,t,s)=>{"use strict";var n=s(2769),r=s(262),i=s(3491);e.exports=function(e,t,s){var o,c;return i&&n(o=t.constructor)&&o!==s&&r(c=o.prototype)&&c!==s.prototype&&i(e,c),e}},8148:(e,t,s)=>{"use strict";var n=s(262),r=s(3999);e.exports=function(e,t){n(t)&&"cause"in t&&r(e,"cause",t.cause)}},8417:(e,t,s)=>{"use strict";var n,r,i,o=s(1314),c=s(1063),a=s(262),u=s(3999),l=s(701),h=s(3753),p=s(4275),d=s(5241),m="Object already initialized",g=c.TypeError,f=c.WeakMap;if(o||h.state){var b=h.state||(h.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=p("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}}}},2877:(e,t,s)=>{"use strict";var n=s(8655),r=s(6625),i=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},2769:e=>{"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},8696:(e,t,s)=>{"use strict";var n=s(1203),r=s(2769),i=/#|\.prototype\./,o=function(e,t){var s=a[c(e)];return s===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},3057:e=>{"use strict";e.exports=function(e){return null==e}},262:(e,t,s)=>{"use strict";var n=s(2769);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},2937:(e,t,s)=>{"use strict";var n=s(262);e.exports=function(e){return n(e)||null===e}},4871:e=>{"use strict";e.exports=!0},6281:(e,t,s)=>{"use strict";var n=s(1003),r=s(2769),i=s(4317),o=s(7460),c=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return r(t)&&i(t.prototype,c(e))}},208:(e,t,s)=>{"use strict";var n=s(4572),r=s(4713),i=s(7235),o=s(459),c=s(2877),a=s(8130),u=s(4317),l=s(1613),h=s(967),p=s(1743),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,_,S,w,E=s&&s.that,x=!(!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&&p(f,"normal",e),new m(!0,e)},M=function(e){return x?(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=h(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(S=j?e.next:f.next;!(w=r(S,f)).done;){try{_=M(w.value)}catch(e){p(f,"throw",e)}if("object"==typeof _&&_&&u(g,_))return _}return new m(!1)}},1743:(e,t,s)=>{"use strict";var n=s(4713),r=s(7235),i=s(4674);e.exports=function(e,t,s){var o,c;r(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw s;return s}o=n(o,e)}catch(e){c=!0,o=e}if("throw"===t)throw s;if(c)throw o;return r(o),s}},1926:(e,t,s)=>{"use strict";var n=s(2621).IteratorPrototype,r=s(5780),i=s(480),o=s(1811),c=s(6625),a=function(){return this};e.exports=function(e,t,s,u){var l=t+" Iterator";return e.prototype=r(n,{next:i(+!u,s)}),o(e,l,!1,!0),c[l]=a,e}},164:(e,t,s)=>{"use strict";var n=s(9098),r=s(4713),i=s(4871),o=s(3410),c=s(2769),a=s(1926),u=s(3671),l=s(3491),h=s(1811),p=s(3999),d=s(3508),m=s(8655),g=s(6625),f=s(2621),b=o.PROPER,v=o.CONFIGURABLE,y=f.IteratorPrototype,_=f.BUGGY_SAFARI_ITERATORS,S=m("iterator"),w="keys",E="values",x="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 w:case E:case x:return function(){return new s(this,e)}}return function(){return new s(this)}},A=t+" Iterator",q=!1,k=e.prototype,C=k[S]||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[S])||d(B,S,j)),h(B,A,!0,!0),i&&(g[A]=j)),b&&m===E&&C&&C.name!==E&&(!i&&v?p(k,"name",E):(q=!0,I=function(){return r(C,this)})),m)if(P={values:M(E),keys:f?I:M(w),entries:M(x)},O)for($ in P)(_||q||!($ in k))&&d(k,$,P[$]);else n({target:t,proto:!0,forced:_||q},P);return i&&!O||k[S]===I||d(k,S,I,{name:m}),g[t]=I,P}},2621:(e,t,s)=>{"use strict";var n,r,i,o=s(1203),c=s(2769),a=s(262),u=s(5780),l=s(3671),h=s(3508),p=s(8655),d=s(4871),m=p("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])||h(n,m,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},6625:e=>{"use strict";e.exports={}},8130:(e,t,s)=>{"use strict";var n=s(8146);e.exports=function(e){return n(e.length)}},5777:e=>{"use strict";var t=Math.ceil,s=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?s:t)(n)}},4879:(e,t,s)=>{"use strict";var n=s(1139);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},5780:(e,t,s)=>{"use strict";var n,r=s(7235),i=s(7389),o=s(9683),c=s(5241),a=s(3489),u=s(9619),l=s(4275),h="prototype",p="script",d=l("IE_PROTO"),m=function(){},g=function(e){return"<"+p+">"+e+"</"+p+">"},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"+p+":",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[h][o[r]];return b()};c[d]=!0,e.exports=Object.create||function(e,t){var s;return null!==e?(m[h]=r(e),s=new m,m[h]=null,s[d]=e):s=b(),void 0===t?s:i.f(s,t)}},7389:(e,t,s)=>{"use strict";var n=s(5024),r=s(1330),i=s(9989),o=s(7235),c=s(3273),a=s(8364);t.f=n&&!r?Object.defineProperties:function(e,t){o(e);for(var s,n=c(t),r=a(t),u=r.length,l=0;u>l;)i.f(e,s=r[l++],n[s]);return e}},9989:(e,t,s)=>{"use strict";var n=s(5024),r=s(9665),i=s(1330),o=s(7235),c=s(5341),a=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,h="enumerable",p="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:p in s?s[p]:n[p],enumerable:h in s?s[h]:n[h],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}},4543:(e,t,s)=>{"use strict";var n=s(5024),r=s(4713),i=s(7161),o=s(480),c=s(3273),a=s(5341),u=s(701),l=s(9665),h=Object.getOwnPropertyDescriptor;t.f=n?h:function(e,t){if(e=c(e),t=a(t),l)try{return h(e,t)}catch(e){}if(u(e,t))return o(!r(i.f,e,t),e[t])}},5116:(e,t,s)=>{"use strict";var n=s(8600),r=s(9683).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,r)}},7313:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},3671:(e,t,s)=>{"use strict";var n=s(701),r=s(2769),i=s(2137),o=s(4275),c=s(2871),a=o("IE_PROTO"),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}},4317:(e,t,s)=>{"use strict";var n=s(6100);e.exports=n({}.isPrototypeOf)},8600:(e,t,s)=>{"use strict";var n=s(6100),r=s(701),i=s(3273),o=s(1005).indexOf,c=s(5241),a=n([].push);e.exports=function(e,t){var s,n=i(e),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}},8364:(e,t,s)=>{"use strict";var n=s(8600),r=s(9683);e.exports=Object.keys||function(e){return n(e,r)}},7161:(e,t)=>{"use strict";var s={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!s.call({1:2},1);t.f=r?function(e){var t=n(this,e);return!!t&&t.enumerable}:s},3491:(e,t,s)=>{"use strict";var n=s(3574),r=s(7235),i=s(1966);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,s={};try{(e=n(Object.prototype,"__proto__","set"))(s,[]),t=s instanceof Array}catch(e){}return function(s,n){return r(s),i(n),t?e(s,n):s.__proto__=n,s}}():void 0)},9559:(e,t,s)=>{"use strict";var n=s(4904),r=s(8407);e.exports=n?{}.toString:function(){return"[object "+r(this)+"]"}},9258:(e,t,s)=>{"use strict";var n=s(4713),r=s(2769),i=s(262),o=TypeError;e.exports=function(e,t){var s,c;if("string"===t&&r(s=e.toString)&&!i(c=n(s,e)))return c;if(r(s=e.valueOf)&&!i(c=n(s,e)))return c;if("string"!==t&&r(s=e.toString)&&!i(c=n(s,e)))return c;throw new o("Can't convert object to primitive value")}},5691:(e,t,s)=>{"use strict";var n=s(1003),r=s(6100),i=s(5116),o=s(7313),c=s(7235),a=r([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(c(e)),s=o.f;return s?a(t,s(e)):t}},8099:e=>{"use strict";e.exports={}},5516:(e,t,s)=>{"use strict";var n=s(9989).f;e.exports=function(e,t,s){s in e||n(e,s,{configurable:!0,get:function(){return t[s]},set:function(e){t[s]=e}})}},5426:(e,t,s)=>{"use strict";var n=s(3057),r=TypeError;e.exports=function(e){if(n(e))throw new r("Can't call method on "+e);return e}},1811:(e,t,s)=>{"use strict";var n=s(4904),r=s(9989).f,i=s(3999),o=s(701),c=s(9559),a=s(8655)("toStringTag");e.exports=function(e,t,s,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))}},4275:(e,t,s)=>{"use strict";var n=s(8141),r=s(1268),i=n("keys");e.exports=function(e){return i[e]||(i[e]=r(e))}},3753:(e,t,s)=>{"use strict";var n=s(1063),r=s(7525),i="__core-js_shared__",o=n[i]||r(i,{});e.exports=o},8141:(e,t,s)=>{"use strict";var n=s(4871),r=s(3753);(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.35.1",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5571:(e,t,s)=>{"use strict";var n=s(6100),r=s(9903),i=s(1139),o=s(5426),c=n("".charAt),a=n("".charCodeAt),u=n("".slice),l=function(e){return function(t,s){var n,l,h=i(o(t)),p=r(s),d=h.length;return p<0||p>=d?e?"":void 0:(n=a(h,p))<55296||n>56319||p+1===d||(l=a(h,p+1))<56320||l>57343?e?c(h,p):n:e?u(h,p,p+2):l-56320+(n-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},4603:(e,t,s)=>{"use strict";var n=s(4432),r=s(1203),i=s(1063).String;e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},4574:(e,t,s)=>{"use strict";var n=s(9903),r=Math.max,i=Math.min;e.exports=function(e,t){var s=n(e);return s<0?r(s+t,0):i(s,t)}},3273:(e,t,s)=>{"use strict";var n=s(1395),r=s(5426);e.exports=function(e){return n(r(e))}},9903:(e,t,s)=>{"use strict";var n=s(5777);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},8146:(e,t,s)=>{"use strict";var n=s(9903),r=Math.min;e.exports=function(e){var t=n(e);return t>0?r(t,9007199254740991):0}},2137:(e,t,s)=>{"use strict";var n=s(5426),r=Object;e.exports=function(e){return r(n(e))}},493:(e,t,s)=>{"use strict";var n=s(4713),r=s(262),i=s(6281),o=s(4674),c=s(9258),a=s(8655),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)}},5341:(e,t,s)=>{"use strict";var n=s(493),r=s(6281);e.exports=function(e){var t=n(e,"string");return r(t)?t:t+""}},4904:(e,t,s)=>{"use strict";var n={};n[s(8655)("toStringTag")]="z",e.exports="[object z]"===String(n)},1139:(e,t,s)=>{"use strict";var n=s(8407),r=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return r(e)}},459:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},1268:(e,t,s)=>{"use strict";var n=s(6100),r=0,i=Math.random(),o=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++r+i,36)}},7460:(e,t,s)=>{"use strict";var n=s(4603);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},1330:(e,t,s)=>{"use strict";var n=s(5024),r=s(1203);e.exports=n&&r((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},1314:(e,t,s)=>{"use strict";var n=s(1063),r=s(2769),i=n.WeakMap;e.exports=r(i)&&/native code/.test(String(i))},8655:(e,t,s)=>{"use strict";var n=s(1063),r=s(8141),i=s(701),o=s(1268),c=s(4603),a=s(7460),u=n.Symbol,l=r("wks"),h=a?u.for||u:u&&u.withoutSetter||o;e.exports=function(e){return i(l,e)||(l[e]=c&&i(u,e)?u[e]:h("Symbol."+e)),l[e]}},6453:(e,t,s)=>{"use strict";var n=s(1003),r=s(701),i=s(3999),o=s(4317),c=s(3491),a=s(7464),u=s(5516),l=s(3507),h=s(4879),p=s(8148),d=s(4279),m=s(5024),g=s(4871);e.exports=function(e,t,s,f){var b="stackTraceLimit",v=f?2:1,y=e.split("."),_=y[y.length-1],S=n.apply(null,y);if(S){var w=S.prototype;if(!g&&r(w,"cause")&&delete w.cause,!s)return S;var E=n("Error"),x=t((function(e,t){var s=h(f?t:e,void 0),n=f?new S(e):new S;return void 0!==s&&i(n,"message",s),d(n,x,n.stack,2),this&&o(w,this)&&l(n,this,x),arguments.length>v&&p(n,arguments[v]),n}));if(x.prototype=w,"Error"!==_?c?c(x,E):a(x,E,{name:!0}):m&&b in S&&(u(x,S,b),u(x,S,"prepareStackTrace")),a(x,S),!g)try{w.name!==_&&i(w,"name",_),w.constructor=x}catch(e){}return x}}},6138:(e,t,s)=>{"use strict";var n=s(9098),r=s(1003),i=s(7013),o=s(1203),c=s(6453),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)})},3085:(e,t,s)=>{"use strict";var n=s(9098),r=s(4317),i=s(3671),o=s(3491),c=s(7464),a=s(5780),u=s(3999),l=s(480),h=s(8148),p=s(4279),d=s(208),m=s(4879),g=s(8655)("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)),p(s,v,s.stack,1),arguments.length>2&&h(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})},5695:(e,t,s)=>{"use strict";s(3085)},9828:(e,t,s)=>{"use strict";var n=s(3273),r=s(8137),i=s(6625),o=s(8417),c=s(9989).f,a=s(164),u=s(877),l=s(4871),h=s(5024),p="Array Iterator",d=o.set,m=o.getterFor(p);e.exports=a(Array,"Array",(function(e,t){d(this,{type:p,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&&h&&"values"!==g.name)try{c(g,"name",{value:"values"})}catch(e){}},484:(e,t,s)=>{"use strict";var n=s(9098),r=s(1063),i=s(7013),o=s(6453),c="WebAssembly",a=r[c],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)},h=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)}})),h("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),h("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),h("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},3832:(e,t,s)=>{"use strict";var n=s(5571).charAt,r=s(1139),i=s(8417),o=s(164),c=s(877),a="String Iterator",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))}))},5442:(e,t,s)=>{"use strict";s(5695)},85:(e,t,s)=>{"use strict";s(9828);var n=s(1100),r=s(1063),i=s(1811),o=s(6625);for(var c in n)i(r[c],c),o[c]=o.Array},239:(e,t,s)=>{"use strict";s(5442);var n=s(6656);s(85),e.exports=n}},t={};function s(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(i.exports,i,i.exports,s),i.loaded=!0,i.exports}s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var 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||!/^http(s?):/.test(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:()=>Kv,detectionRegExp:()=>Hv,mediaTypes:()=>Gv,namespace:()=>Xv,parse:()=>Zv});var e={};s.r(e),s.d(e,{hasElementSourceMap:()=>ns,includesClasses:()=>is,includesSymbols:()=>rs,isAnnotationElement:()=>Qt,isArrayElement:()=>Ht,isBooleanElement:()=>Wt,isCommentElement:()=>Yt,isElement:()=>Lt,isLinkElement:()=>Zt,isMemberElement:()=>Kt,isNullElement:()=>zt,isNumberElement:()=>Ut,isObjectElement:()=>Gt,isParseResultElement:()=>es,isPrimitiveElement:()=>ss,isRefElement:()=>Xt,isSourceMapElement:()=>ts,isStringElement:()=>Jt});var t={};s.r(t),s.d(t,{isJSONReferenceElement:()=>Li,isJSONSchemaElement:()=>Di,isLinkDescriptionElement:()=>Ui,isMediaElement:()=>Ji});var r={};s.r(r),s.d(r,{isJSONReferenceElement:()=>Li,isJSONSchemaElement:()=>co,isLinkDescriptionElement:()=>ao,isMediaElement:()=>Ji});var i={};s.r(i),s.d(i,{isJSONReferenceElement:()=>Li,isJSONSchemaElement:()=>Sa,isLinkDescriptionElement:()=>wa});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:()=>Na,isAsyncApiVersionElement:()=>Ta,isBooleanJsonSchemaElement:()=>Xa,isChannelBindingsElement:()=>Ra,isChannelItemElement:()=>Fa,isChannelsElement:()=>Va,isComponentsElement:()=>Da,isContactElement:()=>La,isIdentifierElement:()=>Ja,isInfoElement:()=>Ua,isLicenseElement:()=>za,isOperationElement:()=>Wa,isParameterElement:()=>Ga,isParametersElement:()=>Ha,isReferenceElement:()=>Ka,isSchemaElement:()=>Za,isSecurityRequirementElement:()=>Qa,isServerBindingsElement:()=>eu,isServerElement:()=>Ya,isServerVariableElement:()=>su,isServersElement:()=>tu});const h=u((function(e,t){return null==t||t!=t?e:t})),p=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 p(e)?m(e,t):t[e]}));const f=l((function(e,t,s){return h(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 S=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 w="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function E(e,t,s){return function(n,r,i){if(S(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[w])return s(n,r,i[w]());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 x(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,x);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"],D=function(){return arguments.propertyIsEnumerable("length")}(),L=function(e,t){for(var s=0;s<e.length;){if(e[s]===t)return!0;s+=1}return!1},J="function"!=typeof Object.keys||D?a((function(e){if(Object(e)!==e)return[];var t,s,n=[],r=D&&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)&&!L(n,t)&&(n[n.length]=t),s-=1;return n})):a((function(e){return Object(e)!==e?[]:Object.keys(e)}));const U=J;const z=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}),{},U(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(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,z(s,t))}),[],e)}));const G=u((function(e,t){var s=I(e,t);return I(e,(function(){return y(W,z(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 X(e,t,s){for(var n=0,r=s.length;n<r;){if(e(t,s[n]))return!0;n+=1}return!1}const Q="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!X((function(e,t){return!X(i,t,e)}),Z(t),r)}function te(e,t,s,n){if(Q(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||!Q(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!Q(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=U(e);if(a.length!==U(t).length)return!1;var u=s.concat([e]),l=n.concat([t]);for(c=a.length-1;c>=0;){var h=a[c];if(!N(h,t)||!te(t[h],e[h],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(8326);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 he(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 pe(e,t,s,n){return e["@@transducer/result"](s[n](le(e["@@transducer/step"],e),t))}const de=E(ue,pe,he);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:Q(e,s)};default:return Q(e,t)}};const Se=_e;function we(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 xe=function(e){return(e<10?"0":"")+e};const je="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+xe(e.getUTCMonth()+1)+"-"+xe(e.getUTCDate())+"T"+xe(e.getUTCHours())+":"+xe(e.getUTCMinutes())+":"+xe(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function 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}),{},U(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 we(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)}),U(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,U(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=p(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 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=I(1,Re(Ve,Le));const Ue=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 ze=u((function(e,t){return z(g(e),t)}));const We=a((function(e){return I(ge(Ue,0,ze("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,Se("GeneratorFunction")));const He=I(1,ye(Y,Se("AsyncFunction")));const Ke=We([ye(Y,Se("Function")),Ge,He]);var Ze=ye(Y,Se("Object")),Xe=ye(qe,se(qe(Object))),Qe=Ie(Re(Ke,Xe),["constructor"]);const Ye=I(1,(function(e){if(!Je(e)||!Ze(e))return!1;var t=Object.getPrototypeOf(e);return!!Fe(t)||Qe(t)}));class et extends ce.Om{constructor(e,t,s){super(e,t,s),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const tt=et;class st extends ce.Om{constructor(e,t,s){super(e,t,s),this.element="comment"}}const nt=st;class rt extends ce.wE{constructor(e,t,s){super(e,t,s),this.element="parseResult"}get api(){return this.children.filter((e=>e.classes.contains("api"))).first}get results(){return this.children.filter((e=>e.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((e=>"annotation"===e.element))}get warnings(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("warning")))}get errors(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("error")))}get isEmpty(){return this.children.reject((e=>"annotation"===e.element)).isEmpty}replaceResult(e){const{result:t}=this;if(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.wE{constructor(e,t,s){super(e,t,s),this.element="sourceMap"}get positionStart(){return this.children.filter((e=>e.classes.contains("position"))).get(0)}get positionEnd(){return this.children.filter((e=>e.classes.contains("position"))).get(1)}set position(e){if(void 0===e)return;const t=new ce.wE([e.start.row,e.start.column,e.start.char]),s=new ce.wE([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.g${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},ht=ut;const pt=I(1,ye(Y,Se("String"))),dt=s.p+"23aac571c96605dc25219087ad291441.wasm",mt=globalThis.fetch;Ke(mt)&&(globalThis.fetch=(...e)=>pt(e[0])&&e[0].endsWith("tree-sitter.wasm")?mt.apply(globalThis,[dt,ve(e)]):mt.apply(globalThis,e));var gt=s(3833),ft=s(1212);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 St=null,wt=null;const Et=async e=>{if(null===St&&null===wt)wt=gt.init().then((()=>gt.Language.load(_t))).then((e=>{const t=new gt;return t.setLanguage(e),t})).finally((()=>{wt=null})),St=await wt;else if(null===St&&null!==wt)St=await wt;else if(null===St)throw new yt("Error while initializing web-tree-sitter and loading tree-sitter-json grammar.");return St.parse(e)};const xt=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:h=!0}={})=>{const p=s||{};let d,m,g=Array.isArray(e),f=[e],b=-1,v=[],y=e;const _=[],S=[];do{b+=1;const e=b===f.length;let s;const E=e&&0!==v.length;if(e){if(s=0===S.length?void 0:_.pop(),y=m,m=S.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 x;if(!Array.isArray(y)){if(!u(y))throw new xt(`Invalid AST Node: ${String(y)}`,{node:y});if(h&&S.includes(y)){_.pop();continue}const i=c(t,a(y),e);if(i){for(const[e,s]of Object.entries(n))t[e]=s;x=i.call(t,y,s,m,_,S)}if(x===r)break;if(x===o){if(!e){_.pop();continue}}else if(void 0!==x&&(v.push([s,x]),!e)){if(!u(x)){_.pop();continue}y=x}}var w;if(void 0===x&&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!==(w=p[a(y)])&&void 0!==w?w:[],b=-1,v=[],m!==i&&void 0!==m&&S.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:h=!0}={})=>{const p=s||{};let d,m,g=Array.isArray(e),f=[e],b=-1,v=[],y=e;const _=[],S=[];do{b+=1;const e=b===f.length;let s;const E=e&&0!==v.length;if(e){if(s=0===S.length?void 0:_.pop(),y=m,m=S.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 x;if(!Array.isArray(y)){if(!u(y))throw new xt(`Invalid AST Node: ${String(y)}`,{node:y});if(h&&S.includes(y)){_.pop();continue}const i=c(t,a(y),e);if(i){for(const[e,s]of Object.entries(n))t[e]=s;x=await i.call(t,y,s,m,_,S)}if(x===r)break;if(x===o){if(!e){_.pop();continue}}else if(void 0!==x&&(v.push([s,x]),!e)){if(!u(x)){_.pop();continue}y=x}}var w;if(void 0===x&&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!==(w=p[a(y)])&&void 0!==w?w:[],b=-1,v=[],m!==i&&void 0!==m&&S.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(we)),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.wE)&&t.classes.includes(e),Vt=(e,t)=>"object"==typeof t&&null!==t&&"element"in t&&t.element===e,Dt=e=>e({hasMethod:Nt,hasBasicElementProps:Tt,primitiveEq:Rt,isElementType:Vt,hasClass:Ft}),Lt=Dt((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof ce.Hg||e(s)&&t(void 0,s))),Jt=Dt((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof ce.Om||e(s)&&t("string",s))),Ut=Dt((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof ce.kT||e(s)&&t("number",s))),zt=Dt((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof ce.Os||e(s)&&t("null",s))),Wt=Dt((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof ce.bd||e(s)&&t("boolean",s))),Gt=Dt((({hasBasicElementProps:e,primitiveEq:t,hasMethod:s})=>n=>n instanceof ce.Sh||e(n)&&t("object",n)&&s("keys",n)&&s("values",n)&&s("items",n))),Ht=Dt((({hasBasicElementProps:e,primitiveEq:t,hasMethod:s})=>n=>n instanceof ce.wE&&!(n instanceof ce.Sh)||e(n)&&t("array",n)&&s("push",n)&&s("unshift",n)&&s("map",n)&&s("reduce",n))),Kt=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ce.Pr||e(n)&&t("member",n)&&s(void 0,n))),Zt=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ce.Ft||e(n)&&t("link",n)&&s(void 0,n))),Xt=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ce.sI||e(n)&&t("ref",n)&&s(void 0,n))),Qt=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof tt||e(n)&&t("annotation",n)&&s("array",n))),Yt=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof nt||e(n)&&t("comment",n)&&s("string",n))),es=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof it||e(n)&&t("parseResult",n)&&s("array",n))),ts=Dt((({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 xt{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=Lt(t)?us(t,n):t,o=Lt(r)?us(r,n):r,c=new ce.KeyValuePair(i,o);return s.set(e,c),c}if(e instanceof ce.ot){const t=e=>us(e,n),r=[...e].map(t),i=new ce.ot(r);return s.set(e,i),i}if(e instanceof ce.G6){const t=e=>us(e,n),r=[...e].map(t),i=new ce.G6(r);return s.set(e,i),i}if(Lt(e)){const t=ps(e);if(s.set(e,t),e.content)if(Lt(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)},hs=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)),Lt(e.content)){const s=e.content;t.content=hs(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},ps=e=>{if(e instanceof ce.KeyValuePair)return ls(e);if(e instanceof ce.ot)return(e=>{const t=[...e];return new ce.ot(t)})(e);if(e instanceof ce.G6)return(e=>{const t=[...e];return new ce.G6(t)})(e);if(Lt(e))return hs(e);throw new as("Value provided to cloneShallow function couldn't be cloned",{value:e})};ps.safe=e=>{try{return ps(e)}catch{return e}};const ds=e=>Gt(e)?"ObjectElement":Ht(e)?"ArrayElement":Kt(e)?"MemberElement":Jt(e)?"StringElement":Wt(e)?"BooleanElement":Ut(e)?"NumberElement":zt(e)?"NullElement":Zt(e)?"LinkElement":Xt(e)?"RefElement":void 0,ms=e=>Lt(e)?ps(e):$t(e),gs=ye(ds,pt),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 Ss=be(0,-1);const ws=u((function(e,t){return e.apply(this,t)}));const Es=K(Ke);var xs=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=xs;const Os=a((function(e){return null!=e&&se(e,js(e))}));const Bs=I(1,Ke(Array.isArray)?Array.isArray:ye(Y,Se("Array")));const Ps=Re(Bs,Os);const $s=I(3,(function(e,t,s){var n=Ce(e,s),r=Ce(Ss(e),s);if(!Es(n)&&!Ps(e)){var i=le(n,r);return ws(i,t)}})),Ms=()=>({predicates:{...e},namespace:ht}),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 h=u,p=!1;for(let d=0;d<e.length;d+=1)if(a[d]===c){const c=t(e[d],s(h),!1);if("function"==typeof c){const t=c.call(e[d],h,...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;h=t,p=!0}}}}return p?h: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 Lt(e)&&(e.meta.length>0&&(n.meta=us(e.meta)),e.attributes.length>0&&(n.attributes=us(e.attributes))),qs(n,s,{toolboxCreator:Ms,visitorOptions:{nodeTypeGetter:ds}})},Cs=e=>(t,s={})=>ks(t,{...s,Type:e});ce.Sh.refract=Cs(ce.Sh),ce.wE.refract=Cs(ce.wE),ce.Om.refract=Cs(ce.Om),ce.bd.refract=Cs(ce.bd),ce.Os.refract=Cs(ce.Os),ce.kT.refract=Cs(ce.kT),ce.Ft.refract=Cs(ce.Ft),ce.sI.refract=Cs(ce.sI),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.wE([e.startPosition.row,e.startPosition.column,e.startIndex]),s=new ce.wE([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.Sh;return t._content=e.children,this.maybeAddSourceMap(e,t),t}array(e){const t=new ce.wE;return t._content=e.children,this.maybeAddSourceMap(e,t),t}pair(e){const t=new ce.Pr;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.Om(JSON.parse(e.text));return this.maybeAddSourceMap(e,t),t}number(e){const t=new ce.kT(Number(e.text));return this.maybeAddSourceMap(e,t),t}null(e){const t=new ce.Os;return this.maybeAddSourceMap(e,t),t}true(e){const t=new ce.bd(!0);return this.maybeAddSourceMap(e,t),t}false(e){const t=new ce.bd(!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},Ds=e=>es(e)?"ParseResultElement":Lt(e)?ds(e):Bt(e),Ls=e=>Lt(e)||Pt(e),Js=(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:Ds,nodePredicate:Ls,state:{sourceMap:t}})};class Us{static type="point";type=Us.type;row;column;char;constructor({row:e,column:t,char:s}){this.row=e,this.column=t,this.char=s}}class zs{static type="position";type=zs.type;start;end;constructor({start:e,end:t}){this.start=e,this.end=t}}const Ws=zs;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 Xs=class extends Hs{static type="parseResult";get rootNode(){return Gs(this.children)}};const Qs=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 hn=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 pn=class extends hn{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 Sn=class extends Hs{static type="error";value;isUnexpected;constructor({value:e,isUnexpected:t=!1,...s}={}){super({...s}),this.value=e,this.isUnexpected=t}},wn={document:["children"],object:["children"],array:["children"],string:["children"],property:["children"],key:["children"],error:["children"]};class En{static toPosition(e){const t=new Us({row:e.startPosition.row,column:e.startPosition.column,char:e.startIndex}),s=new Us({row:e.endPosition.row,column:e.endPosition.column,char:e.endIndex});return new Ws({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 Xs({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 Qs({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 pn({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 hn({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 Sn({children:e.children,position:r,isUnexpected:!e.hasError,isMissing:e.isMissing,value:e.text});return 0===n.length?new Xs({children:[i]}):i}}const xn=En,jn={[Xs.type]:["children"],[Zs.type]:["children"],[ln.type]:["children"],[dn.type]:["children"],[mn.type]:["children"],[Sn.type]:["children"],...fs},On=e=>es(e)?"ParseResultElement":Lt(e)?ds(e):Bt(e),Bn=e=>Lt(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.Sh;return t._content=e.children,this.maybeAddSourceMap(e,t),t}property(e){const t=new ce.Pr;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.Om(e.value);return this.maybeAddSourceMap(e,t),t}array(e){const t=new ce.wE;return t._content=e.children,this.maybeAddSourceMap(e,t),t}string(e){const t=new ce.Om(e.value);return this.maybeAddSourceMap(e,t),t}number(e){const t=new ce.kT(Number(e.value));return this.maybeAddSourceMap(e,t),t}null(e){const t=new ce.Os;return this.maybeAddSourceMap(e,t),t}true(e){const t=new ce.bd(!0);return this.maybeAddSourceMap(e,t),t}false(e){const t=new ce.bd(!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 xn,o=new Pn,c=Mt(r,i,{keyMap:wn,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}),{},U(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 Dn(e){return function(t){return new Vn(e,t)}}const Ln=u(B(["dropWhile"],Dn,(function(e,t){for(var s=0,n=t.length;s<n&&e(t[s]);)s+=1;return be(s,1/0,t)})));const Jn=Rn(1,"join");const Un=Tn((function(e,t){return ye(Fn(""),Ln(It(e)),Jn(""))(t)})),zn=(e,t)=>{const s=h(e,t);return An((e=>{if(Ye(e)&&In("$ref",e)&&Nn(pt,"$ref",e)){const t=Ce(["$ref"],e),n=Un("#/",t);return Ce(n.split("/"),s)}return Ye(e)?zn(e,s):e}),e)};var Wn=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]:p(t[1])?[]:{};s=e(Array.prototype.slice.call(t,1),s,i)}return function(e,t,s){if(p(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=Wn;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 Xn=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(p(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(p(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 Qn=Xn;var Yn=s(8357);const er=function(){return!0},tr=e=>"string"==typeof(null==e?void 0:e.type)?e.type:ds(e),sr={EphemeralObject:["content"],EphemeralArray:["content"],...fs},nr=(e,t,{keyMap:s=sr,...n}={})=>bs(e,t,{keyMap:s,nodeTypeGetter:tr,nodePredicate:er,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});nr[Symbol.for("nodejs.util.promisify.custom")]=async(e,{keyMap:t=sr,...s}={})=>bs[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,nodeTypeGetter:tr,nodePredicate:er,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...s});const rr=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 ir=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 or{ObjectElement={enter:e=>{if(this.references.has(e))return this.references.get(e).toReference();const t=new ir(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 rr(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 cr=e=>Lt(e)?Jt(e)||Ut(e)||Wt(e)||zt(e)?e.toValue():nr(e,new or):e,ar=e=>{const t=e.meta.length>0?us(e.meta):void 0,s=e.attributes.length>0?us(e.attributes):void 0;return new e.constructor(void 0,t,s)},ur=(e,t)=>t.clone&&t.isMergeableElement(e)?dr(ar(e),e,t):e,lr=e=>"function"!=typeof e.customMetaMerge?e=>us(e):e.customMetaMerge,hr=e=>"function"!=typeof e.customAttributesMerge?e=>us(e):e.customAttributesMerge,pr={clone:!0,isMergeableElement:e=>Gt(e)||Ht(e),arrayElementMerge:(e,t,s)=>e.concat(t)["fantasy-land/map"]((e=>ur(e,s))),objectElementMerge:(e,t,s)=>{const n=Gt(e)?ar(e):ar(t);return Gt(e)&&e.forEach(((e,t,r)=>{const i=ps(r);i.value=ur(e,s),n.content.push(i)})),t.forEach(((t,r,i)=>{const o=cr(r);let c;if(Gt(e)&&e.hasKey(o)&&s.isMergeableElement(t)){const n=e.get(o);c=ps(i),c.value=((e,t)=>{if("function"!=typeof t.customMerge)return dr;const s=t.customMerge(e,t);return"function"==typeof s?s:dr})(r,s)(n,t)}else c=ps(i),c.value=ur(t,s);n.remove(o),n.content.push(c)})),n},customMerge:void 0,customMetaMerge:void 0,customAttributesMerge:void 0};function dr(e,t,s){var n,r,i;const o={...pr,...s};o.isMergeableElement=null!==(n=o.isMergeableElement)&&void 0!==n?n:pr.isMergeableElement,o.arrayElementMerge=null!==(r=o.arrayElementMerge)&&void 0!==r?r:pr.arrayElementMerge,o.objectElementMerge=null!==(i=o.objectElementMerge)&&void 0!==i?i:pr.objectElementMerge;const c=Ht(t);if(!(c===Ht(e)))return ur(t,o);const a=c&&"function"==typeof o.arrayElementMerge?o.arrayElementMerge(e,t,o):o.objectElementMerge(e,t,o);return a.meta=lr(o)(e.meta,t.meta),a.attributes=hr(o)(e.attributes,t.attributes),a}dr.all=(e,t)=>{if(!Array.isArray(e))throw new TypeError("First argument of deepmerge should be an array.");return 0===e.length?new ce.Sh:e.reduce(((e,s)=>dr(e,s,t)),ar(e[0]))};const mr=Yn({props:{element:null},methods:{copyMetaAndAttributes(e,t){(e.meta.length>0||t.meta.length>0)&&(t.meta=dr(t.meta,e.meta),ns(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))),(e.attributes.length>0||e.meta.length>0)&&(t.attributes=dr(t.attributes,e.attributes))}}}),gr=Yn(mr,{methods:{enter(e){return this.element=us(e),Ot}}});const fr=ne(re());const br=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})),vr=Yn(mr,{props:{specObj:null,passingOptionsNames:["specObj"]},init({specObj:e=this.specObj}){this.specObj=e},methods:{retrievePassingOptions(){return br(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)}}}),yr=Yn(vr,{props:{specPath:fr,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(Jt(n)&&s.includes(cr(n))&&!this.ignoredFields.includes(cr(n))){const s=this.toRefractedElement([...t,"fixedFields",cr(n)],e),i=new ce.Pr(us(n),s);this.copyMetaAndAttributes(r,i),i.classes.push("fixed-field"),this.element.content.push(i)}else this.ignoredFields.includes(cr(n))||this.element.content.push(us(r))})),this.copyMetaAndAttributes(e,this.element),Ot}}});class _r extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="JSONSchemaDraft4"}get idProp(){return this.get("id")}set idProp(e){this.set("id",e)}get $schema(){return this.get("$schema")}set $schema(e){this.set("$schema",e)}get multipleOf(){return this.get("multipleOf")}set multipleOf(e){this.set("multipleOf",e)}get maximum(){return this.get("maximum")}set maximum(e){this.set("maximum",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get minimum(){return this.get("minimum")}set minimum(e){this.set("minimum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get maxLength(){return this.get("maxLength")}set maxLength(e){this.set("maxLength",e)}get minLength(){return this.get("minLength")}set minLength(e){this.set("minLength",e)}get pattern(){return this.get("pattern")}set pattern(e){this.set("pattern",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get maxItems(){return this.get("maxItems")}set maxItems(e){this.set("maxItems",e)}get minItems(){return this.get("minItems")}set minItems(e){this.set("minItems",e)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(e){this.set("uniqueItems",e)}get maxProperties(){return this.get("maxProperties")}set maxProperties(e){this.set("maxProperties",e)}get minProperties(){return this.get("minProperties")}set minProperties(e){this.set("minProperties",e)}get required(){return this.get("required")}set required(e){this.set("required",e)}get properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get dependencies(){return this.get("dependencies")}set dependencies(e){this.set("dependencies",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get allOf(){return this.get("allOf")}set allOf(e){this.set("allOf",e)}get anyOf(){return this.get("anyOf")}set anyOf(e){this.set("anyOf",e)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){return this.get("definitions")}set definitions(e){this.set("definitions",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get format(){return this.get("format")}set format(e){this.set("format",e)}get base(){return this.get("base")}set base(e){this.set("base",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get media(){return this.get("media")}set media(e){this.set("media",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}}const Sr=_r,wr=Yn(yr,gr,{props:{specPath:ne(["document","objects","JSONSchema"])},init(){this.element=new Sr}}),Er=gr,xr=gr,jr=gr,Or=gr,Br=gr,Pr=gr,$r=gr,Mr=gr,Ar=gr,qr=gr,kr=Yn({props:{parent:null},init({parent:e=this.parent}){this.parent=e,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),Cr=e=>Gt(e)&&e.hasKey("$ref"),Ir=Yn(vr,kr,gr,{methods:{ObjectElement(e){const t=Cr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),Ot},ArrayElement(e){return this.element=new ce.wE,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=Cr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),Nr=gr,Tr=gr,Rr=gr,Fr=gr,Vr=gr,Dr=Yn(gr,{methods:{ArrayElement(e){return this.element=us(e),this.element.classes.push("json-schema-required"),Ot}}});const Lr=a((function(e){return I(ge(Ue,0,ze("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 Jr=u((function(e,t){return e||t}));const Ur=K(I(1,Re(Ve,u((function(e,t){return Ne(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:H(Jr)(e,t)}))(Le,Ke))));const zr=K(Os);const Wr=Lr([pt,Ur,zr]);const Gr=function(){return!1},Hr=Yn(vr,{props:{fieldPatternPredicate:Gr,specPath:fr,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(cr(t))&&this.fieldPatternPredicate(cr(t))){const n=this.specPath(e),r=this.toRefractedElement(n,e),i=new ce.Pr(us(t),r);this.copyMetaAndAttributes(s,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(cr(t))||this.element.content.push(us(s))})),this.copyMetaAndAttributes(e,this.element),Ot}}}),Kr=Yn(Hr,{props:{fieldPatternPredicate:Wr}}),Zr=Yn(Kr,kr,gr,{props:{specPath:e=>Cr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new ce.Sh,this.element.classes.push("json-schema-properties")}}),Xr=Yn(Kr,kr,gr,{props:{specPath:e=>Cr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new ce.Sh,this.element.classes.push("json-schema-patternProperties")}}),Qr=Yn(Kr,kr,gr,{props:{specPath:e=>Cr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new ce.Sh,this.element.classes.push("json-schema-dependencies")}}),Yr=Yn(gr,{methods:{ArrayElement(e){return this.element=us(e),this.element.classes.push("json-schema-enum"),Ot}}}),ei=Yn(gr,{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}}}),ti=Yn(vr,kr,gr,{init(){this.element=new ce.wE,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Cr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),si=Yn(vr,kr,gr,{init(){this.element=new ce.wE,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Cr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),ni=Yn(vr,kr,gr,{init(){this.element=new ce.wE,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Cr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),ri=Yn(Kr,kr,gr,{props:{specPath:e=>Cr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new ce.Sh,this.element.classes.push("json-schema-definitions")}}),ii=gr,oi=gr,ci=gr,ai=gr,ui=gr,li=Yn(vr,kr,gr,{init(){this.element=new ce.wE,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}}}),hi=gr;class pi extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const di=pi,mi=Yn(yr,gr,{props:{specPath:ne(["document","objects","JSONReference"])},init(){this.element=new di},methods:{ObjectElement(e){const t=yr.compose.methods.ObjectElement.call(this,e);return Jt(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),gi=Yn(gr,{methods:{StringElement(e){return this.element=us(e),this.element.classes.push("reference-value"),Ot}}});const fi=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 bi=a((function(e){return function(t,s){return e(t,s)?-1:e(s,t)?1:0}}));var vi=u((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const yi=vi;const _i=a(At);const Si=K(qn);const wi=Re(Bs,zr);function Ei(e){return function(e){if(Array.isArray(e))return xi(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 xi(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 xi(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 xi(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 ji=ye(yi(bi((function(e,t){return e.length>t.length}))),Gs,g("length")),Oi=Tn((function(e,t,s){var n=s.apply(void 0,Ei(e));return Si(n)?_i(n):t}));const Bi=fi(wi,(function(e){var t=ji(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(Oi(s),void 0,e)}))}),re),Pi=Yn(vr,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>fi(e,ne(t),re))),s=Bi(t)(e);return this.element=this.toRefractedElement(s,e),Ot}}}),$i=Yn(Pi,{props:{alternator:[{predicate:Cr,specPath:["document","objects","JSONReference"]},{predicate:er,specPath:["document","objects","JSONSchema"]}]}});class Mi extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="media"}get binaryEncoding(){return this.get("binaryEncoding")}set binaryEncoding(e){this.set("binaryEncoding",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}}const Ai=Mi,qi=Yn(yr,gr,{props:{specPath:ne(["document","objects","Media"])},init(){this.element=new Ai}}),ki=gr,Ci=gr;class Ii extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="linkDescription"}get href(){return this.get("href")}set href(e){this.set("href",e)}get rel(){return this.get("rel")}set rel(e){this.set("rel",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){return this.get("mediaType")}set mediaType(e){this.set("mediaType",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get encType(){return this.get("encType")}set encType(e){this.set("encType",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}}const Ni=Ii,Ti={visitors:{value:gr,JSONSchemaOrJSONReferenceVisitor:$i,document:{objects:{JSONSchema:{$visitor:wr,fixedFields:{id:Er,$schema:xr,multipleOf:jr,maximum:Or,exclusiveMaximum:Br,minimum:Pr,exclusiveMinimum:$r,maxLength:Mr,minLength:Ar,pattern:qr,additionalItems:$i,items:Ir,maxItems:Nr,minItems:Tr,uniqueItems:Rr,maxProperties:Fr,minProperties:Vr,required:Dr,properties:Zr,additionalProperties:$i,patternProperties:Xr,dependencies:Qr,enum:Yr,type:ei,allOf:ti,anyOf:si,oneOf:ni,not:$i,definitions:ri,title:ii,description:oi,default:ci,format:ai,base:ui,links:li,media:{$ref:"#/visitors/document/objects/Media"},readOnly:hi}},JSONReference:{$visitor:mi,fixedFields:{$ref:gi}},Media:{$visitor:qi,fixedFields:{binaryEncoding:ki,type:Ci}},LinkDescription:{$visitor:Yn(yr,gr,{props:{specPath:ne(["document","objects","LinkDescription"])},init(){this.element=new Ni}}),fixedFields:{href:gr,rel:gr,title:gr,targetSchema:$i,mediaType:gr,method:gr,encType:gr,schema:$i}}}}}};const Ri=class extends yt{},Fi=e=>{if(Lt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Vi={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...fs},Di=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Sr||e(n)&&t("JSONSchemaDraft4",n)&&s("object",n))),Li=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof di||e(n)&&t("JSONReference",n)&&s("object",n))),Ji=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Ai||e(n)&&t("media",n)&&s("object",n))),Ui=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Ni||e(n)&&t("linkDescription",n)&&s("object",n))),zi={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",Sr),t.register("jSONReference",di),t.register("media",Ai),t.register("linkDescription",Ni),t}},Wi=()=>{const e=lt(zi);return{predicates:{...t,isStringElement:Jt},namespace:e}},Gi=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:s=[],specificationObj:n=Ti}={})=>{const r=(0,ce.e)(e),i=zn(n),o=$s(t,[],i);return bs(r,o,{state:{specObj:i}}),qs(o.element,s,{toolboxCreator:Wi,visitorOptions:{keyMap:Vi,nodeTypeGetter:Fi}})},Hi=e=>(t,s={})=>Gi(t,{specPath:e,...s});Sr.refract=Hi(["visitors","document","objects","JSONSchema","$visitor"]),di.refract=Hi(["visitors","document","objects","JSONReference","$visitor"]),Ai.refract=Hi(["visitors","document","objects","Media","$visitor"]),Ni.refract=Hi(["visitors","document","objects","LinkDescription","$visitor"]);const Ki=class extends Sr{constructor(e,t,s){super(e,t,s),this.element="JSONSchemaDraft6"}get idProp(){throw new Ri("id keyword from Core vocabulary has been renamed to $id.")}set idProp(e){throw new Ri("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=Yn(yr,gr,{props:{specPath:ne(["document","objects","JSONSchema"])},methods:{ObjectElement(e){return this.element=new Ki,yr.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=us(e),this.element.classes.push("boolean-json-schema"),Ot}}}),Xi=gr,Qi=Yn(vr,kr,gr,{methods:{ObjectElement(e){const t=Cr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),Ot},ArrayElement(e){return this.element=new ce.wE,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=Cr(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}}}),Yi=gr,eo=Yn(gr,{methods:{ArrayElement(e){return this.element=us(e),this.element.classes.push("json-schema-examples"),Ot}}});const to=class extends Ni{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 Ri("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}set schema(e){throw new Ri("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 Ri("method keyword from Hyper-Schema vocabulary has been removed.")}set method(e){throw new Ri("method keyword from Hyper-Schema vocabulary has been removed.")}get encType(){throw new Ri("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}set encType(e){throw new Ri("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}get submissionEncType(){return this.get("submissionEncType")}set submissionEncType(e){this.set("submissionEncType",e)}},so=Yn(yr,gr,{props:{specPath:ne(["document","objects","LinkDescription"])},init(){this.element=new to}}),no=gr,ro=ye(Gn(["visitors","document","objects","JSONSchema","$visitor"],Zi),Qn(["visitors","document","objects","JSONSchema","fixedFields","id"]),Gn(["visitors","document","objects","JSONSchema","fixedFields","$id"],Xi),Gn(["visitors","document","objects","JSONSchema","fixedFields","contains"],Ti.visitors.JSONSchemaOrJSONReferenceVisitor),Gn(["visitors","document","objects","JSONSchema","fixedFields","items"],Qi),Gn(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],Ti.visitors.JSONSchemaOrJSONReferenceVisitor),Gn(["visitors","document","objects","JSONSchema","fixedFields","const"],Yi),Gn(["visitors","document","objects","JSONSchema","fixedFields","examples"],eo),Gn(["visitors","document","objects","LinkDescription","$visitor"],so),Gn(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],Ti.visitors.JSONSchemaOrJSONReferenceVisitor),Qn(["visitors","document","objects","LinkDescription","fixedFields","schema"]),Gn(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],Ti.visitors.JSONSchemaOrJSONReferenceVisitor),Qn(["visitors","document","objects","LinkDescription","fixedFields","method"]),Qn(["visitors","document","objects","LinkDescription","fixedFields","encType"]),Gn(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"],no))(Ti),io=e=>{if(Lt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},oo={JSONSchemaDraft6Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...fs},co=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Ki||e(n)&&t("JSONSchemaDraft6",n)&&s("object",n))),ao=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof to||e(n)&&t("linkDescription",n)&&s("object",n))),uo={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft6",Ki),t.register("jSONReference",di),t.register("media",Ai),t.register("linkDescription",to),t}},lo=()=>{const e=lt(uo);return{predicates:{...r,isStringElement:Jt},namespace:e}},ho=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:s=[],specificationObj:n=ro}={})=>{const r=(0,ce.e)(e),i=zn(n),o=$s(t,[],i);return bs(r,o,{state:{specObj:i}}),qs(o.element,s,{toolboxCreator:lo,visitorOptions:{keyMap:oo,nodeTypeGetter:io}})},po=e=>(t,s={})=>ho(t,{specPath:e,...s});Ki.refract=po(["visitors","document","objects","JSONSchema","$visitor"]),to.refract=po(["visitors","document","objects","LinkDescription","$visitor"]);const mo=class extends Ki{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 Ri('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}set media(e){throw new Ri('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)}},go=Yn(yr,gr,{props:{specPath:ne(["document","objects","JSONSchema"])},methods:{ObjectElement(e){return this.element=new mo,yr.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=us(e),this.element.classes.push("boolean-json-schema"),Ot}}}),fo=gr,bo=gr,vo=gr,yo=gr;const _o=class extends to{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 Ri("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}set mediaType(e){throw new Ri("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 Ri("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}set submissionEncType(e){throw new Ri("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}get submissionMediaType(){return this.get("submissionMediaType")}set submissionMediaType(e){this.set("submissionMediaType",e)}},So=Yn(yr,gr,{props:{specPath:ne(["document","objects","LinkDescription"])},init(){this.element=new _o}}),wo=gr,Eo=gr,xo=gr,jo=gr,Oo=gr,Bo=gr,Po=gr,$o=ye(Gn(["visitors","document","objects","JSONSchema","$visitor"],go),Gn(["visitors","document","objects","JSONSchema","fixedFields","$comment"],fo),Gn(["visitors","document","objects","JSONSchema","fixedFields","if"],ro.visitors.JSONSchemaOrJSONReferenceVisitor),Gn(["visitors","document","objects","JSONSchema","fixedFields","then"],ro.visitors.JSONSchemaOrJSONReferenceVisitor),Gn(["visitors","document","objects","JSONSchema","fixedFields","else"],ro.visitors.JSONSchemaOrJSONReferenceVisitor),Qn(["visitors","document","objects","JSONSchema","fixedFields","media"]),Gn(["visitors","document","objects","JSONSchema","fixedFields","contentEncoding"],bo),Gn(["visitors","document","objects","JSONSchema","fixedFields","contentMediaType"],vo),Gn(["visitors","document","objects","JSONSchema","fixedFields","writeOnly"],yo),Gn(["visitors","document","objects","LinkDescription","$visitor"],So),Gn(["visitors","document","objects","LinkDescription","fixedFields","anchor"],wo),Gn(["visitors","document","objects","LinkDescription","fixedFields","anchorPointer"],Eo),Qn(["visitors","document","objects","LinkDescription","fixedFields","mediaType"]),Gn(["visitors","document","objects","LinkDescription","fixedFields","targetMediaType"],xo),Gn(["visitors","document","objects","LinkDescription","fixedFields","targetHints"],jo),Gn(["visitors","document","objects","LinkDescription","fixedFields","description"],Oo),Gn(["visitors","document","objects","LinkDescription","fixedFields","$comment"],Bo),Qn(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"]),Gn(["visitors","document","objects","LinkDescription","fixedFields","submissionMediaType"],Po))(ro);const Mo=class{element;constructor(e){Object.assign(this,e)}copyMetaAndAttributes(e,t){(e.meta.length>0||t.meta.length>0)&&(t.meta=dr(t.meta,e.meta),ns(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))),(e.attributes.length>0||e.meta.length>0)&&(t.attributes=dr(t.attributes,e.attributes))}};const Ao=class extends Mo{enter(e){return this.element=us(e),Ot}};const qo=class extends Mo{specObj;passingOptionsNames=["specObj"];constructor({specObj:e,...t}){super({...t}),this.specObj=e}retrievePassingOptions(){return br(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 Ao&&(null==n?void 0:n.constructor)===Ao?us(t):(bs(t,n,s),n.element)}};const ko=class extends qo{MemberElement(e){return this.element=us(e),this.element.classes.push("specification-extension"),Ot}},Co=(e,t,s=[])=>{const n=Object.getOwnPropertyDescriptors(t);for(let e of s)delete n[e];Object.defineProperties(e,n)},Io=(e,t=[e])=>{const s=Object.getPrototypeOf(e);return null===s?t:Io(s,[...t,s])},No=(e,t,s=[])=>{var n;const r=null!==(n=((...e)=>{if(0===e.length)return;let t;const s=e.map((e=>Io(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=Io(r);for(let t of e){let e=Io(t);for(let t=e.length-1;t>=0;t--){let n=e[t];-1===o.indexOf(n)&&(Co(i,n,["constructor",...s]),o.push(n))}}return i.constructor=t,i},To=e=>e.filter(((t,s)=>e.indexOf(t)==s)),Ro=(e,t)=>{const s=t.map((e=>Io(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++}},Fo=(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(Ro(s,e)||{},s),defineProperty(){throw new Error("Cannot define new properties on Proxies created by ts-mixer")},has:(s,n)=>void 0!==Ro(n,e)||void 0!==t[n],get:(s,n)=>(Ro(n,e)||t)[n],set(t,s,n){const r=Ro(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)))))}),Vo=null,Do="copy",Lo="copy",Jo="deep",Uo=new WeakMap,zo=e=>Uo.get(e),Wo=(e,t)=>{var s,n;const r=To([...Object.getOwnPropertyNames(e),...Object.getOwnPropertyNames(t)]),i={};for(let o of r)i[o]=To([...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},Go=(e,t)=>{var s,n,r,i;return{property:Wo(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:Wo(null!==(r=null==e?void 0:e.method)&&void 0!==r?r:{},null!==(i=null==t?void 0:t.method)&&void 0!==i?i:{})}},Ho=(e,t)=>{var s,n,r,i,o,c;return{class:To([...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:Go(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:Go(null!==(o=null==e?void 0:e.instance)&&void 0!==o?o:{},null!==(c=null==t?void 0:t.instance)&&void 0!==c?c:{})}},Ko=new Map,Zo=(...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=[...Io(e.prototype).map((e=>e.constructor)),...null!==(t=zo(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=>Ko.get(e))).filter((e=>!!e));return 0==t.length?{}:1==t.length?t[0]:t.reduce(((e,t)=>Ho(e,t)))},Xo=e=>{let t=Ko.get(e);return t||(t={},Ko.set(e,t)),t};function Qo(...e){var t,s,n;const r=e.map((e=>e.prototype)),i=Vo;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)Co(this,new s(...t));null!==i&&"function"==typeof this[i]&&this[i].apply(this,t)}var c,a;o.prototype="copy"===Lo?No(r,o):(c=r,a=o,Fo([...c,{constructor:a}])),Object.setPrototypeOf(o,"copy"===Do?No(e,null,["prototype"]):Fo(e,Function.prototype));let u=o;if("none"!==Jo){const r="deep"===Jo?Zo(...e):((...e)=>{const t=e.map((e=>Xo(e)));return 0===t.length?{}:1===t.length?t[0]:t.reduce(((e,t)=>Ho(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)}Yo(null!==(s=null==r?void 0:r.static)&&void 0!==s?s:{},u),Yo(null!==(n=null==r?void 0:r.instance)&&void 0!==n?n:{},u.prototype)}var l,h;return l=u,h=e,Uo.set(l,h),u}const Yo=(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 ec=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 tc(e){return function(t){return new ec(e,t)}}const sc=u(B(["take"],tc,(function(e,t){return be(0,e<0?1/0:e,t)})));const nc=u((function(e,t){return se(sc(e.length,t),e)})),rc=e=>Gt(e)&&e.hasKey("$ref"),ic=e=>Jt(e.key)&&nc("x-",cr(e.key));const oc=class extends qo{specPath;ignoredFields;canSupportSpecificationExtensions=!0;specificationExtensionPredicate=ic;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(Jt(n)&&s.includes(cr(n))&&!this.ignoredFields.includes(cr(n))){const s=this.toRefractedElement([...t,"fixedFields",cr(n)],e),i=new ce.Pr(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(cr(n))||this.element.content.push(us(r))})),this.copyMetaAndAttributes(e,this.element),Ot}};class cc extends ce.Sh{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 ac=cc;class uc extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new ac,this.specPath=ne(["document","objects","AsyncApi"]),this.canSupportSpecificationExtensions=!0}}const lc=uc;class hc extends ce.Om{constructor(e,t,s){super(e,t,s),this.element="asyncApiVersion",this.classes.push("spec-version"),this.classes.push("version")}}const pc=hc;class dc extends(Qo(qo,Ao)){StringElement(e){const t=new pc(cr(e));return this.copyMetaAndAttributes(e,t),this.element=t,Ot}}const mc=dc;class gc extends ce.Om{constructor(e,t,s){super(e,t,s),this.element="identifier"}}const fc=gc;class bc extends(Qo(qo,Ao)){StringElement(e){const t=new fc(cr(e));return this.copyMetaAndAttributes(e,t),this.element=t,Ot}}const vc=bc;class yc extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="info",this.classes.push("info")}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get termsOfService(){return this.get("termsOfService")}set termsOfService(e){this.set("termsOfService",e)}get 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 _c=yc;class Sc extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new _c,this.specPath=ne(["document","objects","Info"]),this.canSupportSpecificationExtensions=!0}}const wc=Sc;const Ec=class extends Ao{StringElement(e){return this.element=new ce.Om(cr(e)),this.copyMetaAndAttributes(e,this.element),this.element.classes.push("api-version"),this.element.classes.push("version"),Ot}};class xc extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="contact"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}get email(){return this.get("email")}set email(e){this.set("email",e)}}const jc=xc;class Oc extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new jc,this.specPath=ne(["document","objects","Contact"]),this.canSupportSpecificationExtensions=!0}}const Bc=Oc;class Pc extends ce.Sh{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 $c=Pc;class Mc extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new $c,this.specPath=ne(["document","objects","CorrelationID"]),this.canSupportSpecificationExtensions=!0}}const Ac=Mc;class qc extends ce.Om{constructor(e,t,s){super(e,t,s),this.element="defaultContentType"}}const kc=qc;class Cc extends(Qo(qo,Ao)){StringElement(e){const t=new kc(cr(e));return this.copyMetaAndAttributes(e,t),this.element=t,Ot}}const Ic=Cc;class Nc extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="license"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}}const Tc=Nc;class Rc extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Tc,this.specPath=ne(["document","objects","License"]),this.canSupportSpecificationExtensions=!0}}const Fc=Rc;class Vc extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="oAuthFlows"}get implicit(){return this.get("implicit")}set implicit(e){this.set("implicit",e)}get password(){return this.get("password")}set password(e){this.set("password",e)}get clientCredentials(){return this.get("clientCredentials")}set clientCredentials(e){this.set("clientCredentials",e)}get authorizationCode(){return this.get("authorizationCode")}set authorizationCode(e){this.set("authorizationCode",e)}}const Dc=Vc;class Lc extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Dc,this.specPath=ne(["document","objects","OAuthFlows"]),this.canSupportSpecificationExtensions=!0}}const Jc=Lc;class Uc extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="oAuthFlow"}get authorizationUrl(){return this.get("authorizationUrl")}set authorizationUrl(e){this.set("authorizationUrl",e)}get tokenUrl(){return this.get("tokenUrl")}set tokenUrl(e){this.set("tokenUrl",e)}get refreshUrl(){return this.get("refreshUrl")}set refreshUrl(e){this.set("refreshUrl",e)}get scopes(){return this.get("scopes")}set scopes(e){this.set("scopes",e)}}const zc=Uc;class Wc extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new zc,this.specPath=ne(["document","objects","OAuthFlow"]),this.canSupportSpecificationExtensions=!0}}const Gc=Wc;class Hc extends ce.Sh{static primaryClass="oauth-flow-scopes";constructor(e,t,s){super(e,t,s),this.classes.push(Hc.primaryClass)}}const Kc=Hc;const Zc=class extends qo{specPath;ignoredFields;fieldPatternPredicate=Gr;canSupportSpecificationExtensions=!1;specificationExtensionPredicate=ic;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(cr(t))&&this.fieldPatternPredicate(cr(t))){const n=this.specPath(e),r=this.toRefractedElement(n,e),i=new ce.Pr(us(t),r);this.copyMetaAndAttributes(s,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(cr(t))||this.element.content.push(us(s))})),this.copyMetaAndAttributes(e,this.element),Ot}};const Xc=class extends Zc{constructor(e){super(e),this.fieldPatternPredicate=Wr}};class Qc extends(Qo(Xc,Ao)){constructor(e){super(e),this.element=new Kc,this.specPath=ne(["value"])}}const Yc=Qc;const ea=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 ta extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="servers"}}const sa=ta;class na extends ce.Sh{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 ra=na;class ia extends ce.Sh{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 oa=ia;class ca extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="channels"}}const aa=ca;class ua extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="components"}get schemas(){return this.get("schemas")}set schemas(e){this.set("schemas",e)}get 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 la=ua;class ha extends ce.Sh{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 pa=ha;class da extends ce.Sh{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 ma=da;class ga extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="parameters"}}const fa=ga;class ba extends ce.Sh{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 va=ba,ya=e=>{if(Lt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},_a={JSONSchemaDraft7Element:["content"],JSONReferenceElement:["content"],LinkDescriptionElement:["content"],...fs},Sa=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof mo||e(n)&&t("JSONSchemaDraft7",n)&&s("object",n))),wa=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof _o||e(n)&&t("linkDescription",n)&&s("object",n))),Ea={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft7",mo),t.register("jSONReference",di),t.register("linkDescription",_o),t}},xa=()=>{const e=lt(Ea);return{predicates:{...i,isStringElement:Jt},namespace:e}},ja=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:s=[],specificationObj:n=$o}={})=>{const r=(0,ce.e)(e),i=zn(n),o=$s(t,[],i);return bs(r,o,{state:{specObj:i}}),qs(o.element,s,{toolboxCreator:xa,visitorOptions:{keyMap:_a,nodeTypeGetter:ya}})},Oa=e=>(t,s={})=>ja(t,{specPath:e,...s});mo.refract=Oa(["visitors","document","objects","JSONSchema","$visitor"]),_o.refract=Oa(["visitors","document","objects","LinkDescription","$visitor"]);const Ba=class extends mo{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 Pa extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="securityRequirement"}}const $a=Pa;class Ma extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="server"}get url(){return this.get("url")}set url(e){this.set("url",e)}get 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 Aa=Ma;class qa extends ce.Sh{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 ka=qa;class Ca extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="serverVariable"}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}}const Ia=Ca,Na=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s,hasClass:n})=>r=>r instanceof ac||e(r)&&t("asyncApi2",r)&&s("object",r)&&n("api",r))),Ta=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof pc||e(n)&&t("asyncApiVersion",n)&&s("string",n))),Ra=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ra||e(n)&&t("channelBindings",n)&&s("object",n))),Fa=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof oa||e(n)&&t("channelItem",n)&&s("object",n))),Va=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof aa||e(n)&&t("channels",n)&&s("object",n))),Da=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof la||e(n)&&t("components",n)&&s("object",n))),La=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof jc||e(n)&&t("contact",n)&&s("object",n))),Ja=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof fc||e(n)&&t("identifier",n)&&s("string",n))),Ua=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof _c||e(n)&&t("info",n)&&s("object",n))),za=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Tc||e(n)&&t("license",n)&&s("object",n))),Wa=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof pa||e(n)&&t("operation",n)&&s("object",n))),Ga=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ma||e(n)&&t("parameter",n)&&s("object",n))),Ha=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof fa||e(n)&&t("parameters",n)&&s("object",n))),Ka=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof va||e(n)&&t("reference",n)&&s("object",n))),Za=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Ba||e(n)&&t("schema",n)&&s("object",n))),Xa=e=>Wt(e)&&e.classes.includes("boolean-json-schema"),Qa=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof $a||e(n)&&t("securityRequirement",n)&&s("object",n))),Ya=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Aa||e(n)&&t("server",n)&&s("object",n))),eu=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ka||e(n)&&t("serverBindings",n)&&s("object",n))),tu=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof sa||e(n)&&t("servers",n)&&s("object",n))),su=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Ia||e(n)&&t("serverVariable",n)&&s("object",n)));class nu extends(Qo(Zc,Ao)){constructor(e){super(e),this.element=new sa,this.element.classes.push("servers"),this.specPath=e=>rc(e)?["document","objects","Reference"]:["document","objects","Server"],this.canSupportSpecificationExtensions=!1,this.fieldPatternPredicate=ea(/^[A-Za-z0-9_-]+$/)}ObjectElement(e){const t=Zc.prototype.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","server")})),t}}const ru=nu;class iu extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Aa,this.specPath=ne(["document","objects","Server"]),this.canSupportSpecificationExtensions=!0}}const ou=iu;const cu=class extends Ao{StringElement(e){const t=super.enter(e);return this.element.classes.push("server-url"),t}};const au=class extends qo{alternator;constructor({alternator:e,...t}){super({...t}),this.alternator=e}enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>fi(e,ne(t),re))),s=Bi(t)(e);return this.element=this.toRefractedElement(s,e),Ot}};class uu extends(Qo(au,Ao)){constructor(e){super(e),this.alternator=[{predicate:rc,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","ServerBindings"]}]}ObjectElement(e){const t=au.prototype.enter.call(this,e);return Ka(this.element)&&this.element.setMetaProperty("referenced-element","serverBindings"),t}}const lu=uu;class hu extends ce.Sh{static primaryClass="server-variables";constructor(e,t,s){super(e,t,s),this.classes.push(hu.primaryClass)}}const pu=hu;class du extends(Qo(Xc,Ao)){constructor(e){super(e),this.element=new pu,this.specPath=e=>rc(e)?["document","objects","Reference"]:["document","objects","ServerVariable"]}}const mu=du;class gu extends ce.wE{static primaryClass="server-security";constructor(e,t,s){super(e,t,s),this.classes.push(gu.primaryClass)}}const fu=gu;class bu extends(Qo(qo,Ao)){constructor(e){super(e),this.element=new fu}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 vu=bu;class yu extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Ia,this.specPath=ne(["document","objects","ServerVariable"]),this.canSupportSpecificationExtensions=!0}}const _u=yu;class Su extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new ka,this.specPath=ne(["document","objects","ServerBindings"]),this.canSupportSpecificationExtensions=!0}}const wu=Su;class Eu extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="securityScheme"}get type(){return this.get("type")}set type(e){this.set("type",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get in(){return this.get("in")}set in(e){this.set("in",e)}get scheme(){return this.get("scheme")}set scheme(e){this.set("scheme",e)}get bearerFormat(){return this.get("bearerFormat")}set bearerFormat(e){this.set("bearerFormat",e)}get flows(){return this.get("flows")}set flows(e){this.set("flows",e)}get openIdConnectUrl(){return this.get("openIdConnectUrl")}set openIdConnectUrl(e){this.set("openIdConnectUrl",e)}}const xu=Eu;class ju extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new xu,this.specPath=ne(["document","objects","SecurityScheme"]),this.canSupportSpecificationExtensions=!0}}const Ou=ju;class Bu extends(Qo(Xc,Ao)){constructor(e){super(e),this.element=new $a,this.specPath=ne(["value"])}}const Pu=Bu;class $u extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new va,this.specPath=ne(["document","objects","Reference"]),this.canSupportSpecificationExtensions=!1}ObjectElement(e){const t=oc.prototype.ObjectElement.call(this,e);return Jt(this.element.$ref)&&this.element.classes.push("reference-element"),t}}const Mu=$u;const Au=class extends Ao{StringElement(e){const t=super.enter(e);return this.element.classes.push("reference-value"),t}};class qu extends(Qo(oc,Ao)){constructor(e){super(e),this.specPath=ne(["document","objects","Schema"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){return this.element=new Ba,oc.prototype.ObjectElement.call(this,e)}BooleanElement(e){const t=super.enter(e);return this.element.classes.push("boolean-json-schema"),t}}const ku=qu,{JSONSchemaOrJSONReferenceVisitor:Cu}=$o.visitors,Iu=Cu.compose({methods:{enter(e){const t=Cu.compose.methods.enter.call(this,e);return Ka(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),{allOf:Nu}=$o.visitors.document.objects.JSONSchema.fixedFields,Tu=Nu.compose({methods:{ArrayElement(e){const t=Nu.compose.methods.ArrayElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{anyOf:Ru}=$o.visitors.document.objects.JSONSchema.fixedFields,Fu=Ru.compose({methods:{ArrayElement(e){const t=Ru.compose.methods.ArrayElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{oneOf:Vu}=$o.visitors.document.objects.JSONSchema.fixedFields,Du=Vu.compose({methods:{ArrayElement(e){const t=Vu.compose.methods.ArrayElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{definitions:Lu}=$o.visitors.document.objects.JSONSchema.fixedFields,Ju=Lu.compose({methods:{ObjectElement(e){const t=Lu.compose.methods.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{dependencies:Uu}=$o.visitors.document.objects.JSONSchema.fixedFields,zu=Uu.compose({methods:{ObjectElement(e){const t=Uu.compose.methods.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{items:Wu}=$o.visitors.document.objects.JSONSchema.fixedFields,Gu=Wu.compose({methods:{ObjectElement(e){const t=Wu.compose.methods.ObjectElement.call(this,e);return Ka(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t},ArrayElement(e){const t=Wu.compose.methods.ArrayElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{patternProperties:Hu}=$o.visitors.document.objects.JSONSchema.fixedFields,Ku=Hu.compose({methods:{ObjectElement(e){const t=Hu.compose.methods.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{properties:Zu}=$o.visitors.document.objects.JSONSchema.fixedFields,Xu=Zu.compose({methods:{ObjectElement(e){const t=Zu.compose.methods.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),Qu=z((e=>e===$o.visitors.JSONSchemaOrJSONReferenceVisitor?Iu:e),$o.visitors.document.objects.JSONSchema.fixedFields);class Yu extends(Qo(Zc,Ao)){constructor(e){super(e),this.element=new fa,this.specPath=e=>rc(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=Zc.prototype.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}const el=Yu;class tl extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new ma,this.specPath=ne(["document","objects","Parameter"]),this.canSupportSpecificationExtensions=!0}}const sl=tl;class nl extends(Qo(au,Ao)){constructor(e){super(e),this.alternator=[{predicate:rc,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","Schema"]}]}ObjectElement(e){const t=au.prototype.enter.call(this,e);return Ka(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}const rl=nl;class il extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="externalDocumentation"}get description(){return this.get("description")}set description(e){this.set("description",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}}const ol=il;class cl extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new ol,this.specPath=ne(["document","objects","ExternalDocumentation"]),this.canSupportSpecificationExtensions=!0}}const al=cl;class ul extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new la,this.specPath=ne(["document","objects","Components"]),this.canSupportSpecificationExtensions=!0}}const ll=ul;class hl extends ce.Sh{static primaryClass="components-schemas";constructor(e,t,s){super(e,t,s),this.classes.push(hl.primaryClass)}}const pl=hl;class dl extends(Qo(Xc,Ao)){constructor(e){super(e),this.element=new pl,this.specPath=e=>rc(e)?["document","objects","Reference"]:["document","objects","Schema"]}ObjectElement(e){const t=Xc.prototype.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}const ml=dl;class gl extends ce.Sh{static primaryClass="components-servers";constructor(e,t,s){super(e,t,s),this.classes.push(gl.primaryClass)}}const fl=gl;class bl extends(Qo(Xc,Ao)){constructor(e){super(e),this.element=new fl,this.specPath=e=>rc(e)?["document","objects","Reference"]:["document","objects","Server"]}ObjectElement(e){const t=Xc.prototype.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","server")})),t}}const vl=bl;class yl extends ce.Sh{static primaryClass="components-server-variables";constructor(e,t,s){super(e,t,s),this.classes.push(yl.primaryClass)}}const _l=yl;class Sl extends(Qo(Xc,Ao)){constructor(e){super(e),this.element=new _l,this.specPath=e=>rc(e)?["document","objects","Reference"]:["document","objects","ServerVariable"]}ObjectElement(e){const t=Xc.prototype.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","serverVariable")})),t}}const wl=Sl;class El extends ce.Sh{static primaryClass="components-channels";constructor(e,t,s){super(e,t,s),this.classes.push(El.primaryClass)}}const xl=El;class jl extends(Qo(Xc,Ao)){constructor(e){super(e),this.element=new xl,this.specPath=ne(["document","objects","ChannelItem"])}}const Ol=jl;class Bl extends ce.Sh{static primaryClass="components-messages";constructor(e,t,s){super(e,t,s),this.classes.push(Bl.primaryClass)}}const Pl=Bl;class $l extends(Qo(Xc,Ao)){constructor(e){super(e),this.element=new Pl,this.specPath=e=>rc(e)?["document","objects","Reference"]:["document","objects","Message"]}ObjectElement(e){const t=Xc.prototype.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","message")})),t}}const Ml=$l;class Al extends ce.Sh{static primaryClass="components-security-schemes";constructor(e,t,s){super(e,t,s),this.classes.push(Al.primaryClass)}}const ql=Al;class kl extends(Qo(Xc,Ao)){constructor(e){super(e),this.element=new ql,this.specPath=e=>rc(e)?["document","objects","Reference"]:["document","objects","SecurityScheme"]}ObjectElement(e){const t=Xc.prototype.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","securityScheme")})),t}}const Cl=kl;class Il extends ce.Sh{static primaryClass="components-parameters";constructor(e,t,s){super(e,t,s),this.classes.push(Il.primaryClass)}}const Nl=Il;class Tl extends(Qo(Xc,Ao)){constructor(e){super(e),this.element=new Nl,this.specPath=e=>rc(e)?["document","objects","Reference"]:["document","objects","Parameter"]}ObjectElement(e){const t=Xc.prototype.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}const Rl=Tl;class Fl extends ce.Sh{static primaryClass="components-correlation-ids";constructor(e,t,s){super(e,t,s),this.classes.push(Fl.primaryClass)}}const Vl=Fl;class Dl extends(Qo(Xc,Ao)){constructor(e){super(e),this.element=new Vl,this.specPath=e=>rc(e)?["document","objects","Reference"]:["document","objects","CorrelationID"]}ObjectElement(e){const t=Xc.prototype.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","correlationID")})),t}}const Ll=Dl;class Jl extends ce.Sh{static primaryClass="components-operation-traits";constructor(e,t,s){super(e,t,s),this.classes.push(Jl.primaryClass)}}const Ul=Jl;class zl extends(Qo(Xc,Ao)){constructor(e){super(e),this.element=new Ul,this.specPath=e=>rc(e)?["document","objects","Reference"]:["document","objects","OperationTrait"]}ObjectElement(e){const t=Xc.prototype.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","operationTrait")})),t}}const Wl=zl;class Gl extends ce.Sh{static primaryClass="components-message-traits";constructor(e,t,s){super(e,t,s),this.classes.push(Gl.primaryClass)}}const Hl=Gl;class Kl extends(Qo(Xc,Ao)){constructor(e){super(e),this.element=new Hl,this.specPath=e=>rc(e)?["document","objects","Reference"]:["document","objects","MessageTrait"]}ObjectElement(e){const t=Xc.prototype.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","messageTrait")})),t}}const Zl=Kl;class Xl extends ce.Sh{static primaryClass="components-server-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(Xl.primaryClass)}}const Ql=Xl;class Yl extends(Qo(Xc,Ao)){constructor(e){super(e),this.element=new Ql,this.specPath=e=>rc(e)?["document","objects","Reference"]:["document","objects","ServerBindings"]}ObjectElement(e){const t=Xc.prototype.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","serverBindings")})),t}}const eh=Yl;class th extends ce.Sh{static primaryClass="components-channel-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(th.primaryClass)}}const sh=th;class nh extends(Qo(Xc,Ao)){constructor(e){super(e),this.element=new sh,this.specPath=e=>rc(e)?["document","objects","Reference"]:["document","objects","ChannelBindings"]}ObjectElement(e){const t=Xc.prototype.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","channelBindings")})),t}}const rh=nh;class ih extends ce.Sh{static primaryClass="components-operation-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(ih.primaryClass)}}const oh=ih;class ch extends(Qo(Xc,Ao)){constructor(e){super(e),this.element=new oh,this.specPath=e=>rc(e)?["document","objects","Reference"]:["document","objects","OperationBindings"]}ObjectElement(e){const t=Xc.prototype.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","operationBindings")})),t}}const ah=ch;class uh extends ce.Sh{static primaryClass="components-message-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(uh.primaryClass)}}const lh=uh;class hh extends(Qo(Xc,Ao)){constructor(e){super(e),this.element=new lh,this.specPath=e=>rc(e)?["document","objects","Reference"]:["document","objects","MessageBindings"]}ObjectElement(e){const t=Xc.prototype.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","messageBindings")})),t}}const ph=hh;class dh extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new pa,this.specPath=ne(["document","objects","Operation"])}}const mh=dh;class gh extends ce.wE{static primaryClass="operation-security";constructor(e,t,s){super(e,t,s),this.classes.push(gh.primaryClass)}}const fh=gh;class bh extends(Qo(qo,Ao)){constructor(e){super(e),this.element=new fh}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 vh=bh;class yh extends(Qo(au,Ao)){constructor(e){super(e),this.alternator=[{predicate:rc,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","OperationBindings"]}]}ObjectElement(e){const t=au.prototype.enter.call(this,e);return Ka(this.element)&&this.element.setMetaProperty("referenced-element","operationBindings"),t}}const _h=yh;class Sh extends ce.wE{static primaryClass="operation-traits";constructor(e,t,s){super(e,t,s),this.classes.push(Sh.primaryClass)}}const wh=Sh;class Eh extends(Qo(qo,Ao)){constructor(e){super(e),this.element=new wh}ArrayElement(e){return e.forEach((e=>{let t;rc(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 xh=Eh;class jh extends ce.Sh{static primaryClass="operation-message-map";constructor(e,t,s){super(e,t,s),this.classes.push(jh.primaryClass)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}}const Oh=jh;class Bh extends ce.wE{static primaryClass="operation-message";constructor(e,t,s){super(e,t,s),this.classes.push(Bh.primaryClass)}}const Ph=Bh;class $h extends(Qo(qo,Ao)){ObjectElement(e){if(rc(e))this.element=this.toRefractedElement(["document","objects","Reference"],e),this.element.setMetaProperty("referenced-element","message");else if(Ht(e.get("oneOf"))){this.element=new Oh;const t=new Ph;e.get("oneOf").forEach((e=>{let s;rc(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 Mh=$h;class Ah extends ce.wE{constructor(e,t,s){super(e,t,s),this.element="tags"}}const qh=Ah;class kh extends(Qo(qo,Ao)){constructor(e){super(e),this.element=new qh}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 Ch=kh;class Ih extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="tag"}get name(){return this.get("name")}set name(e){this.set("name",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}}const Nh=Ih;class Th extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Nh,this.specPath=ne(["document","objects","Tag"]),this.canSupportSpecificationExtensions=!0}}const Rh=Th;class Fh extends(Qo(Xc,Ao)){constructor(e){super(e),this.element=new aa,this.specPath=ne(["document","objects","ChannelItem"])}}const Vh=Fh;class Dh extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new ra,this.specPath=ne(["document","objects","ChannelBindings"]),this.canSupportSpecificationExtensions=!0}}const Lh=Dh;class Jh extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new oa,this.specPath=ne(["document","objects","ChannelItem"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const t=oc.prototype.ObjectElement.call(this,e);return Jt(this.element.$ref)&&(this.element.classes.push("reference-element"),this.element.setMetaProperty("referenced-element","channelItem")),t}}const Uh=Jh;const zh=class extends Ao{StringElement(e){const t=super.enter(e);return this.element.classes.push("reference-value"),t}};class Wh extends ce.wE{static primaryClass="channel-item-server-names-list";constructor(e,t,s){super(e,t,s),this.classes.push(Wh.primaryClass)}}const Gh=Wh;class Hh extends(Qo(qo,Ao)){constructor(e){super(e),this.element=new Gh}ArrayElement(e){return e.forEach((e=>{const t=us(e);Jt(t)&&t.classes.push("server-name"),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ot}}const Kh=Hh;class Zh extends(Qo(au,Ao)){constructor(e){super(e),this.alternator=[{predicate:rc,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","ChannelBindings"]}]}ObjectElement(e){const t=au.prototype.enter.call(this,e);return Ka(this.element)&&this.element.setMetaProperty("referenced-element","channelBindings"),t}}const Xh=Zh;class Qh extends ce.Sh{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 Yh=Qh;class ep extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Yh,this.specPath=ne(["document","objects","MessageBindings"]),this.canSupportSpecificationExtensions=!0}}const tp=ep;class sp extends ce.Sh{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 np=sp;class rp extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new np,this.specPath=ne(["document","objects","MessageExample"]),this.canSupportSpecificationExtensions=!0}}const ip=rp;class op extends ce.Sh{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 cp=op;class ap extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new cp,this.specPath=ne(["document","objects","MessageTrait"]),this.canSupportSpecificationExtensions=!0}}const up=ap;class lp extends(Qo(au,Ao)){constructor(e){super(e),this.alternator=[{predicate:rc,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","Schema"]}]}ObjectElement(e){const t=au.prototype.enter.call(this,e);return Ka(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}const hp=lp;class pp extends(Qo(au,Ao)){constructor(e){super(e),this.alternator=[{predicate:rc,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","CorrelationID"]}]}ObjectElement(e){const t=au.prototype.enter.call(this,e);return Ka(this.element)&&this.element.setMetaProperty("referenced-element","correlationID"),t}}const dp=pp;class mp extends(Qo(au,Ao)){constructor(e){super(e),this.alternator=[{predicate:rc,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","MessageBindings"]}]}ObjectElement(e){const t=au.prototype.enter.call(this,e);return Ka(this.element)&&this.element.setMetaProperty("referenced-element","messageBindings"),t}}const gp=mp;class fp extends ce.wE{static primaryClass="message-trait-examples";constructor(e,t,s){super(e,t,s),this.classes.push(fp.primaryClass)}}const bp=fp;class vp extends(Qo(qo,Ao)){constructor(e){super(e),this.element=new bp}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 yp=vp;const _p=m(-1);const Sp=class extends Ri{};const wp=class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new Sp("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new Sp("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new Sp("latest method in MediaTypes class is not yet implemented.")}};class Ep extends wp{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 _p(this.filterByFormat(e))}}const xp=new Ep("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 jp extends ce.Sh{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 Op=jp;class Bp extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Op,this.specPath=ne(["document","objects","Message"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const t=oc.prototype.ObjectElement.call(this,e),s=this.element.get("payload"),n=h(xp.latest(),cr(e.get("schemaFormat")));if(xp.includes(n)&&rc(s)){const e=this.toRefractedElement(["document","objects","Reference"],s);e.meta.set("referenced-element","schema"),this.element.payload=e}else xp.includes(n)&&Gt(this.element.payload)&&(this.element.payload=this.toRefractedElement(["document","objects","Schema"],s));return t}}const Pp=Bp;class $p extends(Qo(au,Ao)){constructor(e){super(e),this.alternator=[{predicate:rc,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","Schema"]}]}ObjectElement(e){const t=au.prototype.enter.call(this,e);return Ka(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}const Mp=$p;class Ap extends(Qo(au,Ao)){constructor(e){super(e),this.alternator=[{predicate:rc,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","CorrelationID"]}]}ObjectElement(e){const t=au.prototype.enter.call(this,e);return Ka(this.element)&&this.element.setMetaProperty("referenced-element","correlationID"),t}}const qp=Ap;class kp extends(Qo(au,Ao)){constructor(e){super(e),this.alternator=[{predicate:rc,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","MessageBindings"]}]}ObjectElement(e){const t=au.prototype.enter.call(this,e);return Ka(this.element)&&this.element.setMetaProperty("referenced-element","messageBindings"),t}}const Cp=kp;class Ip extends ce.wE{static primaryClass="message-examples";constructor(e,t,s){super(e,t,s),this.classes.push(Ip.primaryClass)}}const Np=Ip;class Tp extends(Qo(qo,Ao)){constructor(e){super(e),this.element=new Np}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 Rp=Tp;class Fp extends ce.wE{static primaryClass="message-traits";constructor(e,t,s){super(e,t,s),this.classes.push(Fp.primaryClass)}}const Vp=Fp;class Dp extends(Qo(qo,Ao)){constructor(e){super(e),this.element=new Vp}ArrayElement(e){return e.forEach((e=>{let t;rc(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 Lp=Dp;class Jp extends ce.Sh{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 Up=Jp;class zp extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Up,this.specPath=ne(["document","objects","OperationBindings"]),this.canSupportSpecificationExtensions=!0}}const Wp=zp;class Gp extends ce.Sh{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 Hp=Gp;class Kp extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Hp,this.specPath=ne(["document","objects","OperationTrait"]),this.canSupportSpecificationExtensions=!0}}const Zp=Kp;class Xp extends ce.wE{static primaryClass="operation-trait-security";constructor(e,t,s){super(e,t,s),this.classes.push(Xp.primaryClass)}}const Qp=Xp;class Yp extends(Qo(qo,Ao)){constructor(e){super(e),this.element=new Qp}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 ed=Yp;class td extends(Qo(au,Ao)){constructor(e){super(e),this.alternator=[{predicate:rc,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","OperationBindings"]}]}ObjectElement(e){const t=au.prototype.enter.call(this,e);return Ka(this.element)&&this.element.setMetaProperty("referenced-element","operationBindings"),t}}const sd=td;class nd extends ce.Sh{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 rd=nd;class id extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new rd,this.specPath=ne(["document","objects","bindings","amqp","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const od=id;class cd extends ce.Sh{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 ad=cd;class ud extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new ad,this.specPath=ne(["document","objects","bindings","amqp","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const ld=ud;class hd extends ce.Sh{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 pd=hd;class dd extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new pd,this.specPath=ne(["document","objects","bindings","amqp","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const md=dd;class gd extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="amqpServerBinding",this.classes.push("server-binding")}}const fd=gd;class bd extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new fd,this.specPath=ne(["document","objects","bindings","amqp","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const vd=bd;class yd extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="amqp1ChannelBinding",this.classes.push("channel-binding")}}const _d=yd;class Sd extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new _d,this.specPath=ne(["document","objects","bindings","amqp1","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const wd=Sd;class Ed extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="amqp1MessageBinding",this.classes.push("message-binding")}}const xd=Ed;class jd extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new xd,this.specPath=ne(["document","objects","bindings","amqp1","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Od=jd;class Bd extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="amqp1OperationBinding",this.classes.push("operation-binding")}}const Pd=Bd;class $d extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Pd,this.specPath=ne(["document","objects","bindings","amqp1","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Md=$d;class Ad extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="amqp1ServerBinding",this.classes.push("server-binding")}}const qd=Ad;class kd extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new qd,this.specPath=ne(["document","objects","bindings","amqp1","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Cd=kd;class Id extends ce.Sh{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 Nd=Id;class Td extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Nd,this.specPath=ne(["document","objects","bindings","anypointmq","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Rd=Td;class Fd extends ce.Sh{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 Vd=Fd;class Dd extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Vd,this.specPath=ne(["document","objects","bindings","anypointmq","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Ld=Dd;class Jd extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="anypointmqOperationBinding",this.classes.push("operation-binding")}}const Ud=Jd;class zd extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Ud,this.specPath=ne(["document","objects","bindings","anypointmq","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Wd=zd;class Gd extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="anypointmqServerBinding",this.classes.push("server-binding")}}const Hd=Gd;class Kd extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Hd,this.specPath=ne(["document","objects","bindings","anypointmq","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Zd=Kd;class Xd extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="httpChannelBinding",this.classes.push("channel-binding")}}const Qd=Xd;class Yd extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Qd,this.specPath=ne(["document","objects","bindings","http","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const em=Yd;class tm extends ce.Sh{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 sm=tm;class nm extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new sm,this.specPath=ne(["document","objects","bindings","http","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const rm=nm;class im extends ce.Sh{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 om=im;class cm extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new om,this.specPath=ne(["document","objects","bindings","http","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const am=cm;class um extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="httpServerBinding",this.classes.push("server-binding")}}const lm=um;class hm extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new lm,this.specPath=ne(["document","objects","bindings","http","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const pm=hm;class dm extends ce.Sh{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 mm=dm;class gm extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new mm,this.specPath=ne(["document","objects","bindings","googlepubsub","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const fm=gm;class bm extends ce.Sh{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 vm=bm;class ym extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new vm,this.specPath=ne(["document","objects","bindings","googlepubusb","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const _m=ym;class Sm extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="googlepubsubOperationBinding",this.classes.push("operation-binding")}}const wm=Sm;class Em extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new wm,this.specPath=ne(["document","objects","bindings","googlepubsub","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const xm=Em;class jm extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="googlepubsubServerBinding",this.classes.push("server-binding")}}const Om=jm;class Bm extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Om,this.specPath=ne(["document","objects","bindings","googlepubsub","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Pm=Bm;class $m extends ce.Sh{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 Mm=$m;class Am extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Mm,this.specPath=ne(["document","objects","bindings","ibmmq","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const qm=Am;class km extends ce.Sh{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 Cm=km;class Im extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Cm,this.specPath=ne(["document","objects","bindings","ibmmq","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Nm=Im;class Tm extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="ibmmqOperationBinding",this.classes.push("operation-binding")}}const Rm=Tm;class Fm extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Rm,this.specPath=ne(["document","objects","bindings","ibmmq","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Vm=Fm;class Dm extends ce.Sh{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 Lm=Dm;class Jm extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Lm,this.specPath=ne(["document","objects","bindings","ibmmq","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Um=Jm;class zm extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="jmsChannelBinding",this.classes.push("channel-binding")}}const Wm=zm;class Gm extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Wm,this.specPath=ne(["document","objects","bindings","jms","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Hm=Gm;class Km extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="jmsMessageBinding",this.classes.push("message-binding")}}const Zm=Km;class Xm extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Zm,this.specPath=ne(["document","objects","bindings","jms","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Qm=Xm;class Ym extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="jmsOperationBinding",this.classes.push("operation-binding")}}const eg=Ym;class tg extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new eg,this.specPath=ne(["document","objects","bindings","jms","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const sg=tg;class ng extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="jmsServerBinding",this.classes.push("server-binding")}}const rg=ng;class ig extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new rg,this.specPath=ne(["document","objects","bindings","jms","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const og=ig;class cg extends ce.Sh{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 ag=cg;class ug extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new ag,this.specPath=ne(["document","objects","bindings","kafka","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const lg=ug;class hg extends ce.Sh{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 pg=hg;class dg extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new pg,this.specPath=ne(["document","objects","bindings","kafka","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const mg=dg;class gg extends ce.Sh{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 fg=gg;class bg extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new fg,this.specPath=ne(["document","objects","bindings","kafka","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const vg=bg;class yg extends ce.Sh{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 _g=yg;class Sg extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new _g,this.specPath=ne(["document","objects","bindings","kafka","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const wg=Sg;class Eg extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="mercureChannelBinding",this.classes.push("channel-binding")}}const xg=Eg;class jg extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new xg,this.specPath=ne(["document","objects","bindings","mercure","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Og=jg;class Bg extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="mercureMessageBinding",this.classes.push("message-binding")}}const Pg=Bg;class $g extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Pg,this.specPath=ne(["document","objects","bindings","mercure","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Mg=$g;class Ag extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="mercureOperationBinding",this.classes.push("operation-binding")}}const qg=Ag;class kg extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new qg,this.specPath=ne(["document","objects","bindings","mercure","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Cg=kg;class Ig extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="mercureServerBinding",this.classes.push("server-binding")}}const Ng=Ig;class Tg extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Ng,this.specPath=ne(["document","objects","bindings","mercure","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Rg=Tg;class Fg extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="mqttChannelBinding",this.classes.push("channel-binding")}}const Vg=Fg;class Dg extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Vg,this.specPath=ne(["document","objects","bindings","mqtt","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Lg=Dg;class Jg extends ce.Sh{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 Ug=Jg;class zg extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Ug,this.specPath=ne(["document","objects","bindings","mqtt","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Wg=zg;class Gg extends ce.Sh{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 Hg=Gg;class Kg extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Hg,this.specPath=ne(["document","objects","bindings","mqtt","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Zg=Kg;class Xg extends ce.Sh{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 Qg=Xg;class Yg extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Qg,this.specPath=ne(["document","objects","bindings","mqtt","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const ef=Yg;class tf extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="mqtt5ChannelBinding",this.classes.push("channel-binding")}}const sf=tf;class nf extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new sf,this.specPath=ne(["document","objects","bindings","mqtt5","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const rf=nf;class of extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="mqtt5MessageBinding",this.classes.push("message-binding")}}const cf=of;class af extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new cf,this.specPath=ne(["document","objects","bindings","mqtt5","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const uf=af;class lf extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="mqtt5OperationBinding",this.classes.push("operation-binding")}}const hf=lf;class pf extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new hf,this.specPath=ne(["document","objects","bindings","mqtt5","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const df=pf;class mf extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="mqtt5ServerBinding",this.classes.push("server-binding")}}const gf=mf;class ff extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new gf,this.specPath=ne(["document","objects","bindings","mqtt5","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const bf=ff;class vf extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="natsChannelBinding",this.classes.push("channel-binding")}}const yf=vf;class _f extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new yf,this.specPath=ne(["document","objects","bindings","nats","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Sf=_f;class wf extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="natsMessageBinding",this.classes.push("message-binding")}}const Ef=wf;class xf extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Ef,this.specPath=ne(["document","objects","bindings","nats","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const jf=xf;class Of extends ce.Sh{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 Bf=Of;class Pf extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Bf,this.specPath=ne(["document","objects","bindings","nats","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const $f=Pf;class Mf extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="natsServerBinding",this.classes.push("server-binding")}}const Af=Mf;class qf extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Af,this.specPath=ne(["document","objects","bindings","nats","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const kf=qf;class Cf extends ce.Sh{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 If=Cf;class Nf extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new If,this.specPath=ne(["document","objects","bindings","pulsar","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Tf=Nf;class Rf extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="pulsarMessageBinding",this.classes.push("message-binding")}}const Ff=Rf;class Vf extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Ff,this.specPath=ne(["document","objects","bindings","pulsar","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Df=Vf;class Lf extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="pulsarOperationBinding",this.classes.push("operation-binding")}}const Jf=Lf;class Uf extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Jf,this.specPath=ne(["document","objects","bindings","pulsar","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const zf=Uf;class Wf extends ce.Sh{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 Gf=Wf;class Hf extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Gf,this.specPath=ne(["document","objects","bindings","pulsar","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Kf=Hf;class Zf extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="redisChannelBinding",this.classes.push("channel-binding")}}const Xf=Zf;class Qf extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Xf,this.specPath=ne(["document","objects","bindings","redis","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Yf=Qf;class eb extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="redisMessageBinding",this.classes.push("message-binding")}}const tb=eb;class sb extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new tb,this.specPath=ne(["document","objects","bindings","redis","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const nb=sb;class rb extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="redisOperationBinding",this.classes.push("operation-binding")}}const ib=rb;class ob extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new ib,this.specPath=ne(["document","objects","bindings","redis","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const cb=ob;class ab extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="redisServerBinding",this.classes.push("server-binding")}}const ub=ab;class lb extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new ub,this.specPath=ne(["document","objects","bindings","redis","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const hb=lb;class pb extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="snsChannelBinding",this.classes.push("channel-binding")}}const db=pb;class mb extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new db,this.specPath=ne(["document","objects","bindings","sns","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const gb=mb;class fb extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="snsMessageBinding",this.classes.push("message-binding")}}const bb=fb;class vb extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new bb,this.specPath=ne(["document","objects","bindings","sns","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const yb=vb;class _b extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="snsOperationBinding",this.classes.push("operation-binding")}}const Sb=_b;class wb extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Sb,this.specPath=ne(["document","objects","bindings","sns","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Eb=wb;class xb extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="snsServerBinding",this.classes.push("server-binding")}}const jb=xb;class Ob extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new jb,this.specPath=ne(["document","objects","bindings","sns","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Bb=Ob;class Pb extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="solaceChannelBinding",this.classes.push("channel-binding")}}const $b=Pb;class Mb extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new $b,this.specPath=ne(["document","objects","bindings","solace","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Ab=Mb;class qb extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="solaceMessageBinding",this.classes.push("message-binding")}}const kb=qb;class Cb extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new kb,this.specPath=ne(["document","objects","bindings","solace","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Ib=Cb;class Nb extends ce.Sh{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 Tb=Nb;class Rb extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Tb,this.specPath=ne(["document","objects","bindings","solace","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Fb=Rb;class Vb extends ce.Sh{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 Db=Vb;class Lb extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Db,this.specPath=ne(["document","objects","bindings","solace","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Jb=Lb;class Ub extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="sqsChannelBinding",this.classes.push("channel-binding")}}const zb=Ub;class Wb extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new zb,this.specPath=ne(["document","objects","bindings","sqs","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Gb=Wb;class Hb extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="sqsMessageBinding",this.classes.push("message-binding")}}const Kb=Hb;class Zb extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Kb,this.specPath=ne(["document","objects","bindings","sqs","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Xb=Zb;class Qb extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="sqsOperationBinding",this.classes.push("operation-binding")}}const Yb=Qb;class ev extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Yb,this.specPath=ne(["document","objects","bindings","sqs","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const tv=ev;class sv extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="sqsServerBinding",this.classes.push("server-binding")}}const nv=sv;class rv extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new nv,this.specPath=ne(["document","objects","bindings","sqs","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const iv=rv;class ov extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="stompChannelBinding",this.classes.push("channel-binding")}}const cv=ov;class av extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new cv,this.specPath=ne(["document","objects","bindings","stomp","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const uv=av;class lv extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="stompMessageBinding",this.classes.push("message-binding")}}const hv=lv;class pv extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new hv,this.specPath=ne(["document","objects","bindings","stomp","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const dv=pv;class mv extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="stompOperationBinding",this.classes.push("operation-binding")}}const gv=mv;class fv extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new gv,this.specPath=ne(["document","objects","bindings","stomp","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const bv=fv;class vv extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="stompServerBinding",this.classes.push("server-binding")}}const yv=vv;class _v extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new yv,this.specPath=ne(["document","objects","bindings","stomp","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Sv=_v;class wv extends ce.Sh{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 Ev=wv;class xv extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Ev,this.specPath=ne(["document","objects","bindings","ws","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const jv=xv;class Ov extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="webSocketMessageBinding",this.classes.push("message-binding")}}const Bv=Ov;class Pv extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Bv,this.specPath=ne(["document","objects","bindings","ws","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const $v=Pv;class Mv extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="webSocketOperationBinding",this.classes.push("operation-binding")}}const Av=Mv;class qv extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Av,this.specPath=ne(["document","objects","bindings","ws","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const kv=qv;class Cv extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="webSocketServerBinding",this.classes.push("server-binding")}}const Iv=Cv;class Nv extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Iv,this.specPath=ne(["document","objects","bindings","ws","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Tv=Nv,Rv={$visitor:Mu,fixedFields:{$ref:Au}},Fv={$visitor:ku,fixedFields:{...Qu,allOf:Tu,anyOf:Fu,oneOf:Du,items:Gu,properties:Xu,patternProperties:Ku,dependencies:zu,definitions:Ju,discriminator:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},deprecated:{$ref:"#/visitors/value"}}},Vv={visitors:{value:Ao,document:{objects:{AsyncApi:{$visitor:lc,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:mc},Identifier:{$visitor:vc},Info:{$visitor:wc,fixedFields:{title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},termsOfService:{$ref:"#/visitors/value"},version:Ec,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"}}},Contact:{$visitor:Bc,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"},email:{$ref:"#/visitors/value"}}},License:{$visitor:Fc,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Servers:{$visitor:ru},Server:{$visitor:ou,fixedFields:{url:cu,protocol:{$ref:"#/visitors/value"},protocolVersion:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},variables:mu,security:vu,tags:{$ref:"#/visitors/document/objects/Tags"},bindings:lu}},ServerVariable:{$visitor:_u,fixedFields:{enum:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},examples:{$ref:"#/visitors/value"}}},DefaultContentType:{$visitor:Ic},Channels:{$visitor:Vh},ChannelItem:{$visitor:Uh,fixedFields:{$ref:zh,description:{$ref:"#/visitors/value"},servers:Kh,subscribe:{$ref:"#/visitors/document/objects/Operation"},publish:{$ref:"#/visitors/document/objects/Operation"},parameters:{$ref:"#/visitors/document/objects/Parameters"},bindings:Xh}},Operation:{$visitor:mh,fixedFields:{operationId:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},security:vh,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:_h,traits:xh,message:Mh}},OperationTrait:{$visitor:Zp,fixedFields:{operationId:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},security:ed,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:sd}},Message:{$visitor:Pp,fixedFields:{messageId:{$ref:"#/visitors/value"},headers:Mp,payload:{$ref:"#/visitors/value"},correlationId:qp,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:Cp,examples:Rp,traits:Lp}},MessageTrait:{$visitor:up,fixedFields:{messageId:{$ref:"#/visitors/value"},headers:hp,correlationId:dp,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:gp,examples:yp}},MessageExample:{$visitor:ip,fixedFields:{headers:{$ref:"#/visitors/value"},payload:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"}}},Tags:{$visitor:Ch},Tag:{$visitor:Rh,fixedFields:{name:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},ExternalDocumentation:{$visitor:al,fixedFields:{description:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Components:{$visitor:ll,fixedFields:{schemas:ml,servers:vl,serverVariables:wl,channels:Ol,messages:Ml,securitySchemes:Cl,parameters:Rl,correlationIds:Ll,operationTraits:Wl,messageTraits:Zl,serverBindings:eh,channelBindings:rh,operationBindings:ah,messageBindings:ph}},JSONReference:Rv,Reference:Rv,JSONSchema:Fv,Schema:Fv,LinkDescription:$o.visitors.document.objects.LinkDescription,SecurityScheme:{$visitor:Ou,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:Pu},OAuthFlows:{$visitor:Jc,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:Gc,fixedFields:{authorizationUrl:{$ref:"#/visitors/value"},tokenUrl:{$ref:"#/visitors/value"},refreshUrl:{$ref:"#/visitors/value"},scopes:Yc}},ServerBindings:{$visitor:wu,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:el},Parameter:{$visitor:sl,fixedFields:{description:{$ref:"#/visitors/value"},schema:rl,location:{$ref:"#/visitors/value"}}},ChannelBindings:{$visitor:Lh,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:Wp,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:tp,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:Ac,fixedFields:{description:{$ref:"#/visitors/value"},location:{$ref:"#/visitors/value"}}},bindings:{http:{ServerBinding:{$visitor:pm},ChannelBinding:{$visitor:em},OperationBinding:{$visitor:am,fixedFields:{type:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},query:Iu,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:rm,fixedFields:{headers:Iu,bindingVersion:{$ref:"#/visitors/value"}}}},ws:{ServerBinding:{$visitor:Tv},ChannelBinding:{$visitor:jv,fixedFields:{method:{$ref:"#/visitors/value"},query:Iu,headers:Iu,bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:kv},MessageBinding:{$visitor:$v}},kafka:{ServerBinding:{$visitor:wg,fixedFields:{schemaRegistryUrl:{$ref:"#/visitors/value"},schemaRegistryVendor:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:lg,fixedFields:{topic:{$ref:"#/visitors/value"},partitions:{$ref:"#/visitors/value"},replicas:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:vg,fixedFields:{groupId:Iu,clientId:Iu,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:mg,fixedFields:{key:Iu,schemaIdLocation:{$ref:"#/visitors/value"},schemaIdPayloadEncoding:{$ref:"#/visitors/value"},schemaLookupStrategy:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},anypointmq:{ServerBinding:{$visitor:Zd},ChannelBinding:{$visitor:Rd,fixedFields:{destination:{$ref:"#/visitors/value"},destinationType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:Wd},MessageBinding:{$visitor:Ld,fixedFields:{headers:Iu,bindingVersion:{$ref:"#/visitors/value"}}}},amqp:{ServerBinding:{$visitor:vd},ChannelBinding:{$visitor:od,fixedFields:{is:{$ref:"#/visitors/value"},exchange:{$ref:"#/visitors/value"},queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:md,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:ld,fixedFields:{contentEncoding:{$ref:"#/visitors/value"},messageType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},amqp1:{ServerBinding:{$visitor:Cd},ChannelBinding:{$visitor:wd},OperationBinding:{$visitor:Md},MessageBinding:{$visitor:Od}},mqtt:{ServerBinding:{$visitor:ef,fixedFields:{clientId:{$ref:"#/visitors/value"},cleanSession:{$ref:"#/visitors/value"},lastWill:{$ref:"#/visitors/value"},keepAlive:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:Lg},OperationBinding:{$visitor:Zg,fixedFields:{qos:{$ref:"#/visitors/value"},retain:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:Wg,fixedFields:{bindingVersion:{$ref:"#/visitors/value"}}}},mqtt5:{ServerBinding:{$visitor:bf},ChannelBinding:{$visitor:rf},OperationBinding:{$visitor:df},MessageBinding:{$visitor:uf}},nats:{ServerBinding:{$visitor:kf},ChannelBinding:{$visitor:Sf},OperationBinding:{$visitor:$f,fixedFields:{queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:jf}},pulsar:{ServerBinding:{$visitor:Kf,fixedFields:{tenant:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:Tf,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:zf},MessageBinding:{$visitor:Df}},jms:{ServerBinding:{$visitor:og},ChannelBinding:{$visitor:Hm},OperationBinding:{$visitor:sg},MessageBinding:{$visitor:Qm}},sns:{ServerBinding:{$visitor:Bb},ChannelBinding:{$visitor:gb},OperationBinding:{$visitor:Eb},MessageBinding:{$visitor:yb}},solace:{ServerBinding:{$visitor:Jb,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},msgVpn:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:Ab},OperationBinding:{$visitor:Fb,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},destinations:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:Ib}},sqs:{ServerBinding:{$visitor:iv},ChannelBinding:{$visitor:Gb},OperationBinding:{$visitor:tv},MessageBinding:{$visitor:Xb}},stomp:{ServerBinding:{$visitor:Sv},ChannelBinding:{$visitor:uv},OperationBinding:{$visitor:bv},MessageBinding:{$visitor:dv}},redis:{ServerBinding:{$visitor:hb},ChannelBinding:{$visitor:Yf},OperationBinding:{$visitor:cb},MessageBinding:{$visitor:nb}},mercure:{ServerBinding:{$visitor:Rg},ChannelBinding:{$visitor:Og},OperationBinding:{$visitor:Cg},MessageBinding:{$visitor:Mg}},googlepubsub:{ServerBinding:{$visitor:Pm},ChannelBinding:{$visitor:fm,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:xm},MessageBinding:{$visitor:_m,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},attributes:{$ref:"#/visitors/value"},orderingKey:{$ref:"#/visitors/value"},schema:{$ref:"#/visitors/value"}}}},ibmmq:{ServerBinding:{$visitor:Um,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:qm,fixedFields:{destinationType:{$ref:"#/visitors/value"},queue:{$ref:"#/visitors/value"},topic:{$ref:"#/visitors/value"},maxMsgLength:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:Nm,fixedFields:{type:{$ref:"#/visitors/value"},headers:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},expiry:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:Vm}}}},extension:{$visitor:ko}}}},Dv=e=>{if(Lt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Lv={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},Jv={namespace:e=>{const{base:t}=e;return t.register("asyncApi2",ac),t.register("asyncApiVersion",pc),t.register("channelBindings",ra),t.register("channelItem",oa),t.register("channels",aa),t.register("components",la),t.register("contact",jc),t.register("correlationID",$c),t.register("defaultContentType",kc),t.register("externalDocumentation",ol),t.register("identifier",fc),t.register("info",_c),t.register("license",Tc),t.register("message",Op),t.register("messageBindings",Yh),t.register("messageExample",np),t.register("messageTrait",cp),t.register("oAuthFlow",zc),t.register("oAuthFlows",Dc),t.register("operation",pa),t.register("operationBindings",Up),t.register("operationTrait",Hp),t.register("parameter",ma),t.register("parameters",fa),t.register("reference",va),t.register("schema",Ba),t.register("securityRequirement",$a),t.register("securityScheme",xu),t.register("server",Aa),t.register("serverBindings",ka),t.register("servers",sa),t.register("serverVariable",Ia),t.register("tag",Nh),t.register("tags",qh),t.register("amqpChannelBinding",rd),t.register("amqpMessageBinding",ad),t.register("amqpOperationBinding",pd),t.register("amqpServerBinding",fd),t.register("amqp1ChannelBinding",_d),t.register("amqp1MessageBinding",xd),t.register("amqp1OperationBinding",Pd),t.register("amqp1ServerBinding",qd),t.register("anypointmqChannelBinding",Nd),t.register("anypointmqMessageBinding",Vd),t.register("anypointmqOperationBinding",Ud),t.register("anypointmqServerBinding",Hd),t.register("googlepubsubChannelBinding",mm),t.register("googlepubsubMessageBinding",vm),t.register("googlepubsubOperationBinding",wm),t.register("googlepubsubServerBinding",Om),t.register("httpChannelBinding",Qd),t.register("httpMessageBinding",sm),t.register("httpOperationBinding",om),t.register("httpServerBinding",lm),t.register("ibmmqChannelBinding",Mm),t.register("ibmmqMessageBinding",Cm),t.register("ibmmqOperationBinding",Rm),t.register("ibmmqServerBinding",Lm),t.register("jmsChannelBinding",Wm),t.register("jmsMessageBinding",Zm),t.register("jmsOperationBinding",eg),t.register("jmsServerBinding",rg),t.register("kafkaChannelBinding",ag),t.register("kafkaMessageBinding",pg),t.register("kafkaOperationBinding",fg),t.register("kafkaServerBinding",_g),t.register("mercureChannelBinding",xg),t.register("mercureMessageBinding",Pg),t.register("mercureOperationBinding",qg),t.register("mercureServerBinding",Ng),t.register("mqttChannelBinding",Vg),t.register("mqttMessageBinding",Ug),t.register("mqttOperationBinding",Hg),t.register("mqttServerBinding",Qg),t.register("mqtt5ChannelBinding",sf),t.register("mqtt5MessageBinding",cf),t.register("mqtt5OperationBinding",hf),t.register("mqtt5ServerBinding",gf),t.register("natsChannelBinding",yf),t.register("natsMessageBinding",Ef),t.register("natsOperationBinding",Bf),t.register("natsServerBinding",Af),t.register("pulsarChannelBinding",If),t.register("pulsarMessageBinding",Ff),t.register("pulsarOperationBinding",Jf),t.register("pulsarServerBinding",Gf),t.register("redisChannelBinding",Xf),t.register("redisMessageBinding",tb),t.register("redisOperationBinding",ib),t.register("redisServerBinding",ub),t.register("snsChannelBinding",db),t.register("snsMessageBinding",bb),t.register("snsOperationBinding",Sb),t.register("snsServerBinding",jb),t.register("solaceChannelBinding",$b),t.register("solaceMessageBinding",kb),t.register("solaceOperationBinding",Tb),t.register("solaceServerBinding",Db),t.register("sqsChannelBinding",zb),t.register("sqsMessageBinding",Kb),t.register("sqsOperationBinding",Yb),t.register("sqsServerBinding",nv),t.register("stompChannelBinding",cv),t.register("stompMessageBinding",hv),t.register("stompOperationBinding",gv),t.register("stompServerBinding",yv),t.register("webSocketChannelBinding",Ev),t.register("webSocketMessageBinding",Bv),t.register("webSocketOperationBinding",Av),t.register("webSocketServerBinding",Iv),t}},Uv=()=>{const e=lt(Jv);return{predicates:{...o,isStringElement:Jt},namespace:e}},zv=(e,{specPath:t=["visitors","document","objects","AsyncApi","$visitor"],plugins:s=[]}={})=>{const n=(0,ce.e)(e),r=zn(Vv),i=new(Ce(t,r))({specObj:r});return bs(n,i),qs(i.element,s,{toolboxCreator:Uv,visitorOptions:{keyMap:Lv,nodeTypeGetter:Dv}})},Wv=e=>(t,s={})=>zv(t,{...s,specPath:e});ac.refract=Wv(["visitors","document","objects","AsyncApi","$visitor"]),pc.refract=Wv(["visitors","document","objects","AsyncApiVersion","$visitor"]),ra.refract=Wv(["visitors","document","objects","ChannelBindings","$visitor"]),oa.refract=Wv(["visitors","document","objects","ChannelItem","$visitor"]),aa.refract=Wv(["visitors","document","objects","Channels","$visitor"]),la.refract=Wv(["visitors","document","objects","Components","$visitor"]),jc.refract=Wv(["visitors","document","objects","Contact","$visitor"]),$c.refract=Wv(["visitors","document","objects","CorrelationID","$visitor"]),kc.refract=Wv(["visitors","document","objects","DefaultContentType","$visitor"]),ol.refract=Wv(["visitors","document","objects","ExternalDocumentation","$visitor"]),fc.refract=Wv(["visitors","document","objects","Identifier","$visitor"]),_c.refract=Wv(["visitors","document","objects","Info","$visitor"]),Tc.refract=Wv(["visitors","document","objects","License","$visitor"]),Op.refract=Wv(["visitors","document","objects","Message","$visitor"]),Yh.refract=Wv(["visitors","document","objects","MessageBindings","$visitor"]),np.refract=Wv(["visitors","document","objects","MessageExample","$visitor"]),cp.refract=Wv(["visitors","document","objects","MessageTrait","$visitor"]),zc.refract=Wv(["visitors","document","objects","OAuthFlow","$visitor"]),Dc.refract=Wv(["visitors","document","objects","OAuthFlows","$visitor"]),pa.refract=Wv(["visitors","document","objects","Operation","$visitor"]),Up.refract=Wv(["visitors","document","objects","OperationBindings","$visitor"]),Hp.refract=Wv(["visitors","document","objects","OperationTrait","$visitor"]),ma.refract=Wv(["visitors","document","objects","Parameter","$visitor"]),fa.refract=Wv(["visitors","document","objects","Parameters","$visitor"]),va.refract=Wv(["visitors","document","objects","Reference","$visitor"]),Ba.refract=Wv(["visitors","document","objects","Schema","$visitor"]),$a.refract=Wv(["visitors","document","objects","SecurityRequirement","$visitor"]),xu.refract=Wv(["visitors","document","objects","SecurityScheme","$visitor"]),Aa.refract=Wv(["visitors","document","objects","Server","$visitor"]),ka.refract=Wv(["visitors","document","objects","ServerBindings","$visitor"]),sa.refract=Wv(["visitors","document","objects","Servers","$visitor"]),Ia.refract=Wv(["visitors","document","objects","ServerVariable","$visitor"]),Nh.refract=Wv(["visitors","document","objects","Tag","$visitor"]),qh.refract=Wv(["visitors","document","objects","Tags","$visitor"]),rd.refract=Wv(["visitors","document","objects","bindings","amqp","ChannelBinding","$visitor"]),ad.refract=Wv(["visitors","document","objects","bindings","amqp","MessageBinding","$visitor"]),pd.refract=Wv(["visitors","document","objects","bindings","amqp","OperationBinding","$visitor"]),fd.refract=Wv(["visitors","document","objects","bindings","amqp","ServerBinding","$visitor"]),_d.refract=Wv(["visitors","document","objects","bindings","amqp1","ChannelBinding","$visitor"]),xd.refract=Wv(["visitors","document","objects","bindings","amqp1","MessageBinding","$visitor"]),Pd.refract=Wv(["visitors","document","objects","bindings","amqp1","OperationBinding","$visitor"]),qd.refract=Wv(["visitors","document","objects","bindings","amqp1","ServerBinding","$visitor"]),Qd.refract=Wv(["visitors","document","objects","bindings","http","ChannelBinding","$visitor"]),sm.refract=Wv(["visitors","document","objects","bindings","http","MessageBinding","$visitor"]),om.refract=Wv(["visitors","document","objects","bindings","http","OperationBinding","$visitor"]),lm.refract=Wv(["visitors","document","objects","bindings","http","ServerBinding","$visitor"]),mm.refract=Wv(["visitors","document","objects","bindings","googlepubsub","ChannelBinding","$visitor"]),vm.refract=Wv(["visitors","document","objects","bindings","googlepubsub","MessageBinding","$visitor"]),wm.refract=Wv(["visitors","document","objects","bindings","googlepubsub","OperationBinding","$visitor"]),Om.refract=Wv(["visitors","document","objects","bindings","googlepubsub","ServerBinding","$visitor"]),Mm.refract=Wv(["visitors","document","objects","bindings","ibmmq","ChannelBinding","$visitor"]),Cm.refract=Wv(["visitors","document","objects","bindings","ibmmq","MessageBinding","$visitor"]),Rm.refract=Wv(["visitors","document","objects","bindings","ibmmq","OperationBinding","$visitor"]),Lm.refract=Wv(["visitors","document","objects","bindings","ibmmq","ServerBinding","$visitor"]),Wm.refract=Wv(["visitors","document","objects","bindings","jms","ChannelBinding","$visitor"]),Zm.refract=Wv(["visitors","document","objects","bindings","jms","MessageBinding","$visitor"]),eg.refract=Wv(["visitors","document","objects","bindings","jms","OperationBinding","$visitor"]),rg.refract=Wv(["visitors","document","objects","bindings","jms","ServerBinding","$visitor"]),ag.refract=Wv(["visitors","document","objects","bindings","kafka","ChannelBinding","$visitor"]),pg.refract=Wv(["visitors","document","objects","bindings","kafka","MessageBinding","$visitor"]),fg.refract=Wv(["visitors","document","objects","bindings","kafka","OperationBinding","$visitor"]),_g.refract=Wv(["visitors","document","objects","bindings","kafka","ServerBinding","$visitor"]),Nd.refract=Wv(["visitors","document","objects","bindings","anypointmq","ChannelBinding","$visitor"]),Vd.refract=Wv(["visitors","document","objects","bindings","anypointmq","MessageBinding","$visitor"]),Ud.refract=Wv(["visitors","document","objects","bindings","anypointmq","OperationBinding","$visitor"]),Hd.refract=Wv(["visitors","document","objects","bindings","anypointmq","ServerBinding","$visitor"]),xg.refract=Wv(["visitors","document","objects","bindings","mercure","ChannelBinding","$visitor"]),Pg.refract=Wv(["visitors","document","objects","bindings","mercure","MessageBinding","$visitor"]),qg.refract=Wv(["visitors","document","objects","bindings","mercure","OperationBinding","$visitor"]),Ng.refract=Wv(["visitors","document","objects","bindings","mercure","ServerBinding","$visitor"]),Vg.refract=Wv(["visitors","document","objects","bindings","mqtt","ChannelBinding","$visitor"]),Ug.refract=Wv(["visitors","document","objects","bindings","mqtt","MessageBinding","$visitor"]),Hg.refract=Wv(["visitors","document","objects","bindings","mqtt","OperationBinding","$visitor"]),Qg.refract=Wv(["visitors","document","objects","bindings","mqtt","ServerBinding","$visitor"]),sf.refract=Wv(["visitors","document","objects","bindings","mqtt5","ChannelBinding","$visitor"]),cf.refract=Wv(["visitors","document","objects","bindings","mqtt5","MessageBinding","$visitor"]),hf.refract=Wv(["visitors","document","objects","bindings","mqtt5","OperationBinding","$visitor"]),gf.refract=Wv(["visitors","document","objects","bindings","mqtt5","ServerBinding","$visitor"]),yf.refract=Wv(["visitors","document","objects","bindings","nats","ChannelBinding","$visitor"]),Ef.refract=Wv(["visitors","document","objects","bindings","nats","MessageBinding","$visitor"]),Bf.refract=Wv(["visitors","document","objects","bindings","nats","OperationBinding","$visitor"]),Af.refract=Wv(["visitors","document","objects","bindings","nats","ServerBinding","$visitor"]),If.refract=Wv(["visitors","document","objects","bindings","pulsar","ChannelBinding","$visitor"]),Ff.refract=Wv(["visitors","document","objects","bindings","pulsar","MessageBinding","$visitor"]),Jf.refract=Wv(["visitors","document","objects","bindings","pulsar","OperationBinding","$visitor"]),Gf.refract=Wv(["visitors","document","objects","bindings","pulsar","ServerBinding","$visitor"]),Xf.refract=Wv(["visitors","document","objects","bindings","redis","ChannelBinding","$visitor"]),tb.refract=Wv(["visitors","document","objects","bindings","redis","MessageBinding","$visitor"]),ib.refract=Wv(["visitors","document","objects","bindings","redis","OperationBinding","$visitor"]),ub.refract=Wv(["visitors","document","objects","bindings","redis","ServerBinding","$visitor"]),db.refract=Wv(["visitors","document","objects","bindings","sns","ChannelBinding","$visitor"]),bb.refract=Wv(["visitors","document","objects","bindings","sns","MessageBinding","$visitor"]),Sb.refract=Wv(["visitors","document","objects","bindings","sns","OperationBinding","$visitor"]),jb.refract=Wv(["visitors","document","objects","bindings","sns","ServerBinding","$visitor"]),$b.refract=Wv(["visitors","document","objects","bindings","solace","ChannelBinding","$visitor"]),kb.refract=Wv(["visitors","document","objects","bindings","solace","MessageBinding","$visitor"]),Tb.refract=Wv(["visitors","document","objects","bindings","solace","OperationBinding","$visitor"]),Db.refract=Wv(["visitors","document","objects","bindings","solace","ServerBinding","$visitor"]),zb.refract=Wv(["visitors","document","objects","bindings","sqs","ChannelBinding","$visitor"]),Kb.refract=Wv(["visitors","document","objects","bindings","sqs","MessageBinding","$visitor"]),Yb.refract=Wv(["visitors","document","objects","bindings","sqs","OperationBinding","$visitor"]),nv.refract=Wv(["visitors","document","objects","bindings","sqs","ServerBinding","$visitor"]),cv.refract=Wv(["visitors","document","objects","bindings","stomp","ChannelBinding","$visitor"]),hv.refract=Wv(["visitors","document","objects","bindings","stomp","MessageBinding","$visitor"]),gv.refract=Wv(["visitors","document","objects","bindings","stomp","OperationBinding","$visitor"]),yv.refract=Wv(["visitors","document","objects","bindings","stomp","ServerBinding","$visitor"]),Ev.refract=Wv(["visitors","document","objects","bindings","ws","ChannelBinding","$visitor"]),Bv.refract=Wv(["visitors","document","objects","bindings","ws","MessageBinding","$visitor"]),Av.refract=Wv(["visitors","document","objects","bindings","ws","OperationBinding","$visitor"]),Iv.refract=Wv(["visitors","document","objects","bindings","ws","ServerBinding","$visitor"]);const Gv=new Ep(...xp.filterByFormat("generic"),...xp.filterByFormat("json")),Hv=/"asyncapi"\s*:\s*"(?<version_json>2\.(?:[1-9]\d*|0)\.(?:[1-9]\d*|0))"/,Kv=async e=>Hv.test(e)&&await(async e=>{if(!Mn.test(e))return!1;try{return"ERROR"!==(await Et(e)).rootNode.type}catch{return!1}})(e),Zv=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}):Js(n,{sourceMap:t}),r})(e,n),{result:i}=r;if(oe(i)){const e=ac.refract(i,s);e.classes.push("result"),r.replaceResult(e)}return r},Xv=lt(Jv)})(),n})()));
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={3103:(e,t,s)=>{var n=s(4715)(s(8942),"DataView");e.exports=n},5098:(e,t,s)=>{var n=s(3305),r=s(9361),i=s(1112),o=s(5276),c=s(5071);function a(e){var t=-1,s=null==e?0:e.length;for(this.clear();++t<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},1386:(e,t,s)=>{var n=s(2393),r=s(2049),i=s(7144),o=s(7452),c=s(3964);function a(e){var t=-1,s=null==e?0:e.length;for(this.clear();++t<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},9770:(e,t,s)=>{var n=s(4715)(s(8942),"Map");e.exports=n},8250:(e,t,s)=>{var n=s(9753),r=s(5681),i=s(88),o=s(4732),c=s(9068);function a(e){var t=-1,s=null==e?0:e.length;for(this.clear();++t<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},9413:(e,t,s)=>{var n=s(4715)(s(8942),"Promise");e.exports=n},4512:(e,t,s)=>{var n=s(4715)(s(8942),"Set");e.exports=n},3212:(e,t,s)=>{var n=s(8250),r=s(1877),i=s(8006);function o(e){var t=-1,s=null==e?0:e.length;for(this.__data__=new n;++t<s;)this.add(e[t])}o.prototype.add=o.prototype.push=r,o.prototype.has=i,e.exports=o},1340:(e,t,s)=>{var n=s(1386),r=s(4103),i=s(1779),o=s(4162),c=s(7462),a=s(6638);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},5650:(e,t,s)=>{var n=s(8942).Symbol;e.exports=n},1623:(e,t,s)=>{var n=s(8942).Uint8Array;e.exports=n},9270:(e,t,s)=>{var n=s(4715)(s(8942),"WeakMap");e.exports=n},9847:e=>{e.exports=function(e,t){for(var s=-1,n=null==e?0:e.length,r=0,i=[];++s<n;){var o=e[s];t(o,s,e)&&(i[r++]=o)}return i}},358:(e,t,s)=>{var n=s(6137),r=s(3283),i=s(3142),o=s(5853),c=s(9632),a=s(8666),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var s=i(e),l=!s&&r(e),h=!s&&!l&&o(e),p=!s&&!l&&!h&&a(e),d=s||l||h||p,m=d?n(e.length,String):[],g=m.length;for(var f in e)!t&&!u.call(e,f)||d&&("length"==f||h&&("offset"==f||"parent"==f)||p&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||c(f,g))||m.push(f);return m}},1129: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}},6465: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}},7034:(e,t,s)=>{var n=s(6285);e.exports=function(e,t){for(var s=e.length;s--;)if(n(e[s][0],t))return s;return-1}},8244:(e,t,s)=>{var n=s(1129),r=s(3142);e.exports=function(e,t,s){var i=t(e);return r(e)?i:n(i,s(e))}},7379:(e,t,s)=>{var n=s(5650),r=s(8870),i=s(9005),o=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?r(e):i(e)}},6027:(e,t,s)=>{var n=s(7379),r=s(547);e.exports=function(e){return r(e)&&"[object Arguments]"==n(e)}},4687:(e,t,s)=>{var n=s(353),r=s(547);e.exports=function e(t,s,i,o,c){return t===s||(null==t||null==s||!r(t)&&!r(s)?t!=t&&s!=s:n(t,s,i,o,e,c))}},353:(e,t,s)=>{var n=s(1340),r=s(3934),i=s(8861),o=s(1182),c=s(8486),a=s(3142),u=s(5853),l=s(8666),h="[object Arguments]",p="[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?p:c(e),S=y?p:c(t),w=(_=_==h?d:_)==d,E=(S=S==h?d:S)==d,x=_==S;if(x&&u(e)){if(!u(t))return!1;v=!0,w=!1}if(x&&!w)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=w&&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!!x&&(b||(b=new n),o(e,t,s,g,f,b))}},9624:(e,t,s)=>{var n=s(3655),r=s(4759),i=s(1580),o=s(4066),c=/^\[object .+?Constructor\]$/,a=Function.prototype,u=Object.prototype,l=a.toString,h=u.hasOwnProperty,p=RegExp("^"+l.call(h).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||r(e))&&(n(e)?p:c).test(o(e))}},674:(e,t,s)=>{var n=s(7379),r=s(5387),i=s(547),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&r(e.length)&&!!o[n(e)]}},195:(e,t,s)=>{var n=s(4882),r=s(8121),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return r(e);var t=[];for(var s in Object(e))i.call(e,s)&&"constructor"!=s&&t.push(s);return t}},6137:e=>{e.exports=function(e,t){for(var s=-1,n=Array(e);++s<e;)n[s]=t(s);return n}},9460:e=>{e.exports=function(e){return function(t){return e(t)}}},5568:e=>{e.exports=function(e,t){return e.has(t)}},1950:(e,t,s)=>{var n=s(8942)["__core-js_shared__"];e.exports=n},3934:(e,t,s)=>{var n=s(3212),r=s(6465),i=s(5568);e.exports=function(e,t,s,o,c,a){var u=1&s,l=e.length,h=t.length;if(l!=h&&!(u&&h>l))return!1;var p=a.get(e),d=a.get(t);if(p&&d)return p==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}},8861:(e,t,s)=>{var n=s(5650),r=s(1623),i=s(6285),o=s(3934),c=s(5894),a=s(7447),u=n?n.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,s,n,u,h,p){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||!h(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=p.get(e);if(g)return g==t;n|=2,p.set(e,t);var f=o(d(e),d(t),n,u,h,p);return p.delete(e),f;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},1182:(e,t,s)=>{var n=s(393),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,s,i,o,c){var a=1&s,u=n(e),l=u.length;if(l!=n(t).length&&!a)return!1;for(var h=l;h--;){var p=u[h];if(!(a?p in t:r.call(t,p)))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;++h<l;){var b=e[p=u[h]],v=t[p];if(i)var y=a?i(v,b,p,t,e,c):i(b,v,p,e,t,c);if(!(void 0===y?b===v||o(b,v,s,i,c):y)){g=!1;break}f||(f="constructor"==p)}if(g&&!f){var _=e.constructor,S=t.constructor;_==S||!("constructor"in e)||!("constructor"in t)||"function"==typeof _&&_ instanceof _&&"function"==typeof S&&S instanceof S||(g=!1)}return c.delete(e),c.delete(t),g}},4967:(e,t,s)=>{var n="object"==typeof s.g&&s.g&&s.g.Object===Object&&s.g;e.exports=n},393:(e,t,s)=>{var n=s(8244),r=s(7979),i=s(1211);e.exports=function(e){return n(e,i,r)}},4700:(e,t,s)=>{var n=s(9067);e.exports=function(e,t){var s=e.__data__;return n(t)?s["string"==typeof t?"string":"hash"]:s.map}},4715:(e,t,s)=>{var n=s(9624),r=s(155);e.exports=function(e,t){var s=r(e,t);return n(s)?s:void 0}},8870:(e,t,s)=>{var n=s(5650),r=Object.prototype,i=r.hasOwnProperty,o=r.toString,c=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,c),s=e[c];try{e[c]=void 0;var n=!0}catch(e){}var r=o.call(e);return n&&(t?e[c]=s:delete e[c]),r}},7979:(e,t,s)=>{var n=s(9847),r=s(9306),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,c=o?function(e){return null==e?[]:(e=Object(e),n(o(e),(function(t){return i.call(e,t)})))}:r;e.exports=c},8486:(e,t,s)=>{var n=s(3103),r=s(9770),i=s(9413),o=s(4512),c=s(9270),a=s(7379),u=s(4066),l="[object Map]",h="[object Promise]",p="[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())!=h||o&&_(new o)!=p||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 h;case v:return p;case y:return d}return t}),e.exports=_},155:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},3305:(e,t,s)=>{var n=s(4497);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},9361:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},1112:(e,t,s)=>{var n=s(4497),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var s=t[e];return"__lodash_hash_undefined__"===s?void 0:s}return r.call(t,e)?t[e]:void 0}},5276:(e,t,s)=>{var n=s(4497),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:r.call(t,e)}},5071:(e,t,s)=>{var n=s(4497);e.exports=function(e,t){var s=this.__data__;return this.size+=this.has(e)?0:1,s[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},9632:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,s){var n=typeof e;return!!(s=null==s?9007199254740991:s)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<s}},9067:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},4759:(e,t,s)=>{var n,r=s(1950),i=(n=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!i&&i in e}},4882:e=>{var t=Object.prototype;e.exports=function(e){var s=e&&e.constructor;return e===("function"==typeof s&&s.prototype||t)}},2393:e=>{e.exports=function(){this.__data__=[],this.size=0}},2049:(e,t,s)=>{var n=s(7034),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,s=n(t,e);return!(s<0)&&(s==t.length-1?t.pop():r.call(t,s,1),--this.size,!0)}},7144:(e,t,s)=>{var n=s(7034);e.exports=function(e){var t=this.__data__,s=n(t,e);return s<0?void 0:t[s][1]}},7452:(e,t,s)=>{var n=s(7034);e.exports=function(e){return n(this.__data__,e)>-1}},3964:(e,t,s)=>{var n=s(7034);e.exports=function(e,t){var s=this.__data__,r=n(s,e);return r<0?(++this.size,s.push([e,t])):s[r][1]=t,this}},9753:(e,t,s)=>{var n=s(5098),r=s(1386),i=s(9770);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||r),string:new n}}},5681:(e,t,s)=>{var n=s(4700);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},88:(e,t,s)=>{var n=s(4700);e.exports=function(e){return n(this,e).get(e)}},4732:(e,t,s)=>{var n=s(4700);e.exports=function(e){return n(this,e).has(e)}},9068:(e,t,s)=>{var n=s(4700);e.exports=function(e,t){var s=n(this,e),r=s.size;return s.set(e,t),this.size+=s.size==r?0:1,this}},5894:e=>{e.exports=function(e){var t=-1,s=Array(e.size);return e.forEach((function(e,n){s[++t]=[n,e]})),s}},4497:(e,t,s)=>{var n=s(4715)(Object,"create");e.exports=n},8121:(e,t,s)=>{var n=s(3766)(Object.keys,Object);e.exports=n},2306:(e,t,s)=>{e=s.nmd(e);var n=s(4967),r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,o=i&&i.exports===r&&n.process,c=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=c},9005:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},3766:e=>{e.exports=function(e,t){return function(s){return e(t(s))}}},8942:(e,t,s)=>{var n=s(4967),r="object"==typeof self&&self&&self.Object===Object&&self,i=n||r||Function("return this")();e.exports=i},1877:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},8006:e=>{e.exports=function(e){return this.__data__.has(e)}},7447:e=>{e.exports=function(e){var t=-1,s=Array(e.size);return e.forEach((function(e){s[++t]=e})),s}},4103:(e,t,s)=>{var n=s(1386);e.exports=function(){this.__data__=new n,this.size=0}},1779:e=>{e.exports=function(e){var t=this.__data__,s=t.delete(e);return this.size=t.size,s}},4162:e=>{e.exports=function(e){return this.__data__.get(e)}},7462:e=>{e.exports=function(e){return this.__data__.has(e)}},6638:(e,t,s)=>{var n=s(1386),r=s(9770),i=s(8250);e.exports=function(e,t){var s=this.__data__;if(s instanceof n){var o=s.__data__;if(!r||o.length<199)return o.push([e,t]),this.size=++s.size,this;s=this.__data__=new i(o)}return s.set(e,t),this.size=s.size,this}},4066:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},6285:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},3283:(e,t,s)=>{var n=s(6027),r=s(547),i=Object.prototype,o=i.hasOwnProperty,c=i.propertyIsEnumerable,a=n(function(){return arguments}())?n:function(e){return r(e)&&o.call(e,"callee")&&!c.call(e,"callee")};e.exports=a},3142:e=>{var t=Array.isArray;e.exports=t},6529:(e,t,s)=>{var n=s(3655),r=s(5387);e.exports=function(e){return null!=e&&r(e.length)&&!n(e)}},2563:(e,t,s)=>{var n=s(7379),r=s(547);e.exports=function(e){return!0===e||!1===e||r(e)&&"[object Boolean]"==n(e)}},5853:(e,t,s)=>{e=s.nmd(e);var n=s(8942),r=s(4772),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,c=o&&o.exports===i?n.Buffer:void 0,a=(c?c.isBuffer:void 0)||r;e.exports=a},6343:(e,t,s)=>{var n=s(4687);e.exports=function(e,t){return n(e,t)}},3655:(e,t,s)=>{var n=s(7379),r=s(1580);e.exports=function(e){if(!r(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},5387:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},9310:e=>{e.exports=function(e){return null===e}},986:(e,t,s)=>{var n=s(7379),r=s(547);e.exports=function(e){return"number"==typeof e||r(e)&&"[object Number]"==n(e)}},1580:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},547:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},8138:(e,t,s)=>{var n=s(7379),r=s(3142),i=s(547);e.exports=function(e){return"string"==typeof e||!r(e)&&i(e)&&"[object String]"==n(e)}},8666:(e,t,s)=>{var n=s(674),r=s(9460),i=s(2306),o=i&&i.isTypedArray,c=o?r(o):n;e.exports=c},1211:(e,t,s)=>{var n=s(358),r=s(195),i=s(6529);e.exports=function(e){return i(e)?n(e):r(e)}},1517:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},9306:e=>{e.exports=function(){return[]}},4772:e=>{e.exports=function(){return!1}},4123:(e,t,s)=>{const n=s(1517);function r(e){return"string"==typeof e?t=>t.element===e:e.constructor&&e.extend?t=>t instanceof e:e}class i{constructor(e){this.elements=e||[]}toValue(){return this.elements.map((e=>e.toValue()))}map(e,t){return this.elements.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const s=[];return this.forEach((n=>{const r=e.bind(t)(n);r&&s.push(r)})),s}filter(e,t){return e=r(e),new i(this.elements.filter(e,t))}reject(e,t){return e=r(e),new i(this.elements.filter(n(e),t))}find(e,t){return e=r(e),this.elements.find(e,t)}forEach(e,t){this.elements.forEach(e,t)}reduce(e,t){return this.elements.reduce(e,t)}includes(e){return this.elements.some((t=>t.equals(e)))}shift(){return this.elements.shift()}unshift(e){this.elements.unshift(this.refract(e))}push(e){return this.elements.push(this.refract(e)),this}add(e){this.push(e)}get(e){return this.elements[e]}getValue(e){const t=this.elements[e];if(t)return t.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(i.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),e.exports=i},2322:e=>{class t{constructor(e,t){this.key=e,this.value=t}clone(){const e=new t;return this.key&&(e.key=this.key.clone()),this.value&&(e.value=this.value.clone()),e}}e.exports=t},5735:(e,t,s)=>{const n=s(9310),r=s(8138),i=s(986),o=s(2563),c=s(1580),a=s(394),u=s(7547);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},3311:(e,t,s)=>{const n=s(1517),r=s(4123);class i extends r{map(e,t){return this.elements.map((s=>e.bind(t)(s.value,s.key,s)))}filter(e,t){return new i(this.elements.filter((s=>e.bind(t)(s.value,s.key,s))))}reject(e,t){return this.filter(n(e.bind(t)))}forEach(e,t){return this.elements.forEach(((s,n)=>{e.bind(t)(s.value,s.key,s,n)}))}keys(){return this.map(((e,t)=>t.toValue()))}values(){return this.map((e=>e.toValue()))}}e.exports=i},7547:(e,t,s)=>{const n=s(8631),r=s(3004),i=s(8712),o=s(2536),c=s(2555),a=s(9796),u=s(7309),l=s(5642),h=s(9620),p=s(593),d=s(4123),m=s(3311),g=s(2322);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=p,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:h,RefElement:p,refract:f,ArraySlice:d,ObjectSlice:m,KeyValuePair:g}},9620:(e,t,s)=>{const n=s(8631);e.exports=class extends n{constructor(e,t,s){super(e||[],t,s),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(e){this.attributes.set("relation",e)}get href(){return this.attributes.get("href")}set href(e){this.attributes.set("href",e)}}},593:(e,t,s)=>{const n=s(8631);e.exports=class extends n{constructor(e,t,s){super(e||[],t,s),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(e){this.attributes.set("path",e)}}},8326:(e,t,s)=>{const n=s(5735),r=s(7547);t.g$=n,t.KeyValuePair=s(2322),t.G6=r.ArraySlice,t.ot=r.ObjectSlice,t.Hg=r.Element,t.Om=r.StringElement,t.kT=r.NumberElement,t.bd=r.BooleanElement,t.Os=r.NullElement,t.wE=r.ArrayElement,t.Sh=r.ObjectElement,t.Pr=r.MemberElement,t.sI=r.RefElement,t.Ft=r.LinkElement,t.e=r.refract,s(394),s(3148)},9796:(e,t,s)=>{const n=s(1517),r=s(8631),i=s(4123);class o extends r{constructor(e,t,s){super(e||[],t,s),this.element="array"}primitive(){return"array"}get(e){return this.content[e]}getValue(e){const t=this.get(e);if(t)return t.toValue()}getIndex(e){return this.content[e]}set(e,t){return this.content[e]=this.refract(t),this}remove(e){const t=this.content.splice(e,1);return t.length?t[0]:null}map(e,t){return this.content.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const s=[];return this.forEach((n=>{const r=e.bind(t)(n);r&&s.push(r)})),s}filter(e,t){return new i(this.content.filter(e,t))}reject(e,t){return this.filter(n(e),t)}reduce(e,t){let s,n;void 0!==t?(s=0,n=this.refract(t)):(s=1,n="object"===this.primitive()?this.first.value:this.first);for(let t=s;t<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},2555:(e,t,s)=>{const n=s(8631);e.exports=class extends n{constructor(e,t,s){super(e,t,s),this.element="boolean"}primitive(){return"boolean"}}},8631:(e,t,s)=>{const n=s(6343),r=s(2322),i=s(4123);class o{constructor(e,t,s){t&&(this.meta=t),s&&(this.attributes=s),this.content=e}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach((e=>{e.parent=this,e.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const e=new this.constructor;return e.element=this.element,this.meta.length&&(e._meta=this.meta.clone()),this.attributes.length&&(e._attributes=this.attributes.clone()),this.content?this.content.clone?e.content=this.content.clone():Array.isArray(this.content)?e.content=this.content.map((e=>e.clone())):e.content=this.content:e.content=this.content,e}toValue(){return this.content instanceof o?this.content.toValue():this.content instanceof r?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((e=>e.toValue()),this):this.content}toRef(e){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const t=new this.RefElement(this.id.toValue());return e&&(t.path=e),t}findRecursive(...e){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const t=e.pop();let s=new i;const n=(e,t)=>(e.push(t),e),o=(e,s)=>{s.element===t&&e.push(s);const i=s.findRecursive(t);return i&&i.reduce(n,e),s.content instanceof r&&(s.content.key&&o(e,s.content.key),s.content.value&&o(e,s.content.value)),e};return this.content&&(this.content.element&&o(s,this.content),Array.isArray(this.content)&&this.content.reduce(o,s)),e.isEmpty||(s=s.filter((t=>{let s=t.parents.map((e=>e.element));for(const t in e){const n=e[t],r=s.indexOf(n);if(-1===r)return!1;s=s.splice(0,r)}return!0}))),s}set(e){return this.content=e,this}equals(e){return n(this.toValue(),e)}getMetaProperty(e,t){if(!this.meta.hasKey(e)){if(this.isFrozen){const e=this.refract(t);return e.freeze(),e}this.meta.set(e,t)}return this.meta.get(e)}setMetaProperty(e,t){this.meta.set(e,t)}get element(){return this._storedElement||"element"}set element(e){this._storedElement=e}get content(){return this._content}set content(e){if(e instanceof o)this._content=e;else if(e instanceof i)this.content=e.elements;else if("string"==typeof e||"number"==typeof e||"boolean"==typeof e||"null"===e||null==e)this._content=e;else if(e instanceof r)this._content=e;else if(Array.isArray(e))this._content=e.map(this.refract);else{if("object"!=typeof e)throw new Error("Cannot set content to given value");this._content=Object.keys(e).map((t=>new this.MemberElement(t,e[t])))}}get meta(){if(!this._meta){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._meta=new this.ObjectElement}return this._meta}set meta(e){e instanceof this.ObjectElement?this._meta=e:this.meta.set(e||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._attributes=new this.ObjectElement}return this._attributes}set attributes(e){e instanceof this.ObjectElement?this._attributes=e:this.attributes.set(e||{})}get id(){return this.getMetaProperty("id","")}set id(e){this.setMetaProperty("id",e)}get classes(){return this.getMetaProperty("classes",[])}set classes(e){this.setMetaProperty("classes",e)}get title(){return this.getMetaProperty("title","")}set title(e){this.setMetaProperty("title",e)}get description(){return this.getMetaProperty("description","")}set description(e){this.setMetaProperty("description",e)}get links(){return this.getMetaProperty("links",[])}set links(e){this.setMetaProperty("links",e)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:e}=this;const t=new i;for(;e;)t.push(e),e=e.parent;return t}get children(){if(Array.isArray(this.content))return new i(this.content);if(this.content instanceof r){const e=new i([this.content.key]);return this.content.value&&e.push(this.content.value),e}return this.content instanceof o?new i([this.content]):new i}get recursiveChildren(){const e=new i;return this.children.forEach((t=>{e.push(t),t.recursiveChildren.forEach((t=>{e.push(t)}))})),e}}e.exports=o},7309:(e,t,s)=>{const n=s(2322),r=s(8631);e.exports=class extends r{constructor(e,t,s,r){super(new n,s,r),this.element="member",this.key=e,this.value=t}get key(){return this.content.key}set key(e){this.content.key=this.refract(e)}get value(){return this.content.value}set value(e){this.content.value=this.refract(e)}}},3004:(e,t,s)=>{const n=s(8631);e.exports=class extends n{constructor(e,t,s){super(e||null,t,s),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},2536:(e,t,s)=>{const n=s(8631);e.exports=class extends n{constructor(e,t,s){super(e,t,s),this.element="number"}primitive(){return"number"}}},5642:(e,t,s)=>{const n=s(1517),r=s(1580),i=s(9796),o=s(7309),c=s(3311);e.exports=class extends i{constructor(e,t,s){super(e||[],t,s),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((e,t)=>(e[t.key.toValue()]=t.value?t.value.toValue():void 0,e)),{})}get(e){const t=this.getMember(e);if(t)return t.value}getMember(e){if(void 0!==e)return this.content.find((t=>t.key.toValue()===e))}remove(e){let t=null;return this.content=this.content.filter((s=>s.key.toValue()!==e||(t=s,!1))),t}getKey(e){const t=this.getMember(e);if(t)return t.key}set(e,t){if(r(e))return Object.keys(e).forEach((t=>{this.set(t,e[t])})),this;const s=e,n=this.getMember(s);return n?n.value=t:this.content.push(new o(s,t)),this}keys(){return this.content.map((e=>e.key.toValue()))}values(){return this.content.map((e=>e.value.toValue()))}hasKey(e){return this.content.some((t=>t.key.equals(e)))}items(){return this.content.map((e=>[e.key.toValue(),e.value.toValue()]))}map(e,t){return this.content.map((s=>e.bind(t)(s.value,s.key,s)))}compactMap(e,t){const s=[];return this.forEach(((n,r,i)=>{const o=e.bind(t)(n,r,i);o&&s.push(o)})),s}filter(e,t){return new c(this.content).filter(e,t)}reject(e,t){return this.filter(n(e),t)}forEach(e,t){return this.content.forEach((s=>e.bind(t)(s.value,s.key,s)))}}},8712:(e,t,s)=>{const n=s(8631);e.exports=class extends n{constructor(e,t,s){super(e,t,s),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},3148:(e,t,s)=>{const n=s(394);e.exports=class extends n{serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);let t;e._attributes&&e.attributes.get("variable")&&(t=e.attributes.get("variable"));const s={element:e.element};e._meta&&e._meta.length>0&&(s.meta=this.serialiseObject(e.meta));const n="enum"===e.element||-1!==e.attributes.keys().indexOf("enumerations");if(n){const t=this.enumSerialiseAttributes(e);t&&(s.attributes=t)}else if(e._attributes&&e._attributes.length>0){let{attributes:n}=e;n.get("metadata")&&(n=n.clone(),n.set("meta",n.get("metadata")),n.remove("metadata")),"member"===e.element&&t&&(n=n.clone(),n.remove("variable")),n.length>0&&(s.attributes=this.serialiseObject(n))}if(n)s.content=this.enumSerialiseContent(e,s);else if(this[`${e.element}SerialiseContent`])s.content=this[`${e.element}SerialiseContent`](e,s);else if(void 0!==e.content){let n;t&&e.content.key?(n=e.content.clone(),n.key.attributes.set("variable",t),n=this.serialiseContent(n)):n=this.serialiseContent(e.content),this.shouldSerialiseContent(e,n)&&(s.content=n)}else this.shouldSerialiseContent(e,e.content)&&e instanceof this.namespace.elements.Array&&(s.content=[]);return s}shouldSerialiseContent(e,t){return"parseResult"===e.element||"httpRequest"===e.element||"httpResponse"===e.element||"category"===e.element||"link"===e.element||void 0!==t&&(!Array.isArray(t)||0!==t.length)}refSerialiseContent(e,t){return delete t.attributes,{href:e.toValue(),path:e.path.toValue()}}sourceMapSerialiseContent(e){return e.toValue()}dataStructureSerialiseContent(e){return[this.serialiseContent(e.content)]}enumSerialiseAttributes(e){const t=e.attributes.clone(),s=t.remove("enumerations")||new this.namespace.elements.Array([]),n=t.get("default");let r=t.get("samples")||new this.namespace.elements.Array([]);if(n&&n.content&&(n.content.attributes&&n.content.attributes.remove("typeAttributes"),t.set("default",new this.namespace.elements.Array([n.content]))),r.forEach((e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")})),e.content&&0!==s.length&&r.unshift(e.content),r=r.map((e=>e instanceof this.namespace.elements.Array?[e]:new this.namespace.elements.Array([e.content]))),r.length&&t.set("samples",r),t.length>0)return this.serialiseObject(t)}enumSerialiseContent(e){if(e._attributes){const t=e.attributes.get("enumerations");if(t&&t.length>0)return t.content.map((e=>{const t=e.clone();return t.attributes.remove("typeAttributes"),this.serialise(t)}))}if(e.content){const t=e.content.clone();return t.attributes.remove("typeAttributes"),[this.serialise(t)]}return[]}deserialise(e){if("string"==typeof e)return new this.namespace.elements.String(e);if("number"==typeof e)return new this.namespace.elements.Number(e);if("boolean"==typeof e)return new this.namespace.elements.Boolean(e);if(null===e)return new this.namespace.elements.Null;if(Array.isArray(e))return new this.namespace.elements.Array(e.map(this.deserialise,this));const t=this.namespace.getElementClass(e.element),s=new t;s.element!==e.element&&(s.element=e.element),e.meta&&this.deserialiseObject(e.meta,s.meta),e.attributes&&this.deserialiseObject(e.attributes,s.attributes);const n=this.deserialiseContent(e.content);if(void 0===n&&null!==s.content||(s.content=n),"enum"===s.element){s.content&&s.attributes.set("enumerations",s.content);let e=s.attributes.get("samples");if(s.attributes.remove("samples"),e){const n=e;e=new this.namespace.elements.Array,n.forEach((n=>{n.forEach((n=>{const r=new t(n);r.element=s.element,e.push(r)}))}));const r=e.shift();s.content=r?r.content:void 0,s.attributes.set("samples",e)}else s.content=void 0;let n=s.attributes.get("default");if(n&&n.length>0){n=n.get(0);const e=new t(n);e.element=s.element,s.attributes.set("default",e)}}else if("dataStructure"===s.element&&Array.isArray(s.content))[s.content]=s.content;else if("category"===s.element){const e=s.attributes.get("meta");e&&(s.attributes.set("metadata",e),s.attributes.remove("meta"))}else"member"===s.element&&s.key&&s.key._attributes&&s.key._attributes.getValue("variable")&&(s.attributes.set("variable",s.key.attributes.get("variable")),s.key.attributes.remove("variable"));return s}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}return e&&e.map?e.map(this.serialise,this):e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}shouldRefract(e){return!!(e._attributes&&e.attributes.keys().length||e._meta&&e.meta.keys().length)||"enum"!==e.element&&(e.element!==e.primitive()||"member"===e.element)}convertKeyToRefract(e,t){return this.shouldRefract(t)?this.serialise(t):"enum"===t.element?this.serialiseEnum(t):"array"===t.element?t.map((t=>this.shouldRefract(t)||"default"===e?this.serialise(t):"array"===t.element||"object"===t.element||"enum"===t.element?t.children.map((e=>this.serialise(e))):t.toValue())):"object"===t.element?(t.content||[]).map(this.serialise,this):t.toValue()}serialiseEnum(e){return e.children.map((e=>this.serialise(e)))}serialiseObject(e){const t={};return e.forEach(((e,s)=>{if(e){const n=s.toValue();t[n]=this.convertKeyToRefract(n,e)}})),t}deserialiseObject(e,t){Object.keys(e).forEach((s=>{t.set(s,this.deserialise(e[s]))}))}}},394:e=>{e.exports=class{constructor(e){this.namespace=e||new this.Namespace}serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);const t={element:e.element};e._meta&&e._meta.length>0&&(t.meta=this.serialiseObject(e.meta)),e._attributes&&e._attributes.length>0&&(t.attributes=this.serialiseObject(e.attributes));const s=this.serialiseContent(e.content);return void 0!==s&&(t.content=s),t}deserialise(e){if(!e.element)throw new Error("Given value is not an object containing an element name");const t=new(this.namespace.getElementClass(e.element));t.element!==e.element&&(t.element=e.element),e.meta&&this.deserialiseObject(e.meta,t.meta),e.attributes&&this.deserialiseObject(e.attributes,t.attributes);const s=this.deserialiseContent(e.content);return void 0===s&&null!==t.content||(t.content=s),t}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}if(e&&e.map){if(0===e.length)return;return e.map(this.serialise,this)}return e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}serialiseObject(e){const t={};if(e.forEach(((e,s)=>{e&&(t[s.toValue()]=this.serialise(e))})),0!==Object.keys(t).length)return t}deserialiseObject(e,t){Object.keys(e).forEach((s=>{t.set(s,this.deserialise(e[s]))}))}}},8357:e=>{!function(){"use strict";var t,s,n,r,i,o="properties",c="deepProperties",a="propertyDescriptors",u="staticProperties",l="staticDeepProperties",h="staticPropertyDescriptors",p="configuration",d="deepConfiguration",m="deepProps",g="deepStatics",f="deepConf",b="initializers",v="methods",y="composers",_="compose";function S(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[])}function w(e,t){return Array.prototype.slice.call(arguments,2).reduce(e,t)}var E=w.bind(0,(function(e,t){if(t)for(var s=S(t),n=0;n<s.length;n+=1)Object.defineProperty(e,s[n],Object.getOwnPropertyDescriptor(t,s[n]));return e}));function x(e){return"function"==typeof e}function j(e){return e&&"object"==typeof e||x(e)}function O(e){return e&&"object"==typeof e&&e.__proto__==Object.prototype}var B=w.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=S(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 x(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(h),n(p),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],h=Array.prototype.slice.apply(arguments),p=i[c];if(p&&B(u,p),(p=i[o])&&E(u,p),(p=i[a])&&Object.defineProperties(u,p),!l||!l.length)return u;for(s===t&&(s={}),i=0;i<l.length;)x(n=l[i++])&&(u=(r=n.call(u,s,{instance:u,stamp:e,args:h}))===t?u:r);return u},(n=e[l])&&B(s,n),(n=e[u])&&E(s,n),(n=e[h])&&Object.defineProperties(s,n),n=x(s[_])?s[_]:M,E(s[_]=function(){return n.apply(this,arguments)},e),s}(Array.prototype.concat.apply([this],arguments).reduce($,{}))}function A(e){return x(e)&&x(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[p]=q.conf=k(p,E),q[d]=q[f]=k(d,B),q[a]=k(a,E),q[h]=k(h,E),n=q[_]=E((function(){for(var e,S,w=0,x=[],O=arguments,$=this;w<O.length;)j(e=O[w++])&&x.push(A(e)?e:((r={})[v]=(S=e)[v]||t,n=S.props,r[o]=j((s=S[o])||n)?E({},n,s):t,r[b]=P(S.init,S[b]),r[y]=P(S[y]),n=S[m],r[c]=j((s=S[c])||n)?B({},n,s):t,r[a]=S[a],n=S.statics,r[u]=j((s=S[u])||n)?E({},n,s):t,n=S[g],r[l]=j((s=S[l])||n)?B({},n,s):t,s=S[h],r[h]=j((n=S.name&&{name:{value:S.name}})||s)?E({},s,n):t,n=S.conf,r[p]=j((s=S[p])||n)?E({},n,s):t,n=S[f],r[d]=j((s=S[d])||n)?B({},n,s):t,r));if(e=M.apply($||i,x),$&&x.unshift($),Array.isArray(O=e[_][y]))for(w=0;w<O.length;)e=A($=O[w++]({stamp:e,composables:x}))?$: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}()},3833:(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,h,p=[],d="./this.program",m=function(e,t){throw t};l="object"==typeof window,h="function"==typeof importScripts,a="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,u=!l&&!a&&!h;var g,f,b,v,y,_="";a?(_=h?s(4142).dirname(_)+"/":"//",g=function(e,t){return v||(v=s(3078)),y||(y=s(4142)),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,"/")),p=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?p=scriptArgs:void 0!==arguments&&(p=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||h)&&(h?_=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},h&&(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 S=n.printErr||console.warn.bind(console);for(o in c)c.hasOwnProperty(o)&&(n[o]=c[o]);c=null,n.arguments&&(p=n.arguments),n.thisProgram&&(d=n.thisProgram),n.quit&&(m=n.quit);var w,E=16,x=[];function j(e,t){if(!w){w=new WeakMap;for(var s=0;s<Z.length;s++){var n=Z.get(s);n&&w.set(n,s)}}if(w.has(e))return w.get(e);var r=function(){if(x.length)return x.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 w.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,D="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function L(e,t,s){for(var n=t+s,r=t;e[r]&&!(r>=n);)++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 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 J(e,t){return e?L(N,e,t):""}function U(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 z(e,t,s){return U(e,N,t,s)}function W(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=W(e)+1,s=Je(t);return U(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"}),X=[],Q=[],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),S(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 he(e){return e.startsWith("data:application/octet-stream;base64,")}function pe(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)}}he(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=L(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 Se(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 we={nextHandle:1,loadedLibs:{},loadedLibNames:{}};var Ee=5250880;function xe(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(!xe(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:S("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=De();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(Le(e),t!==t+0&&"longjmp"!==t)throw t;Ue(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}}),h={"GOT.mem":new Proxy({},ge),"GOT.func":new Proxy({},ge),env:l,wasi_snapshot_preview1:l};function p(e){for(var n=0;n<s.tableSize;n++){var r=Z.get(a+n);r&&w.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():Q.push(i)),o}if(t.loadAsync){if(e instanceof WebAssembly.Module){var d=new WebAssembly.Instance(e,h);return Promise.resolve(p(d))}return WebAssembly.instantiate(e,h).then((function(e){return p(e.instance)}))}var m=e instanceof WebAssembly.Module?e:new WebAssembly.Module(e);return p(d=new WebAssembly.Instance(m,h))}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||we.loadedLibNames[e]||(we.loadedLibs[-1]={refcount:1/0,name:"__main__",module:n.asm,global:!0},we.loadedLibNames.__main__=-1),t=t||{global:!0,nodelete:!0};var s,r=we.loadedLibNames[e];if(r)return s=we.loadedLibs[r],t.global&&!s.global&&(s.global=!0,"loading"!==s.module&&Se(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&&Se(e),s.module=e}return r=we.nextHandle++,s={refcount:t.nodelete?1/0:1,name:e,module:"loading",global:t.global},we.loadedLibNames[e]=r,we.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=J(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)),Se(s),r=n.asm.__wasm_call_ctors,Q.unshift(r),oe()}function s(e){t(e.instance,e.module)}function r(t){return function(){if(!O&&(l||h)){if("function"==typeof fetch&&!pe(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){S("failed to asynchronously prepare wasm: "+e),ce(e)}))}if(ie(),n.instantiateWasm)try{return n.instantiateWasm(e,t)}catch(e){return S("Module.instantiateWasm callback failed with error: "+e),!1}O||"function"!=typeof WebAssembly.instantiateStreaming||he(ae)||pe(ae)||"function"!=typeof fetch?r(s):fetch(ae,{credentials:"same-origin"}).then((function(t){return WebAssembly.instantiateStreaming(t,e).then(s,(function(e){return S("wasm streaming compile failed: "+e),S("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)}),De=(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(De=n.stackSave=n.asm.stackSave).apply(null,arguments)}),Le=n.stackRestore=function(){return(Le=n.stackRestore=n.asm.stackRestore).apply(null,arguments)},Je=n.stackAlloc=function(){return(Je=n.stackAlloc=n.asm.stackAlloc).apply(null,arguments)},Ue=n._setThrew=function(){return(Ue=n._setThrew=n.asm.setThrew).apply(null,arguments)};function ze(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?Je(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 We=!1;function Ge(e){function t(){Te||(Te=!0,n.calledRun=!0,q||(te=!0,fe(Q),fe(Y),n.onRuntimeInitialized&&n.onRuntimeInitialized(),Ke&&function(e){var t=n._main;if(t){var s=(e=e||[]).length+1,r=Je(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 ze)return;if("unwind"==e)return;var o=e;e&&"object"==typeof e&&e.stack&&(o=[e,e.stack]),S("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||p,se>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,se>0)||(function(){if(n.preRun)for("function"==typeof n.preRun&&(n.preRun=[n.preRun]);n.preRun.length;)e=n.preRun.shift(),X.unshift(e);var e;fe(X)}(),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 ze(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,Xe={},Qe=4,Ye=5*Qe,et=2*Qe,tt=2*Qe+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+Qe,"i32")}initialize(){Ze._ts_parser_new_wasm(),this[0]=A(ct,"i32"),this[1]=A(ct+Qe,"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 ht(Xe,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 ht{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 ht(Xe,e,this.language,this.textCallback)}delete(){Ze._ts_tree_delete(this[0]),this[0]=0}edit(e){!function(e){let t=ct;xt(t,e.startPosition),xt(t+=et,e.oldEndPosition),xt(t+=et,e.newEndPosition),M(t+=et,e.startIndex,"i32"),M(t+=Qe,e.oldEndIndex,"i32"),M(t+=Qe,e.newEndIndex,"i32"),t+=Qe}(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!==ht)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+Qe,"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 pt{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),St(this.tree)}namedChild(e){return _t(this),Ze._ts_node_named_child_wasm(this.tree[0],e),St(this.tree)}childForFieldId(e){return _t(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 _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+Qe,"i32");if(this._children=new Array(e),e>0){let s=t;for(let t=0;t<e;t++)this._children[t]=St(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+Qe,"i32");if(this._namedChildren=new Array(e),e>0){let s=t;for(let t=0;t<e;t++)this._namedChildren[t]=St(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(Qe*n.length);for(let e=0,t=n.length;e<t;e++)M(i+e*Qe,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+Qe,"i32"),a=new Array(o);if(o>0){let e=c;for(let t=0;t<o;t++)a[t]=St(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]),St(this.tree)}get previousSibling(){return _t(this),Ze._ts_node_prev_sibling_wasm(this.tree[0]),St(this.tree)}get nextNamedSibling(){return _t(this),Ze._ts_node_next_named_sibling_wasm(this.tree[0]),St(this.tree)}get previousNamedSibling(){return _t(this),Ze._ts_node_prev_named_sibling_wasm(this.tree[0]),St(this.tree)}get parent(){return _t(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");_t(this);let s=ct+Ye;return M(s,e,"i32"),M(s+Qe,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");_t(this);let s=ct+Ye;return M(s,e,"i32"),M(s+Qe,t,"i32"),Ze._ts_node_named_descendant_for_index_wasm(this.tree[0]),St(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 xt(s,e),xt(s+et,t),Ze._ts_node_descendant_for_position_wasm(this.tree[0]),St(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 xt(s,e),xt(s+et,t),Ze._ts_node_named_descendant_for_position_wasm(this.tree[0]),St(this.tree)}walk(){return _t(this),Ze._ts_tree_cursor_new_wasm(this.tree[0]),new dt(Xe,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(){wt(this),Ze._ts_tree_cursor_delete_wasm(this.tree[0]),this[0]=this[1]=this[2]=0}reset(e){_t(e),wt(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 wt(this),Ze._ts_tree_cursor_current_node_type_id_wasm(this.tree[0])}get nodeId(){return wt(this),Ze._ts_tree_cursor_current_node_id_wasm(this.tree[0])}get nodeIsNamed(){return wt(this),1===Ze._ts_tree_cursor_current_node_is_named_wasm(this.tree[0])}get nodeIsMissing(){return wt(this),1===Ze._ts_tree_cursor_current_node_is_missing_wasm(this.tree[0])}get nodeText(){wt(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 wt(this),Ze._ts_tree_cursor_start_position_wasm(this.tree[0]),jt(ct)}get endPosition(){return wt(this),Ze._ts_tree_cursor_end_position_wasm(this.tree[0]),jt(ct)}get startIndex(){return wt(this),Ze._ts_tree_cursor_start_index_wasm(this.tree[0])}get endIndex(){return wt(this),Ze._ts_tree_cursor_end_index_wasm(this.tree[0])}currentNode(){return wt(this),Ze._ts_tree_cursor_current_node_wasm(this.tree[0]),St(this.tree)}currentFieldId(){return wt(this),Ze._ts_tree_cursor_current_field_id_wasm(this.tree[0])}currentFieldName(){return this.tree.language.fields[this.currentFieldId()]}gotoFirstChild(){wt(this);const e=Ze._ts_tree_cursor_goto_first_child_wasm(this.tree[0]);return Et(this),1===e}gotoNextSibling(){wt(this);const e=Ze._ts_tree_cursor_goto_next_sibling_wasm(this.tree[0]);return Et(this),1===e}gotoParent(){wt(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]=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 s=W(e),n=Ze._malloc(s+1);z(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?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),s=Ze._malloc(t+1);z(e,s,t+1);const n=Ze._ts_query_new(this[0],s,t,ct,ct+Qe);if(!n){const t=A(ct+Qe,"i32"),n=J(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]=J(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]=J(t,s)}const u=new Array(o),l=new Array(o),h=new Array(o),p=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");p[e]=[],d[e]=[];const r=[];let i=t;for(let t=0;t<s;t++){const t=A(i,"i32"),s=A(i+=Qe,"i32");if(i+=Qe,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:h;o[e]||(o[e]={}),o[e][r[1].value]=r[2]?r[2].value:null;break;default:p[e].push({operator:t,operands:r.slice(1)})}r.length=0}}Object.freeze(u[e]),Object.freeze(l[e]),Object.freeze(h[e])}return Ze._free(s),new gt(Xe,n,c,d,p,Object.freeze(u),Object.freeze(l),Object.freeze(h))}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(3078);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(Xe,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+Qe,"i32"),c=A(ct+2*Qe,"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+=Qe,"i32");l+=Qe;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+Qe,"i32"),c=A(ct+2*Qe,"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+=Qe,"i32"),n=A(l+=Qe,"i32");if(l+=Qe,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=St(t,s+=Qe);s+=Ye,n[r]={name:e.captureNames[i],node:o}}return s}function vt(e){if(e!==Xe)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+=Qe,e.startIndex,"i32"),M(t+=Qe,e.startPosition.row,"i32"),M(t+=Qe,e.startPosition.column,"i32"),M(t+=Qe,e[0],"i32")}function St(e,t=ct){const s=A(t,"i32");if(0===s)return null;const n=A(t+=Qe,"i32"),r=A(t+=Qe,"i32"),i=A(t+=Qe,"i32"),o=A(t+=Qe,"i32"),c=new pt(Xe,e);return c.id=s,c.startIndex=n,c.startPosition={row:r,column:i},c[0]=o,c}function wt(e,t=ct){M(t+0*Qe,e[0],"i32"),M(t+1*Qe,e[1],"i32"),M(t+2*Qe,e[2],"i32")}function Et(e){e[0]=A(ct+0*Qe,"i32"),e[1]=A(ct+1*Qe,"i32"),e[2]=A(ct+2*Qe,"i32")}function xt(e,t){M(e,t.row,"i32"),M(e+Qe,t.column,"i32")}function jt(e){return{row:A(e,"i32"),column:A(e+Qe,"i32")}}function Ot(e,t){xt(e,t.startPosition),xt(e+=et,t.endPosition),M(e+=et,t.startIndex,"i32"),M(e+=Qe,t.endIndex,"i32"),e+=Qe}function Bt(e){const t={};return t.startPosition=jt(e),e+=et,t.endPosition=jt(e),e+=et,t.startIndex=A(e,"i32"),e+=Qe,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},3078:()=>{},4142:()=>{},1212:(e,t,s)=>{e.exports=s(8411)},7202:(e,t,s)=>{"use strict";var n=s(239);e.exports=n},6656:(e,t,s)=>{"use strict";s(484),s(5695),s(6138),s(9828),s(3832);var n=s(8099);e.exports=n.AggregateError},8411:(e,t,s)=>{"use strict";e.exports=s(8337)},8337:(e,t,s)=>{"use strict";s(5442);var n=s(7202);e.exports=n},814:(e,t,s)=>{"use strict";var n=s(2769),r=s(459),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(r(e)+" is not a function")}},1966:(e,t,s)=>{"use strict";var n=s(2937),r=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i("Can't set "+r(e)+" as a prototype")}},8137:e=>{"use strict";e.exports=function(){}},7235:(e,t,s)=>{"use strict";var n=s(262),r=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(r(e)+" is not an object")}},1005:(e,t,s)=>{"use strict";var n=s(3273),r=s(4574),i=s(8130),o=function(e){return function(t,s,o){var c,a=n(t),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)}},9932:(e,t,s)=>{"use strict";var n=s(6100),r=n({}.toString),i=n("".slice);e.exports=function(e){return i(r(e),8,-1)}},8407:(e,t,s)=>{"use strict";var n=s(4904),r=s(2769),i=s(9932),o=s(8655)("toStringTag"),c=Object,a="Arguments"===i(function(){return arguments}());e.exports=n?i:function(e){var t,s,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(s=function(e,t){try{return e[t]}catch(e){}}(t=c(e),o))?s:a?i(t):"Object"===(n=i(t))&&r(t.callee)?"Arguments":n}},7464:(e,t,s)=>{"use strict";var n=s(701),r=s(5691),i=s(4543),o=s(9989);e.exports=function(e,t,s){for(var c=r(t),a=o.f,u=i.f,l=0;l<c.length;l++){var h=c[l];n(e,h)||s&&n(s,h)||a(e,h,u(t,h))}}},2871:(e,t,s)=>{"use strict";var n=s(1203);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},877:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},3999:(e,t,s)=>{"use strict";var n=s(5024),r=s(9989),i=s(480);e.exports=n?function(e,t,s){return r.f(e,t,i(1,s))}:function(e,t,s){return e[t]=s,e}},480:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},3508:(e,t,s)=>{"use strict";var n=s(3999);e.exports=function(e,t,s,r){return r&&r.enumerable?e[t]=s:n(e,t,s),e}},7525:(e,t,s)=>{"use strict";var n=s(1063),r=Object.defineProperty;e.exports=function(e,t){try{r(n,e,{value:t,configurable:!0,writable:!0})}catch(s){n[e]=t}return t}},5024:(e,t,s)=>{"use strict";var n=s(1203);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},9619:(e,t,s)=>{"use strict";var n=s(1063),r=s(262),i=n.document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},1100:e=>{"use strict";e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},7868:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},4432:(e,t,s)=>{"use strict";var n,r,i=s(1063),o=s(7868),c=i.process,a=i.Deno,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},9683:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3885:(e,t,s)=>{"use strict";var n=s(6100),r=Error,i=n("".replace),o=String(new r("zxcasd").stack),c=/\n\s*at [^:]*:[^\n]*/,a=c.test(o);e.exports=function(e,t){if(a&&"string"==typeof e&&!r.prepareStackTrace)for(;t--;)e=i(e,c,"");return e}},4279:(e,t,s)=>{"use strict";var n=s(3999),r=s(3885),i=s(5791),o=Error.captureStackTrace;e.exports=function(e,t,s,c){i&&(o?o(e,t):n(e,"stack",r(s,c)))}},5791:(e,t,s)=>{"use strict";var n=s(1203),r=s(480);e.exports=!n((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",r(1,7)),7!==e.stack)}))},9098:(e,t,s)=>{"use strict";var n=s(1063),r=s(7013),i=s(9344),o=s(2769),c=s(4543).f,a=s(8696),u=s(8099),l=s(4572),h=s(3999),p=s(701),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,_,S=e.target,w=e.global,E=e.stat,x=e.proto,j=w?n:E?n[S]:n[S]&&n[S].prototype,O=w?u:u[S]||h(u,S,{})[S],B=O.prototype;for(g in t)r=!(s=a(w?g:S+(E?".":"#")+g,e.forced))&&j&&p(j,g),b=O[g],r&&(v=e.dontCallGetSet?(_=c(j,g))&&_.value:j[g]),f=r&&v?v:t[g],(s||x||typeof b!=typeof f)&&(y=e.bind&&r?l(f,n):e.wrap&&r?d(f):x&&o(f)?i(f):f,(e.sham||f&&f.sham||b&&b.sham)&&h(y,"sham",!0),h(O,g,y),x&&(p(u,m=S+"Prototype")||h(u,m,{}),h(u[m],g,f),e.real&&B&&(s||!B[g])&&h(B,g,f)))}},1203:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},7013:(e,t,s)=>{"use strict";var n=s(1780),r=Function.prototype,i=r.apply,o=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(i):function(){return o.apply(i,arguments)})},4572:(e,t,s)=>{"use strict";var n=s(9344),r=s(814),i=s(1780),o=n(n.bind);e.exports=function(e,t){return r(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}},1780:(e,t,s)=>{"use strict";var n=s(1203);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},4713:(e,t,s)=>{"use strict";var n=s(1780),r=Function.prototype.call;e.exports=n?r.bind(r):function(){return r.apply(r,arguments)}},3410:(e,t,s)=>{"use strict";var n=s(5024),r=s(701),i=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,c=r(i,"name"),a=c&&"something"===function(){}.name,u=c&&(!n||n&&o(i,"name").configurable);e.exports={EXISTS:c,PROPER:a,CONFIGURABLE:u}},3574:(e,t,s)=>{"use strict";var n=s(6100),r=s(814);e.exports=function(e,t,s){try{return n(r(Object.getOwnPropertyDescriptor(e,t)[s]))}catch(e){}}},9344:(e,t,s)=>{"use strict";var n=s(9932),r=s(6100);e.exports=function(e){if("Function"===n(e))return r(e)}},6100:(e,t,s)=>{"use strict";var n=s(1780),r=Function.prototype,i=r.call,o=n&&r.bind.bind(i,i);e.exports=n?o:function(e){return function(){return i.apply(e,arguments)}}},1003:(e,t,s)=>{"use strict";var n=s(8099),r=s(1063),i=s(2769),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e])||o(r[e]):n[e]&&n[e][t]||r[e]&&r[e][t]}},967:(e,t,s)=>{"use strict";var n=s(8407),r=s(4674),i=s(3057),o=s(6625),c=s(8655)("iterator");e.exports=function(e){if(!i(e))return r(e,c)||r(e,"@@iterator")||o[n(e)]}},1613:(e,t,s)=>{"use strict";var n=s(4713),r=s(814),i=s(7235),o=s(459),c=s(967),a=TypeError;e.exports=function(e,t){var s=arguments.length<2?c(e):t;if(r(s))return i(n(s,e));throw new a(o(e)+" is not iterable")}},4674:(e,t,s)=>{"use strict";var n=s(814),r=s(3057);e.exports=function(e,t){var s=e[t];return r(s)?void 0:n(s)}},1063:function(e,t,s){"use strict";var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof s.g&&s.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},701:(e,t,s)=>{"use strict";var n=s(6100),r=s(2137),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(r(e),t)}},5241:e=>{"use strict";e.exports={}},3489:(e,t,s)=>{"use strict";var n=s(1003);e.exports=n("document","documentElement")},9665:(e,t,s)=>{"use strict";var n=s(5024),r=s(1203),i=s(9619);e.exports=!n&&!r((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},1395:(e,t,s)=>{"use strict";var n=s(6100),r=s(1203),i=s(9932),o=Object,c=n("".split);e.exports=r((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?c(e,""):o(e)}:o},3507:(e,t,s)=>{"use strict";var n=s(2769),r=s(262),i=s(3491);e.exports=function(e,t,s){var o,c;return i&&n(o=t.constructor)&&o!==s&&r(c=o.prototype)&&c!==s.prototype&&i(e,c),e}},8148:(e,t,s)=>{"use strict";var n=s(262),r=s(3999);e.exports=function(e,t){n(t)&&"cause"in t&&r(e,"cause",t.cause)}},8417:(e,t,s)=>{"use strict";var n,r,i,o=s(1314),c=s(1063),a=s(262),u=s(3999),l=s(701),h=s(3753),p=s(4275),d=s(5241),m="Object already initialized",g=c.TypeError,f=c.WeakMap;if(o||h.state){var b=h.state||(h.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=p("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}}}},2877:(e,t,s)=>{"use strict";var n=s(8655),r=s(6625),i=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},2769:e=>{"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},8696:(e,t,s)=>{"use strict";var n=s(1203),r=s(2769),i=/#|\.prototype\./,o=function(e,t){var s=a[c(e)];return s===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},3057:e=>{"use strict";e.exports=function(e){return null==e}},262:(e,t,s)=>{"use strict";var n=s(2769);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},2937:(e,t,s)=>{"use strict";var n=s(262);e.exports=function(e){return n(e)||null===e}},4871:e=>{"use strict";e.exports=!0},6281:(e,t,s)=>{"use strict";var n=s(1003),r=s(2769),i=s(4317),o=s(7460),c=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return r(t)&&i(t.prototype,c(e))}},208:(e,t,s)=>{"use strict";var n=s(4572),r=s(4713),i=s(7235),o=s(459),c=s(2877),a=s(8130),u=s(4317),l=s(1613),h=s(967),p=s(1743),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,_,S,w,E=s&&s.that,x=!(!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&&p(f,"normal",e),new m(!0,e)},M=function(e){return x?(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=h(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(S=j?e.next:f.next;!(w=r(S,f)).done;){try{_=M(w.value)}catch(e){p(f,"throw",e)}if("object"==typeof _&&_&&u(g,_))return _}return new m(!1)}},1743:(e,t,s)=>{"use strict";var n=s(4713),r=s(7235),i=s(4674);e.exports=function(e,t,s){var o,c;r(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw s;return s}o=n(o,e)}catch(e){c=!0,o=e}if("throw"===t)throw s;if(c)throw o;return r(o),s}},1926:(e,t,s)=>{"use strict";var n=s(2621).IteratorPrototype,r=s(5780),i=s(480),o=s(1811),c=s(6625),a=function(){return this};e.exports=function(e,t,s,u){var l=t+" Iterator";return e.prototype=r(n,{next:i(+!u,s)}),o(e,l,!1,!0),c[l]=a,e}},164:(e,t,s)=>{"use strict";var n=s(9098),r=s(4713),i=s(4871),o=s(3410),c=s(2769),a=s(1926),u=s(3671),l=s(3491),h=s(1811),p=s(3999),d=s(3508),m=s(8655),g=s(6625),f=s(2621),b=o.PROPER,v=o.CONFIGURABLE,y=f.IteratorPrototype,_=f.BUGGY_SAFARI_ITERATORS,S=m("iterator"),w="keys",E="values",x="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 w:case E:case x:return function(){return new s(this,e)}}return function(){return new s(this)}},A=t+" Iterator",q=!1,k=e.prototype,C=k[S]||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[S])||d(B,S,j)),h(B,A,!0,!0),i&&(g[A]=j)),b&&m===E&&C&&C.name!==E&&(!i&&v?p(k,"name",E):(q=!0,I=function(){return r(C,this)})),m)if(P={values:M(E),keys:f?I:M(w),entries:M(x)},O)for($ in P)(_||q||!($ in k))&&d(k,$,P[$]);else n({target:t,proto:!0,forced:_||q},P);return i&&!O||k[S]===I||d(k,S,I,{name:m}),g[t]=I,P}},2621:(e,t,s)=>{"use strict";var n,r,i,o=s(1203),c=s(2769),a=s(262),u=s(5780),l=s(3671),h=s(3508),p=s(8655),d=s(4871),m=p("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])||h(n,m,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},6625:e=>{"use strict";e.exports={}},8130:(e,t,s)=>{"use strict";var n=s(8146);e.exports=function(e){return n(e.length)}},5777:e=>{"use strict";var t=Math.ceil,s=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?s:t)(n)}},4879:(e,t,s)=>{"use strict";var n=s(1139);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},5780:(e,t,s)=>{"use strict";var n,r=s(7235),i=s(7389),o=s(9683),c=s(5241),a=s(3489),u=s(9619),l=s(4275),h="prototype",p="script",d=l("IE_PROTO"),m=function(){},g=function(e){return"<"+p+">"+e+"</"+p+">"},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"+p+":",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[h][o[r]];return b()};c[d]=!0,e.exports=Object.create||function(e,t){var s;return null!==e?(m[h]=r(e),s=new m,m[h]=null,s[d]=e):s=b(),void 0===t?s:i.f(s,t)}},7389:(e,t,s)=>{"use strict";var n=s(5024),r=s(1330),i=s(9989),o=s(7235),c=s(3273),a=s(8364);t.f=n&&!r?Object.defineProperties:function(e,t){o(e);for(var s,n=c(t),r=a(t),u=r.length,l=0;u>l;)i.f(e,s=r[l++],n[s]);return e}},9989:(e,t,s)=>{"use strict";var n=s(5024),r=s(9665),i=s(1330),o=s(7235),c=s(5341),a=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,h="enumerable",p="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:p in s?s[p]:n[p],enumerable:h in s?s[h]:n[h],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}},4543:(e,t,s)=>{"use strict";var n=s(5024),r=s(4713),i=s(7161),o=s(480),c=s(3273),a=s(5341),u=s(701),l=s(9665),h=Object.getOwnPropertyDescriptor;t.f=n?h:function(e,t){if(e=c(e),t=a(t),l)try{return h(e,t)}catch(e){}if(u(e,t))return o(!r(i.f,e,t),e[t])}},5116:(e,t,s)=>{"use strict";var n=s(8600),r=s(9683).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,r)}},7313:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},3671:(e,t,s)=>{"use strict";var n=s(701),r=s(2769),i=s(2137),o=s(4275),c=s(2871),a=o("IE_PROTO"),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}},4317:(e,t,s)=>{"use strict";var n=s(6100);e.exports=n({}.isPrototypeOf)},8600:(e,t,s)=>{"use strict";var n=s(6100),r=s(701),i=s(3273),o=s(1005).indexOf,c=s(5241),a=n([].push);e.exports=function(e,t){var s,n=i(e),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}},8364:(e,t,s)=>{"use strict";var n=s(8600),r=s(9683);e.exports=Object.keys||function(e){return n(e,r)}},7161:(e,t)=>{"use strict";var s={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!s.call({1:2},1);t.f=r?function(e){var t=n(this,e);return!!t&&t.enumerable}:s},3491:(e,t,s)=>{"use strict";var n=s(3574),r=s(7235),i=s(1966);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,s={};try{(e=n(Object.prototype,"__proto__","set"))(s,[]),t=s instanceof Array}catch(e){}return function(s,n){return r(s),i(n),t?e(s,n):s.__proto__=n,s}}():void 0)},9559:(e,t,s)=>{"use strict";var n=s(4904),r=s(8407);e.exports=n?{}.toString:function(){return"[object "+r(this)+"]"}},9258:(e,t,s)=>{"use strict";var n=s(4713),r=s(2769),i=s(262),o=TypeError;e.exports=function(e,t){var s,c;if("string"===t&&r(s=e.toString)&&!i(c=n(s,e)))return c;if(r(s=e.valueOf)&&!i(c=n(s,e)))return c;if("string"!==t&&r(s=e.toString)&&!i(c=n(s,e)))return c;throw new o("Can't convert object to primitive value")}},5691:(e,t,s)=>{"use strict";var n=s(1003),r=s(6100),i=s(5116),o=s(7313),c=s(7235),a=r([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(c(e)),s=o.f;return s?a(t,s(e)):t}},8099:e=>{"use strict";e.exports={}},5516:(e,t,s)=>{"use strict";var n=s(9989).f;e.exports=function(e,t,s){s in e||n(e,s,{configurable:!0,get:function(){return t[s]},set:function(e){t[s]=e}})}},5426:(e,t,s)=>{"use strict";var n=s(3057),r=TypeError;e.exports=function(e){if(n(e))throw new r("Can't call method on "+e);return e}},1811:(e,t,s)=>{"use strict";var n=s(4904),r=s(9989).f,i=s(3999),o=s(701),c=s(9559),a=s(8655)("toStringTag");e.exports=function(e,t,s,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))}},4275:(e,t,s)=>{"use strict";var n=s(8141),r=s(1268),i=n("keys");e.exports=function(e){return i[e]||(i[e]=r(e))}},3753:(e,t,s)=>{"use strict";var n=s(1063),r=s(7525),i="__core-js_shared__",o=n[i]||r(i,{});e.exports=o},8141:(e,t,s)=>{"use strict";var n=s(4871),r=s(3753);(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.35.1",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5571:(e,t,s)=>{"use strict";var n=s(6100),r=s(9903),i=s(1139),o=s(5426),c=n("".charAt),a=n("".charCodeAt),u=n("".slice),l=function(e){return function(t,s){var n,l,h=i(o(t)),p=r(s),d=h.length;return p<0||p>=d?e?"":void 0:(n=a(h,p))<55296||n>56319||p+1===d||(l=a(h,p+1))<56320||l>57343?e?c(h,p):n:e?u(h,p,p+2):l-56320+(n-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},4603:(e,t,s)=>{"use strict";var n=s(4432),r=s(1203),i=s(1063).String;e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},4574:(e,t,s)=>{"use strict";var n=s(9903),r=Math.max,i=Math.min;e.exports=function(e,t){var s=n(e);return s<0?r(s+t,0):i(s,t)}},3273:(e,t,s)=>{"use strict";var n=s(1395),r=s(5426);e.exports=function(e){return n(r(e))}},9903:(e,t,s)=>{"use strict";var n=s(5777);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},8146:(e,t,s)=>{"use strict";var n=s(9903),r=Math.min;e.exports=function(e){var t=n(e);return t>0?r(t,9007199254740991):0}},2137:(e,t,s)=>{"use strict";var n=s(5426),r=Object;e.exports=function(e){return r(n(e))}},493:(e,t,s)=>{"use strict";var n=s(4713),r=s(262),i=s(6281),o=s(4674),c=s(9258),a=s(8655),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)}},5341:(e,t,s)=>{"use strict";var n=s(493),r=s(6281);e.exports=function(e){var t=n(e,"string");return r(t)?t:t+""}},4904:(e,t,s)=>{"use strict";var n={};n[s(8655)("toStringTag")]="z",e.exports="[object z]"===String(n)},1139:(e,t,s)=>{"use strict";var n=s(8407),r=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return r(e)}},459:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},1268:(e,t,s)=>{"use strict";var n=s(6100),r=0,i=Math.random(),o=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++r+i,36)}},7460:(e,t,s)=>{"use strict";var n=s(4603);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},1330:(e,t,s)=>{"use strict";var n=s(5024),r=s(1203);e.exports=n&&r((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},1314:(e,t,s)=>{"use strict";var n=s(1063),r=s(2769),i=n.WeakMap;e.exports=r(i)&&/native code/.test(String(i))},8655:(e,t,s)=>{"use strict";var n=s(1063),r=s(8141),i=s(701),o=s(1268),c=s(4603),a=s(7460),u=n.Symbol,l=r("wks"),h=a?u.for||u:u&&u.withoutSetter||o;e.exports=function(e){return i(l,e)||(l[e]=c&&i(u,e)?u[e]:h("Symbol."+e)),l[e]}},6453:(e,t,s)=>{"use strict";var n=s(1003),r=s(701),i=s(3999),o=s(4317),c=s(3491),a=s(7464),u=s(5516),l=s(3507),h=s(4879),p=s(8148),d=s(4279),m=s(5024),g=s(4871);e.exports=function(e,t,s,f){var b="stackTraceLimit",v=f?2:1,y=e.split("."),_=y[y.length-1],S=n.apply(null,y);if(S){var w=S.prototype;if(!g&&r(w,"cause")&&delete w.cause,!s)return S;var E=n("Error"),x=t((function(e,t){var s=h(f?t:e,void 0),n=f?new S(e):new S;return void 0!==s&&i(n,"message",s),d(n,x,n.stack,2),this&&o(w,this)&&l(n,this,x),arguments.length>v&&p(n,arguments[v]),n}));if(x.prototype=w,"Error"!==_?c?c(x,E):a(x,E,{name:!0}):m&&b in S&&(u(x,S,b),u(x,S,"prepareStackTrace")),a(x,S),!g)try{w.name!==_&&i(w,"name",_),w.constructor=x}catch(e){}return x}}},6138:(e,t,s)=>{"use strict";var n=s(9098),r=s(1003),i=s(7013),o=s(1203),c=s(6453),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)})},3085:(e,t,s)=>{"use strict";var n=s(9098),r=s(4317),i=s(3671),o=s(3491),c=s(7464),a=s(5780),u=s(3999),l=s(480),h=s(8148),p=s(4279),d=s(208),m=s(4879),g=s(8655)("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)),p(s,v,s.stack,1),arguments.length>2&&h(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})},5695:(e,t,s)=>{"use strict";s(3085)},9828:(e,t,s)=>{"use strict";var n=s(3273),r=s(8137),i=s(6625),o=s(8417),c=s(9989).f,a=s(164),u=s(877),l=s(4871),h=s(5024),p="Array Iterator",d=o.set,m=o.getterFor(p);e.exports=a(Array,"Array",(function(e,t){d(this,{type:p,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&&h&&"values"!==g.name)try{c(g,"name",{value:"values"})}catch(e){}},484:(e,t,s)=>{"use strict";var n=s(9098),r=s(1063),i=s(7013),o=s(6453),c="WebAssembly",a=r[c],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)},h=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)}})),h("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),h("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),h("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},3832:(e,t,s)=>{"use strict";var n=s(5571).charAt,r=s(1139),i=s(8417),o=s(164),c=s(877),a="String Iterator",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))}))},5442:(e,t,s)=>{"use strict";s(5695)},85:(e,t,s)=>{"use strict";s(9828);var n=s(1100),r=s(1063),i=s(1811),o=s(6625);for(var c in n)i(r[c],c),o[c]=o.Array},239:(e,t,s)=>{"use strict";s(5442);var n=s(6656);s(85),e.exports=n}},t={};function s(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(i.exports,i,i.exports,s),i.loaded=!0,i.exports}s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var 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||!/^http(s?):/.test(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:()=>Kv,detectionRegExp:()=>Hv,mediaTypes:()=>Gv,namespace:()=>Xv,parse:()=>Zv});var e={};s.r(e),s.d(e,{hasElementSourceMap:()=>ns,includesClasses:()=>is,includesSymbols:()=>rs,isAnnotationElement:()=>Qt,isArrayElement:()=>Ht,isBooleanElement:()=>Wt,isCommentElement:()=>Yt,isElement:()=>Lt,isLinkElement:()=>Zt,isMemberElement:()=>Kt,isNullElement:()=>zt,isNumberElement:()=>Ut,isObjectElement:()=>Gt,isParseResultElement:()=>es,isPrimitiveElement:()=>ss,isRefElement:()=>Xt,isSourceMapElement:()=>ts,isStringElement:()=>Jt});var t={};s.r(t),s.d(t,{isJSONReferenceElement:()=>Li,isJSONSchemaElement:()=>Di,isLinkDescriptionElement:()=>Ui,isMediaElement:()=>Ji});var r={};s.r(r),s.d(r,{isJSONReferenceElement:()=>Li,isJSONSchemaElement:()=>co,isLinkDescriptionElement:()=>ao,isMediaElement:()=>Ji});var i={};s.r(i),s.d(i,{isJSONReferenceElement:()=>Li,isJSONSchemaElement:()=>Sa,isLinkDescriptionElement:()=>wa});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:()=>Na,isAsyncApiVersionElement:()=>Ta,isBooleanJsonSchemaElement:()=>Xa,isChannelBindingsElement:()=>Ra,isChannelItemElement:()=>Fa,isChannelsElement:()=>Va,isComponentsElement:()=>Da,isContactElement:()=>La,isIdentifierElement:()=>Ja,isInfoElement:()=>Ua,isLicenseElement:()=>za,isOperationElement:()=>Wa,isParameterElement:()=>Ga,isParametersElement:()=>Ha,isReferenceElement:()=>Ka,isSchemaElement:()=>Za,isSecurityRequirementElement:()=>Qa,isServerBindingsElement:()=>eu,isServerElement:()=>Ya,isServerVariableElement:()=>su,isServersElement:()=>tu});const h=u((function(e,t){return null==t||t!=t?e:t})),p=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 p(e)?m(e,t):t[e]}));const f=l((function(e,t,s){return h(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 S=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 w="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function E(e,t,s){return function(n,r,i){if(S(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[w])return s(n,r,i[w]());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 x(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,x);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"],D=function(){return arguments.propertyIsEnumerable("length")}(),L=function(e,t){for(var s=0;s<e.length;){if(e[s]===t)return!0;s+=1}return!1},J="function"!=typeof Object.keys||D?a((function(e){if(Object(e)!==e)return[];var t,s,n=[],r=D&&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)&&!L(n,t)&&(n[n.length]=t),s-=1;return n})):a((function(e){return Object(e)!==e?[]:Object.keys(e)}));const U=J;const z=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}),{},U(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(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,z(s,t))}),[],e)}));const G=u((function(e,t){var s=I(e,t);return I(e,(function(){return y(W,z(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 X(e,t,s){for(var n=0,r=s.length;n<r;){if(e(t,s[n]))return!0;n+=1}return!1}const Q="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!X((function(e,t){return!X(i,t,e)}),Z(t),r)}function te(e,t,s,n){if(Q(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||!Q(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!Q(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=U(e);if(a.length!==U(t).length)return!1;var u=s.concat([e]),l=n.concat([t]);for(c=a.length-1;c>=0;){var h=a[c];if(!N(h,t)||!te(t[h],e[h],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(8326);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 he(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 pe(e,t,s,n){return e["@@transducer/result"](s[n](le(e["@@transducer/step"],e),t))}const de=E(ue,pe,he);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:Q(e,s)};default:return Q(e,t)}};const Se=_e;function we(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 xe=function(e){return(e<10?"0":"")+e};const je="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+xe(e.getUTCMonth()+1)+"-"+xe(e.getUTCDate())+"T"+xe(e.getUTCHours())+":"+xe(e.getUTCMinutes())+":"+xe(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function 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}),{},U(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 we(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)}),U(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,U(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=p(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 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=I(1,Re(Ve,Le));const Ue=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 ze=u((function(e,t){return z(g(e),t)}));const We=a((function(e){return I(ge(Ue,0,ze("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,Se("GeneratorFunction")));const He=I(1,ye(Y,Se("AsyncFunction")));const Ke=We([ye(Y,Se("Function")),Ge,He]);var Ze=ye(Y,Se("Object")),Xe=ye(qe,se(qe(Object))),Qe=Ie(Re(Ke,Xe),["constructor"]);const Ye=I(1,(function(e){if(!Je(e)||!Ze(e))return!1;var t=Object.getPrototypeOf(e);return!!Fe(t)||Qe(t)}));class et extends ce.Om{constructor(e,t,s){super(e,t,s),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const tt=et;class st extends ce.Om{constructor(e,t,s){super(e,t,s),this.element="comment"}}const nt=st;class rt extends ce.wE{constructor(e,t,s){super(e,t,s),this.element="parseResult"}get api(){return this.children.filter((e=>e.classes.contains("api"))).first}get results(){return this.children.filter((e=>e.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((e=>"annotation"===e.element))}get warnings(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("warning")))}get errors(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("error")))}get isEmpty(){return this.children.reject((e=>"annotation"===e.element)).isEmpty}replaceResult(e){const{result:t}=this;if(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.wE{constructor(e,t,s){super(e,t,s),this.element="sourceMap"}get positionStart(){return this.children.filter((e=>e.classes.contains("position"))).get(0)}get positionEnd(){return this.children.filter((e=>e.classes.contains("position"))).get(1)}set position(e){if(void 0===e)return;const t=new ce.wE([e.start.row,e.start.column,e.start.char]),s=new ce.wE([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.g${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},ht=ut;const pt=I(1,ye(Y,Se("String"))),dt=s.p+"23aac571c96605dc25219087ad291441.wasm",mt=globalThis.fetch;Ke(mt)&&(globalThis.fetch=(...e)=>pt(e[0])&&e[0].endsWith("tree-sitter.wasm")?mt.apply(globalThis,[dt,ve(e)]):mt.apply(globalThis,e));var gt=s(3833),ft=s(1212);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 St=null,wt=null;const Et=async e=>{if(null===St&&null===wt)wt=gt.init().then((()=>gt.Language.load(_t))).then((e=>{const t=new gt;return t.setLanguage(e),t})).finally((()=>{wt=null})),St=await wt;else if(null===St&&null!==wt)St=await wt;else if(null===St)throw new yt("Error while initializing web-tree-sitter and loading tree-sitter-json grammar.");return St.parse(e)};const xt=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:h=!0}={})=>{const p=s||{};let d,m,g=Array.isArray(e),f=[e],b=-1,v=[],y=e;const _=[],S=[];do{b+=1;const e=b===f.length;let s;const E=e&&0!==v.length;if(e){if(s=0===S.length?void 0:_.pop(),y=m,m=S.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 x;if(!Array.isArray(y)){if(!u(y))throw new xt(`Invalid AST Node: ${String(y)}`,{node:y});if(h&&S.includes(y)){_.pop();continue}const i=c(t,a(y),e);if(i){for(const[e,s]of Object.entries(n))t[e]=s;x=i.call(t,y,s,m,_,S)}if(x===r)break;if(x===o){if(!e){_.pop();continue}}else if(void 0!==x&&(v.push([s,x]),!e)){if(!u(x)){_.pop();continue}y=x}}var w;if(void 0===x&&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!==(w=p[a(y)])&&void 0!==w?w:[],b=-1,v=[],m!==i&&void 0!==m&&S.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:h=!0}={})=>{const p=s||{};let d,m,g=Array.isArray(e),f=[e],b=-1,v=[],y=e;const _=[],S=[];do{b+=1;const e=b===f.length;let s;const E=e&&0!==v.length;if(e){if(s=0===S.length?void 0:_.pop(),y=m,m=S.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 x;if(!Array.isArray(y)){if(!u(y))throw new xt(`Invalid AST Node: ${String(y)}`,{node:y});if(h&&S.includes(y)){_.pop();continue}const i=c(t,a(y),e);if(i){for(const[e,s]of Object.entries(n))t[e]=s;x=await i.call(t,y,s,m,_,S)}if(x===r)break;if(x===o){if(!e){_.pop();continue}}else if(void 0!==x&&(v.push([s,x]),!e)){if(!u(x)){_.pop();continue}y=x}}var w;if(void 0===x&&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!==(w=p[a(y)])&&void 0!==w?w:[],b=-1,v=[],m!==i&&void 0!==m&&S.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(we)),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.wE)&&t.classes.includes(e),Vt=(e,t)=>"object"==typeof t&&null!==t&&"element"in t&&t.element===e,Dt=e=>e({hasMethod:Nt,hasBasicElementProps:Tt,primitiveEq:Rt,isElementType:Vt,hasClass:Ft}),Lt=Dt((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof ce.Hg||e(s)&&t(void 0,s))),Jt=Dt((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof ce.Om||e(s)&&t("string",s))),Ut=Dt((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof ce.kT||e(s)&&t("number",s))),zt=Dt((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof ce.Os||e(s)&&t("null",s))),Wt=Dt((({hasBasicElementProps:e,primitiveEq:t})=>s=>s instanceof ce.bd||e(s)&&t("boolean",s))),Gt=Dt((({hasBasicElementProps:e,primitiveEq:t,hasMethod:s})=>n=>n instanceof ce.Sh||e(n)&&t("object",n)&&s("keys",n)&&s("values",n)&&s("items",n))),Ht=Dt((({hasBasicElementProps:e,primitiveEq:t,hasMethod:s})=>n=>n instanceof ce.wE&&!(n instanceof ce.Sh)||e(n)&&t("array",n)&&s("push",n)&&s("unshift",n)&&s("map",n)&&s("reduce",n))),Kt=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ce.Pr||e(n)&&t("member",n)&&s(void 0,n))),Zt=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ce.Ft||e(n)&&t("link",n)&&s(void 0,n))),Xt=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ce.sI||e(n)&&t("ref",n)&&s(void 0,n))),Qt=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof tt||e(n)&&t("annotation",n)&&s("array",n))),Yt=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof nt||e(n)&&t("comment",n)&&s("string",n))),es=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof it||e(n)&&t("parseResult",n)&&s("array",n))),ts=Dt((({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 xt{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=Lt(t)?us(t,n):t,o=Lt(r)?us(r,n):r,c=new ce.KeyValuePair(i,o);return s.set(e,c),c}if(e instanceof ce.ot){const t=e=>us(e,n),r=[...e].map(t),i=new ce.ot(r);return s.set(e,i),i}if(e instanceof ce.G6){const t=e=>us(e,n),r=[...e].map(t),i=new ce.G6(r);return s.set(e,i),i}if(Lt(e)){const t=ps(e);if(s.set(e,t),e.content)if(Lt(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)},hs=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)),Lt(e.content)){const s=e.content;t.content=hs(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},ps=e=>{if(e instanceof ce.KeyValuePair)return ls(e);if(e instanceof ce.ot)return(e=>{const t=[...e];return new ce.ot(t)})(e);if(e instanceof ce.G6)return(e=>{const t=[...e];return new ce.G6(t)})(e);if(Lt(e))return hs(e);throw new as("Value provided to cloneShallow function couldn't be cloned",{value:e})};ps.safe=e=>{try{return ps(e)}catch{return e}};const ds=e=>Gt(e)?"ObjectElement":Ht(e)?"ArrayElement":Kt(e)?"MemberElement":Jt(e)?"StringElement":Wt(e)?"BooleanElement":Ut(e)?"NumberElement":zt(e)?"NullElement":Zt(e)?"LinkElement":Xt(e)?"RefElement":void 0,ms=e=>Lt(e)?ps(e):$t(e),gs=ye(ds,pt),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 Ss=be(0,-1);const ws=u((function(e,t){return e.apply(this,t)}));const Es=K(Ke);var xs=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=xs;const Os=a((function(e){return null!=e&&se(e,js(e))}));const Bs=I(1,Ke(Array.isArray)?Array.isArray:ye(Y,Se("Array")));const Ps=Re(Bs,Os);const $s=I(3,(function(e,t,s){var n=Ce(e,s),r=Ce(Ss(e),s);if(!Es(n)&&!Ps(e)){var i=le(n,r);return ws(i,t)}})),Ms=()=>({predicates:{...e},namespace:ht}),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 h=u,p=!1;for(let d=0;d<e.length;d+=1)if(a[d]===c){const c=t(e[d],s(h),!1);if("function"==typeof c){const t=c.call(e[d],h,...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;h=t,p=!0}}}}return p?h: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 Lt(e)&&(e.meta.length>0&&(n.meta=us(e.meta)),e.attributes.length>0&&(n.attributes=us(e.attributes))),qs(n,s,{toolboxCreator:Ms,visitorOptions:{nodeTypeGetter:ds}})},Cs=e=>(t,s={})=>ks(t,{...s,Type:e});ce.Sh.refract=Cs(ce.Sh),ce.wE.refract=Cs(ce.wE),ce.Om.refract=Cs(ce.Om),ce.bd.refract=Cs(ce.bd),ce.Os.refract=Cs(ce.Os),ce.kT.refract=Cs(ce.kT),ce.Ft.refract=Cs(ce.Ft),ce.sI.refract=Cs(ce.sI),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.wE([e.startPosition.row,e.startPosition.column,e.startIndex]),s=new ce.wE([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.Sh;return t._content=e.children,this.maybeAddSourceMap(e,t),t}array(e){const t=new ce.wE;return t._content=e.children,this.maybeAddSourceMap(e,t),t}pair(e){const t=new ce.Pr;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.Om(JSON.parse(e.text));return this.maybeAddSourceMap(e,t),t}number(e){const t=new ce.kT(Number(e.text));return this.maybeAddSourceMap(e,t),t}null(e){const t=new ce.Os;return this.maybeAddSourceMap(e,t),t}true(e){const t=new ce.bd(!0);return this.maybeAddSourceMap(e,t),t}false(e){const t=new ce.bd(!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},Ds=e=>es(e)?"ParseResultElement":Lt(e)?ds(e):Bt(e),Ls=e=>Lt(e)||Pt(e),Js=(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:Ds,nodePredicate:Ls,state:{sourceMap:t}})};class Us{static type="point";type=Us.type;row;column;char;constructor({row:e,column:t,char:s}){this.row=e,this.column=t,this.char=s}}class zs{static type="position";type=zs.type;start;end;constructor({start:e,end:t}){this.start=e,this.end=t}}const Ws=zs;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 Xs=class extends Hs{static type="parseResult";get rootNode(){return Gs(this.children)}};const Qs=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 hn=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 pn=class extends hn{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 Sn=class extends Hs{static type="error";value;isUnexpected;constructor({value:e,isUnexpected:t=!1,...s}={}){super({...s}),this.value=e,this.isUnexpected=t}},wn={document:["children"],object:["children"],array:["children"],string:["children"],property:["children"],key:["children"],error:["children"]};class En{static toPosition(e){const t=new Us({row:e.startPosition.row,column:e.startPosition.column,char:e.startIndex}),s=new Us({row:e.endPosition.row,column:e.endPosition.column,char:e.endIndex});return new Ws({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 Xs({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 Qs({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 pn({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 hn({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 Sn({children:e.children,position:r,isUnexpected:!e.hasError,isMissing:e.isMissing,value:e.text});return 0===n.length?new Xs({children:[i]}):i}}const xn=En,jn={[Xs.type]:["children"],[Zs.type]:["children"],[ln.type]:["children"],[dn.type]:["children"],[mn.type]:["children"],[Sn.type]:["children"],...fs},On=e=>es(e)?"ParseResultElement":Lt(e)?ds(e):Bt(e),Bn=e=>Lt(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.Sh;return t._content=e.children,this.maybeAddSourceMap(e,t),t}property(e){const t=new ce.Pr;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.Om(e.value);return this.maybeAddSourceMap(e,t),t}array(e){const t=new ce.wE;return t._content=e.children,this.maybeAddSourceMap(e,t),t}string(e){const t=new ce.Om(e.value);return this.maybeAddSourceMap(e,t),t}number(e){const t=new ce.kT(Number(e.value));return this.maybeAddSourceMap(e,t),t}null(e){const t=new ce.Os;return this.maybeAddSourceMap(e,t),t}true(e){const t=new ce.bd(!0);return this.maybeAddSourceMap(e,t),t}false(e){const t=new ce.bd(!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 xn,o=new Pn,c=Mt(r,i,{keyMap:wn,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}),{},U(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 Dn(e){return function(t){return new Vn(e,t)}}const Ln=u(B(["dropWhile"],Dn,(function(e,t){for(var s=0,n=t.length;s<n&&e(t[s]);)s+=1;return be(s,1/0,t)})));const Jn=Rn(1,"join");const Un=Tn((function(e,t){return ye(Fn(""),Ln(It(e)),Jn(""))(t)})),zn=(e,t)=>{const s=h(e,t);return An((e=>{if(Ye(e)&&In("$ref",e)&&Nn(pt,"$ref",e)){const t=Ce(["$ref"],e),n=Un("#/",t);return Ce(n.split("/"),s)}return Ye(e)?zn(e,s):e}),e)};var Wn=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]:p(t[1])?[]:{};s=e(Array.prototype.slice.call(t,1),s,i)}return function(e,t,s){if(p(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=Wn;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 Xn=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(p(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(p(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 Qn=Xn;var Yn=s(8357);const er=function(){return!0},tr=e=>"string"==typeof(null==e?void 0:e.type)?e.type:ds(e),sr={EphemeralObject:["content"],EphemeralArray:["content"],...fs},nr=(e,t,{keyMap:s=sr,...n}={})=>bs(e,t,{keyMap:s,nodeTypeGetter:tr,nodePredicate:er,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});nr[Symbol.for("nodejs.util.promisify.custom")]=async(e,{keyMap:t=sr,...s}={})=>bs[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,nodeTypeGetter:tr,nodePredicate:er,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...s});const rr=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 ir=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 or{ObjectElement={enter:e=>{if(this.references.has(e))return this.references.get(e).toReference();const t=new ir(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 rr(e.content);return this.references.set(e,t),t}};EphemeralArray={leave:e=>e.toArray()};references=new WeakMap;BooleanElement(e){return e.toValue()}NumberElement(e){return e.toValue()}StringElement(e){return e.toValue()}NullElement(){return null}RefElement(e,...t){var s;const n=t[3];return"EphemeralObject"===(null===(s=n[n.length-1])||void 0===s?void 0:s.type)?Symbol.for("delete-node"):String(e.toValue())}LinkElement(e){return Jt(e.href)?e.href.toValue():""}}const cr=e=>Lt(e)?Jt(e)||Ut(e)||Wt(e)||zt(e)?e.toValue():nr(e,new or):e,ar=e=>{const t=e.meta.length>0?us(e.meta):void 0,s=e.attributes.length>0?us(e.attributes):void 0;return new e.constructor(void 0,t,s)},ur=(e,t)=>t.clone&&t.isMergeableElement(e)?dr(ar(e),e,t):e,lr=e=>"function"!=typeof e.customMetaMerge?e=>us(e):e.customMetaMerge,hr=e=>"function"!=typeof e.customAttributesMerge?e=>us(e):e.customAttributesMerge,pr={clone:!0,isMergeableElement:e=>Gt(e)||Ht(e),arrayElementMerge:(e,t,s)=>e.concat(t)["fantasy-land/map"]((e=>ur(e,s))),objectElementMerge:(e,t,s)=>{const n=Gt(e)?ar(e):ar(t);return Gt(e)&&e.forEach(((e,t,r)=>{const i=ps(r);i.value=ur(e,s),n.content.push(i)})),t.forEach(((t,r,i)=>{const o=cr(r);let c;if(Gt(e)&&e.hasKey(o)&&s.isMergeableElement(t)){const n=e.get(o);c=ps(i),c.value=((e,t)=>{if("function"!=typeof t.customMerge)return dr;const s=t.customMerge(e,t);return"function"==typeof s?s:dr})(r,s)(n,t)}else c=ps(i),c.value=ur(t,s);n.remove(o),n.content.push(c)})),n},customMerge:void 0,customMetaMerge:void 0,customAttributesMerge:void 0};function dr(e,t,s){var n,r,i;const o={...pr,...s};o.isMergeableElement=null!==(n=o.isMergeableElement)&&void 0!==n?n:pr.isMergeableElement,o.arrayElementMerge=null!==(r=o.arrayElementMerge)&&void 0!==r?r:pr.arrayElementMerge,o.objectElementMerge=null!==(i=o.objectElementMerge)&&void 0!==i?i:pr.objectElementMerge;const c=Ht(t);if(!(c===Ht(e)))return ur(t,o);const a=c&&"function"==typeof o.arrayElementMerge?o.arrayElementMerge(e,t,o):o.objectElementMerge(e,t,o);return a.meta=lr(o)(e.meta,t.meta),a.attributes=hr(o)(e.attributes,t.attributes),a}dr.all=(e,t)=>{if(!Array.isArray(e))throw new TypeError("First argument of deepmerge should be an array.");return 0===e.length?new ce.Sh:e.reduce(((e,s)=>dr(e,s,t)),ar(e[0]))};const mr=Yn({props:{element:null},methods:{copyMetaAndAttributes(e,t){(e.meta.length>0||t.meta.length>0)&&(t.meta=dr(t.meta,e.meta),ns(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))),(e.attributes.length>0||e.meta.length>0)&&(t.attributes=dr(t.attributes,e.attributes))}}}),gr=Yn(mr,{methods:{enter(e){return this.element=us(e),Ot}}});const fr=ne(re());const br=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})),vr=Yn(mr,{props:{specObj:null,passingOptionsNames:["specObj"]},init({specObj:e=this.specObj}){this.specObj=e},methods:{retrievePassingOptions(){return br(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)}}}),yr=Yn(vr,{props:{specPath:fr,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(Jt(n)&&s.includes(cr(n))&&!this.ignoredFields.includes(cr(n))){const s=this.toRefractedElement([...t,"fixedFields",cr(n)],e),i=new ce.Pr(us(n),s);this.copyMetaAndAttributes(r,i),i.classes.push("fixed-field"),this.element.content.push(i)}else this.ignoredFields.includes(cr(n))||this.element.content.push(us(r))})),this.copyMetaAndAttributes(e,this.element),Ot}}});class _r extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="JSONSchemaDraft4"}get idProp(){return this.get("id")}set idProp(e){this.set("id",e)}get $schema(){return this.get("$schema")}set $schema(e){this.set("$schema",e)}get multipleOf(){return this.get("multipleOf")}set multipleOf(e){this.set("multipleOf",e)}get maximum(){return this.get("maximum")}set maximum(e){this.set("maximum",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get minimum(){return this.get("minimum")}set minimum(e){this.set("minimum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get maxLength(){return this.get("maxLength")}set maxLength(e){this.set("maxLength",e)}get minLength(){return this.get("minLength")}set minLength(e){this.set("minLength",e)}get pattern(){return this.get("pattern")}set pattern(e){this.set("pattern",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get maxItems(){return this.get("maxItems")}set maxItems(e){this.set("maxItems",e)}get minItems(){return this.get("minItems")}set minItems(e){this.set("minItems",e)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(e){this.set("uniqueItems",e)}get maxProperties(){return this.get("maxProperties")}set maxProperties(e){this.set("maxProperties",e)}get minProperties(){return this.get("minProperties")}set minProperties(e){this.set("minProperties",e)}get required(){return this.get("required")}set required(e){this.set("required",e)}get properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get dependencies(){return this.get("dependencies")}set dependencies(e){this.set("dependencies",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get allOf(){return this.get("allOf")}set allOf(e){this.set("allOf",e)}get anyOf(){return this.get("anyOf")}set anyOf(e){this.set("anyOf",e)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){return this.get("definitions")}set definitions(e){this.set("definitions",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get format(){return this.get("format")}set format(e){this.set("format",e)}get base(){return this.get("base")}set base(e){this.set("base",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get media(){return this.get("media")}set media(e){this.set("media",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}}const Sr=_r,wr=Yn(yr,gr,{props:{specPath:ne(["document","objects","JSONSchema"])},init(){this.element=new Sr}}),Er=gr,xr=gr,jr=gr,Or=gr,Br=gr,Pr=gr,$r=gr,Mr=gr,Ar=gr,qr=gr,kr=Yn({props:{parent:null},init({parent:e=this.parent}){this.parent=e,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),Cr=e=>Gt(e)&&e.hasKey("$ref"),Ir=Yn(vr,kr,gr,{methods:{ObjectElement(e){const t=Cr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),Ot},ArrayElement(e){return this.element=new ce.wE,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=Cr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),Nr=gr,Tr=gr,Rr=gr,Fr=gr,Vr=gr,Dr=Yn(gr,{methods:{ArrayElement(e){return this.element=us(e),this.element.classes.push("json-schema-required"),Ot}}});const Lr=a((function(e){return I(ge(Ue,0,ze("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 Jr=u((function(e,t){return e||t}));const Ur=K(I(1,Re(Ve,u((function(e,t){return Ne(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:H(Jr)(e,t)}))(Le,Ke))));const zr=K(Os);const Wr=Lr([pt,Ur,zr]);const Gr=function(){return!1},Hr=Yn(vr,{props:{fieldPatternPredicate:Gr,specPath:fr,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(cr(t))&&this.fieldPatternPredicate(cr(t))){const n=this.specPath(e),r=this.toRefractedElement(n,e),i=new ce.Pr(us(t),r);this.copyMetaAndAttributes(s,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(cr(t))||this.element.content.push(us(s))})),this.copyMetaAndAttributes(e,this.element),Ot}}}),Kr=Yn(Hr,{props:{fieldPatternPredicate:Wr}}),Zr=Yn(Kr,kr,gr,{props:{specPath:e=>Cr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new ce.Sh,this.element.classes.push("json-schema-properties")}}),Xr=Yn(Kr,kr,gr,{props:{specPath:e=>Cr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new ce.Sh,this.element.classes.push("json-schema-patternProperties")}}),Qr=Yn(Kr,kr,gr,{props:{specPath:e=>Cr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new ce.Sh,this.element.classes.push("json-schema-dependencies")}}),Yr=Yn(gr,{methods:{ArrayElement(e){return this.element=us(e),this.element.classes.push("json-schema-enum"),Ot}}}),ei=Yn(gr,{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}}}),ti=Yn(vr,kr,gr,{init(){this.element=new ce.wE,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Cr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),si=Yn(vr,kr,gr,{init(){this.element=new ce.wE,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Cr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),ni=Yn(vr,kr,gr,{init(){this.element=new ce.wE,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Cr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(t,e);this.element.push(s)})),this.copyMetaAndAttributes(e,this.element),Ot}}}),ri=Yn(Kr,kr,gr,{props:{specPath:e=>Cr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new ce.Sh,this.element.classes.push("json-schema-definitions")}}),ii=gr,oi=gr,ci=gr,ai=gr,ui=gr,li=Yn(vr,kr,gr,{init(){this.element=new ce.wE,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}}}),hi=gr;class pi extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const di=pi,mi=Yn(yr,gr,{props:{specPath:ne(["document","objects","JSONReference"])},init(){this.element=new di},methods:{ObjectElement(e){const t=yr.compose.methods.ObjectElement.call(this,e);return Jt(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),gi=Yn(gr,{methods:{StringElement(e){return this.element=us(e),this.element.classes.push("reference-value"),Ot}}});const fi=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 bi=a((function(e){return function(t,s){return e(t,s)?-1:e(s,t)?1:0}}));var vi=u((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const yi=vi;const _i=a(At);const Si=K(qn);const wi=Re(Bs,zr);function Ei(e){return function(e){if(Array.isArray(e))return xi(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 xi(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 xi(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 xi(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 ji=ye(yi(bi((function(e,t){return e.length>t.length}))),Gs,g("length")),Oi=Tn((function(e,t,s){var n=s.apply(void 0,Ei(e));return Si(n)?_i(n):t}));const Bi=fi(wi,(function(e){var t=ji(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(Oi(s),void 0,e)}))}),re),Pi=Yn(vr,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>fi(e,ne(t),re))),s=Bi(t)(e);return this.element=this.toRefractedElement(s,e),Ot}}}),$i=Yn(Pi,{props:{alternator:[{predicate:Cr,specPath:["document","objects","JSONReference"]},{predicate:er,specPath:["document","objects","JSONSchema"]}]}});class Mi extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="media"}get binaryEncoding(){return this.get("binaryEncoding")}set binaryEncoding(e){this.set("binaryEncoding",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}}const Ai=Mi,qi=Yn(yr,gr,{props:{specPath:ne(["document","objects","Media"])},init(){this.element=new Ai}}),ki=gr,Ci=gr;class Ii extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="linkDescription"}get href(){return this.get("href")}set href(e){this.set("href",e)}get rel(){return this.get("rel")}set rel(e){this.set("rel",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){return this.get("mediaType")}set mediaType(e){this.set("mediaType",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get encType(){return this.get("encType")}set encType(e){this.set("encType",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}}const Ni=Ii,Ti={visitors:{value:gr,JSONSchemaOrJSONReferenceVisitor:$i,document:{objects:{JSONSchema:{$visitor:wr,fixedFields:{id:Er,$schema:xr,multipleOf:jr,maximum:Or,exclusiveMaximum:Br,minimum:Pr,exclusiveMinimum:$r,maxLength:Mr,minLength:Ar,pattern:qr,additionalItems:$i,items:Ir,maxItems:Nr,minItems:Tr,uniqueItems:Rr,maxProperties:Fr,minProperties:Vr,required:Dr,properties:Zr,additionalProperties:$i,patternProperties:Xr,dependencies:Qr,enum:Yr,type:ei,allOf:ti,anyOf:si,oneOf:ni,not:$i,definitions:ri,title:ii,description:oi,default:ci,format:ai,base:ui,links:li,media:{$ref:"#/visitors/document/objects/Media"},readOnly:hi}},JSONReference:{$visitor:mi,fixedFields:{$ref:gi}},Media:{$visitor:qi,fixedFields:{binaryEncoding:ki,type:Ci}},LinkDescription:{$visitor:Yn(yr,gr,{props:{specPath:ne(["document","objects","LinkDescription"])},init(){this.element=new Ni}}),fixedFields:{href:gr,rel:gr,title:gr,targetSchema:$i,mediaType:gr,method:gr,encType:gr,schema:$i}}}}}};const Ri=class extends yt{},Fi=e=>{if(Lt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Vi={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...fs},Di=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Sr||e(n)&&t("JSONSchemaDraft4",n)&&s("object",n))),Li=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof di||e(n)&&t("JSONReference",n)&&s("object",n))),Ji=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Ai||e(n)&&t("media",n)&&s("object",n))),Ui=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Ni||e(n)&&t("linkDescription",n)&&s("object",n))),zi={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",Sr),t.register("jSONReference",di),t.register("media",Ai),t.register("linkDescription",Ni),t}},Wi=()=>{const e=lt(zi);return{predicates:{...t,isStringElement:Jt},namespace:e}},Gi=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:s=[],specificationObj:n=Ti}={})=>{const r=(0,ce.e)(e),i=zn(n),o=$s(t,[],i);return bs(r,o,{state:{specObj:i}}),qs(o.element,s,{toolboxCreator:Wi,visitorOptions:{keyMap:Vi,nodeTypeGetter:Fi}})},Hi=e=>(t,s={})=>Gi(t,{specPath:e,...s});Sr.refract=Hi(["visitors","document","objects","JSONSchema","$visitor"]),di.refract=Hi(["visitors","document","objects","JSONReference","$visitor"]),Ai.refract=Hi(["visitors","document","objects","Media","$visitor"]),Ni.refract=Hi(["visitors","document","objects","LinkDescription","$visitor"]);const Ki=class extends Sr{constructor(e,t,s){super(e,t,s),this.element="JSONSchemaDraft6"}get idProp(){throw new Ri("id keyword from Core vocabulary has been renamed to $id.")}set idProp(e){throw new Ri("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=Yn(yr,gr,{props:{specPath:ne(["document","objects","JSONSchema"])},methods:{ObjectElement(e){return this.element=new Ki,yr.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=us(e),this.element.classes.push("boolean-json-schema"),Ot}}}),Xi=gr,Qi=Yn(vr,kr,gr,{methods:{ObjectElement(e){const t=Cr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),Ot},ArrayElement(e){return this.element=new ce.wE,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=Cr(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}}}),Yi=gr,eo=Yn(gr,{methods:{ArrayElement(e){return this.element=us(e),this.element.classes.push("json-schema-examples"),Ot}}});const to=class extends Ni{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 Ri("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}set schema(e){throw new Ri("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 Ri("method keyword from Hyper-Schema vocabulary has been removed.")}set method(e){throw new Ri("method keyword from Hyper-Schema vocabulary has been removed.")}get encType(){throw new Ri("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}set encType(e){throw new Ri("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}get submissionEncType(){return this.get("submissionEncType")}set submissionEncType(e){this.set("submissionEncType",e)}},so=Yn(yr,gr,{props:{specPath:ne(["document","objects","LinkDescription"])},init(){this.element=new to}}),no=gr,ro=ye(Gn(["visitors","document","objects","JSONSchema","$visitor"],Zi),Qn(["visitors","document","objects","JSONSchema","fixedFields","id"]),Gn(["visitors","document","objects","JSONSchema","fixedFields","$id"],Xi),Gn(["visitors","document","objects","JSONSchema","fixedFields","contains"],Ti.visitors.JSONSchemaOrJSONReferenceVisitor),Gn(["visitors","document","objects","JSONSchema","fixedFields","items"],Qi),Gn(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],Ti.visitors.JSONSchemaOrJSONReferenceVisitor),Gn(["visitors","document","objects","JSONSchema","fixedFields","const"],Yi),Gn(["visitors","document","objects","JSONSchema","fixedFields","examples"],eo),Gn(["visitors","document","objects","LinkDescription","$visitor"],so),Gn(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],Ti.visitors.JSONSchemaOrJSONReferenceVisitor),Qn(["visitors","document","objects","LinkDescription","fixedFields","schema"]),Gn(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],Ti.visitors.JSONSchemaOrJSONReferenceVisitor),Qn(["visitors","document","objects","LinkDescription","fixedFields","method"]),Qn(["visitors","document","objects","LinkDescription","fixedFields","encType"]),Gn(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"],no))(Ti),io=e=>{if(Lt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},oo={JSONSchemaDraft6Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...fs},co=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Ki||e(n)&&t("JSONSchemaDraft6",n)&&s("object",n))),ao=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof to||e(n)&&t("linkDescription",n)&&s("object",n))),uo={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft6",Ki),t.register("jSONReference",di),t.register("media",Ai),t.register("linkDescription",to),t}},lo=()=>{const e=lt(uo);return{predicates:{...r,isStringElement:Jt},namespace:e}},ho=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:s=[],specificationObj:n=ro}={})=>{const r=(0,ce.e)(e),i=zn(n),o=$s(t,[],i);return bs(r,o,{state:{specObj:i}}),qs(o.element,s,{toolboxCreator:lo,visitorOptions:{keyMap:oo,nodeTypeGetter:io}})},po=e=>(t,s={})=>ho(t,{specPath:e,...s});Ki.refract=po(["visitors","document","objects","JSONSchema","$visitor"]),to.refract=po(["visitors","document","objects","LinkDescription","$visitor"]);const mo=class extends Ki{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 Ri('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}set media(e){throw new Ri('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)}},go=Yn(yr,gr,{props:{specPath:ne(["document","objects","JSONSchema"])},methods:{ObjectElement(e){return this.element=new mo,yr.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=us(e),this.element.classes.push("boolean-json-schema"),Ot}}}),fo=gr,bo=gr,vo=gr,yo=gr;const _o=class extends to{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 Ri("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}set mediaType(e){throw new Ri("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 Ri("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}set submissionEncType(e){throw new Ri("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}get submissionMediaType(){return this.get("submissionMediaType")}set submissionMediaType(e){this.set("submissionMediaType",e)}},So=Yn(yr,gr,{props:{specPath:ne(["document","objects","LinkDescription"])},init(){this.element=new _o}}),wo=gr,Eo=gr,xo=gr,jo=gr,Oo=gr,Bo=gr,Po=gr,$o=ye(Gn(["visitors","document","objects","JSONSchema","$visitor"],go),Gn(["visitors","document","objects","JSONSchema","fixedFields","$comment"],fo),Gn(["visitors","document","objects","JSONSchema","fixedFields","if"],ro.visitors.JSONSchemaOrJSONReferenceVisitor),Gn(["visitors","document","objects","JSONSchema","fixedFields","then"],ro.visitors.JSONSchemaOrJSONReferenceVisitor),Gn(["visitors","document","objects","JSONSchema","fixedFields","else"],ro.visitors.JSONSchemaOrJSONReferenceVisitor),Qn(["visitors","document","objects","JSONSchema","fixedFields","media"]),Gn(["visitors","document","objects","JSONSchema","fixedFields","contentEncoding"],bo),Gn(["visitors","document","objects","JSONSchema","fixedFields","contentMediaType"],vo),Gn(["visitors","document","objects","JSONSchema","fixedFields","writeOnly"],yo),Gn(["visitors","document","objects","LinkDescription","$visitor"],So),Gn(["visitors","document","objects","LinkDescription","fixedFields","anchor"],wo),Gn(["visitors","document","objects","LinkDescription","fixedFields","anchorPointer"],Eo),Qn(["visitors","document","objects","LinkDescription","fixedFields","mediaType"]),Gn(["visitors","document","objects","LinkDescription","fixedFields","targetMediaType"],xo),Gn(["visitors","document","objects","LinkDescription","fixedFields","targetHints"],jo),Gn(["visitors","document","objects","LinkDescription","fixedFields","description"],Oo),Gn(["visitors","document","objects","LinkDescription","fixedFields","$comment"],Bo),Qn(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"]),Gn(["visitors","document","objects","LinkDescription","fixedFields","submissionMediaType"],Po))(ro);const Mo=class{element;constructor(e){Object.assign(this,e)}copyMetaAndAttributes(e,t){(e.meta.length>0||t.meta.length>0)&&(t.meta=dr(t.meta,e.meta),ns(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))),(e.attributes.length>0||e.meta.length>0)&&(t.attributes=dr(t.attributes,e.attributes))}};const Ao=class extends Mo{enter(e){return this.element=us(e),Ot}};const qo=class extends Mo{specObj;passingOptionsNames=["specObj"];constructor({specObj:e,...t}){super({...t}),this.specObj=e}retrievePassingOptions(){return br(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 Ao&&(null==n?void 0:n.constructor)===Ao?us(t):(bs(t,n,s),n.element)}};const ko=class extends qo{MemberElement(e){return this.element=us(e),this.element.classes.push("specification-extension"),Ot}},Co=(e,t,s=[])=>{const n=Object.getOwnPropertyDescriptors(t);for(let e of s)delete n[e];Object.defineProperties(e,n)},Io=(e,t=[e])=>{const s=Object.getPrototypeOf(e);return null===s?t:Io(s,[...t,s])},No=(e,t,s=[])=>{var n;const r=null!==(n=((...e)=>{if(0===e.length)return;let t;const s=e.map((e=>Io(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=Io(r);for(let t of e){let e=Io(t);for(let t=e.length-1;t>=0;t--){let n=e[t];-1===o.indexOf(n)&&(Co(i,n,["constructor",...s]),o.push(n))}}return i.constructor=t,i},To=e=>e.filter(((t,s)=>e.indexOf(t)==s)),Ro=(e,t)=>{const s=t.map((e=>Io(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++}},Fo=(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(Ro(s,e)||{},s),defineProperty(){throw new Error("Cannot define new properties on Proxies created by ts-mixer")},has:(s,n)=>void 0!==Ro(n,e)||void 0!==t[n],get:(s,n)=>(Ro(n,e)||t)[n],set(t,s,n){const r=Ro(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)))))}),Vo=null,Do="copy",Lo="copy",Jo="deep",Uo=new WeakMap,zo=e=>Uo.get(e),Wo=(e,t)=>{var s,n;const r=To([...Object.getOwnPropertyNames(e),...Object.getOwnPropertyNames(t)]),i={};for(let o of r)i[o]=To([...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},Go=(e,t)=>{var s,n,r,i;return{property:Wo(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:Wo(null!==(r=null==e?void 0:e.method)&&void 0!==r?r:{},null!==(i=null==t?void 0:t.method)&&void 0!==i?i:{})}},Ho=(e,t)=>{var s,n,r,i,o,c;return{class:To([...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:Go(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:Go(null!==(o=null==e?void 0:e.instance)&&void 0!==o?o:{},null!==(c=null==t?void 0:t.instance)&&void 0!==c?c:{})}},Ko=new Map,Zo=(...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=[...Io(e.prototype).map((e=>e.constructor)),...null!==(t=zo(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=>Ko.get(e))).filter((e=>!!e));return 0==t.length?{}:1==t.length?t[0]:t.reduce(((e,t)=>Ho(e,t)))},Xo=e=>{let t=Ko.get(e);return t||(t={},Ko.set(e,t)),t};function Qo(...e){var t,s,n;const r=e.map((e=>e.prototype)),i=Vo;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)Co(this,new s(...t));null!==i&&"function"==typeof this[i]&&this[i].apply(this,t)}var c,a;o.prototype="copy"===Lo?No(r,o):(c=r,a=o,Fo([...c,{constructor:a}])),Object.setPrototypeOf(o,"copy"===Do?No(e,null,["prototype"]):Fo(e,Function.prototype));let u=o;if("none"!==Jo){const r="deep"===Jo?Zo(...e):((...e)=>{const t=e.map((e=>Xo(e)));return 0===t.length?{}:1===t.length?t[0]:t.reduce(((e,t)=>Ho(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)}Yo(null!==(s=null==r?void 0:r.static)&&void 0!==s?s:{},u),Yo(null!==(n=null==r?void 0:r.instance)&&void 0!==n?n:{},u.prototype)}var l,h;return l=u,h=e,Uo.set(l,h),u}const Yo=(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 ec=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 tc(e){return function(t){return new ec(e,t)}}const sc=u(B(["take"],tc,(function(e,t){return be(0,e<0?1/0:e,t)})));const nc=u((function(e,t){return se(sc(e.length,t),e)})),rc=e=>Gt(e)&&e.hasKey("$ref"),ic=e=>Jt(e.key)&&nc("x-",cr(e.key));const oc=class extends qo{specPath;ignoredFields;canSupportSpecificationExtensions=!0;specificationExtensionPredicate=ic;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(Jt(n)&&s.includes(cr(n))&&!this.ignoredFields.includes(cr(n))){const s=this.toRefractedElement([...t,"fixedFields",cr(n)],e),i=new ce.Pr(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(cr(n))||this.element.content.push(us(r))})),this.copyMetaAndAttributes(e,this.element),Ot}};class cc extends ce.Sh{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 ac=cc;class uc extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new ac,this.specPath=ne(["document","objects","AsyncApi"]),this.canSupportSpecificationExtensions=!0}}const lc=uc;class hc extends ce.Om{constructor(e,t,s){super(e,t,s),this.element="asyncApiVersion",this.classes.push("spec-version"),this.classes.push("version")}}const pc=hc;class dc extends(Qo(qo,Ao)){StringElement(e){const t=new pc(cr(e));return this.copyMetaAndAttributes(e,t),this.element=t,Ot}}const mc=dc;class gc extends ce.Om{constructor(e,t,s){super(e,t,s),this.element="identifier"}}const fc=gc;class bc extends(Qo(qo,Ao)){StringElement(e){const t=new fc(cr(e));return this.copyMetaAndAttributes(e,t),this.element=t,Ot}}const vc=bc;class yc extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="info",this.classes.push("info")}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get termsOfService(){return this.get("termsOfService")}set termsOfService(e){this.set("termsOfService",e)}get 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 _c=yc;class Sc extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new _c,this.specPath=ne(["document","objects","Info"]),this.canSupportSpecificationExtensions=!0}}const wc=Sc;const Ec=class extends Ao{StringElement(e){return this.element=new ce.Om(cr(e)),this.copyMetaAndAttributes(e,this.element),this.element.classes.push("api-version"),this.element.classes.push("version"),Ot}};class xc extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="contact"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}get email(){return this.get("email")}set email(e){this.set("email",e)}}const jc=xc;class Oc extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new jc,this.specPath=ne(["document","objects","Contact"]),this.canSupportSpecificationExtensions=!0}}const Bc=Oc;class Pc extends ce.Sh{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 $c=Pc;class Mc extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new $c,this.specPath=ne(["document","objects","CorrelationID"]),this.canSupportSpecificationExtensions=!0}}const Ac=Mc;class qc extends ce.Om{constructor(e,t,s){super(e,t,s),this.element="defaultContentType"}}const kc=qc;class Cc extends(Qo(qo,Ao)){StringElement(e){const t=new kc(cr(e));return this.copyMetaAndAttributes(e,t),this.element=t,Ot}}const Ic=Cc;class Nc extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="license"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}}const Tc=Nc;class Rc extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Tc,this.specPath=ne(["document","objects","License"]),this.canSupportSpecificationExtensions=!0}}const Fc=Rc;class Vc extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="oAuthFlows"}get implicit(){return this.get("implicit")}set implicit(e){this.set("implicit",e)}get password(){return this.get("password")}set password(e){this.set("password",e)}get clientCredentials(){return this.get("clientCredentials")}set clientCredentials(e){this.set("clientCredentials",e)}get authorizationCode(){return this.get("authorizationCode")}set authorizationCode(e){this.set("authorizationCode",e)}}const Dc=Vc;class Lc extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Dc,this.specPath=ne(["document","objects","OAuthFlows"]),this.canSupportSpecificationExtensions=!0}}const Jc=Lc;class Uc extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="oAuthFlow"}get authorizationUrl(){return this.get("authorizationUrl")}set authorizationUrl(e){this.set("authorizationUrl",e)}get tokenUrl(){return this.get("tokenUrl")}set tokenUrl(e){this.set("tokenUrl",e)}get refreshUrl(){return this.get("refreshUrl")}set refreshUrl(e){this.set("refreshUrl",e)}get scopes(){return this.get("scopes")}set scopes(e){this.set("scopes",e)}}const zc=Uc;class Wc extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new zc,this.specPath=ne(["document","objects","OAuthFlow"]),this.canSupportSpecificationExtensions=!0}}const Gc=Wc;class Hc extends ce.Sh{static primaryClass="oauth-flow-scopes";constructor(e,t,s){super(e,t,s),this.classes.push(Hc.primaryClass)}}const Kc=Hc;const Zc=class extends qo{specPath;ignoredFields;fieldPatternPredicate=Gr;canSupportSpecificationExtensions=!1;specificationExtensionPredicate=ic;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(cr(t))&&this.fieldPatternPredicate(cr(t))){const n=this.specPath(e),r=this.toRefractedElement(n,e),i=new ce.Pr(us(t),r);this.copyMetaAndAttributes(s,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(cr(t))||this.element.content.push(us(s))})),this.copyMetaAndAttributes(e,this.element),Ot}};const Xc=class extends Zc{constructor(e){super(e),this.fieldPatternPredicate=Wr}};class Qc extends(Qo(Xc,Ao)){constructor(e){super(e),this.element=new Kc,this.specPath=ne(["value"])}}const Yc=Qc;const ea=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 ta extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="servers"}}const sa=ta;class na extends ce.Sh{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 ra=na;class ia extends ce.Sh{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 oa=ia;class ca extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="channels"}}const aa=ca;class ua extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="components"}get schemas(){return this.get("schemas")}set schemas(e){this.set("schemas",e)}get 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 la=ua;class ha extends ce.Sh{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 pa=ha;class da extends ce.Sh{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 ma=da;class ga extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="parameters"}}const fa=ga;class ba extends ce.Sh{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 va=ba,ya=e=>{if(Lt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},_a={JSONSchemaDraft7Element:["content"],JSONReferenceElement:["content"],LinkDescriptionElement:["content"],...fs},Sa=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof mo||e(n)&&t("JSONSchemaDraft7",n)&&s("object",n))),wa=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof _o||e(n)&&t("linkDescription",n)&&s("object",n))),Ea={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft7",mo),t.register("jSONReference",di),t.register("linkDescription",_o),t}},xa=()=>{const e=lt(Ea);return{predicates:{...i,isStringElement:Jt},namespace:e}},ja=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:s=[],specificationObj:n=$o}={})=>{const r=(0,ce.e)(e),i=zn(n),o=$s(t,[],i);return bs(r,o,{state:{specObj:i}}),qs(o.element,s,{toolboxCreator:xa,visitorOptions:{keyMap:_a,nodeTypeGetter:ya}})},Oa=e=>(t,s={})=>ja(t,{specPath:e,...s});mo.refract=Oa(["visitors","document","objects","JSONSchema","$visitor"]),_o.refract=Oa(["visitors","document","objects","LinkDescription","$visitor"]);const Ba=class extends mo{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 Pa extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="securityRequirement"}}const $a=Pa;class Ma extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="server"}get url(){return this.get("url")}set url(e){this.set("url",e)}get 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 Aa=Ma;class qa extends ce.Sh{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 ka=qa;class Ca extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="serverVariable"}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}}const Ia=Ca,Na=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s,hasClass:n})=>r=>r instanceof ac||e(r)&&t("asyncApi2",r)&&s("object",r)&&n("api",r))),Ta=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof pc||e(n)&&t("asyncApiVersion",n)&&s("string",n))),Ra=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ra||e(n)&&t("channelBindings",n)&&s("object",n))),Fa=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof oa||e(n)&&t("channelItem",n)&&s("object",n))),Va=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof aa||e(n)&&t("channels",n)&&s("object",n))),Da=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof la||e(n)&&t("components",n)&&s("object",n))),La=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof jc||e(n)&&t("contact",n)&&s("object",n))),Ja=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof fc||e(n)&&t("identifier",n)&&s("string",n))),Ua=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof _c||e(n)&&t("info",n)&&s("object",n))),za=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Tc||e(n)&&t("license",n)&&s("object",n))),Wa=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof pa||e(n)&&t("operation",n)&&s("object",n))),Ga=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ma||e(n)&&t("parameter",n)&&s("object",n))),Ha=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof fa||e(n)&&t("parameters",n)&&s("object",n))),Ka=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof va||e(n)&&t("reference",n)&&s("object",n))),Za=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Ba||e(n)&&t("schema",n)&&s("object",n))),Xa=e=>Wt(e)&&e.classes.includes("boolean-json-schema"),Qa=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof $a||e(n)&&t("securityRequirement",n)&&s("object",n))),Ya=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Aa||e(n)&&t("server",n)&&s("object",n))),eu=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof ka||e(n)&&t("serverBindings",n)&&s("object",n))),tu=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof sa||e(n)&&t("servers",n)&&s("object",n))),su=Dt((({hasBasicElementProps:e,isElementType:t,primitiveEq:s})=>n=>n instanceof Ia||e(n)&&t("serverVariable",n)&&s("object",n)));class nu extends(Qo(Zc,Ao)){constructor(e){super(e),this.element=new sa,this.element.classes.push("servers"),this.specPath=e=>rc(e)?["document","objects","Reference"]:["document","objects","Server"],this.canSupportSpecificationExtensions=!1,this.fieldPatternPredicate=ea(/^[A-Za-z0-9_-]+$/)}ObjectElement(e){const t=Zc.prototype.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","server")})),t}}const ru=nu;class iu extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Aa,this.specPath=ne(["document","objects","Server"]),this.canSupportSpecificationExtensions=!0}}const ou=iu;const cu=class extends Ao{StringElement(e){const t=super.enter(e);return this.element.classes.push("server-url"),t}};const au=class extends qo{alternator;constructor({alternator:e,...t}){super({...t}),this.alternator=e}enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>fi(e,ne(t),re))),s=Bi(t)(e);return this.element=this.toRefractedElement(s,e),Ot}};class uu extends(Qo(au,Ao)){constructor(e){super(e),this.alternator=[{predicate:rc,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","ServerBindings"]}]}ObjectElement(e){const t=au.prototype.enter.call(this,e);return Ka(this.element)&&this.element.setMetaProperty("referenced-element","serverBindings"),t}}const lu=uu;class hu extends ce.Sh{static primaryClass="server-variables";constructor(e,t,s){super(e,t,s),this.classes.push(hu.primaryClass)}}const pu=hu;class du extends(Qo(Xc,Ao)){constructor(e){super(e),this.element=new pu,this.specPath=e=>rc(e)?["document","objects","Reference"]:["document","objects","ServerVariable"]}}const mu=du;class gu extends ce.wE{static primaryClass="server-security";constructor(e,t,s){super(e,t,s),this.classes.push(gu.primaryClass)}}const fu=gu;class bu extends(Qo(qo,Ao)){constructor(e){super(e),this.element=new fu}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 vu=bu;class yu extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Ia,this.specPath=ne(["document","objects","ServerVariable"]),this.canSupportSpecificationExtensions=!0}}const _u=yu;class Su extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new ka,this.specPath=ne(["document","objects","ServerBindings"]),this.canSupportSpecificationExtensions=!0}}const wu=Su;class Eu extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="securityScheme"}get type(){return this.get("type")}set type(e){this.set("type",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get in(){return this.get("in")}set in(e){this.set("in",e)}get scheme(){return this.get("scheme")}set scheme(e){this.set("scheme",e)}get bearerFormat(){return this.get("bearerFormat")}set bearerFormat(e){this.set("bearerFormat",e)}get flows(){return this.get("flows")}set flows(e){this.set("flows",e)}get openIdConnectUrl(){return this.get("openIdConnectUrl")}set openIdConnectUrl(e){this.set("openIdConnectUrl",e)}}const xu=Eu;class ju extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new xu,this.specPath=ne(["document","objects","SecurityScheme"]),this.canSupportSpecificationExtensions=!0}}const Ou=ju;class Bu extends(Qo(Xc,Ao)){constructor(e){super(e),this.element=new $a,this.specPath=ne(["value"])}}const Pu=Bu;class $u extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new va,this.specPath=ne(["document","objects","Reference"]),this.canSupportSpecificationExtensions=!1}ObjectElement(e){const t=oc.prototype.ObjectElement.call(this,e);return Jt(this.element.$ref)&&this.element.classes.push("reference-element"),t}}const Mu=$u;const Au=class extends Ao{StringElement(e){const t=super.enter(e);return this.element.classes.push("reference-value"),t}};class qu extends(Qo(oc,Ao)){constructor(e){super(e),this.specPath=ne(["document","objects","Schema"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){return this.element=new Ba,oc.prototype.ObjectElement.call(this,e)}BooleanElement(e){const t=super.enter(e);return this.element.classes.push("boolean-json-schema"),t}}const ku=qu,{JSONSchemaOrJSONReferenceVisitor:Cu}=$o.visitors,Iu=Cu.compose({methods:{enter(e){const t=Cu.compose.methods.enter.call(this,e);return Ka(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),{allOf:Nu}=$o.visitors.document.objects.JSONSchema.fixedFields,Tu=Nu.compose({methods:{ArrayElement(e){const t=Nu.compose.methods.ArrayElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{anyOf:Ru}=$o.visitors.document.objects.JSONSchema.fixedFields,Fu=Ru.compose({methods:{ArrayElement(e){const t=Ru.compose.methods.ArrayElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{oneOf:Vu}=$o.visitors.document.objects.JSONSchema.fixedFields,Du=Vu.compose({methods:{ArrayElement(e){const t=Vu.compose.methods.ArrayElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{definitions:Lu}=$o.visitors.document.objects.JSONSchema.fixedFields,Ju=Lu.compose({methods:{ObjectElement(e){const t=Lu.compose.methods.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{dependencies:Uu}=$o.visitors.document.objects.JSONSchema.fixedFields,zu=Uu.compose({methods:{ObjectElement(e){const t=Uu.compose.methods.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{items:Wu}=$o.visitors.document.objects.JSONSchema.fixedFields,Gu=Wu.compose({methods:{ObjectElement(e){const t=Wu.compose.methods.ObjectElement.call(this,e);return Ka(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t},ArrayElement(e){const t=Wu.compose.methods.ArrayElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{patternProperties:Hu}=$o.visitors.document.objects.JSONSchema.fixedFields,Ku=Hu.compose({methods:{ObjectElement(e){const t=Hu.compose.methods.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{properties:Zu}=$o.visitors.document.objects.JSONSchema.fixedFields,Xu=Zu.compose({methods:{ObjectElement(e){const t=Zu.compose.methods.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),Qu=z((e=>e===$o.visitors.JSONSchemaOrJSONReferenceVisitor?Iu:e),$o.visitors.document.objects.JSONSchema.fixedFields);class Yu extends(Qo(Zc,Ao)){constructor(e){super(e),this.element=new fa,this.specPath=e=>rc(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=Zc.prototype.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}const el=Yu;class tl extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new ma,this.specPath=ne(["document","objects","Parameter"]),this.canSupportSpecificationExtensions=!0}}const sl=tl;class nl extends(Qo(au,Ao)){constructor(e){super(e),this.alternator=[{predicate:rc,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","Schema"]}]}ObjectElement(e){const t=au.prototype.enter.call(this,e);return Ka(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}const rl=nl;class il extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="externalDocumentation"}get description(){return this.get("description")}set description(e){this.set("description",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}}const ol=il;class cl extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new ol,this.specPath=ne(["document","objects","ExternalDocumentation"]),this.canSupportSpecificationExtensions=!0}}const al=cl;class ul extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new la,this.specPath=ne(["document","objects","Components"]),this.canSupportSpecificationExtensions=!0}}const ll=ul;class hl extends ce.Sh{static primaryClass="components-schemas";constructor(e,t,s){super(e,t,s),this.classes.push(hl.primaryClass)}}const pl=hl;class dl extends(Qo(Xc,Ao)){constructor(e){super(e),this.element=new pl,this.specPath=e=>rc(e)?["document","objects","Reference"]:["document","objects","Schema"]}ObjectElement(e){const t=Xc.prototype.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}const ml=dl;class gl extends ce.Sh{static primaryClass="components-servers";constructor(e,t,s){super(e,t,s),this.classes.push(gl.primaryClass)}}const fl=gl;class bl extends(Qo(Xc,Ao)){constructor(e){super(e),this.element=new fl,this.specPath=e=>rc(e)?["document","objects","Reference"]:["document","objects","Server"]}ObjectElement(e){const t=Xc.prototype.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","server")})),t}}const vl=bl;class yl extends ce.Sh{static primaryClass="components-server-variables";constructor(e,t,s){super(e,t,s),this.classes.push(yl.primaryClass)}}const _l=yl;class Sl extends(Qo(Xc,Ao)){constructor(e){super(e),this.element=new _l,this.specPath=e=>rc(e)?["document","objects","Reference"]:["document","objects","ServerVariable"]}ObjectElement(e){const t=Xc.prototype.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","serverVariable")})),t}}const wl=Sl;class El extends ce.Sh{static primaryClass="components-channels";constructor(e,t,s){super(e,t,s),this.classes.push(El.primaryClass)}}const xl=El;class jl extends(Qo(Xc,Ao)){constructor(e){super(e),this.element=new xl,this.specPath=ne(["document","objects","ChannelItem"])}}const Ol=jl;class Bl extends ce.Sh{static primaryClass="components-messages";constructor(e,t,s){super(e,t,s),this.classes.push(Bl.primaryClass)}}const Pl=Bl;class $l extends(Qo(Xc,Ao)){constructor(e){super(e),this.element=new Pl,this.specPath=e=>rc(e)?["document","objects","Reference"]:["document","objects","Message"]}ObjectElement(e){const t=Xc.prototype.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","message")})),t}}const Ml=$l;class Al extends ce.Sh{static primaryClass="components-security-schemes";constructor(e,t,s){super(e,t,s),this.classes.push(Al.primaryClass)}}const ql=Al;class kl extends(Qo(Xc,Ao)){constructor(e){super(e),this.element=new ql,this.specPath=e=>rc(e)?["document","objects","Reference"]:["document","objects","SecurityScheme"]}ObjectElement(e){const t=Xc.prototype.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","securityScheme")})),t}}const Cl=kl;class Il extends ce.Sh{static primaryClass="components-parameters";constructor(e,t,s){super(e,t,s),this.classes.push(Il.primaryClass)}}const Nl=Il;class Tl extends(Qo(Xc,Ao)){constructor(e){super(e),this.element=new Nl,this.specPath=e=>rc(e)?["document","objects","Reference"]:["document","objects","Parameter"]}ObjectElement(e){const t=Xc.prototype.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}const Rl=Tl;class Fl extends ce.Sh{static primaryClass="components-correlation-ids";constructor(e,t,s){super(e,t,s),this.classes.push(Fl.primaryClass)}}const Vl=Fl;class Dl extends(Qo(Xc,Ao)){constructor(e){super(e),this.element=new Vl,this.specPath=e=>rc(e)?["document","objects","Reference"]:["document","objects","CorrelationID"]}ObjectElement(e){const t=Xc.prototype.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","correlationID")})),t}}const Ll=Dl;class Jl extends ce.Sh{static primaryClass="components-operation-traits";constructor(e,t,s){super(e,t,s),this.classes.push(Jl.primaryClass)}}const Ul=Jl;class zl extends(Qo(Xc,Ao)){constructor(e){super(e),this.element=new Ul,this.specPath=e=>rc(e)?["document","objects","Reference"]:["document","objects","OperationTrait"]}ObjectElement(e){const t=Xc.prototype.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","operationTrait")})),t}}const Wl=zl;class Gl extends ce.Sh{static primaryClass="components-message-traits";constructor(e,t,s){super(e,t,s),this.classes.push(Gl.primaryClass)}}const Hl=Gl;class Kl extends(Qo(Xc,Ao)){constructor(e){super(e),this.element=new Hl,this.specPath=e=>rc(e)?["document","objects","Reference"]:["document","objects","MessageTrait"]}ObjectElement(e){const t=Xc.prototype.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","messageTrait")})),t}}const Zl=Kl;class Xl extends ce.Sh{static primaryClass="components-server-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(Xl.primaryClass)}}const Ql=Xl;class Yl extends(Qo(Xc,Ao)){constructor(e){super(e),this.element=new Ql,this.specPath=e=>rc(e)?["document","objects","Reference"]:["document","objects","ServerBindings"]}ObjectElement(e){const t=Xc.prototype.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","serverBindings")})),t}}const eh=Yl;class th extends ce.Sh{static primaryClass="components-channel-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(th.primaryClass)}}const sh=th;class nh extends(Qo(Xc,Ao)){constructor(e){super(e),this.element=new sh,this.specPath=e=>rc(e)?["document","objects","Reference"]:["document","objects","ChannelBindings"]}ObjectElement(e){const t=Xc.prototype.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","channelBindings")})),t}}const rh=nh;class ih extends ce.Sh{static primaryClass="components-operation-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(ih.primaryClass)}}const oh=ih;class ch extends(Qo(Xc,Ao)){constructor(e){super(e),this.element=new oh,this.specPath=e=>rc(e)?["document","objects","Reference"]:["document","objects","OperationBindings"]}ObjectElement(e){const t=Xc.prototype.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","operationBindings")})),t}}const ah=ch;class uh extends ce.Sh{static primaryClass="components-message-bindings";constructor(e,t,s){super(e,t,s),this.classes.push(uh.primaryClass)}}const lh=uh;class hh extends(Qo(Xc,Ao)){constructor(e){super(e),this.element=new lh,this.specPath=e=>rc(e)?["document","objects","Reference"]:["document","objects","MessageBindings"]}ObjectElement(e){const t=Xc.prototype.ObjectElement.call(this,e);return this.element.filter(Ka).forEach((e=>{e.setMetaProperty("referenced-element","messageBindings")})),t}}const ph=hh;class dh extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new pa,this.specPath=ne(["document","objects","Operation"])}}const mh=dh;class gh extends ce.wE{static primaryClass="operation-security";constructor(e,t,s){super(e,t,s),this.classes.push(gh.primaryClass)}}const fh=gh;class bh extends(Qo(qo,Ao)){constructor(e){super(e),this.element=new fh}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 vh=bh;class yh extends(Qo(au,Ao)){constructor(e){super(e),this.alternator=[{predicate:rc,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","OperationBindings"]}]}ObjectElement(e){const t=au.prototype.enter.call(this,e);return Ka(this.element)&&this.element.setMetaProperty("referenced-element","operationBindings"),t}}const _h=yh;class Sh extends ce.wE{static primaryClass="operation-traits";constructor(e,t,s){super(e,t,s),this.classes.push(Sh.primaryClass)}}const wh=Sh;class Eh extends(Qo(qo,Ao)){constructor(e){super(e),this.element=new wh}ArrayElement(e){return e.forEach((e=>{let t;rc(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 xh=Eh;class jh extends ce.Sh{static primaryClass="operation-message-map";constructor(e,t,s){super(e,t,s),this.classes.push(jh.primaryClass)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}}const Oh=jh;class Bh extends ce.wE{static primaryClass="operation-message";constructor(e,t,s){super(e,t,s),this.classes.push(Bh.primaryClass)}}const Ph=Bh;class $h extends(Qo(qo,Ao)){ObjectElement(e){if(rc(e))this.element=this.toRefractedElement(["document","objects","Reference"],e),this.element.setMetaProperty("referenced-element","message");else if(Ht(e.get("oneOf"))){this.element=new Oh;const t=new Ph;e.get("oneOf").forEach((e=>{let s;rc(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 Mh=$h;class Ah extends ce.wE{constructor(e,t,s){super(e,t,s),this.element="tags"}}const qh=Ah;class kh extends(Qo(qo,Ao)){constructor(e){super(e),this.element=new qh}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 Ch=kh;class Ih extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="tag"}get name(){return this.get("name")}set name(e){this.set("name",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}}const Nh=Ih;class Th extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Nh,this.specPath=ne(["document","objects","Tag"]),this.canSupportSpecificationExtensions=!0}}const Rh=Th;class Fh extends(Qo(Xc,Ao)){constructor(e){super(e),this.element=new aa,this.specPath=ne(["document","objects","ChannelItem"])}}const Vh=Fh;class Dh extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new ra,this.specPath=ne(["document","objects","ChannelBindings"]),this.canSupportSpecificationExtensions=!0}}const Lh=Dh;class Jh extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new oa,this.specPath=ne(["document","objects","ChannelItem"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const t=oc.prototype.ObjectElement.call(this,e);return Jt(this.element.$ref)&&(this.element.classes.push("reference-element"),this.element.setMetaProperty("referenced-element","channelItem")),t}}const Uh=Jh;const zh=class extends Ao{StringElement(e){const t=super.enter(e);return this.element.classes.push("reference-value"),t}};class Wh extends ce.wE{static primaryClass="channel-item-server-names-list";constructor(e,t,s){super(e,t,s),this.classes.push(Wh.primaryClass)}}const Gh=Wh;class Hh extends(Qo(qo,Ao)){constructor(e){super(e),this.element=new Gh}ArrayElement(e){return e.forEach((e=>{const t=us(e);Jt(t)&&t.classes.push("server-name"),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),Ot}}const Kh=Hh;class Zh extends(Qo(au,Ao)){constructor(e){super(e),this.alternator=[{predicate:rc,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","ChannelBindings"]}]}ObjectElement(e){const t=au.prototype.enter.call(this,e);return Ka(this.element)&&this.element.setMetaProperty("referenced-element","channelBindings"),t}}const Xh=Zh;class Qh extends ce.Sh{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 Yh=Qh;class ep extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Yh,this.specPath=ne(["document","objects","MessageBindings"]),this.canSupportSpecificationExtensions=!0}}const tp=ep;class sp extends ce.Sh{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 np=sp;class rp extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new np,this.specPath=ne(["document","objects","MessageExample"]),this.canSupportSpecificationExtensions=!0}}const ip=rp;class op extends ce.Sh{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 cp=op;class ap extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new cp,this.specPath=ne(["document","objects","MessageTrait"]),this.canSupportSpecificationExtensions=!0}}const up=ap;class lp extends(Qo(au,Ao)){constructor(e){super(e),this.alternator=[{predicate:rc,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","Schema"]}]}ObjectElement(e){const t=au.prototype.enter.call(this,e);return Ka(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}const hp=lp;class pp extends(Qo(au,Ao)){constructor(e){super(e),this.alternator=[{predicate:rc,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","CorrelationID"]}]}ObjectElement(e){const t=au.prototype.enter.call(this,e);return Ka(this.element)&&this.element.setMetaProperty("referenced-element","correlationID"),t}}const dp=pp;class mp extends(Qo(au,Ao)){constructor(e){super(e),this.alternator=[{predicate:rc,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","MessageBindings"]}]}ObjectElement(e){const t=au.prototype.enter.call(this,e);return Ka(this.element)&&this.element.setMetaProperty("referenced-element","messageBindings"),t}}const gp=mp;class fp extends ce.wE{static primaryClass="message-trait-examples";constructor(e,t,s){super(e,t,s),this.classes.push(fp.primaryClass)}}const bp=fp;class vp extends(Qo(qo,Ao)){constructor(e){super(e),this.element=new bp}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 yp=vp;const _p=m(-1);const Sp=class extends Ri{};const wp=class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new Sp("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new Sp("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new Sp("latest method in MediaTypes class is not yet implemented.")}};class Ep extends wp{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 _p(this.filterByFormat(e))}}const xp=new Ep("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 jp extends ce.Sh{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 Op=jp;class Bp extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Op,this.specPath=ne(["document","objects","Message"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const t=oc.prototype.ObjectElement.call(this,e),s=this.element.get("payload"),n=h(xp.latest(),cr(e.get("schemaFormat")));if(xp.includes(n)&&rc(s)){const e=this.toRefractedElement(["document","objects","Reference"],s);e.meta.set("referenced-element","schema"),this.element.payload=e}else xp.includes(n)&&Gt(this.element.payload)&&(this.element.payload=this.toRefractedElement(["document","objects","Schema"],s));return t}}const Pp=Bp;class $p extends(Qo(au,Ao)){constructor(e){super(e),this.alternator=[{predicate:rc,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","Schema"]}]}ObjectElement(e){const t=au.prototype.enter.call(this,e);return Ka(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}const Mp=$p;class Ap extends(Qo(au,Ao)){constructor(e){super(e),this.alternator=[{predicate:rc,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","CorrelationID"]}]}ObjectElement(e){const t=au.prototype.enter.call(this,e);return Ka(this.element)&&this.element.setMetaProperty("referenced-element","correlationID"),t}}const qp=Ap;class kp extends(Qo(au,Ao)){constructor(e){super(e),this.alternator=[{predicate:rc,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","MessageBindings"]}]}ObjectElement(e){const t=au.prototype.enter.call(this,e);return Ka(this.element)&&this.element.setMetaProperty("referenced-element","messageBindings"),t}}const Cp=kp;class Ip extends ce.wE{static primaryClass="message-examples";constructor(e,t,s){super(e,t,s),this.classes.push(Ip.primaryClass)}}const Np=Ip;class Tp extends(Qo(qo,Ao)){constructor(e){super(e),this.element=new Np}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 Rp=Tp;class Fp extends ce.wE{static primaryClass="message-traits";constructor(e,t,s){super(e,t,s),this.classes.push(Fp.primaryClass)}}const Vp=Fp;class Dp extends(Qo(qo,Ao)){constructor(e){super(e),this.element=new Vp}ArrayElement(e){return e.forEach((e=>{let t;rc(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 Lp=Dp;class Jp extends ce.Sh{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 Up=Jp;class zp extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Up,this.specPath=ne(["document","objects","OperationBindings"]),this.canSupportSpecificationExtensions=!0}}const Wp=zp;class Gp extends ce.Sh{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 Hp=Gp;class Kp extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Hp,this.specPath=ne(["document","objects","OperationTrait"]),this.canSupportSpecificationExtensions=!0}}const Zp=Kp;class Xp extends ce.wE{static primaryClass="operation-trait-security";constructor(e,t,s){super(e,t,s),this.classes.push(Xp.primaryClass)}}const Qp=Xp;class Yp extends(Qo(qo,Ao)){constructor(e){super(e),this.element=new Qp}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 ed=Yp;class td extends(Qo(au,Ao)){constructor(e){super(e),this.alternator=[{predicate:rc,specPath:["document","objects","Reference"]},{predicate:er,specPath:["document","objects","OperationBindings"]}]}ObjectElement(e){const t=au.prototype.enter.call(this,e);return Ka(this.element)&&this.element.setMetaProperty("referenced-element","operationBindings"),t}}const sd=td;class nd extends ce.Sh{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 rd=nd;class id extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new rd,this.specPath=ne(["document","objects","bindings","amqp","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const od=id;class cd extends ce.Sh{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 ad=cd;class ud extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new ad,this.specPath=ne(["document","objects","bindings","amqp","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const ld=ud;class hd extends ce.Sh{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 pd=hd;class dd extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new pd,this.specPath=ne(["document","objects","bindings","amqp","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const md=dd;class gd extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="amqpServerBinding",this.classes.push("server-binding")}}const fd=gd;class bd extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new fd,this.specPath=ne(["document","objects","bindings","amqp","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const vd=bd;class yd extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="amqp1ChannelBinding",this.classes.push("channel-binding")}}const _d=yd;class Sd extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new _d,this.specPath=ne(["document","objects","bindings","amqp1","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const wd=Sd;class Ed extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="amqp1MessageBinding",this.classes.push("message-binding")}}const xd=Ed;class jd extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new xd,this.specPath=ne(["document","objects","bindings","amqp1","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Od=jd;class Bd extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="amqp1OperationBinding",this.classes.push("operation-binding")}}const Pd=Bd;class $d extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Pd,this.specPath=ne(["document","objects","bindings","amqp1","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Md=$d;class Ad extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="amqp1ServerBinding",this.classes.push("server-binding")}}const qd=Ad;class kd extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new qd,this.specPath=ne(["document","objects","bindings","amqp1","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Cd=kd;class Id extends ce.Sh{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 Nd=Id;class Td extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Nd,this.specPath=ne(["document","objects","bindings","anypointmq","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Rd=Td;class Fd extends ce.Sh{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 Vd=Fd;class Dd extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Vd,this.specPath=ne(["document","objects","bindings","anypointmq","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Ld=Dd;class Jd extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="anypointmqOperationBinding",this.classes.push("operation-binding")}}const Ud=Jd;class zd extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Ud,this.specPath=ne(["document","objects","bindings","anypointmq","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Wd=zd;class Gd extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="anypointmqServerBinding",this.classes.push("server-binding")}}const Hd=Gd;class Kd extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Hd,this.specPath=ne(["document","objects","bindings","anypointmq","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Zd=Kd;class Xd extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="httpChannelBinding",this.classes.push("channel-binding")}}const Qd=Xd;class Yd extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Qd,this.specPath=ne(["document","objects","bindings","http","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const em=Yd;class tm extends ce.Sh{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 sm=tm;class nm extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new sm,this.specPath=ne(["document","objects","bindings","http","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const rm=nm;class im extends ce.Sh{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 om=im;class cm extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new om,this.specPath=ne(["document","objects","bindings","http","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const am=cm;class um extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="httpServerBinding",this.classes.push("server-binding")}}const lm=um;class hm extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new lm,this.specPath=ne(["document","objects","bindings","http","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const pm=hm;class dm extends ce.Sh{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 mm=dm;class gm extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new mm,this.specPath=ne(["document","objects","bindings","googlepubsub","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const fm=gm;class bm extends ce.Sh{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 vm=bm;class ym extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new vm,this.specPath=ne(["document","objects","bindings","googlepubusb","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const _m=ym;class Sm extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="googlepubsubOperationBinding",this.classes.push("operation-binding")}}const wm=Sm;class Em extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new wm,this.specPath=ne(["document","objects","bindings","googlepubsub","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const xm=Em;class jm extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="googlepubsubServerBinding",this.classes.push("server-binding")}}const Om=jm;class Bm extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Om,this.specPath=ne(["document","objects","bindings","googlepubsub","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Pm=Bm;class $m extends ce.Sh{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 Mm=$m;class Am extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Mm,this.specPath=ne(["document","objects","bindings","ibmmq","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const qm=Am;class km extends ce.Sh{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 Cm=km;class Im extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Cm,this.specPath=ne(["document","objects","bindings","ibmmq","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Nm=Im;class Tm extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="ibmmqOperationBinding",this.classes.push("operation-binding")}}const Rm=Tm;class Fm extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Rm,this.specPath=ne(["document","objects","bindings","ibmmq","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Vm=Fm;class Dm extends ce.Sh{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 Lm=Dm;class Jm extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Lm,this.specPath=ne(["document","objects","bindings","ibmmq","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Um=Jm;class zm extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="jmsChannelBinding",this.classes.push("channel-binding")}}const Wm=zm;class Gm extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Wm,this.specPath=ne(["document","objects","bindings","jms","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Hm=Gm;class Km extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="jmsMessageBinding",this.classes.push("message-binding")}}const Zm=Km;class Xm extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Zm,this.specPath=ne(["document","objects","bindings","jms","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Qm=Xm;class Ym extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="jmsOperationBinding",this.classes.push("operation-binding")}}const eg=Ym;class tg extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new eg,this.specPath=ne(["document","objects","bindings","jms","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const sg=tg;class ng extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="jmsServerBinding",this.classes.push("server-binding")}}const rg=ng;class ig extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new rg,this.specPath=ne(["document","objects","bindings","jms","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const og=ig;class cg extends ce.Sh{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 ag=cg;class ug extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new ag,this.specPath=ne(["document","objects","bindings","kafka","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const lg=ug;class hg extends ce.Sh{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 pg=hg;class dg extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new pg,this.specPath=ne(["document","objects","bindings","kafka","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const mg=dg;class gg extends ce.Sh{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 fg=gg;class bg extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new fg,this.specPath=ne(["document","objects","bindings","kafka","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const vg=bg;class yg extends ce.Sh{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 _g=yg;class Sg extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new _g,this.specPath=ne(["document","objects","bindings","kafka","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const wg=Sg;class Eg extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="mercureChannelBinding",this.classes.push("channel-binding")}}const xg=Eg;class jg extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new xg,this.specPath=ne(["document","objects","bindings","mercure","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Og=jg;class Bg extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="mercureMessageBinding",this.classes.push("message-binding")}}const Pg=Bg;class $g extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Pg,this.specPath=ne(["document","objects","bindings","mercure","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Mg=$g;class Ag extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="mercureOperationBinding",this.classes.push("operation-binding")}}const qg=Ag;class kg extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new qg,this.specPath=ne(["document","objects","bindings","mercure","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Cg=kg;class Ig extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="mercureServerBinding",this.classes.push("server-binding")}}const Ng=Ig;class Tg extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Ng,this.specPath=ne(["document","objects","bindings","mercure","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Rg=Tg;class Fg extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="mqttChannelBinding",this.classes.push("channel-binding")}}const Vg=Fg;class Dg extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Vg,this.specPath=ne(["document","objects","bindings","mqtt","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Lg=Dg;class Jg extends ce.Sh{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 Ug=Jg;class zg extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Ug,this.specPath=ne(["document","objects","bindings","mqtt","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Wg=zg;class Gg extends ce.Sh{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 Hg=Gg;class Kg extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Hg,this.specPath=ne(["document","objects","bindings","mqtt","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Zg=Kg;class Xg extends ce.Sh{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 Qg=Xg;class Yg extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Qg,this.specPath=ne(["document","objects","bindings","mqtt","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const ef=Yg;class tf extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="mqtt5ChannelBinding",this.classes.push("channel-binding")}}const sf=tf;class nf extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new sf,this.specPath=ne(["document","objects","bindings","mqtt5","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const rf=nf;class of extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="mqtt5MessageBinding",this.classes.push("message-binding")}}const cf=of;class af extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new cf,this.specPath=ne(["document","objects","bindings","mqtt5","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const uf=af;class lf extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="mqtt5OperationBinding",this.classes.push("operation-binding")}}const hf=lf;class pf extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new hf,this.specPath=ne(["document","objects","bindings","mqtt5","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const df=pf;class mf extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="mqtt5ServerBinding",this.classes.push("server-binding")}}const gf=mf;class ff extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new gf,this.specPath=ne(["document","objects","bindings","mqtt5","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const bf=ff;class vf extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="natsChannelBinding",this.classes.push("channel-binding")}}const yf=vf;class _f extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new yf,this.specPath=ne(["document","objects","bindings","nats","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Sf=_f;class wf extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="natsMessageBinding",this.classes.push("message-binding")}}const Ef=wf;class xf extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Ef,this.specPath=ne(["document","objects","bindings","nats","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const jf=xf;class Of extends ce.Sh{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 Bf=Of;class Pf extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Bf,this.specPath=ne(["document","objects","bindings","nats","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const $f=Pf;class Mf extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="natsServerBinding",this.classes.push("server-binding")}}const Af=Mf;class qf extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Af,this.specPath=ne(["document","objects","bindings","nats","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const kf=qf;class Cf extends ce.Sh{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 If=Cf;class Nf extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new If,this.specPath=ne(["document","objects","bindings","pulsar","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Tf=Nf;class Rf extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="pulsarMessageBinding",this.classes.push("message-binding")}}const Ff=Rf;class Vf extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Ff,this.specPath=ne(["document","objects","bindings","pulsar","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Df=Vf;class Lf extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="pulsarOperationBinding",this.classes.push("operation-binding")}}const Jf=Lf;class Uf extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Jf,this.specPath=ne(["document","objects","bindings","pulsar","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const zf=Uf;class Wf extends ce.Sh{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 Gf=Wf;class Hf extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Gf,this.specPath=ne(["document","objects","bindings","pulsar","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Kf=Hf;class Zf extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="redisChannelBinding",this.classes.push("channel-binding")}}const Xf=Zf;class Qf extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Xf,this.specPath=ne(["document","objects","bindings","redis","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Yf=Qf;class eb extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="redisMessageBinding",this.classes.push("message-binding")}}const tb=eb;class sb extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new tb,this.specPath=ne(["document","objects","bindings","redis","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const nb=sb;class rb extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="redisOperationBinding",this.classes.push("operation-binding")}}const ib=rb;class ob extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new ib,this.specPath=ne(["document","objects","bindings","redis","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const cb=ob;class ab extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="redisServerBinding",this.classes.push("server-binding")}}const ub=ab;class lb extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new ub,this.specPath=ne(["document","objects","bindings","redis","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const hb=lb;class pb extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="snsChannelBinding",this.classes.push("channel-binding")}}const db=pb;class mb extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new db,this.specPath=ne(["document","objects","bindings","sns","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const gb=mb;class fb extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="snsMessageBinding",this.classes.push("message-binding")}}const bb=fb;class vb extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new bb,this.specPath=ne(["document","objects","bindings","sns","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const yb=vb;class _b extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="snsOperationBinding",this.classes.push("operation-binding")}}const Sb=_b;class wb extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Sb,this.specPath=ne(["document","objects","bindings","sns","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Eb=wb;class xb extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="snsServerBinding",this.classes.push("server-binding")}}const jb=xb;class Ob extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new jb,this.specPath=ne(["document","objects","bindings","sns","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Bb=Ob;class Pb extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="solaceChannelBinding",this.classes.push("channel-binding")}}const $b=Pb;class Mb extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new $b,this.specPath=ne(["document","objects","bindings","solace","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Ab=Mb;class qb extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="solaceMessageBinding",this.classes.push("message-binding")}}const kb=qb;class Cb extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new kb,this.specPath=ne(["document","objects","bindings","solace","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Ib=Cb;class Nb extends ce.Sh{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 Tb=Nb;class Rb extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Tb,this.specPath=ne(["document","objects","bindings","solace","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const Fb=Rb;class Vb extends ce.Sh{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 Db=Vb;class Lb extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Db,this.specPath=ne(["document","objects","bindings","solace","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Jb=Lb;class Ub extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="sqsChannelBinding",this.classes.push("channel-binding")}}const zb=Ub;class Wb extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new zb,this.specPath=ne(["document","objects","bindings","sqs","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const Gb=Wb;class Hb extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="sqsMessageBinding",this.classes.push("message-binding")}}const Kb=Hb;class Zb extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Kb,this.specPath=ne(["document","objects","bindings","sqs","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const Xb=Zb;class Qb extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="sqsOperationBinding",this.classes.push("operation-binding")}}const Yb=Qb;class ev extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Yb,this.specPath=ne(["document","objects","bindings","sqs","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const tv=ev;class sv extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="sqsServerBinding",this.classes.push("server-binding")}}const nv=sv;class rv extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new nv,this.specPath=ne(["document","objects","bindings","sqs","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const iv=rv;class ov extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="stompChannelBinding",this.classes.push("channel-binding")}}const cv=ov;class av extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new cv,this.specPath=ne(["document","objects","bindings","stomp","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const uv=av;class lv extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="stompMessageBinding",this.classes.push("message-binding")}}const hv=lv;class pv extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new hv,this.specPath=ne(["document","objects","bindings","stomp","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const dv=pv;class mv extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="stompOperationBinding",this.classes.push("operation-binding")}}const gv=mv;class fv extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new gv,this.specPath=ne(["document","objects","bindings","stomp","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const bv=fv;class vv extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="stompServerBinding",this.classes.push("server-binding")}}const yv=vv;class _v extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new yv,this.specPath=ne(["document","objects","bindings","stomp","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Sv=_v;class wv extends ce.Sh{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 Ev=wv;class xv extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Ev,this.specPath=ne(["document","objects","bindings","ws","ChannelBinding"]),this.canSupportSpecificationExtensions=!1}}const jv=xv;class Ov extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="webSocketMessageBinding",this.classes.push("message-binding")}}const Bv=Ov;class Pv extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Bv,this.specPath=ne(["document","objects","bindings","ws","MessageBinding"]),this.canSupportSpecificationExtensions=!1}}const $v=Pv;class Mv extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="webSocketOperationBinding",this.classes.push("operation-binding")}}const Av=Mv;class qv extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Av,this.specPath=ne(["document","objects","bindings","ws","OperationBinding"]),this.canSupportSpecificationExtensions=!1}}const kv=qv;class Cv extends ce.Sh{constructor(e,t,s){super(e,t,s),this.element="webSocketServerBinding",this.classes.push("server-binding")}}const Iv=Cv;class Nv extends(Qo(oc,Ao)){constructor(e){super(e),this.element=new Iv,this.specPath=ne(["document","objects","bindings","ws","ServerBinding"]),this.canSupportSpecificationExtensions=!1}}const Tv=Nv,Rv={$visitor:Mu,fixedFields:{$ref:Au}},Fv={$visitor:ku,fixedFields:{...Qu,allOf:Tu,anyOf:Fu,oneOf:Du,items:Gu,properties:Xu,patternProperties:Ku,dependencies:zu,definitions:Ju,discriminator:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},deprecated:{$ref:"#/visitors/value"}}},Vv={visitors:{value:Ao,document:{objects:{AsyncApi:{$visitor:lc,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:mc},Identifier:{$visitor:vc},Info:{$visitor:wc,fixedFields:{title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},termsOfService:{$ref:"#/visitors/value"},version:Ec,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"}}},Contact:{$visitor:Bc,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"},email:{$ref:"#/visitors/value"}}},License:{$visitor:Fc,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Servers:{$visitor:ru},Server:{$visitor:ou,fixedFields:{url:cu,protocol:{$ref:"#/visitors/value"},protocolVersion:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},variables:mu,security:vu,tags:{$ref:"#/visitors/document/objects/Tags"},bindings:lu}},ServerVariable:{$visitor:_u,fixedFields:{enum:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},examples:{$ref:"#/visitors/value"}}},DefaultContentType:{$visitor:Ic},Channels:{$visitor:Vh},ChannelItem:{$visitor:Uh,fixedFields:{$ref:zh,description:{$ref:"#/visitors/value"},servers:Kh,subscribe:{$ref:"#/visitors/document/objects/Operation"},publish:{$ref:"#/visitors/document/objects/Operation"},parameters:{$ref:"#/visitors/document/objects/Parameters"},bindings:Xh}},Operation:{$visitor:mh,fixedFields:{operationId:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},security:vh,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:_h,traits:xh,message:Mh}},OperationTrait:{$visitor:Zp,fixedFields:{operationId:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},security:ed,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:sd}},Message:{$visitor:Pp,fixedFields:{messageId:{$ref:"#/visitors/value"},headers:Mp,payload:{$ref:"#/visitors/value"},correlationId:qp,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:Cp,examples:Rp,traits:Lp}},MessageTrait:{$visitor:up,fixedFields:{messageId:{$ref:"#/visitors/value"},headers:hp,correlationId:dp,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:gp,examples:yp}},MessageExample:{$visitor:ip,fixedFields:{headers:{$ref:"#/visitors/value"},payload:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},summary:{$ref:"#/visitors/value"}}},Tags:{$visitor:Ch},Tag:{$visitor:Rh,fixedFields:{name:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},ExternalDocumentation:{$visitor:al,fixedFields:{description:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Components:{$visitor:ll,fixedFields:{schemas:ml,servers:vl,serverVariables:wl,channels:Ol,messages:Ml,securitySchemes:Cl,parameters:Rl,correlationIds:Ll,operationTraits:Wl,messageTraits:Zl,serverBindings:eh,channelBindings:rh,operationBindings:ah,messageBindings:ph}},JSONReference:Rv,Reference:Rv,JSONSchema:Fv,Schema:Fv,LinkDescription:$o.visitors.document.objects.LinkDescription,SecurityScheme:{$visitor:Ou,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:Pu},OAuthFlows:{$visitor:Jc,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:Gc,fixedFields:{authorizationUrl:{$ref:"#/visitors/value"},tokenUrl:{$ref:"#/visitors/value"},refreshUrl:{$ref:"#/visitors/value"},scopes:Yc}},ServerBindings:{$visitor:wu,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:el},Parameter:{$visitor:sl,fixedFields:{description:{$ref:"#/visitors/value"},schema:rl,location:{$ref:"#/visitors/value"}}},ChannelBindings:{$visitor:Lh,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:Wp,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:tp,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:Ac,fixedFields:{description:{$ref:"#/visitors/value"},location:{$ref:"#/visitors/value"}}},bindings:{http:{ServerBinding:{$visitor:pm},ChannelBinding:{$visitor:em},OperationBinding:{$visitor:am,fixedFields:{type:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},query:Iu,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:rm,fixedFields:{headers:Iu,bindingVersion:{$ref:"#/visitors/value"}}}},ws:{ServerBinding:{$visitor:Tv},ChannelBinding:{$visitor:jv,fixedFields:{method:{$ref:"#/visitors/value"},query:Iu,headers:Iu,bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:kv},MessageBinding:{$visitor:$v}},kafka:{ServerBinding:{$visitor:wg,fixedFields:{schemaRegistryUrl:{$ref:"#/visitors/value"},schemaRegistryVendor:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:lg,fixedFields:{topic:{$ref:"#/visitors/value"},partitions:{$ref:"#/visitors/value"},replicas:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:vg,fixedFields:{groupId:Iu,clientId:Iu,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:mg,fixedFields:{key:Iu,schemaIdLocation:{$ref:"#/visitors/value"},schemaIdPayloadEncoding:{$ref:"#/visitors/value"},schemaLookupStrategy:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},anypointmq:{ServerBinding:{$visitor:Zd},ChannelBinding:{$visitor:Rd,fixedFields:{destination:{$ref:"#/visitors/value"},destinationType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:Wd},MessageBinding:{$visitor:Ld,fixedFields:{headers:Iu,bindingVersion:{$ref:"#/visitors/value"}}}},amqp:{ServerBinding:{$visitor:vd},ChannelBinding:{$visitor:od,fixedFields:{is:{$ref:"#/visitors/value"},exchange:{$ref:"#/visitors/value"},queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:md,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:ld,fixedFields:{contentEncoding:{$ref:"#/visitors/value"},messageType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},amqp1:{ServerBinding:{$visitor:Cd},ChannelBinding:{$visitor:wd},OperationBinding:{$visitor:Md},MessageBinding:{$visitor:Od}},mqtt:{ServerBinding:{$visitor:ef,fixedFields:{clientId:{$ref:"#/visitors/value"},cleanSession:{$ref:"#/visitors/value"},lastWill:{$ref:"#/visitors/value"},keepAlive:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:Lg},OperationBinding:{$visitor:Zg,fixedFields:{qos:{$ref:"#/visitors/value"},retain:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:Wg,fixedFields:{bindingVersion:{$ref:"#/visitors/value"}}}},mqtt5:{ServerBinding:{$visitor:bf},ChannelBinding:{$visitor:rf},OperationBinding:{$visitor:df},MessageBinding:{$visitor:uf}},nats:{ServerBinding:{$visitor:kf},ChannelBinding:{$visitor:Sf},OperationBinding:{$visitor:$f,fixedFields:{queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:jf}},pulsar:{ServerBinding:{$visitor:Kf,fixedFields:{tenant:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:Tf,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:zf},MessageBinding:{$visitor:Df}},jms:{ServerBinding:{$visitor:og},ChannelBinding:{$visitor:Hm},OperationBinding:{$visitor:sg},MessageBinding:{$visitor:Qm}},sns:{ServerBinding:{$visitor:Bb},ChannelBinding:{$visitor:gb},OperationBinding:{$visitor:Eb},MessageBinding:{$visitor:yb}},solace:{ServerBinding:{$visitor:Jb,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},msgVpn:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:Ab},OperationBinding:{$visitor:Fb,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},destinations:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:Ib}},sqs:{ServerBinding:{$visitor:iv},ChannelBinding:{$visitor:Gb},OperationBinding:{$visitor:tv},MessageBinding:{$visitor:Xb}},stomp:{ServerBinding:{$visitor:Sv},ChannelBinding:{$visitor:uv},OperationBinding:{$visitor:bv},MessageBinding:{$visitor:dv}},redis:{ServerBinding:{$visitor:hb},ChannelBinding:{$visitor:Yf},OperationBinding:{$visitor:cb},MessageBinding:{$visitor:nb}},mercure:{ServerBinding:{$visitor:Rg},ChannelBinding:{$visitor:Og},OperationBinding:{$visitor:Cg},MessageBinding:{$visitor:Mg}},googlepubsub:{ServerBinding:{$visitor:Pm},ChannelBinding:{$visitor:fm,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:xm},MessageBinding:{$visitor:_m,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},attributes:{$ref:"#/visitors/value"},orderingKey:{$ref:"#/visitors/value"},schema:{$ref:"#/visitors/value"}}}},ibmmq:{ServerBinding:{$visitor:Um,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:qm,fixedFields:{destinationType:{$ref:"#/visitors/value"},queue:{$ref:"#/visitors/value"},topic:{$ref:"#/visitors/value"},maxMsgLength:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:Nm,fixedFields:{type:{$ref:"#/visitors/value"},headers:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},expiry:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:Vm}}}},extension:{$visitor:ko}}}},Dv=e=>{if(Lt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Lv={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},Jv={namespace:e=>{const{base:t}=e;return t.register("asyncApi2",ac),t.register("asyncApiVersion",pc),t.register("channelBindings",ra),t.register("channelItem",oa),t.register("channels",aa),t.register("components",la),t.register("contact",jc),t.register("correlationID",$c),t.register("defaultContentType",kc),t.register("externalDocumentation",ol),t.register("identifier",fc),t.register("info",_c),t.register("license",Tc),t.register("message",Op),t.register("messageBindings",Yh),t.register("messageExample",np),t.register("messageTrait",cp),t.register("oAuthFlow",zc),t.register("oAuthFlows",Dc),t.register("operation",pa),t.register("operationBindings",Up),t.register("operationTrait",Hp),t.register("parameter",ma),t.register("parameters",fa),t.register("reference",va),t.register("schema",Ba),t.register("securityRequirement",$a),t.register("securityScheme",xu),t.register("server",Aa),t.register("serverBindings",ka),t.register("servers",sa),t.register("serverVariable",Ia),t.register("tag",Nh),t.register("tags",qh),t.register("amqpChannelBinding",rd),t.register("amqpMessageBinding",ad),t.register("amqpOperationBinding",pd),t.register("amqpServerBinding",fd),t.register("amqp1ChannelBinding",_d),t.register("amqp1MessageBinding",xd),t.register("amqp1OperationBinding",Pd),t.register("amqp1ServerBinding",qd),t.register("anypointmqChannelBinding",Nd),t.register("anypointmqMessageBinding",Vd),t.register("anypointmqOperationBinding",Ud),t.register("anypointmqServerBinding",Hd),t.register("googlepubsubChannelBinding",mm),t.register("googlepubsubMessageBinding",vm),t.register("googlepubsubOperationBinding",wm),t.register("googlepubsubServerBinding",Om),t.register("httpChannelBinding",Qd),t.register("httpMessageBinding",sm),t.register("httpOperationBinding",om),t.register("httpServerBinding",lm),t.register("ibmmqChannelBinding",Mm),t.register("ibmmqMessageBinding",Cm),t.register("ibmmqOperationBinding",Rm),t.register("ibmmqServerBinding",Lm),t.register("jmsChannelBinding",Wm),t.register("jmsMessageBinding",Zm),t.register("jmsOperationBinding",eg),t.register("jmsServerBinding",rg),t.register("kafkaChannelBinding",ag),t.register("kafkaMessageBinding",pg),t.register("kafkaOperationBinding",fg),t.register("kafkaServerBinding",_g),t.register("mercureChannelBinding",xg),t.register("mercureMessageBinding",Pg),t.register("mercureOperationBinding",qg),t.register("mercureServerBinding",Ng),t.register("mqttChannelBinding",Vg),t.register("mqttMessageBinding",Ug),t.register("mqttOperationBinding",Hg),t.register("mqttServerBinding",Qg),t.register("mqtt5ChannelBinding",sf),t.register("mqtt5MessageBinding",cf),t.register("mqtt5OperationBinding",hf),t.register("mqtt5ServerBinding",gf),t.register("natsChannelBinding",yf),t.register("natsMessageBinding",Ef),t.register("natsOperationBinding",Bf),t.register("natsServerBinding",Af),t.register("pulsarChannelBinding",If),t.register("pulsarMessageBinding",Ff),t.register("pulsarOperationBinding",Jf),t.register("pulsarServerBinding",Gf),t.register("redisChannelBinding",Xf),t.register("redisMessageBinding",tb),t.register("redisOperationBinding",ib),t.register("redisServerBinding",ub),t.register("snsChannelBinding",db),t.register("snsMessageBinding",bb),t.register("snsOperationBinding",Sb),t.register("snsServerBinding",jb),t.register("solaceChannelBinding",$b),t.register("solaceMessageBinding",kb),t.register("solaceOperationBinding",Tb),t.register("solaceServerBinding",Db),t.register("sqsChannelBinding",zb),t.register("sqsMessageBinding",Kb),t.register("sqsOperationBinding",Yb),t.register("sqsServerBinding",nv),t.register("stompChannelBinding",cv),t.register("stompMessageBinding",hv),t.register("stompOperationBinding",gv),t.register("stompServerBinding",yv),t.register("webSocketChannelBinding",Ev),t.register("webSocketMessageBinding",Bv),t.register("webSocketOperationBinding",Av),t.register("webSocketServerBinding",Iv),t}},Uv=()=>{const e=lt(Jv);return{predicates:{...o,isStringElement:Jt},namespace:e}},zv=(e,{specPath:t=["visitors","document","objects","AsyncApi","$visitor"],plugins:s=[]}={})=>{const n=(0,ce.e)(e),r=zn(Vv),i=new(Ce(t,r))({specObj:r});return bs(n,i),qs(i.element,s,{toolboxCreator:Uv,visitorOptions:{keyMap:Lv,nodeTypeGetter:Dv}})},Wv=e=>(t,s={})=>zv(t,{...s,specPath:e});ac.refract=Wv(["visitors","document","objects","AsyncApi","$visitor"]),pc.refract=Wv(["visitors","document","objects","AsyncApiVersion","$visitor"]),ra.refract=Wv(["visitors","document","objects","ChannelBindings","$visitor"]),oa.refract=Wv(["visitors","document","objects","ChannelItem","$visitor"]),aa.refract=Wv(["visitors","document","objects","Channels","$visitor"]),la.refract=Wv(["visitors","document","objects","Components","$visitor"]),jc.refract=Wv(["visitors","document","objects","Contact","$visitor"]),$c.refract=Wv(["visitors","document","objects","CorrelationID","$visitor"]),kc.refract=Wv(["visitors","document","objects","DefaultContentType","$visitor"]),ol.refract=Wv(["visitors","document","objects","ExternalDocumentation","$visitor"]),fc.refract=Wv(["visitors","document","objects","Identifier","$visitor"]),_c.refract=Wv(["visitors","document","objects","Info","$visitor"]),Tc.refract=Wv(["visitors","document","objects","License","$visitor"]),Op.refract=Wv(["visitors","document","objects","Message","$visitor"]),Yh.refract=Wv(["visitors","document","objects","MessageBindings","$visitor"]),np.refract=Wv(["visitors","document","objects","MessageExample","$visitor"]),cp.refract=Wv(["visitors","document","objects","MessageTrait","$visitor"]),zc.refract=Wv(["visitors","document","objects","OAuthFlow","$visitor"]),Dc.refract=Wv(["visitors","document","objects","OAuthFlows","$visitor"]),pa.refract=Wv(["visitors","document","objects","Operation","$visitor"]),Up.refract=Wv(["visitors","document","objects","OperationBindings","$visitor"]),Hp.refract=Wv(["visitors","document","objects","OperationTrait","$visitor"]),ma.refract=Wv(["visitors","document","objects","Parameter","$visitor"]),fa.refract=Wv(["visitors","document","objects","Parameters","$visitor"]),va.refract=Wv(["visitors","document","objects","Reference","$visitor"]),Ba.refract=Wv(["visitors","document","objects","Schema","$visitor"]),$a.refract=Wv(["visitors","document","objects","SecurityRequirement","$visitor"]),xu.refract=Wv(["visitors","document","objects","SecurityScheme","$visitor"]),Aa.refract=Wv(["visitors","document","objects","Server","$visitor"]),ka.refract=Wv(["visitors","document","objects","ServerBindings","$visitor"]),sa.refract=Wv(["visitors","document","objects","Servers","$visitor"]),Ia.refract=Wv(["visitors","document","objects","ServerVariable","$visitor"]),Nh.refract=Wv(["visitors","document","objects","Tag","$visitor"]),qh.refract=Wv(["visitors","document","objects","Tags","$visitor"]),rd.refract=Wv(["visitors","document","objects","bindings","amqp","ChannelBinding","$visitor"]),ad.refract=Wv(["visitors","document","objects","bindings","amqp","MessageBinding","$visitor"]),pd.refract=Wv(["visitors","document","objects","bindings","amqp","OperationBinding","$visitor"]),fd.refract=Wv(["visitors","document","objects","bindings","amqp","ServerBinding","$visitor"]),_d.refract=Wv(["visitors","document","objects","bindings","amqp1","ChannelBinding","$visitor"]),xd.refract=Wv(["visitors","document","objects","bindings","amqp1","MessageBinding","$visitor"]),Pd.refract=Wv(["visitors","document","objects","bindings","amqp1","OperationBinding","$visitor"]),qd.refract=Wv(["visitors","document","objects","bindings","amqp1","ServerBinding","$visitor"]),Qd.refract=Wv(["visitors","document","objects","bindings","http","ChannelBinding","$visitor"]),sm.refract=Wv(["visitors","document","objects","bindings","http","MessageBinding","$visitor"]),om.refract=Wv(["visitors","document","objects","bindings","http","OperationBinding","$visitor"]),lm.refract=Wv(["visitors","document","objects","bindings","http","ServerBinding","$visitor"]),mm.refract=Wv(["visitors","document","objects","bindings","googlepubsub","ChannelBinding","$visitor"]),vm.refract=Wv(["visitors","document","objects","bindings","googlepubsub","MessageBinding","$visitor"]),wm.refract=Wv(["visitors","document","objects","bindings","googlepubsub","OperationBinding","$visitor"]),Om.refract=Wv(["visitors","document","objects","bindings","googlepubsub","ServerBinding","$visitor"]),Mm.refract=Wv(["visitors","document","objects","bindings","ibmmq","ChannelBinding","$visitor"]),Cm.refract=Wv(["visitors","document","objects","bindings","ibmmq","MessageBinding","$visitor"]),Rm.refract=Wv(["visitors","document","objects","bindings","ibmmq","OperationBinding","$visitor"]),Lm.refract=Wv(["visitors","document","objects","bindings","ibmmq","ServerBinding","$visitor"]),Wm.refract=Wv(["visitors","document","objects","bindings","jms","ChannelBinding","$visitor"]),Zm.refract=Wv(["visitors","document","objects","bindings","jms","MessageBinding","$visitor"]),eg.refract=Wv(["visitors","document","objects","bindings","jms","OperationBinding","$visitor"]),rg.refract=Wv(["visitors","document","objects","bindings","jms","ServerBinding","$visitor"]),ag.refract=Wv(["visitors","document","objects","bindings","kafka","ChannelBinding","$visitor"]),pg.refract=Wv(["visitors","document","objects","bindings","kafka","MessageBinding","$visitor"]),fg.refract=Wv(["visitors","document","objects","bindings","kafka","OperationBinding","$visitor"]),_g.refract=Wv(["visitors","document","objects","bindings","kafka","ServerBinding","$visitor"]),Nd.refract=Wv(["visitors","document","objects","bindings","anypointmq","ChannelBinding","$visitor"]),Vd.refract=Wv(["visitors","document","objects","bindings","anypointmq","MessageBinding","$visitor"]),Ud.refract=Wv(["visitors","document","objects","bindings","anypointmq","OperationBinding","$visitor"]),Hd.refract=Wv(["visitors","document","objects","bindings","anypointmq","ServerBinding","$visitor"]),xg.refract=Wv(["visitors","document","objects","bindings","mercure","ChannelBinding","$visitor"]),Pg.refract=Wv(["visitors","document","objects","bindings","mercure","MessageBinding","$visitor"]),qg.refract=Wv(["visitors","document","objects","bindings","mercure","OperationBinding","$visitor"]),Ng.refract=Wv(["visitors","document","objects","bindings","mercure","ServerBinding","$visitor"]),Vg.refract=Wv(["visitors","document","objects","bindings","mqtt","ChannelBinding","$visitor"]),Ug.refract=Wv(["visitors","document","objects","bindings","mqtt","MessageBinding","$visitor"]),Hg.refract=Wv(["visitors","document","objects","bindings","mqtt","OperationBinding","$visitor"]),Qg.refract=Wv(["visitors","document","objects","bindings","mqtt","ServerBinding","$visitor"]),sf.refract=Wv(["visitors","document","objects","bindings","mqtt5","ChannelBinding","$visitor"]),cf.refract=Wv(["visitors","document","objects","bindings","mqtt5","MessageBinding","$visitor"]),hf.refract=Wv(["visitors","document","objects","bindings","mqtt5","OperationBinding","$visitor"]),gf.refract=Wv(["visitors","document","objects","bindings","mqtt5","ServerBinding","$visitor"]),yf.refract=Wv(["visitors","document","objects","bindings","nats","ChannelBinding","$visitor"]),Ef.refract=Wv(["visitors","document","objects","bindings","nats","MessageBinding","$visitor"]),Bf.refract=Wv(["visitors","document","objects","bindings","nats","OperationBinding","$visitor"]),Af.refract=Wv(["visitors","document","objects","bindings","nats","ServerBinding","$visitor"]),If.refract=Wv(["visitors","document","objects","bindings","pulsar","ChannelBinding","$visitor"]),Ff.refract=Wv(["visitors","document","objects","bindings","pulsar","MessageBinding","$visitor"]),Jf.refract=Wv(["visitors","document","objects","bindings","pulsar","OperationBinding","$visitor"]),Gf.refract=Wv(["visitors","document","objects","bindings","pulsar","ServerBinding","$visitor"]),Xf.refract=Wv(["visitors","document","objects","bindings","redis","ChannelBinding","$visitor"]),tb.refract=Wv(["visitors","document","objects","bindings","redis","MessageBinding","$visitor"]),ib.refract=Wv(["visitors","document","objects","bindings","redis","OperationBinding","$visitor"]),ub.refract=Wv(["visitors","document","objects","bindings","redis","ServerBinding","$visitor"]),db.refract=Wv(["visitors","document","objects","bindings","sns","ChannelBinding","$visitor"]),bb.refract=Wv(["visitors","document","objects","bindings","sns","MessageBinding","$visitor"]),Sb.refract=Wv(["visitors","document","objects","bindings","sns","OperationBinding","$visitor"]),jb.refract=Wv(["visitors","document","objects","bindings","sns","ServerBinding","$visitor"]),$b.refract=Wv(["visitors","document","objects","bindings","solace","ChannelBinding","$visitor"]),kb.refract=Wv(["visitors","document","objects","bindings","solace","MessageBinding","$visitor"]),Tb.refract=Wv(["visitors","document","objects","bindings","solace","OperationBinding","$visitor"]),Db.refract=Wv(["visitors","document","objects","bindings","solace","ServerBinding","$visitor"]),zb.refract=Wv(["visitors","document","objects","bindings","sqs","ChannelBinding","$visitor"]),Kb.refract=Wv(["visitors","document","objects","bindings","sqs","MessageBinding","$visitor"]),Yb.refract=Wv(["visitors","document","objects","bindings","sqs","OperationBinding","$visitor"]),nv.refract=Wv(["visitors","document","objects","bindings","sqs","ServerBinding","$visitor"]),cv.refract=Wv(["visitors","document","objects","bindings","stomp","ChannelBinding","$visitor"]),hv.refract=Wv(["visitors","document","objects","bindings","stomp","MessageBinding","$visitor"]),gv.refract=Wv(["visitors","document","objects","bindings","stomp","OperationBinding","$visitor"]),yv.refract=Wv(["visitors","document","objects","bindings","stomp","ServerBinding","$visitor"]),Ev.refract=Wv(["visitors","document","objects","bindings","ws","ChannelBinding","$visitor"]),Bv.refract=Wv(["visitors","document","objects","bindings","ws","MessageBinding","$visitor"]),Av.refract=Wv(["visitors","document","objects","bindings","ws","OperationBinding","$visitor"]),Iv.refract=Wv(["visitors","document","objects","bindings","ws","ServerBinding","$visitor"]);const Gv=new Ep(...xp.filterByFormat("generic"),...xp.filterByFormat("json")),Hv=/"asyncapi"\s*:\s*"(?<version_json>2\.(?:[1-9]\d*|0)\.(?:[1-9]\d*|0))"/,Kv=async e=>Hv.test(e)&&await(async e=>{if(!Mn.test(e))return!1;try{return"ERROR"!==(await Et(e)).rootNode.type}catch{return!1}})(e),Zv=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}):Js(n,{sourceMap:t}),r})(e,n),{result:i}=r;if(oe(i)){const e=ac.refract(i,s);e.classes.push("result"),r.replaceResult(e)}return r},Xv=lt(Jv)})(),n})()));