@swagger-api/apidom-parser-adapter-asyncapi-json-2 0.70.0 → 0.70.1

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={8385:(e,t,n)=>{var s=n(6174);e.exports=s},5271:(e,t,n)=>{var s=n(7820);e.exports=s},7574:(e,t,n)=>{var s=n(2);e.exports=s},33:(e,t,n)=>{var s=n(5636);e.exports=s},9821:(e,t,n)=>{var s=n(2285);n(9031),e.exports=s},8008:(e,t,n)=>{var s=n(8535);e.exports=s},164:(e,t,n)=>{var s=n(6042);e.exports=s},2089:(e,t,n)=>{n(2276);var s=n(5607);e.exports=s("Array").indexOf},2604:(e,t,n)=>{var s=n(8902),r=n(2089),i=Array.prototype;e.exports=function(e){var t=e.indexOf;return e===i||s(i,e)&&t===i.indexOf?r:t}},3512:(e,t,n)=>{n(297);var s=n(7545).Object,r=e.exports=function(e,t,n){return s.defineProperty(e,t,n)};s.defineProperty.sham&&(r.sham=!0)},2921:(e,t,n)=>{n(6187);var s=n(7545);e.exports=s.Object.getOwnPropertySymbols},8651:(e,t,n)=>{n(2647);var s=n(7545);e.exports=s.Object.keys},5008:(e,t,n)=>{n(9106),n(6663),n(6187),n(9781),n(492),n(6681),n(9594),n(3665),n(9017),n(1250),n(9786),n(503),n(6565),n(9322),n(3610),n(6886),n(3514),n(8671),n(8556),n(1367);var s=n(7545);e.exports=s.Symbol},994:(e,t,n)=>{n(8939),n(6663),n(5454),n(3665);var s=n(9207);e.exports=s.f("iterator")},290:(e,t,n)=>{n(2432),n(3610);var s=n(9207);e.exports=s.f("toPrimitive")},5159:(e,t,n)=>{e.exports=n(2747)},8026:(e,t,n)=>{e.exports=n(229)},1903:(e,t,n)=>{e.exports=n(5090)},902:(e,t,n)=>{e.exports=n(5483)},9256:(e,t,n)=>{e.exports=n(2185)},5659:(e,t,n)=>{e.exports=n(9982)},3698:(e,t,n)=>{e.exports=n(8241)},2747:(e,t,n)=>{var s=n(8385);e.exports=s},229:(e,t,n)=>{var s=n(5271);e.exports=s},5090:(e,t,n)=>{var s=n(7574);e.exports=s},5483:(e,t,n)=>{var s=n(33);e.exports=s},2185:(e,t,n)=>{var s=n(9821);n(177),n(2725),n(1806),n(6658),n(4212),n(8658),n(1875),n(4592),n(6680),e.exports=s},9982:(e,t,n)=>{var s=n(8008);e.exports=s},8241:(e,t,n)=>{var s=n(164);e.exports=s},6235:(e,t,n)=>{var s=n(6447),r=n(9288),i=TypeError;e.exports=function(e){if(s(e))return e;throw i(r(e)+" is not a function")}},7757:(e,t,n)=>{var s=n(6447),r=String,i=TypeError;e.exports=function(e){if("object"==typeof e||s(e))return e;throw i("Can't set "+r(e)+" as a prototype")}},7423:e=>{e.exports=function(){}},1138:(e,t,n)=>{var s=n(5744),r=String,i=TypeError;e.exports=function(e){if(s(e))return e;throw i(r(e)+" is not an object")}},8180:(e,t,n)=>{var s=n(101),r=n(7739),i=n(4104),o=function(e){return function(t,n,o){var a,c=s(t),u=i(c),l=r(o,u);if(e&&n!=n){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},454:(e,t,n)=>{var s=n(8043),r=n(4120),i=n(2202),o=n(1795),a=n(4104),c=n(1321),u=r([].push),l=function(e){var t=1==e,n=2==e,r=3==e,l=4==e,p=6==e,h=7==e,m=5==e||p;return function(d,g,f,b){for(var y,v,_=o(d),S=i(_),j=s(g,f),w=a(S),E=0,O=b||c,x=t?O(d,w):n||h?O(d,0):void 0;w>E;E++)if((m||E in S)&&(v=j(y=S[E],E,_),e))if(t)x[E]=v;else if(v)switch(e){case 3:return!0;case 5:return y;case 6:return E;case 2:u(x,y)}else switch(e){case 4:return!1;case 7:u(x,y)}return p?-1:r||l?l:x}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},242:(e,t,n)=>{var s=n(6192),r=n(8182),i=n(4218),o=r("species");e.exports=function(e){return i>=51||!s((function(){var t=[];return(t.constructor={})[o]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},424:(e,t,n)=>{"use strict";var s=n(6192);e.exports=function(e,t){var n=[][e];return!!n&&s((function(){n.call(null,t||function(){return 1},1)}))}},1923:(e,t,n)=>{var s=n(7739),r=n(4104),i=n(9361),o=Array,a=Math.max;e.exports=function(e,t,n){for(var c=r(e),u=s(t,c),l=s(void 0===n?c:n,c),p=o(a(l-u,0)),h=0;u<l;u++,h++)i(p,h,e[u]);return p.length=h,p}},3096:(e,t,n)=>{var s=n(4120);e.exports=s([].slice)},3712:(e,t,n)=>{var s=n(4770),r=n(2091),i=n(5744),o=n(8182)("species"),a=Array;e.exports=function(e){var t;return s(e)&&(t=e.constructor,(r(t)&&(t===a||s(t.prototype))||i(t)&&null===(t=t[o]))&&(t=void 0)),void 0===t?a:t}},1321:(e,t,n)=>{var s=n(3712);e.exports=function(e,t){return new(s(e))(0===t?0:t)}},9272:(e,t,n)=>{var s=n(4120),r=s({}.toString),i=s("".slice);e.exports=function(e){return i(r(e),8,-1)}},4696:(e,t,n)=>{var s=n(3471),r=n(6447),i=n(9272),o=n(8182)("toStringTag"),a=Object,c="Arguments"==i(function(){return arguments}());e.exports=s?i:function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=a(e),o))?n:c?i(t):"Object"==(s=i(t))&&r(t.callee)?"Arguments":s}},4635:(e,t,n)=>{var s=n(6192);e.exports=!s((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7271:e=>{e.exports=function(e,t){return{value:e,done:t}}},8711:(e,t,n)=>{var s=n(69),r=n(2760),i=n(774);e.exports=s?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},774:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},9361:(e,t,n)=>{"use strict";var s=n(77),r=n(2760),i=n(774);e.exports=function(e,t,n){var o=s(t);o in e?r.f(e,o,i(0,n)):e[o]=n}},2807:(e,t,n)=>{var s=n(2760);e.exports=function(e,t,n){return s.f(e,t,n)}},9362:(e,t,n)=>{var s=n(8711);e.exports=function(e,t,n,r){return r&&r.enumerable?e[t]=n:s(e,t,n),e}},5098:(e,t,n)=>{var s=n(8576),r=Object.defineProperty;e.exports=function(e,t){try{r(s,e,{value:t,configurable:!0,writable:!0})}catch(n){s[e]=t}return t}},69:(e,t,n)=>{var s=n(6192);e.exports=!s((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8382:e=>{var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},7449:(e,t,n)=>{var s=n(8576),r=n(5744),i=s.document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},9425:e=>{var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},7365:e=>{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}},8989:e=>{e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},4218:(e,t,n)=>{var s,r,i=n(8576),o=n(8989),a=i.process,c=i.Deno,u=a&&a.versions||c&&c.version,l=u&&u.v8;l&&(r=(s=l.split("."))[0]>0&&s[0]<4?1:+(s[0]+s[1])),!r&&o&&(!(s=o.match(/Edge\/(\d+)/))||s[1]>=74)&&(s=o.match(/Chrome\/(\d+)/))&&(r=+s[1]),e.exports=r},5607:(e,t,n)=>{var s=n(7545);e.exports=function(e){return s[e+"Prototype"]}},2952:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3085:(e,t,n)=>{"use strict";var s=n(8576),r=n(6298),i=n(4914),o=n(6447),a=n(5141).f,c=n(9245),u=n(7545),l=n(8043),p=n(8711),h=n(4500),m=function(e){var t=function(n,s,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,s)}return new e(n,s,i)}return r(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,r,d,g,f,b,y,v,_,S=e.target,j=e.global,w=e.stat,E=e.proto,O=j?s:w?s[S]:(s[S]||{}).prototype,x=j?u:u[S]||p(u,S,{})[S],P=x.prototype;for(g in t)r=!(n=c(j?g:S+(w?".":"#")+g,e.forced))&&O&&h(O,g),b=x[g],r&&(y=e.dontCallGetSet?(_=a(O,g))&&_.value:O[g]),f=r&&y?y:t[g],r&&typeof b==typeof f||(v=e.bind&&r?l(f,s):e.wrap&&r?m(f):E&&o(f)?i(f):f,(e.sham||f&&f.sham||b&&b.sham)&&p(v,"sham",!0),p(x,g,v),E&&(h(u,d=S+"Prototype")||p(u,d,{}),p(u[d],g,f),e.real&&P&&(n||!P[g])&&p(P,g,f)))}},6192:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},6298:(e,t,n)=>{var s=n(2784),r=Function.prototype,i=r.apply,o=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(s?o.bind(i):function(){return o.apply(i,arguments)})},8043:(e,t,n)=>{var s=n(4914),r=n(6235),i=n(2784),o=s(s.bind);e.exports=function(e,t){return r(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}},2784:(e,t,n)=>{var s=n(6192);e.exports=!s((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},8922:(e,t,n)=>{var s=n(2784),r=Function.prototype.call;e.exports=s?r.bind(r):function(){return r.apply(r,arguments)}},2282:(e,t,n)=>{var s=n(69),r=n(4500),i=Function.prototype,o=s&&Object.getOwnPropertyDescriptor,a=r(i,"name"),c=a&&"something"===function(){}.name,u=a&&(!s||s&&o(i,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},6419:(e,t,n)=>{var s=n(4120),r=n(6235);e.exports=function(e,t,n){try{return s(r(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},4914:(e,t,n)=>{var s=n(9272),r=n(4120);e.exports=function(e){if("Function"===s(e))return r(e)}},4120:(e,t,n)=>{var s=n(2784),r=Function.prototype,i=r.call,o=s&&r.bind.bind(i,i);e.exports=s?o:function(e){return function(){return i.apply(e,arguments)}}},150:(e,t,n)=>{var s=n(7545),r=n(8576),i=n(6447),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(s[e])||o(r[e]):s[e]&&s[e][t]||r[e]&&r[e][t]}},9202:(e,t,n)=>{var s=n(4120),r=n(4770),i=n(6447),o=n(9272),a=n(4845),c=s([].push);e.exports=function(e){if(i(e))return e;if(r(e)){for(var t=e.length,n=[],s=0;s<t;s++){var u=e[s];"string"==typeof u?c(n,u):"number"!=typeof u&&"Number"!=o(u)&&"String"!=o(u)||c(n,a(u))}var l=n.length,p=!0;return function(e,t){if(p)return p=!1,t;if(r(this))return t;for(var s=0;s<l;s++)if(n[s]===e)return t}}}},5037:(e,t,n)=>{var s=n(6235),r=n(5646);e.exports=function(e,t){var n=e[t];return r(n)?void 0:s(n)}},8576:(e,t,n)=>{var s=function(e){return e&&e.Math==Math&&e};e.exports=s("object"==typeof globalThis&&globalThis)||s("object"==typeof window&&window)||s("object"==typeof self&&self)||s("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},4500:(e,t,n)=>{var s=n(4120),r=n(1795),i=s({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(r(e),t)}},4535:e=>{e.exports={}},7403:(e,t,n)=>{var s=n(150);e.exports=s("document","documentElement")},188:(e,t,n)=>{var s=n(69),r=n(6192),i=n(7449);e.exports=!s&&!r((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},2202:(e,t,n)=>{var s=n(4120),r=n(6192),i=n(9272),o=Object,a=s("".split);e.exports=r((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?a(e,""):o(e)}:o},9516:(e,t,n)=>{var s=n(4120),r=n(6447),i=n(6434),o=s(Function.toString);r(i.inspectSource)||(i.inspectSource=function(e){return o(e)}),e.exports=i.inspectSource},3326:(e,t,n)=>{var s,r,i,o=n(5278),a=n(8576),c=n(5744),u=n(8711),l=n(4500),p=n(6434),h=n(9766),m=n(4535),d="Object already initialized",g=a.TypeError,f=a.WeakMap;if(o||p.state){var b=p.state||(p.state=new f);b.get=b.get,b.has=b.has,b.set=b.set,s=function(e,t){if(b.has(e))throw g(d);return t.facade=e,b.set(e,t),t},r=function(e){return b.get(e)||{}},i=function(e){return b.has(e)}}else{var y=h("state");m[y]=!0,s=function(e,t){if(l(e,y))throw g(d);return t.facade=e,u(e,y,t),t},r=function(e){return l(e,y)?e[y]:{}},i=function(e){return l(e,y)}}e.exports={set:s,get:r,has:i,enforce:function(e){return i(e)?r(e):s(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=r(t)).type!==e)throw g("Incompatible receiver, "+e+" required");return n}}}},4770:(e,t,n)=>{var s=n(9272);e.exports=Array.isArray||function(e){return"Array"==s(e)}},6447:(e,t,n)=>{var s=n(8382),r=s.all;e.exports=s.IS_HTMLDDA?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}},2091:(e,t,n)=>{var s=n(4120),r=n(6192),i=n(6447),o=n(4696),a=n(150),c=n(9516),u=function(){},l=[],p=a("Reflect","construct"),h=/^\s*(?:class|function)\b/,m=s(h.exec),d=!h.exec(u),g=function(e){if(!i(e))return!1;try{return p(u,l,e),!0}catch(e){return!1}},f=function(e){if(!i(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!m(h,c(e))}catch(e){return!0}};f.sham=!0,e.exports=!p||r((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?f:g},9245:(e,t,n)=>{var s=n(6192),r=n(6447),i=/#|\.prototype\./,o=function(e,t){var n=c[a(e)];return n==l||n!=u&&(r(t)?s(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},5646:e=>{e.exports=function(e){return null==e}},5744:(e,t,n)=>{var s=n(6447),r=n(8382),i=r.all;e.exports=r.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:s(e)||e===i}:function(e){return"object"==typeof e?null!==e:s(e)}},5546:e=>{e.exports=!0},3236:(e,t,n)=>{var s=n(150),r=n(6447),i=n(8902),o=n(615),a=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=s("Symbol");return r(t)&&i(t.prototype,a(e))}},5695:(e,t,n)=>{"use strict";var s=n(4413).IteratorPrototype,r=n(2853),i=n(774),o=n(1284),a=n(7771),c=function(){return this};e.exports=function(e,t,n,u){var l=t+" Iterator";return e.prototype=r(s,{next:i(+!u,n)}),o(e,l,!1,!0),a[l]=c,e}},5297:(e,t,n)=>{"use strict";var s=n(3085),r=n(8922),i=n(5546),o=n(2282),a=n(6447),c=n(5695),u=n(9341),l=n(4469),p=n(1284),h=n(8711),m=n(9362),d=n(8182),g=n(7771),f=n(4413),b=o.PROPER,y=o.CONFIGURABLE,v=f.IteratorPrototype,_=f.BUGGY_SAFARI_ITERATORS,S=d("iterator"),j="keys",w="values",E="entries",O=function(){return this};e.exports=function(e,t,n,o,d,f,x){c(n,t,o);var P,B,$,A=function(e){if(e===d&&N)return N;if(!_&&e in k)return k[e];switch(e){case j:case w:case E:return function(){return new n(this,e)}}return function(){return new n(this)}},M=t+" Iterator",q=!1,k=e.prototype,C=k[S]||k["@@iterator"]||d&&k[d],N=!_&&C||A(d),I="Array"==t&&k.entries||C;if(I&&(P=u(I.call(new e)))!==Object.prototype&&P.next&&(i||u(P)===v||(l?l(P,v):a(P[S])||m(P,S,O)),p(P,M,!0,!0),i&&(g[M]=O)),b&&d==w&&C&&C.name!==w&&(!i&&y?h(k,"name",w):(q=!0,N=function(){return r(C,this)})),d)if(B={values:A(w),keys:f?N:A(j),entries:A(E)},x)for($ in B)(_||q||!($ in k))&&m(k,$,B[$]);else s({target:t,proto:!0,forced:_||q},B);return i&&!x||k[S]===N||m(k,S,N,{name:d}),g[t]=N,B}},4413:(e,t,n)=>{"use strict";var s,r,i,o=n(6192),a=n(6447),c=n(5744),u=n(2853),l=n(9341),p=n(9362),h=n(8182),m=n(5546),d=h("iterator"),g=!1;[].keys&&("next"in(i=[].keys())?(r=l(l(i)))!==Object.prototype&&(s=r):g=!0),!c(s)||o((function(){var e={};return s[d].call(e)!==e}))?s={}:m&&(s=u(s)),a(s[d])||p(s,d,(function(){return this})),e.exports={IteratorPrototype:s,BUGGY_SAFARI_ITERATORS:g}},7771:e=>{e.exports={}},4104:(e,t,n)=>{var s=n(8445);e.exports=function(e){return s(e.length)}},7679:e=>{var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var s=+e;return(s>0?n:t)(s)}},2853:(e,t,n)=>{var s,r=n(1138),i=n(1187),o=n(2952),a=n(4535),c=n(7403),u=n(7449),l=n(9766),p="prototype",h="script",m=l("IE_PROTO"),d=function(){},g=function(e){return"<"+h+">"+e+"</"+h+">"},f=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){try{s=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;b="undefined"!=typeof document?document.domain&&s?f(s):(t=u("iframe"),n="java"+h+":",t.style.display="none",c.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(g("document.F=Object")),e.close(),e.F):f(s);for(var r=o.length;r--;)delete b[p][o[r]];return b()};a[m]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(d[p]=r(e),n=new d,d[p]=null,n[m]=e):n=b(),void 0===t?n:i.f(n,t)}},1187:(e,t,n)=>{var s=n(69),r=n(9600),i=n(2760),o=n(1138),a=n(101),c=n(7653);t.f=s&&!r?Object.defineProperties:function(e,t){o(e);for(var n,s=a(t),r=c(t),u=r.length,l=0;u>l;)i.f(e,n=r[l++],s[n]);return e}},2760:(e,t,n)=>{var s=n(69),r=n(188),i=n(9600),o=n(1138),a=n(77),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,p="enumerable",h="configurable",m="writable";t.f=s?i?function(e,t,n){if(o(e),t=a(t),o(n),"function"==typeof e&&"prototype"===t&&"value"in n&&m in n&&!n[m]){var s=l(e,t);s&&s[m]&&(e[t]=n.value,n={configurable:h in n?n[h]:s[h],enumerable:p in n?n[p]:s[p],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(o(e),t=a(t),o(n),r)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},5141:(e,t,n)=>{var s=n(69),r=n(8922),i=n(6007),o=n(774),a=n(101),c=n(77),u=n(4500),l=n(188),p=Object.getOwnPropertyDescriptor;t.f=s?p:function(e,t){if(e=a(e),t=c(t),l)try{return p(e,t)}catch(e){}if(u(e,t))return o(!r(i.f,e,t),e[t])}},4052:(e,t,n)=>{var s=n(9272),r=n(101),i=n(2092).f,o=n(1923),a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"Window"==s(e)?function(e){try{return i(e)}catch(e){return o(a)}}(e):i(r(e))}},2092:(e,t,n)=>{var s=n(7934),r=n(2952).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return s(e,r)}},4750:(e,t)=>{t.f=Object.getOwnPropertySymbols},9341:(e,t,n)=>{var s=n(4500),r=n(6447),i=n(1795),o=n(9766),a=n(4635),c=o("IE_PROTO"),u=Object,l=u.prototype;e.exports=a?u.getPrototypeOf:function(e){var t=i(e);if(s(t,c))return t[c];var n=t.constructor;return r(n)&&t instanceof n?n.prototype:t instanceof u?l:null}},8902:(e,t,n)=>{var s=n(4120);e.exports=s({}.isPrototypeOf)},7934:(e,t,n)=>{var s=n(4120),r=n(4500),i=n(101),o=n(8180).indexOf,a=n(4535),c=s([].push);e.exports=function(e,t){var n,s=i(e),u=0,l=[];for(n in s)!r(a,n)&&r(s,n)&&c(l,n);for(;t.length>u;)r(s,n=t[u++])&&(~o(l,n)||c(l,n));return l}},7653:(e,t,n)=>{var s=n(7934),r=n(2952);e.exports=Object.keys||function(e){return s(e,r)}},6007:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,r=s&&!n.call({1:2},1);t.f=r?function(e){var t=s(this,e);return!!t&&t.enumerable}:n},4469:(e,t,n)=>{var s=n(6419),r=n(1138),i=n(7757);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=s(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,s){return r(n),i(s),t?e(n,s):n.__proto__=s,n}}():void 0)},158:(e,t,n)=>{"use strict";var s=n(3471),r=n(4696);e.exports=s?{}.toString:function(){return"[object "+r(this)+"]"}},380:(e,t,n)=>{var s=n(8922),r=n(6447),i=n(5744),o=TypeError;e.exports=function(e,t){var n,a;if("string"===t&&r(n=e.toString)&&!i(a=s(n,e)))return a;if(r(n=e.valueOf)&&!i(a=s(n,e)))return a;if("string"!==t&&r(n=e.toString)&&!i(a=s(n,e)))return a;throw o("Can't convert object to primitive value")}},7545:e=>{e.exports={}},3209:(e,t,n)=>{var s=n(5646),r=TypeError;e.exports=function(e){if(s(e))throw r("Can't call method on "+e);return e}},1284:(e,t,n)=>{var s=n(3471),r=n(2760).f,i=n(8711),o=n(4500),a=n(158),c=n(8182)("toStringTag");e.exports=function(e,t,n,u){if(e){var l=n?e:e.prototype;o(l,c)||r(l,c,{configurable:!0,value:t}),u&&!s&&i(l,"toString",a)}}},9766:(e,t,n)=>{var s=n(8717),r=n(2759),i=s("keys");e.exports=function(e){return i[e]||(i[e]=r(e))}},6434:(e,t,n)=>{var s=n(8576),r=n(5098),i="__core-js_shared__",o=s[i]||r(i,{});e.exports=o},8717:(e,t,n)=>{var s=n(5546),r=n(6434);(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.30.1",mode:s?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.1/LICENSE",source:"https://github.com/zloirock/core-js"})},863:(e,t,n)=>{var s=n(4120),r=n(1941),i=n(4845),o=n(3209),a=s("".charAt),c=s("".charCodeAt),u=s("".slice),l=function(e){return function(t,n){var s,l,p=i(o(t)),h=r(n),m=p.length;return h<0||h>=m?e?"":void 0:(s=c(p,h))<55296||s>56319||h+1===m||(l=c(p,h+1))<56320||l>57343?e?a(p,h):s:e?u(p,h,h+2):l-56320+(s-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},6770:(e,t,n)=>{var s=n(4218),r=n(6192);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&s&&s<41}))},3407:(e,t,n)=>{var s=n(8922),r=n(150),i=n(8182),o=n(9362);e.exports=function(){var e=r("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,a=i("toPrimitive");t&&!t[a]&&o(t,a,(function(e){return s(n,this)}),{arity:1})}},31:(e,t,n)=>{var s=n(6770);e.exports=s&&!!Symbol.for&&!!Symbol.keyFor},7739:(e,t,n)=>{var s=n(1941),r=Math.max,i=Math.min;e.exports=function(e,t){var n=s(e);return n<0?r(n+t,0):i(n,t)}},101:(e,t,n)=>{var s=n(2202),r=n(3209);e.exports=function(e){return s(r(e))}},1941:(e,t,n)=>{var s=n(7679);e.exports=function(e){var t=+e;return t!=t||0===t?0:s(t)}},8445:(e,t,n)=>{var s=n(1941),r=Math.min;e.exports=function(e){return e>0?r(s(e),9007199254740991):0}},1795:(e,t,n)=>{var s=n(3209),r=Object;e.exports=function(e){return r(s(e))}},7888:(e,t,n)=>{var s=n(8922),r=n(5744),i=n(3236),o=n(5037),a=n(380),c=n(8182),u=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!r(e)||i(e))return e;var n,c=o(e,l);if(c){if(void 0===t&&(t="default"),n=s(c,e,t),!r(n)||i(n))return n;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},77:(e,t,n)=>{var s=n(7888),r=n(3236);e.exports=function(e){var t=s(e,"string");return r(t)?t:t+""}},3471:(e,t,n)=>{var s={};s[n(8182)("toStringTag")]="z",e.exports="[object z]"===String(s)},4845:(e,t,n)=>{var s=n(4696),r=String;e.exports=function(e){if("Symbol"===s(e))throw TypeError("Cannot convert a Symbol value to a string");return r(e)}},9288:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},2759:(e,t,n)=>{var s=n(4120),r=0,i=Math.random(),o=s(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++r+i,36)}},615:(e,t,n)=>{var s=n(6770);e.exports=s&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},9600:(e,t,n)=>{var s=n(69),r=n(6192);e.exports=s&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5278:(e,t,n)=>{var s=n(8576),r=n(6447),i=s.WeakMap;e.exports=r(i)&&/native code/.test(String(i))},8332:(e,t,n)=>{var s=n(7545),r=n(4500),i=n(9207),o=n(2760).f;e.exports=function(e){var t=s.Symbol||(s.Symbol={});r(t,e)||o(t,e,{value:i.f(e)})}},9207:(e,t,n)=>{var s=n(8182);t.f=s},8182:(e,t,n)=>{var s=n(8576),r=n(8717),i=n(4500),o=n(2759),a=n(6770),c=n(615),u=s.Symbol,l=r("wks"),p=c?u.for||u:u&&u.withoutSetter||o;e.exports=function(e){return i(l,e)||(l[e]=a&&i(u,e)?u[e]:p("Symbol."+e)),l[e]}},9106:(e,t,n)=>{"use strict";var s=n(3085),r=n(6192),i=n(4770),o=n(5744),a=n(1795),c=n(4104),u=n(9425),l=n(9361),p=n(1321),h=n(242),m=n(8182),d=n(4218),g=m("isConcatSpreadable"),f=d>=51||!r((function(){var e=[];return e[g]=!1,e.concat()[0]!==e})),b=function(e){if(!o(e))return!1;var t=e[g];return void 0!==t?!!t:i(e)};s({target:"Array",proto:!0,arity:1,forced:!f||!h("concat")},{concat:function(e){var t,n,s,r,i,o=a(this),h=p(o,0),m=0;for(t=-1,s=arguments.length;t<s;t++)if(b(i=-1===t?o:arguments[t]))for(r=c(i),u(m+r),n=0;n<r;n++,m++)n in i&&l(h,m,i[n]);else u(m+1),l(h,m++,i);return h.length=m,h}})},2276:(e,t,n)=>{"use strict";var s=n(3085),r=n(4914),i=n(8180).indexOf,o=n(424),a=r([].indexOf),c=!!a&&1/a([1],1,-0)<0;s({target:"Array",proto:!0,forced:c||!o("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return c?a(this,e,t)||0:i(this,e,t)}})},8939:(e,t,n)=>{"use strict";var s=n(101),r=n(7423),i=n(7771),o=n(3326),a=n(2760).f,c=n(5297),u=n(7271),l=n(5546),p=n(69),h="Array Iterator",m=o.set,d=o.getterFor(h);e.exports=c(Array,"Array",(function(e,t){m(this,{type:h,target:s(e),index:0,kind:t})}),(function(){var e=d(this),t=e.target,n=e.kind,s=e.index++;return!t||s>=t.length?(e.target=void 0,u(void 0,!0)):u("keys"==n?s:"values"==n?t[s]:[s,t[s]],!1)}),"values");var g=i.Arguments=i.Array;if(r("keys"),r("values"),r("entries"),!l&&p&&"values"!==g.name)try{a(g,"name",{value:"values"})}catch(e){}},2432:()=>{},9704:(e,t,n)=>{var s=n(3085),r=n(150),i=n(6298),o=n(8922),a=n(4120),c=n(6192),u=n(6447),l=n(3236),p=n(3096),h=n(9202),m=n(6770),d=String,g=r("JSON","stringify"),f=a(/./.exec),b=a("".charAt),y=a("".charCodeAt),v=a("".replace),_=a(1..toString),S=/[\uD800-\uDFFF]/g,j=/^[\uD800-\uDBFF]$/,w=/^[\uDC00-\uDFFF]$/,E=!m||c((function(){var e=r("Symbol")();return"[null]"!=g([e])||"{}"!=g({a:e})||"{}"!=g(Object(e))})),O=c((function(){return'"\\udf06\\ud834"'!==g("\udf06\ud834")||'"\\udead"'!==g("\udead")})),x=function(e,t){var n=p(arguments),s=h(t);if(u(s)||void 0!==e&&!l(e))return n[1]=function(e,t){if(u(s)&&(t=o(s,this,d(e),t)),!l(t))return t},i(g,null,n)},P=function(e,t,n){var s=b(n,t-1),r=b(n,t+1);return f(j,e)&&!f(w,r)||f(w,e)&&!f(j,s)?"\\u"+_(y(e,0),16):e};g&&s({target:"JSON",stat:!0,arity:3,forced:E||O},{stringify:function(e,t,n){var s=p(arguments),r=i(E?x:g,null,s);return O&&"string"==typeof r?v(r,S,P):r}})},8671:(e,t,n)=>{var s=n(8576);n(1284)(s.JSON,"JSON",!0)},8556:()=>{},297:(e,t,n)=>{var s=n(3085),r=n(69),i=n(2760).f;s({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!r},{defineProperty:i})},7895:(e,t,n)=>{var s=n(3085),r=n(6770),i=n(6192),o=n(4750),a=n(1795);s({target:"Object",stat:!0,forced:!r||i((function(){o.f(1)}))},{getOwnPropertySymbols:function(e){var t=o.f;return t?t(a(e)):[]}})},2647:(e,t,n)=>{var s=n(3085),r=n(1795),i=n(7653);s({target:"Object",stat:!0,forced:n(6192)((function(){i(1)}))},{keys:function(e){return i(r(e))}})},6663:()=>{},1367:()=>{},5454:(e,t,n)=>{"use strict";var s=n(863).charAt,r=n(4845),i=n(3326),o=n(5297),a=n(7271),c="String Iterator",u=i.set,l=i.getterFor(c);o(String,"String",(function(e){u(this,{type:c,string:r(e),index:0})}),(function(){var e,t=l(this),n=t.string,r=t.index;return r>=n.length?a(void 0,!0):(e=s(n,r),t.index+=e.length,a(e,!1))}))},9781:(e,t,n)=>{n(8332)("asyncIterator")},9351:(e,t,n)=>{"use strict";var s=n(3085),r=n(8576),i=n(8922),o=n(4120),a=n(5546),c=n(69),u=n(6770),l=n(6192),p=n(4500),h=n(8902),m=n(1138),d=n(101),g=n(77),f=n(4845),b=n(774),y=n(2853),v=n(7653),_=n(2092),S=n(4052),j=n(4750),w=n(5141),E=n(2760),O=n(1187),x=n(6007),P=n(9362),B=n(2807),$=n(8717),A=n(9766),M=n(4535),q=n(2759),k=n(8182),C=n(9207),N=n(8332),I=n(3407),T=n(1284),F=n(3326),R=n(454).forEach,D=A("hidden"),V="Symbol",L="prototype",J=F.set,z=F.getterFor(V),U=Object[L],W=r.Symbol,G=W&&W[L],H=r.TypeError,K=r.QObject,Z=w.f,Q=E.f,X=S.f,Y=x.f,ee=o([].push),te=$("symbols"),ne=$("op-symbols"),se=$("wks"),re=!K||!K[L]||!K[L].findChild,ie=c&&l((function(){return 7!=y(Q({},"a",{get:function(){return Q(this,"a",{value:7}).a}})).a}))?function(e,t,n){var s=Z(U,t);s&&delete U[t],Q(e,t,n),s&&e!==U&&Q(U,t,s)}:Q,oe=function(e,t){var n=te[e]=y(G);return J(n,{type:V,tag:e,description:t}),c||(n.description=t),n},ae=function(e,t,n){e===U&&ae(ne,t,n),m(e);var s=g(t);return m(n),p(te,s)?(n.enumerable?(p(e,D)&&e[D][s]&&(e[D][s]=!1),n=y(n,{enumerable:b(0,!1)})):(p(e,D)||Q(e,D,b(1,{})),e[D][s]=!0),ie(e,s,n)):Q(e,s,n)},ce=function(e,t){m(e);var n=d(t),s=v(n).concat(he(n));return R(s,(function(t){c&&!i(ue,n,t)||ae(e,t,n[t])})),e},ue=function(e){var t=g(e),n=i(Y,this,t);return!(this===U&&p(te,t)&&!p(ne,t))&&(!(n||!p(this,t)||!p(te,t)||p(this,D)&&this[D][t])||n)},le=function(e,t){var n=d(e),s=g(t);if(n!==U||!p(te,s)||p(ne,s)){var r=Z(n,s);return!r||!p(te,s)||p(n,D)&&n[D][s]||(r.enumerable=!0),r}},pe=function(e){var t=X(d(e)),n=[];return R(t,(function(e){p(te,e)||p(M,e)||ee(n,e)})),n},he=function(e){var t=e===U,n=X(t?ne:d(e)),s=[];return R(n,(function(e){!p(te,e)||t&&!p(U,e)||ee(s,te[e])})),s};u||(P(G=(W=function(){if(h(G,this))throw H("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?f(arguments[0]):void 0,t=q(e),n=function(e){this===U&&i(n,ne,e),p(this,D)&&p(this[D],t)&&(this[D][t]=!1),ie(this,t,b(1,e))};return c&&re&&ie(U,t,{configurable:!0,set:n}),oe(t,e)})[L],"toString",(function(){return z(this).tag})),P(W,"withoutSetter",(function(e){return oe(q(e),e)})),x.f=ue,E.f=ae,O.f=ce,w.f=le,_.f=S.f=pe,j.f=he,C.f=function(e){return oe(k(e),e)},c&&(B(G,"description",{configurable:!0,get:function(){return z(this).description}}),a||P(U,"propertyIsEnumerable",ue,{unsafe:!0}))),s({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:W}),R(v(se),(function(e){N(e)})),s({target:V,stat:!0,forced:!u},{useSetter:function(){re=!0},useSimple:function(){re=!1}}),s({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(e,t){return void 0===t?y(e):ce(y(e),t)},defineProperty:ae,defineProperties:ce,getOwnPropertyDescriptor:le}),s({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:pe}),I(),T(W,V),M[D]=!0},492:()=>{},9148:(e,t,n)=>{var s=n(3085),r=n(150),i=n(4500),o=n(4845),a=n(8717),c=n(31),u=a("string-to-symbol-registry"),l=a("symbol-to-string-registry");s({target:"Symbol",stat:!0,forced:!c},{for:function(e){var t=o(e);if(i(u,t))return u[t];var n=r("Symbol")(t);return u[t]=n,l[n]=t,n}})},6681:(e,t,n)=>{n(8332)("hasInstance")},9594:(e,t,n)=>{n(8332)("isConcatSpreadable")},3665:(e,t,n)=>{n(8332)("iterator")},6187:(e,t,n)=>{n(9351),n(9148),n(5991),n(9704),n(7895)},5991:(e,t,n)=>{var s=n(3085),r=n(4500),i=n(3236),o=n(9288),a=n(8717),c=n(31),u=a("symbol-to-string-registry");s({target:"Symbol",stat:!0,forced:!c},{keyFor:function(e){if(!i(e))throw TypeError(o(e)+" is not a symbol");if(r(u,e))return u[e]}})},1250:(e,t,n)=>{n(8332)("matchAll")},9017:(e,t,n)=>{n(8332)("match")},9786:(e,t,n)=>{n(8332)("replace")},503:(e,t,n)=>{n(8332)("search")},6565:(e,t,n)=>{n(8332)("species")},9322:(e,t,n)=>{n(8332)("split")},3610:(e,t,n)=>{var s=n(8332),r=n(3407);s("toPrimitive"),r()},6886:(e,t,n)=>{var s=n(150),r=n(8332),i=n(1284);r("toStringTag"),i(s("Symbol"),"Symbol")},3514:(e,t,n)=>{n(8332)("unscopables")},177:(e,t,n)=>{n(8332)("asyncDispose")},9031:(e,t,n)=>{n(8332)("dispose")},2725:(e,t,n)=>{var s=n(3085),r=n(150),i=n(4120),o=r("Symbol"),a=o.keyFor,c=i(o.prototype.valueOf);s({target:"Symbol",stat:!0},{isRegistered:function(e){try{return void 0!==a(c(e))}catch(e){return!1}}})},1806:(e,t,n)=>{for(var s=n(3085),r=n(8717),i=n(150),o=n(4120),a=n(3236),c=n(8182),u=i("Symbol"),l=u.isWellKnown,p=i("Object","getOwnPropertyNames"),h=o(u.prototype.valueOf),m=r("wks"),d=0,g=p(u),f=g.length;d<f;d++)try{var b=g[d];a(u[b])&&c(b)}catch(e){}s({target:"Symbol",stat:!0,forced:!0},{isWellKnown:function(e){if(l&&l(e))return!0;try{for(var t=h(e),n=0,s=p(m),r=s.length;n<r;n++)if(m[s[n]]==t)return!0}catch(e){}return!1}})},6658:(e,t,n)=>{n(8332)("matcher")},4212:(e,t,n)=>{n(8332)("metadataKey")},1875:(e,t,n)=>{n(8332)("metadata")},8658:(e,t,n)=>{n(8332)("observable")},4592:(e,t,n)=>{n(8332)("patternMatch")},6680:(e,t,n)=>{n(8332)("replaceAll")},162:(e,t,n)=>{n(8939);var s=n(7365),r=n(8576),i=n(4696),o=n(8711),a=n(7771),c=n(8182)("toStringTag");for(var u in s){var l=r[u],p=l&&l.prototype;p&&i(p)!==c&&o(p,c,u),a[u]=a.Array}},6174:(e,t,n)=>{var s=n(2604);e.exports=s},7820:(e,t,n)=>{var s=n(3512);e.exports=s},2:(e,t,n)=>{var s=n(2921);e.exports=s},5636:(e,t,n)=>{var s=n(8651);e.exports=s},2285:(e,t,n)=>{var s=n(5008);n(162),e.exports=s},8535:(e,t,n)=>{var s=n(994);n(162),e.exports=s},6042:(e,t,n)=>{var s=n(290);e.exports=s},9515:(e,t,n)=>{var s=n(8761)(n(7772),"DataView");e.exports=s},9612:(e,t,n)=>{var s=n(2118),r=n(6909),i=n(8138),o=n(4174),a=n(7942);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}c.prototype.clear=s,c.prototype.delete=r,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},235:(e,t,n)=>{var s=n(3945),r=n(1846),i=n(8028),o=n(2344),a=n(4769);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}c.prototype.clear=s,c.prototype.delete=r,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},326:(e,t,n)=>{var s=n(8761)(n(7772),"Map");e.exports=s},6738:(e,t,n)=>{var s=n(2411),r=n(6417),i=n(6928),o=n(9493),a=n(4150);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}c.prototype.clear=s,c.prototype.delete=r,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},1985:(e,t,n)=>{var s=n(8761)(n(7772),"Promise");e.exports=s},2143:(e,t,n)=>{var s=n(8761)(n(7772),"Set");e.exports=s},5386:(e,t,n)=>{var s=n(6738),r=n(2842),i=n(2482);function o(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new s;++t<n;)this.add(e[t])}o.prototype.add=o.prototype.push=r,o.prototype.has=i,e.exports=o},6571:(e,t,n)=>{var s=n(235),r=n(5243),i=n(2858),o=n(4417),a=n(8605),c=n(1418);function u(e){var t=this.__data__=new s(e);this.size=t.size}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=c,e.exports=u},857:(e,t,n)=>{var s=n(7772).Symbol;e.exports=s},9162:(e,t,n)=>{var s=n(7772).Uint8Array;e.exports=s},3215:(e,t,n)=>{var s=n(8761)(n(7772),"WeakMap");e.exports=s},7552:e=>{e.exports=function(e,t){for(var n=-1,s=null==e?0:e.length,r=0,i=[];++n<s;){var o=e[n];t(o,n,e)&&(i[r++]=o)}return i}},1634:(e,t,n)=>{var s=n(6473),r=n(9631),i=n(6152),o=n(3226),a=n(9045),c=n(7598),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),l=!n&&r(e),p=!n&&!l&&o(e),h=!n&&!l&&!p&&c(e),m=n||l||p||h,d=m?s(e.length,String):[],g=d.length;for(var f in e)!t&&!u.call(e,f)||m&&("length"==f||p&&("offset"==f||"parent"==f)||h&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||a(f,g))||d.push(f);return d}},5067:e=>{e.exports=function(e,t){for(var n=-1,s=t.length,r=e.length;++n<s;)e[r+n]=t[n];return e}},7064:e=>{e.exports=function(e,t){for(var n=-1,s=null==e?0:e.length;++n<s;)if(t(e[n],n,e))return!0;return!1}},2218:(e,t,n)=>{var s=n(1225);e.exports=function(e,t){for(var n=e.length;n--;)if(s(e[n][0],t))return n;return-1}},1897:(e,t,n)=>{var s=n(5067),r=n(6152);e.exports=function(e,t,n){var i=t(e);return r(e)?i:s(i,n(e))}},3366:(e,t,n)=>{var s=n(857),r=n(2107),i=n(7157),o=s?s.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?r(e):i(e)}},5183:(e,t,n)=>{var s=n(3366),r=n(5125);e.exports=function(e){return r(e)&&"[object Arguments]"==s(e)}},8746:(e,t,n)=>{var s=n(1952),r=n(5125);e.exports=function e(t,n,i,o,a){return t===n||(null==t||null==n||!r(t)&&!r(n)?t!=t&&n!=n:s(t,n,i,o,e,a))}},1952:(e,t,n)=>{var s=n(6571),r=n(4871),i=n(1491),o=n(7416),a=n(940),c=n(6152),u=n(3226),l=n(7598),p="[object Arguments]",h="[object Array]",m="[object Object]",d=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,g,f,b){var y=c(e),v=c(t),_=y?h:a(e),S=v?h:a(t),j=(_=_==p?m:_)==m,w=(S=S==p?m:S)==m,E=_==S;if(E&&u(e)){if(!u(t))return!1;y=!0,j=!1}if(E&&!j)return b||(b=new s),y||l(e)?r(e,t,n,g,f,b):i(e,t,_,n,g,f,b);if(!(1&n)){var O=j&&d.call(e,"__wrapped__"),x=w&&d.call(t,"__wrapped__");if(O||x){var P=O?e.value():e,B=x?t.value():t;return b||(b=new s),f(P,B,n,g,b)}}return!!E&&(b||(b=new s),o(e,t,n,g,f,b))}},6840:(e,t,n)=>{var s=n(1049),r=n(7394),i=n(9259),o=n(7035),a=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,p=u.hasOwnProperty,h=RegExp("^"+l.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||r(e))&&(s(e)?h:a).test(o(e))}},5522:(e,t,n)=>{var s=n(3366),r=n(1158),i=n(5125),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&r(e.length)&&!!o[s(e)]}},6411:(e,t,n)=>{var s=n(6001),r=n(4248),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!s(e))return r(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},6473:e=>{e.exports=function(e,t){for(var n=-1,s=Array(e);++n<e;)s[n]=t(n);return s}},7826:e=>{e.exports=function(e){return function(t){return e(t)}}},9950:e=>{e.exports=function(e,t){return e.has(t)}},4019:(e,t,n)=>{var s=n(7772)["__core-js_shared__"];e.exports=s},4871:(e,t,n)=>{var s=n(5386),r=n(7064),i=n(9950);e.exports=function(e,t,n,o,a,c){var u=1&n,l=e.length,p=t.length;if(l!=p&&!(u&&p>l))return!1;var h=c.get(e),m=c.get(t);if(h&&m)return h==t&&m==e;var d=-1,g=!0,f=2&n?new s:void 0;for(c.set(e,t),c.set(t,e);++d<l;){var b=e[d],y=t[d];if(o)var v=u?o(y,b,d,t,e,c):o(b,y,d,e,t,c);if(void 0!==v){if(v)continue;g=!1;break}if(f){if(!r(t,(function(e,t){if(!i(f,t)&&(b===e||a(b,e,n,o,c)))return f.push(t)}))){g=!1;break}}else if(b!==y&&!a(b,y,n,o,c)){g=!1;break}}return c.delete(e),c.delete(t),g}},1491:(e,t,n)=>{var s=n(857),r=n(9162),i=n(1225),o=n(4871),a=n(5179),c=n(4207),u=s?s.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,n,s,u,p,h){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!p(new r(e),new r(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var m=a;case"[object Set]":var d=1&s;if(m||(m=c),e.size!=t.size&&!d)return!1;var g=h.get(e);if(g)return g==t;s|=2,h.set(e,t);var f=o(m(e),m(t),s,u,p,h);return h.delete(e),f;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},7416:(e,t,n)=>{var s=n(3483),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,o,a){var c=1&n,u=s(e),l=u.length;if(l!=s(t).length&&!c)return!1;for(var p=l;p--;){var h=u[p];if(!(c?h in t:r.call(t,h)))return!1}var m=a.get(e),d=a.get(t);if(m&&d)return m==t&&d==e;var g=!0;a.set(e,t),a.set(t,e);for(var f=c;++p<l;){var b=e[h=u[p]],y=t[h];if(i)var v=c?i(y,b,h,t,e,a):i(b,y,h,e,t,a);if(!(void 0===v?b===y||o(b,y,n,i,a):v)){g=!1;break}f||(f="constructor"==h)}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 a.delete(e),a.delete(t),g}},1242:(e,t,n)=>{var s="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=s},3483:(e,t,n)=>{var s=n(1897),r=n(633),i=n(249);e.exports=function(e){return s(e,i,r)}},7937:(e,t,n)=>{var s=n(8304);e.exports=function(e,t){var n=e.__data__;return s(t)?n["string"==typeof t?"string":"hash"]:n.map}},8761:(e,t,n)=>{var s=n(6840),r=n(8109);e.exports=function(e,t){var n=r(e,t);return s(n)?n:void 0}},2107:(e,t,n)=>{var s=n(857),r=Object.prototype,i=r.hasOwnProperty,o=r.toString,a=s?s.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),n=e[a];try{e[a]=void 0;var s=!0}catch(e){}var r=o.call(e);return s&&(t?e[a]=n:delete e[a]),r}},633:(e,t,n)=>{var s=n(7552),r=n(981),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,a=o?function(e){return null==e?[]:(e=Object(e),s(o(e),(function(t){return i.call(e,t)})))}:r;e.exports=a},940:(e,t,n)=>{var s=n(9515),r=n(326),i=n(1985),o=n(2143),a=n(3215),c=n(3366),u=n(7035),l="[object Map]",p="[object Promise]",h="[object Set]",m="[object WeakMap]",d="[object DataView]",g=u(s),f=u(r),b=u(i),y=u(o),v=u(a),_=c;(s&&_(new s(new ArrayBuffer(1)))!=d||r&&_(new r)!=l||i&&_(i.resolve())!=p||o&&_(new o)!=h||a&&_(new a)!=m)&&(_=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,s=n?u(n):"";if(s)switch(s){case g:return d;case f:return l;case b:return p;case y:return h;case v:return m}return t}),e.exports=_},8109:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},2118:(e,t,n)=>{var s=n(9191);e.exports=function(){this.__data__=s?s(null):{},this.size=0}},6909:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},8138:(e,t,n)=>{var s=n(9191),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(s){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return r.call(t,e)?t[e]:void 0}},4174:(e,t,n)=>{var s=n(9191),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return s?void 0!==t[e]:r.call(t,e)}},7942:(e,t,n)=>{var s=n(9191);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=s&&void 0===t?"__lodash_hash_undefined__":t,this}},9045:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var s=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==s||"symbol"!=s&&t.test(e))&&e>-1&&e%1==0&&e<n}},8304:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},7394:(e,t,n)=>{var s,r=n(4019),i=(s=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+s:"";e.exports=function(e){return!!i&&i in e}},6001:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},3945:e=>{e.exports=function(){this.__data__=[],this.size=0}},1846:(e,t,n)=>{var s=n(2218),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=s(t,e);return!(n<0)&&(n==t.length-1?t.pop():r.call(t,n,1),--this.size,!0)}},8028:(e,t,n)=>{var s=n(2218);e.exports=function(e){var t=this.__data__,n=s(t,e);return n<0?void 0:t[n][1]}},2344:(e,t,n)=>{var s=n(2218);e.exports=function(e){return s(this.__data__,e)>-1}},4769:(e,t,n)=>{var s=n(2218);e.exports=function(e,t){var n=this.__data__,r=s(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},2411:(e,t,n)=>{var s=n(9612),r=n(235),i=n(326);e.exports=function(){this.size=0,this.__data__={hash:new s,map:new(i||r),string:new s}}},6417:(e,t,n)=>{var s=n(7937);e.exports=function(e){var t=s(this,e).delete(e);return this.size-=t?1:0,t}},6928:(e,t,n)=>{var s=n(7937);e.exports=function(e){return s(this,e).get(e)}},9493:(e,t,n)=>{var s=n(7937);e.exports=function(e){return s(this,e).has(e)}},4150:(e,t,n)=>{var s=n(7937);e.exports=function(e,t){var n=s(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},5179:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,s){n[++t]=[s,e]})),n}},9191:(e,t,n)=>{var s=n(8761)(Object,"create");e.exports=s},4248:(e,t,n)=>{var s=n(241)(Object.keys,Object);e.exports=s},4146:(e,t,n)=>{e=n.nmd(e);var s=n(1242),r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,o=i&&i.exports===r&&s.process,a=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a},7157:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},241:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},7772:(e,t,n)=>{var s=n(1242),r="object"==typeof self&&self&&self.Object===Object&&self,i=s||r||Function("return this")();e.exports=i},2842:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},2482:e=>{e.exports=function(e){return this.__data__.has(e)}},4207:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},5243:(e,t,n)=>{var s=n(235);e.exports=function(){this.__data__=new s,this.size=0}},2858:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},4417:e=>{e.exports=function(e){return this.__data__.get(e)}},8605:e=>{e.exports=function(e){return this.__data__.has(e)}},1418:(e,t,n)=>{var s=n(235),r=n(326),i=n(6738);e.exports=function(e,t){var n=this.__data__;if(n instanceof s){var o=n.__data__;if(!r||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(o)}return n.set(e,t),this.size=n.size,this}},7035:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},1225:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},9631:(e,t,n)=>{var s=n(5183),r=n(5125),i=Object.prototype,o=i.hasOwnProperty,a=i.propertyIsEnumerable,c=s(function(){return arguments}())?s:function(e){return r(e)&&o.call(e,"callee")&&!a.call(e,"callee")};e.exports=c},6152:e=>{var t=Array.isArray;e.exports=t},7878:(e,t,n)=>{var s=n(1049),r=n(1158);e.exports=function(e){return null!=e&&r(e.length)&&!s(e)}},4335:(e,t,n)=>{var s=n(3366),r=n(5125);e.exports=function(e){return!0===e||!1===e||r(e)&&"[object Boolean]"==s(e)}},3226:(e,t,n)=>{e=n.nmd(e);var s=n(7772),r=n(6330),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?s.Buffer:void 0,c=(a?a.isBuffer:void 0)||r;e.exports=c},8149:(e,t,n)=>{var s=n(8746);e.exports=function(e,t){return s(e,t)}},1049:(e,t,n)=>{var s=n(3366),r=n(9259);e.exports=function(e){if(!r(e))return!1;var t=s(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1158:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},5877:e=>{e.exports=function(e){return null===e}},537:(e,t,n)=>{var s=n(3366),r=n(5125);e.exports=function(e){return"number"==typeof e||r(e)&&"[object Number]"==s(e)}},9259:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},5125:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},5505:(e,t,n)=>{var s=n(3366),r=n(6152),i=n(5125);e.exports=function(e){return"string"==typeof e||!r(e)&&i(e)&&"[object String]"==s(e)}},7598:(e,t,n)=>{var s=n(5522),r=n(7826),i=n(4146),o=i&&i.isTypedArray,a=o?r(o):s;e.exports=a},249:(e,t,n)=>{var s=n(1634),r=n(6411),i=n(7878);e.exports=function(e){return i(e)?s(e):r(e)}},1570:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},981:e=>{e.exports=function(){return[]}},6330:e=>{e.exports=function(){return!1}},1178:(e,t,n)=>{const s=n(1570);function r(e){return"string"==typeof e?t=>t.element===e:e.constructor&&e.extend?t=>t instanceof e:e}class i{constructor(e){this.elements=e||[]}toValue(){return this.elements.map((e=>e.toValue()))}map(e,t){return this.elements.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const n=[];return this.forEach((s=>{const r=e.bind(t)(s);r&&n.push(r)})),n}filter(e,t){return e=r(e),new i(this.elements.filter(e,t))}reject(e,t){return e=r(e),new i(this.elements.filter(s(e),t))}find(e,t){return e=r(e),this.elements.find(e,t)}forEach(e,t){this.elements.forEach(e,t)}reduce(e,t){return this.elements.reduce(e,t)}includes(e){return this.elements.some((t=>t.equals(e)))}shift(){return this.elements.shift()}unshift(e){this.elements.unshift(this.refract(e))}push(e){return this.elements.push(this.refract(e)),this}add(e){this.push(e)}get(e){return this.elements[e]}getValue(e){const t=this.elements[e];if(t)return t.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(i.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),e.exports=i},3026:e=>{class t{constructor(e,t){this.key=e,this.value=t}clone(){const e=new t;return this.key&&(e.key=this.key.clone()),this.value&&(e.value=this.value.clone()),e}}e.exports=t},5140:(e,t,n)=>{const s=n(5877),r=n(5505),i=n(537),o=n(4335),a=n(9259),c=n(2947),u=n(3756);class l{constructor(e){this.elementMap={},this.elementDetection=[],this.Element=u.Element,this.KeyValuePair=u.KeyValuePair,e&&e.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(e){return e.namespace&&e.namespace({base:this}),e.load&&e.load({base:this}),this}useDefault(){return this.register("null",u.NullElement).register("string",u.StringElement).register("number",u.NumberElement).register("boolean",u.BooleanElement).register("array",u.ArrayElement).register("object",u.ObjectElement).register("member",u.MemberElement).register("ref",u.RefElement).register("link",u.LinkElement),this.detect(s,u.NullElement,!1).detect(r,u.StringElement,!1).detect(i,u.NumberElement,!1).detect(o,u.BooleanElement,!1).detect(Array.isArray,u.ArrayElement,!1).detect(a,u.ObjectElement,!1),this}register(e,t){return this._elements=void 0,this.elementMap[e]=t,this}unregister(e){return this._elements=void 0,delete this.elementMap[e],this}detect(e,t,n){return void 0===n||n?this.elementDetection.unshift([e,t]):this.elementDetection.push([e,t]),this}toElement(e){if(e instanceof this.Element)return e;let t;for(let n=0;n<this.elementDetection.length;n+=1){const s=this.elementDetection[n][0],r=this.elementDetection[n][1];if(s(e)){t=new r(e);break}}return t}getElementClass(e){const t=this.elementMap[e];return void 0===t?this.Element:t}fromRefract(e){return this.serialiser.deserialise(e)}toRefract(e){return this.serialiser.serialise(e)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((e=>{const t=e[0].toUpperCase()+e.substr(1);this._elements[t]=this.elementMap[e]}))),this._elements}get serialiser(){return new c(this)}}c.prototype.Namespace=l,e.exports=l},3853:(e,t,n)=>{const s=n(1570),r=n(1178);class i extends r{map(e,t){return this.elements.map((n=>e.bind(t)(n.value,n.key,n)))}filter(e,t){return new i(this.elements.filter((n=>e.bind(t)(n.value,n.key,n))))}reject(e,t){return this.filter(s(e.bind(t)))}forEach(e,t){return this.elements.forEach(((n,s)=>{e.bind(t)(n.value,n.key,n,s)}))}keys(){return this.map(((e,t)=>t.toValue()))}values(){return this.map((e=>e.toValue()))}}e.exports=i},3756:(e,t,n)=>{const s=n(6420),r=n(4152),i=n(9542),o=n(3710),a=n(3312),c=n(1641),u=n(8858),l=n(3860),p=n(5202),h=n(2320),m=n(1178),d=n(3853),g=n(3026);function f(e){if(e instanceof s)return e;if("string"==typeof e)return new i(e);if("number"==typeof e)return new o(e);if("boolean"==typeof e)return new a(e);if(null===e)return new r;if(Array.isArray(e))return new c(e.map(f));if("object"==typeof e){return new l(e)}return e}s.prototype.ObjectElement=l,s.prototype.RefElement=h,s.prototype.MemberElement=u,s.prototype.refract=f,m.prototype.refract=f,e.exports={Element:s,NullElement:r,StringElement:i,NumberElement:o,BooleanElement:a,ArrayElement:c,MemberElement:u,ObjectElement:l,LinkElement:p,RefElement:h,refract:f,ArraySlice:m,ObjectSlice:d,KeyValuePair:g}},5202:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e||[],t,n),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(e){this.attributes.set("relation",e)}get href(){return this.attributes.get("href")}set href(e){this.attributes.set("href",e)}}},2320:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e||[],t,n),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(e){this.attributes.set("path",e)}}},7952:(e,t,n)=>{const s=n(5140),r=n(3756);t.lS=s,n(3026),r.ArraySlice,r.ObjectSlice,t.W_=r.Element,t.RP=r.StringElement,t.VL=r.NumberElement,t.hh=r.BooleanElement,t.zr=r.NullElement,t.ON=r.ArrayElement,t.Sb=r.ObjectElement,t.c6=r.MemberElement,t.tK=r.RefElement,t.EA=r.LinkElement,t.Qc=r.refract,n(2947),n(8910)},1641:(e,t,n)=>{const s=n(1570),r=n(6420),i=n(1178);class o extends r{constructor(e,t,n){super(e||[],t,n),this.element="array"}primitive(){return"array"}get(e){return this.content[e]}getValue(e){const t=this.get(e);if(t)return t.toValue()}getIndex(e){return this.content[e]}set(e,t){return this.content[e]=this.refract(t),this}remove(e){const t=this.content.splice(e,1);return t.length?t[0]:null}map(e,t){return this.content.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const n=[];return this.forEach((s=>{const r=e.bind(t)(s);r&&n.push(r)})),n}filter(e,t){return new i(this.content.filter(e,t))}reject(e,t){return this.filter(s(e),t)}reduce(e,t){let n,s;void 0!==t?(n=0,s=this.refract(t)):(n=1,s="object"===this.primitive()?this.first.value:this.first);for(let t=n;t<this.length;t+=1){const n=this.content[t];s="object"===this.primitive()?this.refract(e(s,n.value,n.key,n,this)):this.refract(e(s,n,t,this))}return s}forEach(e,t){this.content.forEach(((n,s)=>{e.bind(t)(n,this.refract(s))}))}shift(){return this.content.shift()}unshift(e){this.content.unshift(this.refract(e))}push(e){return this.content.push(this.refract(e)),this}add(e){this.push(e)}findElements(e,t){const n=t||{},s=!!n.recursive,r=void 0===n.results?[]:n.results;return this.forEach(((t,n,i)=>{s&&void 0!==t.findElements&&t.findElements(e,{results:r,recursive:s}),e(t,n,i)&&r.push(t)})),r}find(e){return new i(this.findElements(e,{recursive:!0}))}findByElement(e){return this.find((t=>t.element===e))}findByClass(e){return this.find((t=>t.classes.includes(e)))}getById(e){return this.find((t=>t.id.toValue()===e)).first}includes(e){return this.content.some((t=>t.equals(e)))}contains(e){return this.includes(e)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(e){return new this.constructor(this.content.concat(e.content))}"fantasy-land/concat"(e){return this.concat(e)}"fantasy-land/map"(e){return new this.constructor(this.map(e))}"fantasy-land/chain"(e){return this.map((t=>e(t)),this).reduce(((e,t)=>e.concat(t)),this.empty())}"fantasy-land/filter"(e){return new this.constructor(this.content.filter(e))}"fantasy-land/reduce"(e,t){return this.content.reduce(e,t)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}o.empty=function(){return new this},o["fantasy-land/empty"]=o.empty,"undefined"!=typeof Symbol&&(o.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),e.exports=o},3312:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e,t,n),this.element="boolean"}primitive(){return"boolean"}}},6420:(e,t,n)=>{const s=n(8149),r=n(3026),i=n(1178);class o{constructor(e,t,n){t&&(this.meta=t),n&&(this.attributes=n),this.content=e}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach((e=>{e.parent=this,e.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const e=new this.constructor;return e.element=this.element,this.meta.length&&(e._meta=this.meta.clone()),this.attributes.length&&(e._attributes=this.attributes.clone()),this.content?this.content.clone?e.content=this.content.clone():Array.isArray(this.content)?e.content=this.content.map((e=>e.clone())):e.content=this.content:e.content=this.content,e}toValue(){return this.content instanceof o?this.content.toValue():this.content instanceof r?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((e=>e.toValue()),this):this.content}toRef(e){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const t=new this.RefElement(this.id.toValue());return e&&(t.path=e),t}findRecursive(...e){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const t=e.pop();let n=new i;const s=(e,t)=>(e.push(t),e),o=(e,n)=>{n.element===t&&e.push(n);const i=n.findRecursive(t);return i&&i.reduce(s,e),n.content instanceof r&&(n.content.key&&o(e,n.content.key),n.content.value&&o(e,n.content.value)),e};return this.content&&(this.content.element&&o(n,this.content),Array.isArray(this.content)&&this.content.reduce(o,n)),e.isEmpty||(n=n.filter((t=>{let n=t.parents.map((e=>e.element));for(const t in e){const s=e[t],r=n.indexOf(s);if(-1===r)return!1;n=n.splice(0,r)}return!0}))),n}set(e){return this.content=e,this}equals(e){return s(this.toValue(),e)}getMetaProperty(e,t){if(!this.meta.hasKey(e)){if(this.isFrozen){const e=this.refract(t);return e.freeze(),e}this.meta.set(e,t)}return this.meta.get(e)}setMetaProperty(e,t){this.meta.set(e,t)}get element(){return this._storedElement||"element"}set element(e){this._storedElement=e}get content(){return this._content}set content(e){if(e instanceof o)this._content=e;else if(e instanceof i)this.content=e.elements;else if("string"==typeof e||"number"==typeof e||"boolean"==typeof e||"null"===e||null==e)this._content=e;else if(e instanceof r)this._content=e;else if(Array.isArray(e))this._content=e.map(this.refract);else{if("object"!=typeof e)throw new Error("Cannot set content to given value");this._content=Object.keys(e).map((t=>new this.MemberElement(t,e[t])))}}get meta(){if(!this._meta){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._meta=new this.ObjectElement}return this._meta}set meta(e){e instanceof this.ObjectElement?this._meta=e:this.meta.set(e||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._attributes=new this.ObjectElement}return this._attributes}set attributes(e){e instanceof this.ObjectElement?this._attributes=e:this.attributes.set(e||{})}get id(){return this.getMetaProperty("id","")}set id(e){this.setMetaProperty("id",e)}get classes(){return this.getMetaProperty("classes",[])}set classes(e){this.setMetaProperty("classes",e)}get title(){return this.getMetaProperty("title","")}set title(e){this.setMetaProperty("title",e)}get description(){return this.getMetaProperty("description","")}set description(e){this.setMetaProperty("description",e)}get links(){return this.getMetaProperty("links",[])}set links(e){this.setMetaProperty("links",e)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:e}=this;const t=new i;for(;e;)t.push(e),e=e.parent;return t}get children(){if(Array.isArray(this.content))return new i(this.content);if(this.content instanceof r){const e=new i([this.content.key]);return this.content.value&&e.push(this.content.value),e}return this.content instanceof o?new i([this.content]):new i}get recursiveChildren(){const e=new i;return this.children.forEach((t=>{e.push(t),t.recursiveChildren.forEach((t=>{e.push(t)}))})),e}}e.exports=o},8858:(e,t,n)=>{const s=n(3026),r=n(6420);e.exports=class extends r{constructor(e,t,n,r){super(new s,n,r),this.element="member",this.key=e,this.value=t}get key(){return this.content.key}set key(e){this.content.key=this.refract(e)}get value(){return this.content.value}set value(e){this.content.value=this.refract(e)}}},4152:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e||null,t,n),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},3710:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e,t,n),this.element="number"}primitive(){return"number"}}},3860:(e,t,n)=>{const s=n(1570),r=n(9259),i=n(1641),o=n(8858),a=n(3853);e.exports=class extends i{constructor(e,t,n){super(e||[],t,n),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((e,t)=>(e[t.key.toValue()]=t.value?t.value.toValue():void 0,e)),{})}get(e){const t=this.getMember(e);if(t)return t.value}getMember(e){if(void 0!==e)return this.content.find((t=>t.key.toValue()===e))}remove(e){let t=null;return this.content=this.content.filter((n=>n.key.toValue()!==e||(t=n,!1))),t}getKey(e){const t=this.getMember(e);if(t)return t.key}set(e,t){if(r(e))return Object.keys(e).forEach((t=>{this.set(t,e[t])})),this;const n=e,s=this.getMember(n);return s?s.value=t:this.content.push(new o(n,t)),this}keys(){return this.content.map((e=>e.key.toValue()))}values(){return this.content.map((e=>e.value.toValue()))}hasKey(e){return this.content.some((t=>t.key.equals(e)))}items(){return this.content.map((e=>[e.key.toValue(),e.value.toValue()]))}map(e,t){return this.content.map((n=>e.bind(t)(n.value,n.key,n)))}compactMap(e,t){const n=[];return this.forEach(((s,r,i)=>{const o=e.bind(t)(s,r,i);o&&n.push(o)})),n}filter(e,t){return new a(this.content).filter(e,t)}reject(e,t){return this.filter(s(e),t)}forEach(e,t){return this.content.forEach((n=>e.bind(t)(n.value,n.key,n)))}}},9542:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e,t,n),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},8910:(e,t,n)=>{const s=n(2947);e.exports=class extends s{serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);let t;e._attributes&&e.attributes.get("variable")&&(t=e.attributes.get("variable"));const n={element:e.element};e._meta&&e._meta.length>0&&(n.meta=this.serialiseObject(e.meta));const s="enum"===e.element||-1!==e.attributes.keys().indexOf("enumerations");if(s){const t=this.enumSerialiseAttributes(e);t&&(n.attributes=t)}else if(e._attributes&&e._attributes.length>0){let{attributes:s}=e;s.get("metadata")&&(s=s.clone(),s.set("meta",s.get("metadata")),s.remove("metadata")),"member"===e.element&&t&&(s=s.clone(),s.remove("variable")),s.length>0&&(n.attributes=this.serialiseObject(s))}if(s)n.content=this.enumSerialiseContent(e,n);else if(this[`${e.element}SerialiseContent`])n.content=this[`${e.element}SerialiseContent`](e,n);else if(void 0!==e.content){let s;t&&e.content.key?(s=e.content.clone(),s.key.attributes.set("variable",t),s=this.serialiseContent(s)):s=this.serialiseContent(e.content),this.shouldSerialiseContent(e,s)&&(n.content=s)}else this.shouldSerialiseContent(e,e.content)&&e instanceof this.namespace.elements.Array&&(n.content=[]);return n}shouldSerialiseContent(e,t){return"parseResult"===e.element||"httpRequest"===e.element||"httpResponse"===e.element||"category"===e.element||"link"===e.element||void 0!==t&&(!Array.isArray(t)||0!==t.length)}refSerialiseContent(e,t){return delete t.attributes,{href:e.toValue(),path:e.path.toValue()}}sourceMapSerialiseContent(e){return e.toValue()}dataStructureSerialiseContent(e){return[this.serialiseContent(e.content)]}enumSerialiseAttributes(e){const t=e.attributes.clone(),n=t.remove("enumerations")||new this.namespace.elements.Array([]),s=t.get("default");let r=t.get("samples")||new this.namespace.elements.Array([]);if(s&&s.content&&(s.content.attributes&&s.content.attributes.remove("typeAttributes"),t.set("default",new this.namespace.elements.Array([s.content]))),r.forEach((e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")})),e.content&&0!==n.length&&r.unshift(e.content),r=r.map((e=>e instanceof this.namespace.elements.Array?[e]:new this.namespace.elements.Array([e.content]))),r.length&&t.set("samples",r),t.length>0)return this.serialiseObject(t)}enumSerialiseContent(e){if(e._attributes){const t=e.attributes.get("enumerations");if(t&&t.length>0)return t.content.map((e=>{const t=e.clone();return t.attributes.remove("typeAttributes"),this.serialise(t)}))}if(e.content){const t=e.content.clone();return t.attributes.remove("typeAttributes"),[this.serialise(t)]}return[]}deserialise(e){if("string"==typeof e)return new this.namespace.elements.String(e);if("number"==typeof e)return new this.namespace.elements.Number(e);if("boolean"==typeof e)return new this.namespace.elements.Boolean(e);if(null===e)return new this.namespace.elements.Null;if(Array.isArray(e))return new this.namespace.elements.Array(e.map(this.deserialise,this));const t=this.namespace.getElementClass(e.element),n=new t;n.element!==e.element&&(n.element=e.element),e.meta&&this.deserialiseObject(e.meta,n.meta),e.attributes&&this.deserialiseObject(e.attributes,n.attributes);const s=this.deserialiseContent(e.content);if(void 0===s&&null!==n.content||(n.content=s),"enum"===n.element){n.content&&n.attributes.set("enumerations",n.content);let e=n.attributes.get("samples");if(n.attributes.remove("samples"),e){const s=e;e=new this.namespace.elements.Array,s.forEach((s=>{s.forEach((s=>{const r=new t(s);r.element=n.element,e.push(r)}))}));const r=e.shift();n.content=r?r.content:void 0,n.attributes.set("samples",e)}else n.content=void 0;let s=n.attributes.get("default");if(s&&s.length>0){s=s.get(0);const e=new t(s);e.element=n.element,n.attributes.set("default",e)}}else if("dataStructure"===n.element&&Array.isArray(n.content))[n.content]=n.content;else if("category"===n.element){const e=n.attributes.get("meta");e&&(n.attributes.set("metadata",e),n.attributes.remove("meta"))}else"member"===n.element&&n.key&&n.key._attributes&&n.key._attributes.getValue("variable")&&(n.attributes.set("variable",n.key.attributes.get("variable")),n.key.attributes.remove("variable"));return n}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}return e&&e.map?e.map(this.serialise,this):e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}shouldRefract(e){return!!(e._attributes&&e.attributes.keys().length||e._meta&&e.meta.keys().length)||"enum"!==e.element&&(e.element!==e.primitive()||"member"===e.element)}convertKeyToRefract(e,t){return this.shouldRefract(t)?this.serialise(t):"enum"===t.element?this.serialiseEnum(t):"array"===t.element?t.map((t=>this.shouldRefract(t)||"default"===e?this.serialise(t):"array"===t.element||"object"===t.element||"enum"===t.element?t.children.map((e=>this.serialise(e))):t.toValue())):"object"===t.element?(t.content||[]).map(this.serialise,this):t.toValue()}serialiseEnum(e){return e.children.map((e=>this.serialise(e)))}serialiseObject(e){const t={};return e.forEach(((e,n)=>{if(e){const s=n.toValue();t[s]=this.convertKeyToRefract(s,e)}})),t}deserialiseObject(e,t){Object.keys(e).forEach((n=>{t.set(n,this.deserialise(e[n]))}))}}},2947:e=>{e.exports=class{constructor(e){this.namespace=e||new this.Namespace}serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);const t={element:e.element};e._meta&&e._meta.length>0&&(t.meta=this.serialiseObject(e.meta)),e._attributes&&e._attributes.length>0&&(t.attributes=this.serialiseObject(e.attributes));const n=this.serialiseContent(e.content);return void 0!==n&&(t.content=n),t}deserialise(e){if(!e.element)throw new Error("Given value is not an object containing an element name");const t=new(this.namespace.getElementClass(e.element));t.element!==e.element&&(t.element=e.element),e.meta&&this.deserialiseObject(e.meta,t.meta),e.attributes&&this.deserialiseObject(e.attributes,t.attributes);const n=this.deserialiseContent(e.content);return void 0===n&&null!==t.content||(t.content=n),t}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}if(e&&e.map){if(0===e.length)return;return e.map(this.serialise,this)}return e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}serialiseObject(e){const t={};if(e.forEach(((e,n)=>{e&&(t[n.toValue()]=this.serialise(e))})),0!==Object.keys(t).length)return t}deserialiseObject(e,t){Object.keys(e).forEach((n=>{t.set(n,this.deserialise(e[n]))}))}}},6591:e=>{!function(){"use strict";var t,n,s,r,i,o="properties",a="deepProperties",c="propertyDescriptors",u="staticProperties",l="staticDeepProperties",p="staticPropertyDescriptors",h="configuration",m="deepConfiguration",d="deepProps",g="deepStatics",f="deepConf",b="initializers",y="methods",v="composers",_="compose";function S(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[])}function j(e,t){return Array.prototype.slice.call(arguments,2).reduce(e,t)}var w=j.bind(0,(function(e,t){if(t)for(var n=S(t),s=0;s<n.length;s+=1)Object.defineProperty(e,n[s],Object.getOwnPropertyDescriptor(t,n[s]));return e}));function E(e){return"function"==typeof e}function O(e){return e&&"object"==typeof e||E(e)}function x(e){return e&&"object"==typeof e&&e.__proto__==Object.prototype}var P=j.bind(0,(function e(n,s){if(s===t)return n;if(Array.isArray(s))return(Array.isArray(n)?n:[]).concat(s);if(!x(s))return s;for(var r,i,o=S(s),a=0;a<o.length;)r=o[a++],(i=Object.getOwnPropertyDescriptor(s,r)).hasOwnProperty("value")?i.value!==t&&(n[r]=e(x(n[r])||Array.isArray(s[r])?n[r]:{},s[r])):Object.defineProperty(n,r,i);return n}));function B(){return(n=Array.prototype.concat.apply([],arguments).filter((function(e,t,n){return E(e)&&n.indexOf(e)===t}))).length?n:t}function $(e,t){function s(n,s){O(t[n])&&(O(e[n])||(e[n]={}),(s||w)(e[n],t[n]))}function r(s){(n=B(e[s],t[s]))&&(e[s]=n)}return t&&O(t=t[_]||t)&&(s(y),s(o),s(a,P),s(c),s(u),s(l,P),s(p),s(h),s(m,P),r(b),r(v)),e}function A(){return function(e){return n=function e(n){var s,r,i=e[_]||{},u={__proto__:i[y]},l=i[b],p=Array.prototype.slice.apply(arguments),h=i[a];if(h&&P(u,h),(h=i[o])&&w(u,h),(h=i[c])&&Object.defineProperties(u,h),!l||!l.length)return u;for(n===t&&(n={}),i=0;i<l.length;)E(s=l[i++])&&(u=(r=s.call(u,n,{instance:u,stamp:e,args:p}))===t?u:r);return u},(s=e[l])&&P(n,s),(s=e[u])&&w(n,s),(s=e[p])&&Object.defineProperties(n,s),s=E(n[_])?n[_]:A,w(n[_]=function(){return s.apply(this,arguments)},e),n}(Array.prototype.concat.apply([this],arguments).reduce($,{}))}function M(e){return E(e)&&E(e[_])}var q={};function k(e,i){return function(){return(r={})[e]=i.apply(t,Array.prototype.concat.apply([{}],arguments)),((n=this)&&n[_]||s).call(n,r)}}q[y]=k(y,w),q[o]=q.props=k(o,w),q[b]=q.init=k(b,B),q[v]=k(v,B),q[a]=q[d]=k(a,P),q[u]=q.statics=k(u,w),q[l]=q[g]=k(l,P),q[h]=q.conf=k(h,w),q[m]=q[f]=k(m,P),q[c]=k(c,w),q[p]=k(p,w),s=q[_]=w((function(){for(var e,S,j=0,E=[],x=arguments,$=this;j<x.length;)O(e=x[j++])&&E.push(M(e)?e:((r={})[y]=(S=e)[y]||t,s=S.props,r[o]=O((n=S[o])||s)?w({},s,n):t,r[b]=B(S.init,S[b]),r[v]=B(S[v]),s=S[d],r[a]=O((n=S[a])||s)?P({},s,n):t,r[c]=S[c],s=S.statics,r[u]=O((n=S[u])||s)?w({},s,n):t,s=S[g],r[l]=O((n=S[l])||s)?P({},s,n):t,n=S[p],r[p]=O((s=S.name&&{name:{value:S.name}})||n)?w({},n,s):t,s=S.conf,r[h]=O((n=S[h])||s)?w({},s,n):t,s=S[f],r[m]=O((n=S[m])||s)?P({},s,n):t,r));if(e=A.apply($||i,E),$&&E.unshift($),Array.isArray(x=e[_][v]))for(j=0;j<x.length;)e=M($=x[j++]({stamp:e,composables:E}))?$:e;return e}),q),q.create=function(){return this.apply(t,arguments)},(r={})[u]=q,i=A(r),s[_]=s.bind(),s.version="4.3.2","object"!=typeof t?e.exports=s:self.stampit=s}()},9794:(e,t,n)=>{var s=void 0!==s?s:{},r=function(){var t,r="object"==typeof window?{currentScript:window.document.currentScript}:null;class i{constructor(){this.initialize()}initialize(){throw new Error("cannot construct a Parser before calling `init()`")}static init(o){return t||(s=Object.assign({},s,o),t=new Promise((t=>{var o,a={};for(o in s)s.hasOwnProperty(o)&&(a[o]=s[o]);var c,u,l,p,h=[],m="./this.program",d=function(e,t){throw t};l="object"==typeof window,p="function"==typeof importScripts,c="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,u=!l&&!c&&!p;var g,f,b,y,v,_="";c?(_=p?n(6287).dirname(_)+"/":"//",g=function(e,t){return y||(y=n(5530)),v||(v=n(6287)),e=v.normalize(e),y.readFileSync(e,t?null:"utf8")},b=function(e){var t=g(e,!0);return t.buffer||(t=new Uint8Array(t)),k(t.buffer),t},process.argv.length>1&&(m=process.argv[1].replace(/\\/g,"/")),h=process.argv.slice(2),e.exports=s,d=function(e){process.exit(e)},s.inspect=function(){return"[Emscripten Module object]"}):u?("undefined"!=typeof read&&(g=function(e){return read(e)}),b=function(e){var t;return"function"==typeof readbuffer?new Uint8Array(readbuffer(e)):(k("object"==typeof(t=read(e,"binary"))),t)},"undefined"!=typeof scriptArgs?h=scriptArgs:void 0!==arguments&&(h=arguments),"function"==typeof quit&&(d=function(e){quit(e)}),"undefined"!=typeof print&&("undefined"==typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!=typeof printErr?printErr:print)):(l||p)&&(p?_=self.location.href:void 0!==r&&r.currentScript&&(_=r.currentScript.src),_=0!==_.indexOf("blob:")?_.substr(0,_.lastIndexOf("/")+1):"",g=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},p&&(b=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),f=function(e,t,n){var s=new XMLHttpRequest;s.open("GET",e,!0),s.responseType="arraybuffer",s.onload=function(){200==s.status||0==s.status&&s.response?t(s.response):n()},s.onerror=n,s.send(null)}),s.print||console.log.bind(console);var S=s.printErr||console.warn.bind(console);for(o in a)a.hasOwnProperty(o)&&(s[o]=a[o]);a=null,s.arguments&&(h=s.arguments),s.thisProgram&&(m=s.thisProgram),s.quit&&(d=s.quit);var j,w=16,E=[];function O(e,t){if(!j){j=new WeakMap;for(var n=0;n<Z.length;n++){var s=Z.get(n);s&&j.set(s,n)}}if(j.has(e))return j.get(e);var r=function(){if(E.length)return E.pop();try{Z.grow(1)}catch(e){if(!(e instanceof RangeError))throw e;throw"Unable to grow wasm table. Set ALLOW_TABLE_GROWTH."}return Z.length-1}();try{Z.set(r,e)}catch(n){if(!(n instanceof TypeError))throw n;var i=function(e,t){if("function"==typeof WebAssembly.Function){for(var n={i:"i32",j:"i64",f:"f32",d:"f64"},s={parameters:[],results:"v"==t[0]?[]:[n[t[0]]]},r=1;r<t.length;++r)s.parameters.push(n[t[r]]);return new WebAssembly.Function(s,e)}var i=[1,0,1,96],o=t.slice(0,1),a=t.slice(1),c={i:127,j:126,f:125,d:124};for(i.push(a.length),r=0;r<a.length;++r)i.push(c[a[r]]);"v"==o?i.push(0):i=i.concat([1,c[o]]),i[1]=i.length-2;var u=new Uint8Array([0,97,115,109,1,0,0,0].concat(i,[2,7,1,1,101,1,102,0,0,7,5,1,1,102,0,0])),l=new WebAssembly.Module(u);return new WebAssembly.Instance(l,{e:{f:e}}).exports.f}(e,t);Z.set(r,i)}return j.set(e,r),r}var x,P=s.dynamicLibraries||[];s.wasmBinary&&(x=s.wasmBinary);var B,$=s.noExitRuntime||!0;function A(e,t,n,s){switch("*"===(n=n||"i8").charAt(n.length-1)&&(n="i32"),n){case"i1":case"i8":N[e>>0]=t;break;case"i16":T[e>>1]=t;break;case"i32":F[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)],F[e>>2]=le[0],F[e+4>>2]=le[1];break;case"float":R[e>>2]=t;break;case"double":D[e>>3]=t;break;default:ae("invalid type for setValue: "+n)}}function M(e,t,n){switch("*"===(t=t||"i8").charAt(t.length-1)&&(t="i32"),t){case"i1":case"i8":return N[e>>0];case"i16":return T[e>>1];case"i32":case"i64":return F[e>>2];case"float":return R[e>>2];case"double":return D[e>>3];default:ae("invalid type for getValue: "+t)}return null}"object"!=typeof WebAssembly&&ae("no native wasm support detected");var q=!1;function k(e,t){e||ae("Assertion failed: "+t)}var C,N,I,T,F,R,D,V="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function L(e,t,n){for(var s=t+n,r=t;e[r]&&!(r>=s);)++r;if(r-t>16&&e.subarray&&V)return V.decode(e.subarray(t,r));for(var i="";t<r;){var o=e[t++];if(128&o){var a=63&e[t++];if(192!=(224&o)){var c=63&e[t++];if((o=224==(240&o)?(15&o)<<12|a<<6|c:(7&o)<<18|a<<12|c<<6|63&e[t++])<65536)i+=String.fromCharCode(o);else{var u=o-65536;i+=String.fromCharCode(55296|u>>10,56320|1023&u)}}else i+=String.fromCharCode((31&o)<<6|a)}else i+=String.fromCharCode(o)}return i}function J(e,t){return e?L(I,e,t):""}function z(e,t,n,s){if(!(s>0))return 0;for(var r=n,i=n+s-1,o=0;o<e.length;++o){var a=e.charCodeAt(o);if(a>=55296&&a<=57343&&(a=65536+((1023&a)<<10)|1023&e.charCodeAt(++o)),a<=127){if(n>=i)break;t[n++]=a}else if(a<=2047){if(n+1>=i)break;t[n++]=192|a>>6,t[n++]=128|63&a}else if(a<=65535){if(n+2>=i)break;t[n++]=224|a>>12,t[n++]=128|a>>6&63,t[n++]=128|63&a}else{if(n+3>=i)break;t[n++]=240|a>>18,t[n++]=128|a>>12&63,t[n++]=128|a>>6&63,t[n++]=128|63&a}}return t[n]=0,n-r}function U(e,t,n){return z(e,I,t,n)}function W(e){for(var t=0,n=0;n<e.length;++n){var s=e.charCodeAt(n);s>=55296&&s<=57343&&(s=65536+((1023&s)<<10)|1023&e.charCodeAt(++n)),s<=127?++t:t+=s<=2047?2:s<=65535?3:4}return t}function G(e){var t=W(e)+1,n=We(t);return z(e,N,n,t),n}function H(e){C=e,s.HEAP8=N=new Int8Array(e),s.HEAP16=T=new Int16Array(e),s.HEAP32=F=new Int32Array(e),s.HEAPU8=I=new Uint8Array(e),s.HEAPU16=new Uint16Array(e),s.HEAPU32=new Uint32Array(e),s.HEAPF32=R=new Float32Array(e),s.HEAPF64=D=new Float64Array(e)}var K=s.INITIAL_MEMORY||33554432;(B=s.wasmMemory?s.wasmMemory:new WebAssembly.Memory({initial:K/65536,maximum:32768}))&&(C=B.buffer),K=C.byteLength,H(C);var Z=new WebAssembly.Table({initial:20,element:"anyfunc"}),Q=[],X=[],Y=[],ee=[],te=!1,ne=0,se=null,re=null;function ie(e){ne++,s.monitorRunDependencies&&s.monitorRunDependencies(ne)}function oe(e){if(ne--,s.monitorRunDependencies&&s.monitorRunDependencies(ne),0==ne&&(null!==se&&(clearInterval(se),se=null),re)){var t=re;re=null,t()}}function ae(e){throw s.onAbort&&s.onAbort(e),S(e+=""),q=!0,e="abort("+e+"). Build with -s ASSERTIONS=1 for more info.",new WebAssembly.RuntimeError(e)}s.preloadedImages={},s.preloadedAudios={},s.preloadedWasm={};var ce,ue,le;function pe(e){return e.startsWith("data:application/octet-stream;base64,")}function he(e){return e.startsWith("file://")}function me(e){try{if(e==ce&&x)return new Uint8Array(x);if(b)return b(e);throw"both async and sync fetching of the wasm failed"}catch(e){ae(e)}}pe(ce="tree-sitter.wasm")||(ce=function(e){return s.locateFile?s.locateFile(e,_):_+e}(ce));var de={},ge={get:function(e,t){return de[t]||(de[t]=new WebAssembly.Global({value:"i32",mutable:!0})),de[t]}};function fe(e){for(;e.length>0;){var t=e.shift();if("function"!=typeof t){var n=t.func;"number"==typeof n?void 0===t.arg?Z.get(n)():Z.get(n)(t.arg):n(void 0===t.arg?null:t.arg)}else t(s)}}function be(e){var t=0;function n(){for(var n=0,s=1;;){var r=e[t++];if(n+=(127&r)*s,s*=128,!(128&r))break}return n}if(e instanceof WebAssembly.Module){var s=WebAssembly.Module.customSections(e,"dylink");k(0!=s.length,"need dylink section"),e=new Int8Array(s[0])}else k(1836278016==new Uint32Array(new Uint8Array(e.subarray(0,24)).buffer)[0],"need to see wasm magic number"),k(0===e[8],"need the dylink section to be first"),t=9,n(),k(6===e[t]),k(e[++t]==="d".charCodeAt(0)),k(e[++t]==="y".charCodeAt(0)),k(e[++t]==="l".charCodeAt(0)),k(e[++t]==="i".charCodeAt(0)),k(e[++t]==="n".charCodeAt(0)),k(e[++t]==="k".charCodeAt(0)),t++;var r={};r.memorySize=n(),r.memoryAlign=n(),r.tableSize=n(),r.tableAlign=n();var i=n();r.neededDynlibs=[];for(var o=0;o<i;++o){var a=n(),c=e.subarray(t,t+a);t+=a;var u=L(c,0);r.neededDynlibs.push(u)}return r}var ye=0;function ve(){return $||ye>0}function _e(e){return 0==e.indexOf("dynCall_")||["stackAlloc","stackSave","stackRestore"].includes(e)?e:"_"+e}function Se(e,t){for(var n in e)if(e.hasOwnProperty(n)){Ve.hasOwnProperty(n)||(Ve[n]=e[n]);var r=_e(n);s.hasOwnProperty(r)||(s[r]=e[n])}}var je={nextHandle:1,loadedLibs:{},loadedLibNames:{}};var we=5251072;function Ee(e){return["__cpp_exception","__wasm_apply_data_relocs","__dso_handle","__set_stack_limits"].includes(e)}function Oe(e,t){var n={};for(var s in e){var r=e[s];"object"==typeof r&&(r=r.value),"number"==typeof r&&(r+=t),n[s]=r}return function(e){for(var t in e)if(!Ee(t)){var n=!1,s=e[t];t.startsWith("orig$")&&(t=t.split("$")[1],n=!0),de[t]||(de[t]=new WebAssembly.Global({value:"i32",mutable:!0})),(n||0==de[t].value)&&("function"==typeof s?de[t].value=O(s):"number"==typeof s?de[t].value=s:S("unhandled export type for `"+t+"`: "+typeof s))}}(n),n}function xe(e,t){var n,r;return t&&(n=Ve["orig$"+e]),n||(n=Ve[e]),n||(n=s[_e(e)]),!n&&e.startsWith("invoke_")&&(r=e.split("_")[1],n=function(){var e=ze();try{return function(e,t,n){return e.includes("j")?function(e,t,n){var r=s["dynCall_"+e];return n&&n.length?r.apply(null,[t].concat(n)):r.call(null,t)}(e,t,n):Z.get(t).apply(null,n)}(r,arguments[0],Array.prototype.slice.call(arguments,1))}catch(t){if(Ue(e),t!==t+0&&"longjmp"!==t)throw t;Ge(1,0)}}),n}function Pe(e,t){var n=be(e);function s(){var s=Math.pow(2,n.memoryAlign);s=Math.max(s,w);var r,i,o,a=(r=function(e){if(te)return Le(e);var t=we,n=t+e+15&-16;return we=n,de.__heap_base.value=n,t}(n.memorySize+s),(i=s)||(i=w),Math.ceil(r/i)*i),c=Z.length;Z.grow(n.tableSize);for(var u=a;u<a+n.memorySize;u++)N[u]=0;for(u=c;u<c+n.tableSize;u++)Z.set(u,null);var l=new Proxy({},{get:function(e,t){switch(t){case"__memory_base":return a;case"__table_base":return c}return t in Ve?Ve[t]:(t in e||(e[t]=function(){return n||(n=function(e){var t=xe(e,!1);return t||(t=o[e]),t}(t)),n.apply(null,arguments)}),e[t]);var n}}),p={"GOT.mem":new Proxy({},ge),"GOT.func":new Proxy({},ge),env:l,wasi_snapshot_preview1:l};function h(e){for(var s=0;s<n.tableSize;s++){var r=Z.get(c+s);r&&j.set(r,c+s)}o=Oe(e.exports,a),t.allowUndefined||$e();var i=o.__wasm_call_ctors;return i||(i=o.__post_instantiate),i&&(te?i():X.push(i)),o}if(t.loadAsync){if(e instanceof WebAssembly.Module){var m=new WebAssembly.Instance(e,p);return Promise.resolve(h(m))}return WebAssembly.instantiate(e,p).then((function(e){return h(e.instance)}))}var d=e instanceof WebAssembly.Module?e:new WebAssembly.Module(e);return h(m=new WebAssembly.Instance(d,p))}return t.loadAsync?n.neededDynlibs.reduce((function(e,n){return e.then((function(){return Be(n,t)}))}),Promise.resolve()).then((function(){return s()})):(n.neededDynlibs.forEach((function(e){Be(e,t)})),s())}function Be(e,t){"__main__"!=e||je.loadedLibNames[e]||(je.loadedLibs[-1]={refcount:1/0,name:"__main__",module:s.asm,global:!0},je.loadedLibNames.__main__=-1),t=t||{global:!0,nodelete:!0};var n,r=je.loadedLibNames[e];if(r)return n=je.loadedLibs[r],t.global&&!n.global&&(n.global=!0,"loading"!==n.module&&Se(n.module)),t.nodelete&&n.refcount!==1/0&&(n.refcount=1/0),n.refcount++,t.loadAsync?Promise.resolve(r):r;function i(e){if(t.fs){var n=t.fs.readFile(e,{encoding:"binary"});return n instanceof Uint8Array||(n=new Uint8Array(n)),t.loadAsync?Promise.resolve(n):n}return t.loadAsync?(s=e,fetch(s,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load binary file at '"+s+"'";return e.arrayBuffer()})).then((function(e){return new Uint8Array(e)}))):b(e);var s}function o(){if(void 0!==s.preloadedWasm&&void 0!==s.preloadedWasm[e]){var n=s.preloadedWasm[e];return t.loadAsync?Promise.resolve(n):n}return t.loadAsync?i(e).then((function(e){return Pe(e,t)})):Pe(i(e),t)}function a(e){n.global&&Se(e),n.module=e}return r=je.nextHandle++,n={refcount:t.nodelete?1/0:1,name:e,module:"loading",global:t.global},je.loadedLibNames[e]=r,je.loadedLibs[r]=n,t.loadAsync?o().then((function(e){return a(e),r})):(a(o()),r)}function $e(){for(var e in de)if(0==de[e].value){var t=xe(e,!0);"function"==typeof t?de[e].value=O(t,t.sig):"number"==typeof t?de[e].value=t:k(!1,"bad export type for `"+e+"`: "+typeof t)}}s.___heap_base=we;var Ae,Me=new WebAssembly.Global({value:"i32",mutable:!0},5251072);function qe(){ae()}s._abort=qe,qe.sig="v",Ae=c?function(){var e=process.hrtime();return 1e3*e[0]+e[1]/1e6}:"undefined"!=typeof dateNow?dateNow:function(){return performance.now()};function ke(e,t){var n;if(0===e)n=Date.now();else{if(1!==e&&4!==e)return 28,F[Je()>>2]=28,-1;n=Ae()}return F[t>>2]=n/1e3|0,F[t+4>>2]=n%1e3*1e3*1e3|0,0}function Ce(e){try{return B.grow(e-C.byteLength+65535>>>16),H(B.buffer),1}catch(e){}}function Ne(e){Qe(e)}ke.sig="iii",Ne.sig="vi";var Ie={mappings:{},DEFAULT_POLLMASK:5,umask:511,calculateAt:function(e,t,n){if("/"===t[0])return t;var s;if(-100===e)s=FS.cwd();else{var r=FS.getStream(e);if(!r)throw new FS.ErrnoError(8);s=r.path}if(0==t.length){if(!n)throw new FS.ErrnoError(44);return s}return PATH.join2(s,t)},doStat:function(e,t,n){try{var s=e(t)}catch(e){if(e&&e.node&&PATH.normalize(t)!==PATH.normalize(FS.getPath(e.node)))return-54;throw e}return F[n>>2]=s.dev,F[n+4>>2]=0,F[n+8>>2]=s.ino,F[n+12>>2]=s.mode,F[n+16>>2]=s.nlink,F[n+20>>2]=s.uid,F[n+24>>2]=s.gid,F[n+28>>2]=s.rdev,F[n+32>>2]=0,le=[s.size>>>0,(ue=s.size,+Math.abs(ue)>=1?ue>0?(0|Math.min(+Math.floor(ue/4294967296),4294967295))>>>0:~~+Math.ceil((ue-+(~~ue>>>0))/4294967296)>>>0:0)],F[n+40>>2]=le[0],F[n+44>>2]=le[1],F[n+48>>2]=4096,F[n+52>>2]=s.blocks,F[n+56>>2]=s.atime.getTime()/1e3|0,F[n+60>>2]=0,F[n+64>>2]=s.mtime.getTime()/1e3|0,F[n+68>>2]=0,F[n+72>>2]=s.ctime.getTime()/1e3|0,F[n+76>>2]=0,le=[s.ino>>>0,(ue=s.ino,+Math.abs(ue)>=1?ue>0?(0|Math.min(+Math.floor(ue/4294967296),4294967295))>>>0:~~+Math.ceil((ue-+(~~ue>>>0))/4294967296)>>>0:0)],F[n+80>>2]=le[0],F[n+84>>2]=le[1],0},doMsync:function(e,t,n,s,r){var i=I.slice(e,e+n);FS.msync(t,i,r,n,s)},doMkdir:function(e,t){return"/"===(e=PATH.normalize(e))[e.length-1]&&(e=e.substr(0,e.length-1)),FS.mkdir(e,t,0),0},doMknod:function(e,t,n){switch(61440&t){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}return FS.mknod(e,t,n),0},doReadlink:function(e,t,n){if(n<=0)return-28;var s=FS.readlink(e),r=Math.min(n,W(s)),i=N[t+r];return U(s,t,n+1),N[t+r]=i,r},doAccess:function(e,t){if(-8&t)return-28;var n;if(!(n=FS.lookupPath(e,{follow:!0}).node))return-44;var s="";return 4&t&&(s+="r"),2&t&&(s+="w"),1&t&&(s+="x"),s&&FS.nodePermissions(n,s)?-2:0},doDup:function(e,t,n){var s=FS.getStream(n);return s&&FS.close(s),FS.open(e,t,0,n,n).fd},doReadv:function(e,t,n,s){for(var r=0,i=0;i<n;i++){var o=F[t+8*i>>2],a=F[t+(8*i+4)>>2],c=FS.read(e,N,o,a,s);if(c<0)return-1;if(r+=c,c<a)break}return r},doWritev:function(e,t,n,s){for(var r=0,i=0;i<n;i++){var o=F[t+8*i>>2],a=F[t+(8*i+4)>>2],c=FS.write(e,N,o,a,s);if(c<0)return-1;r+=c}return r},varargs:void 0,get:function(){return Ie.varargs+=4,F[Ie.varargs-4>>2]},getStr:function(e){return J(e)},getStreamFromFD:function(e){var t=FS.getStream(e);if(!t)throw new FS.ErrnoError(8);return t},get64:function(e,t){return e}};function Te(e){try{var t=Ie.getStreamFromFD(e);return FS.close(t),0}catch(e){return"undefined"!=typeof FS&&e instanceof FS.ErrnoError||ae(e),e.errno}}function Fe(e,t,n,s){try{var r=Ie.getStreamFromFD(e),i=Ie.doWritev(r,t,n);return F[s>>2]=i,0}catch(e){return"undefined"!=typeof FS&&e instanceof FS.ErrnoError||ae(e),e.errno}}function Re(e){}Te.sig="ii",Fe.sig="iiiii",Re.sig="vi";var De,Ve={__heap_base:we,__indirect_function_table:Z,__memory_base:1024,__stack_pointer:Me,__table_base:1,abort:qe,clock_gettime:ke,emscripten_memcpy_big:function(e,t,n){I.copyWithin(e,t,t+n)},emscripten_resize_heap:function(e){var t,n=I.length;if((e>>>=0)>2147483648)return!1;for(var s=1;s<=4;s*=2){var r=n*(1+.2/s);if(r=Math.min(r,e+100663296),Ce(Math.min(2147483648,((t=Math.max(e,r))%65536>0&&(t+=65536-t%65536),t))))return!0}return!1},exit:Ne,fd_close:Te,fd_seek:function(e,t,n,s,r){try{var i=Ie.getStreamFromFD(e),o=4294967296*n+(t>>>0);return o<=-9007199254740992||o>=9007199254740992?-61:(FS.llseek(i,o,s),le=[i.position>>>0,(ue=i.position,+Math.abs(ue)>=1?ue>0?(0|Math.min(+Math.floor(ue/4294967296),4294967295))>>>0:~~+Math.ceil((ue-+(~~ue>>>0))/4294967296)>>>0:0)],F[r>>2]=le[0],F[r+4>>2]=le[1],i.getdents&&0===o&&0===s&&(i.getdents=null),0)}catch(e){return"undefined"!=typeof FS&&e instanceof FS.ErrnoError||ae(e),e.errno}},fd_write:Fe,memory:B,setTempRet0:Re,tree_sitter_log_callback:function(e,t){if(ht){const n=J(t);ht(n,0!==e)}},tree_sitter_parse_callback:function(e,t,n,s,r){var i=pt(t,{row:n,column:s});"string"==typeof i?(A(r,i.length,"i32"),function(e,t,n){if(void 0===n&&(n=2147483647),n<2)return 0;for(var s=(n-=2)<2*e.length?n/2:e.length,r=0;r<s;++r){var i=e.charCodeAt(r);T[t>>1]=i,t+=2}T[t>>1]=0}(i,e,10240)):A(r,0,"i32")}},Le=(function(){var e={env:Ve,wasi_snapshot_preview1:Ve,"GOT.mem":new Proxy(Ve,ge),"GOT.func":new Proxy(Ve,ge)};function t(e,t){var n=e.exports;n=Oe(n,1024),s.asm=n;var r,i=be(t);i.neededDynlibs&&(P=i.neededDynlibs.concat(P)),Se(n),r=s.asm.__wasm_call_ctors,X.unshift(r),oe()}function n(e){t(e.instance,e.module)}function r(t){return function(){if(!x&&(l||p)){if("function"==typeof fetch&&!he(ce))return fetch(ce,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load wasm binary file at '"+ce+"'";return e.arrayBuffer()})).catch((function(){return me(ce)}));if(f)return new Promise((function(e,t){f(ce,(function(t){e(new Uint8Array(t))}),t)}))}return Promise.resolve().then((function(){return me(ce)}))}().then((function(t){return WebAssembly.instantiate(t,e)})).then(t,(function(e){S("failed to asynchronously prepare wasm: "+e),ae(e)}))}if(ie(),s.instantiateWasm)try{return s.instantiateWasm(e,t)}catch(e){return S("Module.instantiateWasm callback failed with error: "+e),!1}x||"function"!=typeof WebAssembly.instantiateStreaming||pe(ce)||he(ce)||"function"!=typeof fetch?r(n):fetch(ce,{credentials:"same-origin"}).then((function(t){return WebAssembly.instantiateStreaming(t,e).then(n,(function(e){return S("wasm streaming compile failed: "+e),S("falling back to ArrayBuffer instantiation"),r(n)}))}))}(),s.___wasm_call_ctors=function(){return(s.___wasm_call_ctors=s.asm.__wasm_call_ctors).apply(null,arguments)},s._malloc=function(){return(Le=s._malloc=s.asm.malloc).apply(null,arguments)}),Je=(s._calloc=function(){return(s._calloc=s.asm.calloc).apply(null,arguments)},s._realloc=function(){return(s._realloc=s.asm.realloc).apply(null,arguments)},s._free=function(){return(s._free=s.asm.free).apply(null,arguments)},s._ts_language_symbol_count=function(){return(s._ts_language_symbol_count=s.asm.ts_language_symbol_count).apply(null,arguments)},s._ts_language_version=function(){return(s._ts_language_version=s.asm.ts_language_version).apply(null,arguments)},s._ts_language_field_count=function(){return(s._ts_language_field_count=s.asm.ts_language_field_count).apply(null,arguments)},s._ts_language_symbol_name=function(){return(s._ts_language_symbol_name=s.asm.ts_language_symbol_name).apply(null,arguments)},s._ts_language_symbol_for_name=function(){return(s._ts_language_symbol_for_name=s.asm.ts_language_symbol_for_name).apply(null,arguments)},s._ts_language_symbol_type=function(){return(s._ts_language_symbol_type=s.asm.ts_language_symbol_type).apply(null,arguments)},s._ts_language_field_name_for_id=function(){return(s._ts_language_field_name_for_id=s.asm.ts_language_field_name_for_id).apply(null,arguments)},s._memcpy=function(){return(s._memcpy=s.asm.memcpy).apply(null,arguments)},s._ts_parser_delete=function(){return(s._ts_parser_delete=s.asm.ts_parser_delete).apply(null,arguments)},s._ts_parser_reset=function(){return(s._ts_parser_reset=s.asm.ts_parser_reset).apply(null,arguments)},s._ts_parser_set_language=function(){return(s._ts_parser_set_language=s.asm.ts_parser_set_language).apply(null,arguments)},s._ts_parser_timeout_micros=function(){return(s._ts_parser_timeout_micros=s.asm.ts_parser_timeout_micros).apply(null,arguments)},s._ts_parser_set_timeout_micros=function(){return(s._ts_parser_set_timeout_micros=s.asm.ts_parser_set_timeout_micros).apply(null,arguments)},s._memmove=function(){return(s._memmove=s.asm.memmove).apply(null,arguments)},s._memcmp=function(){return(s._memcmp=s.asm.memcmp).apply(null,arguments)},s._ts_query_new=function(){return(s._ts_query_new=s.asm.ts_query_new).apply(null,arguments)},s._ts_query_delete=function(){return(s._ts_query_delete=s.asm.ts_query_delete).apply(null,arguments)},s._iswspace=function(){return(s._iswspace=s.asm.iswspace).apply(null,arguments)},s._iswalnum=function(){return(s._iswalnum=s.asm.iswalnum).apply(null,arguments)},s._ts_query_pattern_count=function(){return(s._ts_query_pattern_count=s.asm.ts_query_pattern_count).apply(null,arguments)},s._ts_query_capture_count=function(){return(s._ts_query_capture_count=s.asm.ts_query_capture_count).apply(null,arguments)},s._ts_query_string_count=function(){return(s._ts_query_string_count=s.asm.ts_query_string_count).apply(null,arguments)},s._ts_query_capture_name_for_id=function(){return(s._ts_query_capture_name_for_id=s.asm.ts_query_capture_name_for_id).apply(null,arguments)},s._ts_query_string_value_for_id=function(){return(s._ts_query_string_value_for_id=s.asm.ts_query_string_value_for_id).apply(null,arguments)},s._ts_query_predicates_for_pattern=function(){return(s._ts_query_predicates_for_pattern=s.asm.ts_query_predicates_for_pattern).apply(null,arguments)},s._ts_tree_copy=function(){return(s._ts_tree_copy=s.asm.ts_tree_copy).apply(null,arguments)},s._ts_tree_delete=function(){return(s._ts_tree_delete=s.asm.ts_tree_delete).apply(null,arguments)},s._ts_init=function(){return(s._ts_init=s.asm.ts_init).apply(null,arguments)},s._ts_parser_new_wasm=function(){return(s._ts_parser_new_wasm=s.asm.ts_parser_new_wasm).apply(null,arguments)},s._ts_parser_enable_logger_wasm=function(){return(s._ts_parser_enable_logger_wasm=s.asm.ts_parser_enable_logger_wasm).apply(null,arguments)},s._ts_parser_parse_wasm=function(){return(s._ts_parser_parse_wasm=s.asm.ts_parser_parse_wasm).apply(null,arguments)},s._ts_language_type_is_named_wasm=function(){return(s._ts_language_type_is_named_wasm=s.asm.ts_language_type_is_named_wasm).apply(null,arguments)},s._ts_language_type_is_visible_wasm=function(){return(s._ts_language_type_is_visible_wasm=s.asm.ts_language_type_is_visible_wasm).apply(null,arguments)},s._ts_tree_root_node_wasm=function(){return(s._ts_tree_root_node_wasm=s.asm.ts_tree_root_node_wasm).apply(null,arguments)},s._ts_tree_edit_wasm=function(){return(s._ts_tree_edit_wasm=s.asm.ts_tree_edit_wasm).apply(null,arguments)},s._ts_tree_get_changed_ranges_wasm=function(){return(s._ts_tree_get_changed_ranges_wasm=s.asm.ts_tree_get_changed_ranges_wasm).apply(null,arguments)},s._ts_tree_cursor_new_wasm=function(){return(s._ts_tree_cursor_new_wasm=s.asm.ts_tree_cursor_new_wasm).apply(null,arguments)},s._ts_tree_cursor_delete_wasm=function(){return(s._ts_tree_cursor_delete_wasm=s.asm.ts_tree_cursor_delete_wasm).apply(null,arguments)},s._ts_tree_cursor_reset_wasm=function(){return(s._ts_tree_cursor_reset_wasm=s.asm.ts_tree_cursor_reset_wasm).apply(null,arguments)},s._ts_tree_cursor_goto_first_child_wasm=function(){return(s._ts_tree_cursor_goto_first_child_wasm=s.asm.ts_tree_cursor_goto_first_child_wasm).apply(null,arguments)},s._ts_tree_cursor_goto_next_sibling_wasm=function(){return(s._ts_tree_cursor_goto_next_sibling_wasm=s.asm.ts_tree_cursor_goto_next_sibling_wasm).apply(null,arguments)},s._ts_tree_cursor_goto_parent_wasm=function(){return(s._ts_tree_cursor_goto_parent_wasm=s.asm.ts_tree_cursor_goto_parent_wasm).apply(null,arguments)},s._ts_tree_cursor_current_node_type_id_wasm=function(){return(s._ts_tree_cursor_current_node_type_id_wasm=s.asm.ts_tree_cursor_current_node_type_id_wasm).apply(null,arguments)},s._ts_tree_cursor_current_node_is_named_wasm=function(){return(s._ts_tree_cursor_current_node_is_named_wasm=s.asm.ts_tree_cursor_current_node_is_named_wasm).apply(null,arguments)},s._ts_tree_cursor_current_node_is_missing_wasm=function(){return(s._ts_tree_cursor_current_node_is_missing_wasm=s.asm.ts_tree_cursor_current_node_is_missing_wasm).apply(null,arguments)},s._ts_tree_cursor_current_node_id_wasm=function(){return(s._ts_tree_cursor_current_node_id_wasm=s.asm.ts_tree_cursor_current_node_id_wasm).apply(null,arguments)},s._ts_tree_cursor_start_position_wasm=function(){return(s._ts_tree_cursor_start_position_wasm=s.asm.ts_tree_cursor_start_position_wasm).apply(null,arguments)},s._ts_tree_cursor_end_position_wasm=function(){return(s._ts_tree_cursor_end_position_wasm=s.asm.ts_tree_cursor_end_position_wasm).apply(null,arguments)},s._ts_tree_cursor_start_index_wasm=function(){return(s._ts_tree_cursor_start_index_wasm=s.asm.ts_tree_cursor_start_index_wasm).apply(null,arguments)},s._ts_tree_cursor_end_index_wasm=function(){return(s._ts_tree_cursor_end_index_wasm=s.asm.ts_tree_cursor_end_index_wasm).apply(null,arguments)},s._ts_tree_cursor_current_field_id_wasm=function(){return(s._ts_tree_cursor_current_field_id_wasm=s.asm.ts_tree_cursor_current_field_id_wasm).apply(null,arguments)},s._ts_tree_cursor_current_node_wasm=function(){return(s._ts_tree_cursor_current_node_wasm=s.asm.ts_tree_cursor_current_node_wasm).apply(null,arguments)},s._ts_node_symbol_wasm=function(){return(s._ts_node_symbol_wasm=s.asm.ts_node_symbol_wasm).apply(null,arguments)},s._ts_node_child_count_wasm=function(){return(s._ts_node_child_count_wasm=s.asm.ts_node_child_count_wasm).apply(null,arguments)},s._ts_node_named_child_count_wasm=function(){return(s._ts_node_named_child_count_wasm=s.asm.ts_node_named_child_count_wasm).apply(null,arguments)},s._ts_node_child_wasm=function(){return(s._ts_node_child_wasm=s.asm.ts_node_child_wasm).apply(null,arguments)},s._ts_node_named_child_wasm=function(){return(s._ts_node_named_child_wasm=s.asm.ts_node_named_child_wasm).apply(null,arguments)},s._ts_node_child_by_field_id_wasm=function(){return(s._ts_node_child_by_field_id_wasm=s.asm.ts_node_child_by_field_id_wasm).apply(null,arguments)},s._ts_node_next_sibling_wasm=function(){return(s._ts_node_next_sibling_wasm=s.asm.ts_node_next_sibling_wasm).apply(null,arguments)},s._ts_node_prev_sibling_wasm=function(){return(s._ts_node_prev_sibling_wasm=s.asm.ts_node_prev_sibling_wasm).apply(null,arguments)},s._ts_node_next_named_sibling_wasm=function(){return(s._ts_node_next_named_sibling_wasm=s.asm.ts_node_next_named_sibling_wasm).apply(null,arguments)},s._ts_node_prev_named_sibling_wasm=function(){return(s._ts_node_prev_named_sibling_wasm=s.asm.ts_node_prev_named_sibling_wasm).apply(null,arguments)},s._ts_node_parent_wasm=function(){return(s._ts_node_parent_wasm=s.asm.ts_node_parent_wasm).apply(null,arguments)},s._ts_node_descendant_for_index_wasm=function(){return(s._ts_node_descendant_for_index_wasm=s.asm.ts_node_descendant_for_index_wasm).apply(null,arguments)},s._ts_node_named_descendant_for_index_wasm=function(){return(s._ts_node_named_descendant_for_index_wasm=s.asm.ts_node_named_descendant_for_index_wasm).apply(null,arguments)},s._ts_node_descendant_for_position_wasm=function(){return(s._ts_node_descendant_for_position_wasm=s.asm.ts_node_descendant_for_position_wasm).apply(null,arguments)},s._ts_node_named_descendant_for_position_wasm=function(){return(s._ts_node_named_descendant_for_position_wasm=s.asm.ts_node_named_descendant_for_position_wasm).apply(null,arguments)},s._ts_node_start_point_wasm=function(){return(s._ts_node_start_point_wasm=s.asm.ts_node_start_point_wasm).apply(null,arguments)},s._ts_node_end_point_wasm=function(){return(s._ts_node_end_point_wasm=s.asm.ts_node_end_point_wasm).apply(null,arguments)},s._ts_node_start_index_wasm=function(){return(s._ts_node_start_index_wasm=s.asm.ts_node_start_index_wasm).apply(null,arguments)},s._ts_node_end_index_wasm=function(){return(s._ts_node_end_index_wasm=s.asm.ts_node_end_index_wasm).apply(null,arguments)},s._ts_node_to_string_wasm=function(){return(s._ts_node_to_string_wasm=s.asm.ts_node_to_string_wasm).apply(null,arguments)},s._ts_node_children_wasm=function(){return(s._ts_node_children_wasm=s.asm.ts_node_children_wasm).apply(null,arguments)},s._ts_node_named_children_wasm=function(){return(s._ts_node_named_children_wasm=s.asm.ts_node_named_children_wasm).apply(null,arguments)},s._ts_node_descendants_of_type_wasm=function(){return(s._ts_node_descendants_of_type_wasm=s.asm.ts_node_descendants_of_type_wasm).apply(null,arguments)},s._ts_node_is_named_wasm=function(){return(s._ts_node_is_named_wasm=s.asm.ts_node_is_named_wasm).apply(null,arguments)},s._ts_node_has_changes_wasm=function(){return(s._ts_node_has_changes_wasm=s.asm.ts_node_has_changes_wasm).apply(null,arguments)},s._ts_node_has_error_wasm=function(){return(s._ts_node_has_error_wasm=s.asm.ts_node_has_error_wasm).apply(null,arguments)},s._ts_node_is_missing_wasm=function(){return(s._ts_node_is_missing_wasm=s.asm.ts_node_is_missing_wasm).apply(null,arguments)},s._ts_query_matches_wasm=function(){return(s._ts_query_matches_wasm=s.asm.ts_query_matches_wasm).apply(null,arguments)},s._ts_query_captures_wasm=function(){return(s._ts_query_captures_wasm=s.asm.ts_query_captures_wasm).apply(null,arguments)},s._iswdigit=function(){return(s._iswdigit=s.asm.iswdigit).apply(null,arguments)},s._iswalpha=function(){return(s._iswalpha=s.asm.iswalpha).apply(null,arguments)},s._iswlower=function(){return(s._iswlower=s.asm.iswlower).apply(null,arguments)},s._towupper=function(){return(s._towupper=s.asm.towupper).apply(null,arguments)},s.___errno_location=function(){return(Je=s.___errno_location=s.asm.__errno_location).apply(null,arguments)}),ze=(s._memchr=function(){return(s._memchr=s.asm.memchr).apply(null,arguments)},s._strlen=function(){return(s._strlen=s.asm.strlen).apply(null,arguments)},s.stackSave=function(){return(ze=s.stackSave=s.asm.stackSave).apply(null,arguments)}),Ue=s.stackRestore=function(){return(Ue=s.stackRestore=s.asm.stackRestore).apply(null,arguments)},We=s.stackAlloc=function(){return(We=s.stackAlloc=s.asm.stackAlloc).apply(null,arguments)},Ge=s._setThrew=function(){return(Ge=s._setThrew=s.asm.setThrew).apply(null,arguments)};function He(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=function(){return(s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=s.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev).apply(null,arguments)},s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=function(){return(s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=s.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm).apply(null,arguments)},s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=function(){return(s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=s.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm).apply(null,arguments)},s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=function(){return(s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=s.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm).apply(null,arguments)},s.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=function(){return(s.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=s.asm._ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm).apply(null,arguments)},s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=function(){return(s.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=s.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc).apply(null,arguments)},s.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=function(){return(s.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=s.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev).apply(null,arguments)},s.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=function(){return(s.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=s.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw).apply(null,arguments)},s.__Znwm=function(){return(s.__Znwm=s.asm._Znwm).apply(null,arguments)},s.__ZdlPv=function(){return(s.__ZdlPv=s.asm._ZdlPv).apply(null,arguments)},s.dynCall_jiji=function(){return(s.dynCall_jiji=s.asm.dynCall_jiji).apply(null,arguments)},s._orig$ts_parser_timeout_micros=function(){return(s._orig$ts_parser_timeout_micros=s.asm.orig$ts_parser_timeout_micros).apply(null,arguments)},s._orig$ts_parser_set_timeout_micros=function(){return(s._orig$ts_parser_set_timeout_micros=s.asm.orig$ts_parser_set_timeout_micros).apply(null,arguments)},s.allocate=function(e,t){var n;return n=1==t?We(e.length):Le(e.length),e.subarray||e.slice?I.set(e,n):I.set(new Uint8Array(e),n),n},re=function e(){De||Ze(),De||(re=e)};var Ke=!1;function Ze(e){function t(){De||(De=!0,s.calledRun=!0,q||(te=!0,fe(X),fe(Y),s.onRuntimeInitialized&&s.onRuntimeInitialized(),Xe&&function(e){var t=s._main;if(t){var n=(e=e||[]).length+1,r=We(4*(n+1));F[r>>2]=G(m);for(var i=1;i<n;i++)F[(r>>2)+i]=G(e[i-1]);F[(r>>2)+n]=0;try{Qe(t(n,r),!0)}catch(e){if(e instanceof He)return;if("unwind"==e)return;var o=e;e&&"object"==typeof e&&e.stack&&(o=[e,e.stack]),S("exception thrown: "+o),d(1,e)}}}(e),function(){if(s.postRun)for("function"==typeof s.postRun&&(s.postRun=[s.postRun]);s.postRun.length;)e=s.postRun.shift(),ee.unshift(e);var e;fe(ee)}()))}e=e||h,ne>0||!Ke&&(function(){if(P.length){if(!b)return ie(),void P.reduce((function(e,t){return e.then((function(){return Be(t,{loadAsync:!0,global:!0,nodelete:!0,allowUndefined:!0})}))}),Promise.resolve()).then((function(){oe(),$e()}));P.forEach((function(e){Be(e,{global:!0,nodelete:!0,allowUndefined:!0})})),$e()}else $e()}(),Ke=!0,ne>0)||(function(){if(s.preRun)for("function"==typeof s.preRun&&(s.preRun=[s.preRun]);s.preRun.length;)e=s.preRun.shift(),Q.unshift(e);var e;fe(Q)}(),ne>0||(s.setStatus?(s.setStatus("Running..."),setTimeout((function(){setTimeout((function(){s.setStatus("")}),1),t()}),1)):t()))}function Qe(e,t){t&&ve()&&0===e||(ve()||(s.onExit&&s.onExit(e),q=!0),d(e,new He(e)))}if(s.run=Ze,s.preInit)for("function"==typeof s.preInit&&(s.preInit=[s.preInit]);s.preInit.length>0;)s.preInit.pop()();var Xe=!0;s.noInitialRun&&(Xe=!1),Ze();const Ye=s,et={},tt=4,nt=5*tt,st=2*tt,rt=2*tt+2*st,it={row:0,column:0},ot=/[\w-.]*/g,at=/^_?tree_sitter_\w+/;var ct,ut,lt,pt,ht;class mt{static init(){lt=Ye._ts_init(),ct=M(lt,"i32"),ut=M(lt+tt,"i32")}initialize(){Ye._ts_parser_new_wasm(),this[0]=M(lt,"i32"),this[1]=M(lt+tt,"i32")}delete(){Ye._ts_parser_delete(this[0]),Ye._free(this[1]),this[0]=0,this[1]=0}setLanguage(e){let t;if(e){if(e.constructor!==bt)throw new Error("Argument must be a Language");{t=e[0];const n=Ye._ts_language_version(t);if(n<ut||ct<n)throw new Error(`Incompatible language version ${n}. Compatibility range ${ut} through ${ct}.`)}}else t=0,e=null;return this.language=e,Ye._ts_parser_set_language(this[0],t),this}getLanguage(){return this.language}parse(e,t,n){if("string"==typeof e)pt=(t,n,s)=>e.slice(t,s);else{if("function"!=typeof e)throw new Error("Argument must be a string or a function");pt=e}this.logCallback?(ht=this.logCallback,Ye._ts_parser_enable_logger_wasm(this[0],1)):(ht=null,Ye._ts_parser_enable_logger_wasm(this[0],0));let s=0,r=0;if(n&&n.includedRanges){s=n.includedRanges.length;let e=r=Ye._calloc(s,rt);for(let t=0;t<s;t++)$t(e,n.includedRanges[t]),e+=rt}const i=Ye._ts_parser_parse_wasm(this[0],this[1],t?t[0]:0,r,s);if(!i)throw pt=null,ht=null,new Error("Parsing failed");const o=new dt(et,i,this.language,pt);return pt=null,ht=null,o}reset(){Ye._ts_parser_reset(this[0])}setTimeoutMicros(e){Ye._ts_parser_set_timeout_micros(this[0],e)}getTimeoutMicros(){return Ye._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 dt{constructor(e,t,n,s){St(e),this[0]=t,this.language=n,this.textCallback=s}copy(){const e=Ye._ts_tree_copy(this[0]);return new dt(et,e,this.language,this.textCallback)}delete(){Ye._ts_tree_delete(this[0]),this[0]=0}edit(e){!function(e){let t=lt;Pt(t,e.startPosition),Pt(t+=st,e.oldEndPosition),Pt(t+=st,e.newEndPosition),A(t+=st,e.startIndex,"i32"),A(t+=tt,e.oldEndIndex,"i32"),A(t+=tt,e.newEndIndex,"i32"),t+=tt}(e),Ye._ts_tree_edit_wasm(this[0])}get rootNode(){return Ye._ts_tree_root_node_wasm(this[0]),Et(this)}getLanguage(){return this.language}walk(){return this.rootNode.walk()}getChangedRanges(e){if(e.constructor!==dt)throw new TypeError("Argument must be a Tree");Ye._ts_tree_get_changed_ranges_wasm(this[0],e[0]);const t=M(lt,"i32"),n=M(lt+tt,"i32"),s=new Array(t);if(t>0){let e=n;for(let n=0;n<t;n++)s[n]=At(e),e+=rt;Ye._free(n)}return s}}class gt{constructor(e,t){St(e),this.tree=t}get typeId(){return wt(this),Ye._ts_node_symbol_wasm(this.tree[0])}get type(){return this.tree.language.types[this.typeId]||"ERROR"}get endPosition(){return wt(this),Ye._ts_node_end_point_wasm(this.tree[0]),Bt(lt)}get endIndex(){return wt(this),Ye._ts_node_end_index_wasm(this.tree[0])}get text(){return vt(this.tree,this.startIndex,this.endIndex)}isNamed(){return wt(this),1===Ye._ts_node_is_named_wasm(this.tree[0])}hasError(){return wt(this),1===Ye._ts_node_has_error_wasm(this.tree[0])}hasChanges(){return wt(this),1===Ye._ts_node_has_changes_wasm(this.tree[0])}isMissing(){return wt(this),1===Ye._ts_node_is_missing_wasm(this.tree[0])}equals(e){return this.id===e.id}child(e){return wt(this),Ye._ts_node_child_wasm(this.tree[0],e),Et(this.tree)}namedChild(e){return wt(this),Ye._ts_node_named_child_wasm(this.tree[0],e),Et(this.tree)}childForFieldId(e){return wt(this),Ye._ts_node_child_by_field_id_wasm(this.tree[0],e),Et(this.tree)}childForFieldName(e){const t=this.tree.language.fields.indexOf(e);if(-1!==t)return this.childForFieldId(t)}get childCount(){return wt(this),Ye._ts_node_child_count_wasm(this.tree[0])}get namedChildCount(){return wt(this),Ye._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){wt(this),Ye._ts_node_children_wasm(this.tree[0]);const e=M(lt,"i32"),t=M(lt+tt,"i32");if(this._children=new Array(e),e>0){let n=t;for(let t=0;t<e;t++)this._children[t]=Et(this.tree,n),n+=nt;Ye._free(t)}}return this._children}get namedChildren(){if(!this._namedChildren){wt(this),Ye._ts_node_named_children_wasm(this.tree[0]);const e=M(lt,"i32"),t=M(lt+tt,"i32");if(this._namedChildren=new Array(e),e>0){let n=t;for(let t=0;t<e;t++)this._namedChildren[t]=Et(this.tree,n),n+=nt;Ye._free(t)}}return this._namedChildren}descendantsOfType(e,t,n){Array.isArray(e)||(e=[e]),t||(t=it),n||(n=it);const s=[],r=this.tree.language.types;for(let t=0,n=r.length;t<n;t++)e.includes(r[t])&&s.push(t);const i=Ye._malloc(tt*s.length);for(let e=0,t=s.length;e<t;e++)A(i+e*tt,s[e],"i32");wt(this),Ye._ts_node_descendants_of_type_wasm(this.tree[0],i,s.length,t.row,t.column,n.row,n.column);const o=M(lt,"i32"),a=M(lt+tt,"i32"),c=new Array(o);if(o>0){let e=a;for(let t=0;t<o;t++)c[t]=Et(this.tree,e),e+=nt}return Ye._free(a),Ye._free(i),c}get nextSibling(){return wt(this),Ye._ts_node_next_sibling_wasm(this.tree[0]),Et(this.tree)}get previousSibling(){return wt(this),Ye._ts_node_prev_sibling_wasm(this.tree[0]),Et(this.tree)}get nextNamedSibling(){return wt(this),Ye._ts_node_next_named_sibling_wasm(this.tree[0]),Et(this.tree)}get previousNamedSibling(){return wt(this),Ye._ts_node_prev_named_sibling_wasm(this.tree[0]),Et(this.tree)}get parent(){return wt(this),Ye._ts_node_parent_wasm(this.tree[0]),Et(this.tree)}descendantForIndex(e,t=e){if("number"!=typeof e||"number"!=typeof t)throw new Error("Arguments must be numbers");wt(this);let n=lt+nt;return A(n,e,"i32"),A(n+tt,t,"i32"),Ye._ts_node_descendant_for_index_wasm(this.tree[0]),Et(this.tree)}namedDescendantForIndex(e,t=e){if("number"!=typeof e||"number"!=typeof t)throw new Error("Arguments must be numbers");wt(this);let n=lt+nt;return A(n,e,"i32"),A(n+tt,t,"i32"),Ye._ts_node_named_descendant_for_index_wasm(this.tree[0]),Et(this.tree)}descendantForPosition(e,t=e){if(!jt(e)||!jt(t))throw new Error("Arguments must be {row, column} objects");wt(this);let n=lt+nt;return Pt(n,e),Pt(n+st,t),Ye._ts_node_descendant_for_position_wasm(this.tree[0]),Et(this.tree)}namedDescendantForPosition(e,t=e){if(!jt(e)||!jt(t))throw new Error("Arguments must be {row, column} objects");wt(this);let n=lt+nt;return Pt(n,e),Pt(n+st,t),Ye._ts_node_named_descendant_for_position_wasm(this.tree[0]),Et(this.tree)}walk(){return wt(this),Ye._ts_tree_cursor_new_wasm(this.tree[0]),new ft(et,this.tree)}toString(){wt(this);const e=Ye._ts_node_to_string_wasm(this.tree[0]),t=function(e){for(var t="";;){var n=I[e++>>0];if(!n)return t;t+=String.fromCharCode(n)}}(e);return Ye._free(e),t}}class ft{constructor(e,t){St(e),this.tree=t,xt(this)}delete(){Ot(this),Ye._ts_tree_cursor_delete_wasm(this.tree[0]),this[0]=this[1]=this[2]=0}reset(e){wt(e),Ot(this,lt+nt),Ye._ts_tree_cursor_reset_wasm(this.tree[0]),xt(this)}get nodeType(){return this.tree.language.types[this.nodeTypeId]||"ERROR"}get nodeTypeId(){return Ot(this),Ye._ts_tree_cursor_current_node_type_id_wasm(this.tree[0])}get nodeId(){return Ot(this),Ye._ts_tree_cursor_current_node_id_wasm(this.tree[0])}get nodeIsNamed(){return Ot(this),1===Ye._ts_tree_cursor_current_node_is_named_wasm(this.tree[0])}get nodeIsMissing(){return Ot(this),1===Ye._ts_tree_cursor_current_node_is_missing_wasm(this.tree[0])}get nodeText(){Ot(this);const e=Ye._ts_tree_cursor_start_index_wasm(this.tree[0]),t=Ye._ts_tree_cursor_end_index_wasm(this.tree[0]);return vt(this.tree,e,t)}get startPosition(){return Ot(this),Ye._ts_tree_cursor_start_position_wasm(this.tree[0]),Bt(lt)}get endPosition(){return Ot(this),Ye._ts_tree_cursor_end_position_wasm(this.tree[0]),Bt(lt)}get startIndex(){return Ot(this),Ye._ts_tree_cursor_start_index_wasm(this.tree[0])}get endIndex(){return Ot(this),Ye._ts_tree_cursor_end_index_wasm(this.tree[0])}currentNode(){return Ot(this),Ye._ts_tree_cursor_current_node_wasm(this.tree[0]),Et(this.tree)}currentFieldId(){return Ot(this),Ye._ts_tree_cursor_current_field_id_wasm(this.tree[0])}currentFieldName(){return this.tree.language.fields[this.currentFieldId()]}gotoFirstChild(){Ot(this);const e=Ye._ts_tree_cursor_goto_first_child_wasm(this.tree[0]);return xt(this),1===e}gotoNextSibling(){Ot(this);const e=Ye._ts_tree_cursor_goto_next_sibling_wasm(this.tree[0]);return xt(this),1===e}gotoParent(){Ot(this);const e=Ye._ts_tree_cursor_goto_parent_wasm(this.tree[0]);return xt(this),1===e}}class bt{constructor(e,t){St(e),this[0]=t,this.types=new Array(Ye._ts_language_symbol_count(this[0]));for(let e=0,t=this.types.length;e<t;e++)Ye._ts_language_symbol_type(this[0],e)<2&&(this.types[e]=J(Ye._ts_language_symbol_name(this[0],e)));this.fields=new Array(Ye._ts_language_field_count(this[0])+1);for(let e=0,t=this.fields.length;e<t;e++){const t=Ye._ts_language_field_name_for_id(this[0],e);this.fields[e]=0!==t?J(t):null}}get version(){return Ye._ts_language_version(this[0])}get fieldCount(){return this.fields.length-1}fieldIdForName(e){const t=this.fields.indexOf(e);return-1!==t?t:null}fieldNameForId(e){return this.fields[e]||null}idForNodeType(e,t){const n=W(e),s=Ye._malloc(n+1);U(e,s,n+1);const r=Ye._ts_language_symbol_for_name(this[0],s,n,t);return Ye._free(s),r||null}get nodeTypeCount(){return Ye._ts_language_symbol_count(this[0])}nodeTypeForId(e){const t=Ye._ts_language_symbol_name(this[0],e);return t?J(t):null}nodeTypeIsNamed(e){return!!Ye._ts_language_type_is_named_wasm(this[0],e)}nodeTypeIsVisible(e){return!!Ye._ts_language_type_is_visible_wasm(this[0],e)}query(e){const t=W(e),n=Ye._malloc(t+1);U(e,n,t+1);const s=Ye._ts_query_new(this[0],n,t,lt,lt+tt);if(!s){const t=M(lt+tt,"i32"),s=J(n,M(lt,"i32")).length,r=e.substr(s,100).split("\n")[0];let i,o=r.match(ot)[0];switch(t){case 2:i=new RangeError(`Bad node name '${o}'`);break;case 3:i=new RangeError(`Bad field name '${o}'`);break;case 4:i=new RangeError(`Bad capture name @${o}`);break;case 5:i=new TypeError(`Bad pattern structure at offset ${s}: '${r}'...`),o="";break;default:i=new SyntaxError(`Bad syntax at offset ${s}: '${r}'...`),o=""}throw i.index=s,i.length=o.length,Ye._free(n),i}const r=Ye._ts_query_string_count(s),i=Ye._ts_query_capture_count(s),o=Ye._ts_query_pattern_count(s),a=new Array(i),c=new Array(r);for(let e=0;e<i;e++){const t=Ye._ts_query_capture_name_for_id(s,e,lt),n=M(lt,"i32");a[e]=J(t,n)}for(let e=0;e<r;e++){const t=Ye._ts_query_string_value_for_id(s,e,lt),n=M(lt,"i32");c[e]=J(t,n)}const u=new Array(o),l=new Array(o),p=new Array(o),h=new Array(o),m=new Array(o);for(let e=0;e<o;e++){const t=Ye._ts_query_predicates_for_pattern(s,e,lt),n=M(lt,"i32");h[e]=[],m[e]=[];const r=[];let i=t;for(let t=0;t<n;t++){const t=M(i,"i32"),n=M(i+=tt,"i32");if(i+=tt,1===t)r.push({type:"capture",name:a[n]});else if(2===t)r.push({type:"string",value:c[n]});else if(r.length>0){if("string"!==r[0].type)throw new Error("Predicates must begin with a literal value");const t=r[0].value;let n=!0;switch(t){case"not-eq?":n=!1;case"eq?":if(3!==r.length)throw new Error("Wrong number of arguments to `#eq?` predicate. Expected 2, got "+(r.length-1));if("capture"!==r[1].type)throw new Error(`First argument of \`#eq?\` predicate must be a capture. Got "${r[1].value}"`);if("capture"===r[2].type){const t=r[1].name,s=r[2].name;m[e].push((function(e){let r,i;for(const n of e)n.name===t&&(r=n.node),n.name===s&&(i=n.node);return void 0===r||void 0===i||r.text===i.text===n}))}else{const t=r[1].name,s=r[2].value;m[e].push((function(e){for(const r of e)if(r.name===t)return r.node.text===s===n;return!0}))}break;case"not-match?":n=!1;case"match?":if(3!==r.length)throw new Error(`Wrong number of arguments to \`#match?\` predicate. Expected 2, got ${r.length-1}.`);if("capture"!==r[1].type)throw new Error(`First argument of \`#match?\` predicate must be a capture. Got "${r[1].value}".`);if("string"!==r[2].type)throw new Error(`Second argument of \`#match?\` predicate must be a string. Got @${r[2].value}.`);const s=r[1].name,i=new RegExp(r[2].value);m[e].push((function(e){for(const t of e)if(t.name===s)return i.test(t.node.text)===n;return!0}));break;case"set!":if(r.length<2||r.length>3)throw new Error(`Wrong number of arguments to \`#set!\` predicate. Expected 1 or 2. Got ${r.length-1}.`);if(r.some((e=>"string"!==e.type)))throw new Error('Arguments to `#set!` predicate must be a strings.".');u[e]||(u[e]={}),u[e][r[1].value]=r[2]?r[2].value:null;break;case"is?":case"is-not?":if(r.length<2||r.length>3)throw new Error(`Wrong number of arguments to \`#${t}\` predicate. Expected 1 or 2. Got ${r.length-1}.`);if(r.some((e=>"string"!==e.type)))throw new Error(`Arguments to \`#${t}\` predicate must be a strings.".`);const o="is?"===t?l:p;o[e]||(o[e]={}),o[e][r[1].value]=r[2]?r[2].value:null;break;default:h[e].push({operator:t,operands:r.slice(1)})}r.length=0}}Object.freeze(u[e]),Object.freeze(l[e]),Object.freeze(p[e])}return Ye._free(n),new yt(et,s,a,m,h,Object.freeze(u),Object.freeze(l),Object.freeze(p))}static load(e){let t;if(e instanceof Uint8Array)t=Promise.resolve(e);else{const s=e;if("undefined"!=typeof process&&process.versions&&process.versions.node){const e=n(5530);t=Promise.resolve(e.readFileSync(s))}else t=fetch(s).then((e=>e.arrayBuffer().then((t=>{if(e.ok)return new Uint8Array(t);{const n=new TextDecoder("utf-8").decode(t);throw new Error(`Language.load failed with status ${e.status}.\n\n${n}`)}}))))}const s="function"==typeof loadSideModule?loadSideModule:Pe;return t.then((e=>s(e,{loadAsync:!0}))).then((e=>{const t=Object.keys(e),n=t.find((e=>at.test(e)&&!e.includes("external_scanner_")));n||console.log(`Couldn't find language function in WASM file. Symbols:\n${JSON.stringify(t,null,2)}`);const s=e[n]();return new bt(et,s)}))}}class yt{constructor(e,t,n,s,r,i,o,a){St(e),this[0]=t,this.captureNames=n,this.textPredicates=s,this.predicates=r,this.setProperties=i,this.assertedProperties=o,this.refutedProperties=a,this.exceededMatchLimit=!1}delete(){Ye._ts_query_delete(this[0]),this[0]=0}matches(e,t,n,s){t||(t=it),n||(n=it),s||(s={});let r=s.matchLimit;if(void 0===r)r=0;else if("number"!=typeof r)throw new Error("Arguments must be numbers");wt(e),Ye._ts_query_matches_wasm(this[0],e.tree[0],t.row,t.column,n.row,n.column,r);const i=M(lt,"i32"),o=M(lt+tt,"i32"),a=M(lt+2*tt,"i32"),c=new Array(i);this.exceededMatchLimit=!!a;let u=0,l=o;for(let t=0;t<i;t++){const n=M(l,"i32"),s=M(l+=tt,"i32");l+=tt;const r=new Array(s);if(l=_t(this,e.tree,l,r),this.textPredicates[n].every((e=>e(r)))){c[u++]={pattern:n,captures:r};const e=this.setProperties[n];e&&(c[t].setProperties=e);const s=this.assertedProperties[n];s&&(c[t].assertedProperties=s);const i=this.refutedProperties[n];i&&(c[t].refutedProperties=i)}}return c.length=u,Ye._free(o),c}captures(e,t,n,s){t||(t=it),n||(n=it),s||(s={});let r=s.matchLimit;if(void 0===r)r=0;else if("number"!=typeof r)throw new Error("Arguments must be numbers");wt(e),Ye._ts_query_captures_wasm(this[0],e.tree[0],t.row,t.column,n.row,n.column,r);const i=M(lt,"i32"),o=M(lt+tt,"i32"),a=M(lt+2*tt,"i32"),c=[];this.exceededMatchLimit=!!a;const u=[];let l=o;for(let t=0;t<i;t++){const t=M(l,"i32"),n=M(l+=tt,"i32"),s=M(l+=tt,"i32");if(l+=tt,u.length=n,l=_t(this,e.tree,l,u),this.textPredicates[t].every((e=>e(u)))){const e=u[s],n=this.setProperties[t];n&&(e.setProperties=n);const r=this.assertedProperties[t];r&&(e.assertedProperties=r);const i=this.refutedProperties[t];i&&(e.refutedProperties=i),c.push(e)}}return Ye._free(o),c}predicatesForPattern(e){return this.predicates[e]}didExceedMatchLimit(){return this.exceededMatchLimit}}function vt(e,t,n){const s=n-t;let r=e.textCallback(t,null,n);for(t+=r.length;t<n;){const s=e.textCallback(t,null,n);if(!(s&&s.length>0))break;t+=s.length,r+=s}return t>n&&(r=r.slice(0,s)),r}function _t(e,t,n,s){for(let r=0,i=s.length;r<i;r++){const i=M(n,"i32"),o=Et(t,n+=tt);n+=nt,s[r]={name:e.captureNames[i],node:o}}return n}function St(e){if(e!==et)throw new Error("Illegal constructor")}function jt(e){return e&&"number"==typeof e.row&&"number"==typeof e.column}function wt(e){let t=lt;A(t,e.id,"i32"),A(t+=tt,e.startIndex,"i32"),A(t+=tt,e.startPosition.row,"i32"),A(t+=tt,e.startPosition.column,"i32"),A(t+=tt,e[0],"i32")}function Et(e,t=lt){const n=M(t,"i32");if(0===n)return null;const s=M(t+=tt,"i32"),r=M(t+=tt,"i32"),i=M(t+=tt,"i32"),o=M(t+=tt,"i32"),a=new gt(et,e);return a.id=n,a.startIndex=s,a.startPosition={row:r,column:i},a[0]=o,a}function Ot(e,t=lt){A(t+0*tt,e[0],"i32"),A(t+1*tt,e[1],"i32"),A(t+2*tt,e[2],"i32")}function xt(e){e[0]=M(lt+0*tt,"i32"),e[1]=M(lt+1*tt,"i32"),e[2]=M(lt+2*tt,"i32")}function Pt(e,t){A(e,t.row,"i32"),A(e+tt,t.column,"i32")}function Bt(e){return{row:M(e,"i32"),column:M(e+tt,"i32")}}function $t(e,t){Pt(e,t.startPosition),Pt(e+=st,t.endPosition),A(e+=st,t.startIndex,"i32"),A(e+=tt,t.endIndex,"i32"),e+=tt}function At(e){const t={};return t.startPosition=Bt(e),e+=st,t.endPosition=Bt(e),e+=st,t.startIndex=M(e,"i32"),e+=tt,t.endIndex=M(e,"i32"),t}for(const e of Object.getOwnPropertyNames(mt.prototype))Object.defineProperty(i.prototype,e,{value:mt.prototype[e],enumerable:!1,writable:!1});i.Language=bt,s.onRuntimeInitialized=()=>{mt.init(),t()}})))}}return i}();e.exports=r},5530:()=>{},6287:()=>{},6405:(e,t,n)=>{e.exports=n(5159)},9800:(e,t,n)=>{e.exports=n(8026)},4463:(e,t,n)=>{e.exports=n(1903)},5575:(e,t,n)=>{e.exports=n(902)},7829:(e,t,n)=>{e.exports=n(9256)},2876:(e,t,n)=>{e.exports=n(5659)},2903:(e,t,n)=>{e.exports=n(3698)}},t={};function n(s){var r=t[s];if(void 0!==r)return r.exports;var i=t[s]={id:s,loaded:!1,exports:{}};return e[s](i,i.exports,n),i.loaded=!0,i.exports}n.d=(e,t)=>{for(var s in t)n.o(t,s)&&!n.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var s=t.getElementsByTagName("script");if(s.length)for(var r=s.length-1;r>-1&&!e;)e=s[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})();var s={};return(()=>{"use strict";n.r(s),n.d(s,{detect:()=>lb,detectionRegExp:()=>ub,mediaTypes:()=>cb,namespace:()=>hb,parse:()=>pb});var e={};n.r(e),n.d(e,{hasElementSourceMap:()=>es,includesClasses:()=>ns,includesSymbols:()=>ts,isAnnotationElement:()=>Kn,isArrayElement:()=>Un,isBooleanElement:()=>Jn,isCommentElement:()=>Zn,isElement:()=>Rn,isLinkElement:()=>Gn,isMemberElement:()=>Wn,isNullElement:()=>Ln,isNumberElement:()=>Vn,isObjectElement:()=>zn,isParseResultElement:()=>Qn,isPrimitiveElement:()=>Yn,isRefElement:()=>Hn,isSourceMapElement:()=>Xn,isStringElement:()=>Dn});var t={};n.r(t),n.d(t,{isJSONReferenceElement:()=>Fi,isJSONSchemaElement:()=>Ti,isLinkDescriptionElement:()=>Di,isMediaElement:()=>Ri});var r={};n.r(r),n.d(r,{isJSONReferenceElement:()=>Fi,isJSONSchemaElement:()=>ao,isLinkDescriptionElement:()=>co,isMediaElement:()=>Ri});var i={};n.r(i),n.d(i,{isJSONReferenceElement:()=>Fi,isJSONSchemaElement:()=>cc,isLinkDescriptionElement:()=>uc});var o={};n.r(o),n.d(o,{isAsyncApi2Element:()=>xc,isAsyncApiVersionElement:()=>Pc,isBooleanJsonSchemaElement:()=>Jc,isChannelBindingsElement:()=>Bc,isChannelItemElement:()=>$c,isChannelItemElementExternal:()=>Ac,isChannelsElement:()=>Mc,isComponentsElement:()=>qc,isContactElement:()=>kc,isIdentifierElement:()=>Cc,isInfoElement:()=>Nc,isLicenseElement:()=>Ic,isOperationElement:()=>Tc,isParameterElement:()=>Fc,isParametersElement:()=>Rc,isReferenceElement:()=>Dc,isReferenceElementExternal:()=>Vc,isSchemaElement:()=>Lc,isSecurityRequirementElement:()=>zc,isServerBindingsElement:()=>Wc,isServerElement:()=>Uc,isServerVariableElement:()=>Hc,isServersElement:()=>Gc});const a=function(){return!1};const c=function(){return!0};function u(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function l(e){return function t(n){return 0===arguments.length||u(n)?t:e.apply(this,arguments)}}function p(e){return function t(n,s){switch(arguments.length){case 0:return t;case 1:return u(n)?t:l((function(t){return e(n,t)}));default:return u(n)&&u(s)?t:u(n)?l((function(t){return e(t,s)})):u(s)?l((function(t){return e(n,t)})):e(n,s)}}}const h=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function m(e,t,n){return function(){if(0===arguments.length)return n();var s=arguments[arguments.length-1];if(!h(s)){for(var r=0;r<e.length;){if("function"==typeof s[e[r]])return s[e[r]].apply(s,Array.prototype.slice.call(arguments,0,-1));r+=1}if(function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}(s))return t.apply(null,Array.prototype.slice.call(arguments,0,-1))(s)}return n.apply(this,arguments)}}function d(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}const g=function(){return this.xf["@@transducer/init"]()},f=function(e){return this.xf["@@transducer/result"](e)};var b=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=g,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=d(this.xf["@@transducer/step"](e,!1))),e},e}();function y(e){return function(t){return new b(e,t)}}const v=p(m(["all"],y,(function(e,t){for(var n=0;n<t.length;){if(!e(t[n]))return!1;n+=1}return!0})));function _(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,s){return t.apply(this,arguments)};case 4:return function(e,n,s,r){return t.apply(this,arguments)};case 5:return function(e,n,s,r,i){return t.apply(this,arguments)};case 6:return function(e,n,s,r,i,o){return t.apply(this,arguments)};case 7:return function(e,n,s,r,i,o,a){return t.apply(this,arguments)};case 8:return function(e,n,s,r,i,o,a,c){return t.apply(this,arguments)};case 9:return function(e,n,s,r,i,o,a,c,u){return t.apply(this,arguments)};case 10:return function(e,n,s,r,i,o,a,c,u,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function S(e,t,n){return function(){for(var s=[],r=0,i=e,o=0;o<t.length||r<arguments.length;){var a;o<t.length&&(!u(t[o])||r>=arguments.length)?a=t[o]:(a=arguments[r],r+=1),s[o]=a,u(a)||(i-=1),o+=1}return i<=0?n.apply(this,s):_(i,S(e,s,n))}}const j=p((function(e,t){return 1===e?l(t):_(e,S(e,[],t))}));function w(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function E(e,t,n){for(var s=0,r=n.length;s<r;){if(e(t,n[s]))return!0;s+=1}return!1}function O(e,t){return Object.prototype.hasOwnProperty.call(t,e)}const x="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};var P=Object.prototype.toString;const B=function(){return"[object Arguments]"===P.call(arguments)?function(e){return"[object Arguments]"===P.call(e)}:function(e){return O("callee",e)}}();var $=!{toString:null}.propertyIsEnumerable("toString"),A=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],M=function(){return arguments.propertyIsEnumerable("length")}(),q=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1};const k="function"!=typeof Object.keys||M?l((function(e){if(Object(e)!==e)return[];var t,n,s=[],r=M&&B(e);for(t in e)!O(t,e)||r&&"length"===t||(s[s.length]=t);if($)for(n=A.length-1;n>=0;)O(t=A[n],e)&&!q(s,t)&&(s[s.length]=t),n-=1;return s})):l((function(e){return Object(e)!==e?[]:Object.keys(e)}));const C=l((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function N(e,t,n,s){var r=w(e);function i(e,t){return I(e,t,n.slice(),s.slice())}return!E((function(e,t){return!E(i,t,e)}),w(t),r)}function I(e,t,n,s){if(x(e,t))return!0;var r,i,o=C(e);if(o!==C(t))return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(o){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===(r=e.constructor,null==(i=String(r).match(/^function (\w*)/))?"":i[1]))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!x(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!x(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var a=n.length-1;a>=0;){if(n[a]===e)return s[a]===t;a-=1}switch(o){case"Map":return e.size===t.size&&N(e.entries(),t.entries(),n.concat([e]),s.concat([t]));case"Set":return e.size===t.size&&N(e.values(),t.values(),n.concat([e]),s.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var c=k(e);if(c.length!==k(t).length)return!1;var u=n.concat([e]),l=s.concat([t]);for(a=c.length-1;a>=0;){var p=c[a];if(!O(p,t)||!I(t[p],e[p],u,l))return!1;a-=1}return!0}const T=p((function(e,t){return I(e,t,[],[])}));function F(e,t){return function(e,t,n){var s,r;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(s=1/t;n<e.length;){if(0===(r=e[n])&&1/r===s)return n;n+=1}return-1}if(t!=t){for(;n<e.length;){if("number"==typeof(r=e[n])&&r!=r)return n;n+=1}return-1}return e.indexOf(t,n);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,n);case"object":if(null===t)return e.indexOf(t,n)}for(;n<e.length;){if(T(e[n],t))return n;n+=1}return-1}(t,e,0)>=0}function R(e,t){for(var n=0,s=t.length,r=Array(s);n<s;)r[n]=e(t[n]),n+=1;return r}function D(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 V=function(e){return(e<10?"0":"")+e};const L="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+V(e.getUTCMonth()+1)+"-"+V(e.getUTCDate())+"T"+V(e.getUTCHours())+":"+V(e.getUTCMinutes())+":"+V(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function J(e,t,n){for(var s=0,r=n.length;s<r;)t=e(t,n[s]),s+=1;return t}function z(e){return"[object Object]"===Object.prototype.toString.call(e)}var U=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=g,e.prototype["@@transducer/result"]=f,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function W(e){return function(t){return new U(e,t)}}const G=p(m(["fantasy-land/filter","filter"],W,(function(e,t){return z(t)?J((function(n,s){return e(t[s])&&(n[s]=t[s]),n}),{},k(t)):function(e,t){for(var n=0,s=t.length,r=[];n<s;)e(t[n])&&(r[r.length]=t[n]),n+=1;return r}(e,t)})));const H=p((function(e,t){return G((n=e,function(){return!n.apply(this,arguments)}),t);var n}));function K(e,t){var n=function(n){var s=t.concat([e]);return F(n,s)?"<Circular>":K(n,s)},s=function(e,t){return R((function(t){return D(t)+": "+n(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+R(n,e).join(", ")+"))";case"[object Array]":return"["+R(n,e).concat(s(e,H((function(e){return/^\d+$/.test(e)}),k(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+n(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?n(NaN):D(L(e)))+")";case"[object Map]":return"new Map("+n(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+n(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+n(Array.from(e).sort())+")";case"[object String]":return"object"==typeof e?"new String("+n(e.valueOf())+")":D(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var r=e.toString();if("[object Object]"!==r)return r}return"{"+s(e,k(e)).join(", ")+"}"}}const Z=l((function(e){return K(e,[])}));const Q=p((function(e,t){if(e===t)return t;function n(e,t){if(e>t!=t>e)return t>e?t:e}var s=n(e,t);if(void 0!==s)return s;var r=n(typeof e,typeof t);if(void 0!==r)return r===typeof e?e:t;var i=Z(e),o=n(i,Z(t));return void 0!==o&&o===i?e:t}));var X=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=g,e.prototype["@@transducer/result"]=f,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const Y=function(e){return function(t){return new X(e,t)}};const ee=p(m(["fantasy-land/map","map"],Y,(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return j(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return J((function(n,s){return n[s]=e(t[s]),n}),{},k(t));default:return R(e,t)}}))),te=Number.isInteger||function(e){return e<<0===e};function ne(e){return"[object String]"===Object.prototype.toString.call(e)}const se=p((function(e,t){var n=e<0?t.length+e:e;return ne(t)?t.charAt(n):t[n]}));const re=p((function(e,t){if(null!=t)return te(e)?se(e,t):t[e]}));const ie=p((function(e,t){return ee(re(e),t)}));function oe(e){return function t(n,s,r){switch(arguments.length){case 0:return t;case 1:return u(n)?t:p((function(t,s){return e(n,t,s)}));case 2:return u(n)&&u(s)?t:u(n)?p((function(t,n){return e(t,s,n)})):u(s)?p((function(t,s){return e(n,t,s)})):l((function(t){return e(n,s,t)}));default:return u(n)&&u(s)&&u(r)?t:u(n)&&u(s)?p((function(t,n){return e(t,n,r)})):u(n)&&u(r)?p((function(t,n){return e(t,s,n)})):u(s)&&u(r)?p((function(t,s){return e(n,t,s)})):u(n)?l((function(t){return e(t,s,r)})):u(s)?l((function(t){return e(n,t,r)})):u(r)?l((function(t){return e(n,s,t)})):e(n,s,r)}}}const ae=l((function(e){return!!h(e)||!!e&&("object"==typeof e&&(!ne(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var ce="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function ue(e,t,n){return function(s,r,i){if(ae(i))return e(s,r,i);if(null==i)return r;if("function"==typeof i["fantasy-land/reduce"])return t(s,r,i,"fantasy-land/reduce");if(null!=i[ce])return n(s,r,i[ce]());if("function"==typeof i.next)return n(s,r,i);if("function"==typeof i.reduce)return t(s,r,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function le(e,t,n){for(var s=0,r=n.length;s<r;){if((t=e["@@transducer/step"](t,n[s]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}s+=1}return e["@@transducer/result"](t)}const pe=p((function(e,t){return _(e.length,(function(){return e.apply(t,arguments)}))}));function he(e,t,n){for(var s=n.next();!s.done;){if((t=e["@@transducer/step"](t,s.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}s=n.next()}return e["@@transducer/result"](t)}function me(e,t,n,s){return e["@@transducer/result"](n[s](pe(e["@@transducer/step"],e),t))}const de=ue(le,me,he);var ge=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}();function fe(e){return new ge(e)}const be=oe((function(e,t,n){return de("function"==typeof e?fe(e):e,t,n)}));const ye=l((function(e){return j(be(Q,0,ie("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0}))}));const ve=l((function(e){return function(){return e}}));const _e=l((function(e){return j(be(Q,0,ie("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(e[t].apply(this,arguments))return!0;t+=1}return!1}))}));function Se(e,t){var n;t=t||[];var s=(e=e||[]).length,r=t.length,i=[];for(n=0;n<s;)i[i.length]=e[n],n+=1;for(n=0;n<r;)i[i.length]=t[n],n+=1;return i}function je(e,t,n){for(var s=n.next();!s.done;)t=e(t,s.value),s=n.next();return t}function we(e,t,n,s){return n[s](e,t)}const Ee=ue(J,we,je);const Oe=p((function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(n){return e(n)(t(n))}:Ee((function(e,n){return Se(e,ee(n,t))}),[],e)}));const xe=p((function(e,t){return e.apply(this,t)}));const Pe=l((function(e){return null==e}));const Be=oe((function e(t,n,s){if(0===t.length)return n;var r=t[0];if(t.length>1){var i=!Pe(s)&&O(r,s)&&"object"==typeof s[r]?s[r]:te(t[1])?[]:{};n=e(Array.prototype.slice.call(t,1),n,i)}return function(e,t,n){if(te(e)&&h(n)){var s=[].concat(n);return s[e]=t,s}var r={};for(var i in n)r[i]=n[i];return r[e]=t,r}(r,n,s)}));const $e=oe((function(e,t,n){return Be([e],t,n)}));function Ae(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const Me=p((function(e,t){return e&&t}));const qe=p((function(e,t){var n=j(e,t);return j(e,(function(){return J(Oe,ee(n,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const ke=l((function(e){return qe(e.length,e)}));const Ce=p((function(e,t){return Ae(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:ke(Me)(e,t)}));const Ne=l((function(e){return function(t,n){return e(t,n)?-1:e(n,t)?1:0}}));const Ie=ke(l((function(e){return!e})));function Te(e,t){return function(){return t.call(this,e.apply(this,arguments))}}function Fe(e,t){return function(){var n=arguments.length;if(0===n)return t();var s=arguments[n-1];return h(s)||"function"!=typeof s[e]?t.apply(this,arguments):s[e].apply(s,Array.prototype.slice.call(arguments,0,n-1))}}const Re=oe(Fe("slice",(function(e,t,n){return Array.prototype.slice.call(n,e,t)})));const De=l(Fe("tail",Re(1,1/0)));function Ve(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return _(arguments[0].length,be(Te,arguments[0],De(arguments)))}function Le(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":""))}const Je=l((function(e){return j(e.length,e)}));const ze=p((function(e,t){return null==t||t!=t?e:t}));var Ue=oe((function(e,t,n){var s=Array.prototype.slice.call(n,0);return s.splice(e,t),s}));const We=Ue;const Ge=p((function e(t,n){if(null==n)return n;switch(t.length){case 0:return n;case 1:return function(e,t){if(null==t)return t;if(te(e)&&h(t))return We(e,1,t);var n={};for(var s in t)n[s]=t[s];return delete n[e],n}(t[0],n);default:var s=t[0],r=Array.prototype.slice.call(t,1);return null==n[s]?function(e,t){if(te(e)&&h(t))return[].concat(t);var n={};for(var s in t)n[s]=t[s];return n}(s,n):$e(s,e(r,n[s]),n)}}));var He=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=g,e.prototype["@@transducer/result"]=f,e.prototype["@@transducer/step"]=function(e,t){this.i+=1;var n=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?d(n):n},e}();function Ke(e){return function(t){return new He(e,t)}}const Ze=p(m(["take"],Ke,(function(e,t){return Re(0,e<0?1/0:e,t)})));const Qe=se(-1);var Xe=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=g,e.prototype["@@transducer/result"]=f,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 Ye(e){return function(t){return new Xe(e,t)}}const et=p(m(["dropWhile"],Ye,(function(e,t){for(var n=0,s=t.length;n<s&&e(t[n]);)n+=1;return Re(n,1/0,t)})));const tt=p((function(e,t){return e||t}));const nt=p((function(e,t){return Ae(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:ke(tt)(e,t)}));var st=l((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():h(e)?[]:ne(e)?"":z(e)?{}:B(e)?function(){return arguments}():function(e){var t=Object.prototype.toString.call(e);return"[object Uint8ClampedArray]"===t||"[object Int8Array]"===t||"[object Uint8Array]"===t||"[object Int16Array]"===t||"[object Uint16Array]"===t||"[object Int32Array]"===t||"[object Uint32Array]"===t||"[object Float32Array]"===t||"[object Float64Array]"===t||"[object BigInt64Array]"===t||"[object BigUint64Array]"===t}(e)?e.constructor.from(""):void 0}));const rt=st;const it=l((function(e){return j(e.length,(function(t,n){var s=Array.prototype.slice.call(arguments,0);return s[0]=n,s[1]=t,e.apply(this,s)}))}));const ot=p((function(e,t){if(0===e.length||Pe(t))return!1;for(var n=t,s=0;s<e.length;){if(Pe(n)||!O(e[s],n))return!1;n=n[e[s]],s+=1}return!0}));const at=p((function(e,t){return ot([e],t)}));const ct=se(0);var ut=function(e,t){switch(arguments.length){case 0:return ut;case 1:return function t(n){return 0===arguments.length?t:x(e,n)};default:return x(e,t)}};const lt=ut;const pt=oe((function(e,t,n){return j(Math.max(e.length,t.length,n.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)}))}));const ht=p(F);const mt=Re(0,-1);"function"==typeof Object.assign&&Object.assign;const dt=p((function(e,t){return j(e+1,(function(){var n=arguments[e];if(null!=n&&Ae(n[t]))return n[t].apply(n,Array.prototype.slice.call(arguments,0,e));throw new TypeError(Z(n)+' does not have a method named "'+t+'"')}))}));const gt=l((function(e){return null!=e&&T(e,rt(e))}));const ft=dt(1,"join");const bt=p((function(e,t){return e.map((function(e){for(var n,s=t,r=0;r<e.length;){if(null==s)return;n=e[r],s=te(n)?se(n,s):s[n],r+=1}return s}))}));const yt=p((function(e,t){return bt([e],t)[0]}));const vt=p((function(e,t){return J((function(n,s){return n[s]=e(t[s],s,t),n}),{},k(t))}));const _t=p((function(e,t){for(var n={},s={},r=0,i=e.length;r<i;)s[e[r]]=1,r+=1;for(var o in t)s.hasOwnProperty(o)||(n[o]=t[o]);return n}));const St=oe((function(e,t,n){return e(yt(t,n))}));const jt=p((function(e,t){for(var n={},s=0;s<e.length;)e[s]in t&&(n[e[s]]=t[e[s]]),s+=1;return n}));const wt=oe((function(e,t,n){return ze(e,re(t,n))}));const Et=oe((function(e,t,n){return e(re(t,n))}));const Ot=l(d);var xt=p((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const Pt=xt;const Bt=dt(1,"split");const $t=p((function(e,t){return T(Ze(e.length,t),e)}));const At=p((function(e,t){if(n=e,"[object RegExp]"!==Object.prototype.toString.call(n))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+Z(e));var n;return Le(e).test(t)}));var Mt="\t\n\v\f\r                 \u2028\u2029\ufeff";String.prototype.trim;const qt=ve(void 0);const kt=T(qt());const Ct=Ie(kt);var Nt=n(7952);const It=T(null);const Tt=Ie(It);function Ft(e){return Ft="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},Ft(e)}const Rt=function(e){return"object"===Ft(e)};const Dt=j(1,Ce(Tt,Rt));const Vt=j(1,Ve(C,lt("GeneratorFunction")));const Lt=j(1,Ve(C,lt("AsyncFunction")));const Jt=_e([Ve(C,lt("Function")),Vt,Lt]);var zt=Ve(C,lt("Object")),Ut=Ve(Z,T(Z(Object))),Wt=St(Ce(Jt,Ut),["constructor"]);const Gt=j(1,(function(e){if(!Dt(e)||!zt(e))return!1;var t=Object.getPrototypeOf(e);return!!It(t)||Wt(t)}));class Ht extends Nt.RP{constructor(e,t,n){super(e,t,n),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const Kt=Ht;class Zt extends Nt.RP{constructor(e,t,n){super(e,t,n),this.element="comment"}}const Qt=Zt;class Xt extends Nt.ON{constructor(e,t,n){super(e,t,n),this.element="parseResult"}get api(){return this.children.filter((e=>e.classes.contains("api"))).first}get results(){return this.children.filter((e=>e.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((e=>"annotation"===e.element))}get warnings(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("warning")))}get errors(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("error")))}get isEmpty(){return this.children.reject((e=>"annotation"===e.element)).isEmpty}replaceResult(e){const{result:t}=this;if(kt(t))return!1;const n=this.content.findIndex((e=>e===t));return-1!==n&&(this.content[n]=e,!0)}}const Yt=Xt;class en extends Nt.ON{constructor(e,t,n){super(e,t,n),this.element="sourceMap"}get positionStart(){return this.children.filter((e=>e.classes.contains("position"))).get(0)}get positionEnd(){return this.children.filter((e=>e.classes.contains("position"))).get(1)}set position(e){if(null===e)return;const t=new Nt.ON([e.start.row,e.start.column,e.start.char]),n=new Nt.ON([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),n.classes.push("position"),this.push(t).push(n)}}const tn=en;class nn extends Nt.lS{constructor(){super(),this.register("annotation",Kt),this.register("comment",Qt),this.register("parseResult",Yt),this.register("sourceMap",tn)}}const sn=new nn,rn=e=>{const t=new nn;return Gt(e)&&t.use(e),t},on=sn;const an=j(1,Ve(C,lt("String"))),cn=n.p+"fba0b3cc0d7ee926ea482deee298a5fe.wasm",un=globalThis.fetch;Jt(un)&&(globalThis.fetch=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return an(t[0])&&t[0].endsWith("tree-sitter.wasm")?un.apply(globalThis,[cn,De(t)]):un.apply(globalThis,t)});var ln=n(9794);const pn=n.p+"7c7ca323880d9fa6e48d1d1b2e78e140.wasm";let hn=null,mn=null;const dn=async e=>{if(null===hn&&null===mn)mn=ln.init().then((()=>ln.Language.load(pn))).then((e=>{const t=new ln;return t.setLanguage(e),t})).finally((()=>{mn=null})),hn=await mn;else if(null===hn&&null!==mn)hn=await mn;else if(null===hn)throw new Error("Error while initializing web-tree-sitter");return hn.parse(e)};var gn=n(9800),fn=n(7829),bn=n(2876);function yn(e){return yn="function"==typeof fn&&"symbol"==typeof bn?function(e){return typeof e}:function(e){return e&&"function"==typeof fn&&e.constructor===fn&&e!==fn.prototype?"symbol":typeof e},yn(e)}var vn=n(2903);function _n(e){var t=function(e,t){if("object"!==yn(e)||null===e)return e;var n=e[vn];if(void 0!==n){var s=n.call(e,t||"default");if("object"!==yn(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===yn(t)?t:String(t)}function Sn(e,t,n){return(t=_n(t))in e?gn(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var jn=n(6591);const wn=(e,t,n)=>{const s=e[t];if(null!=s){if(!n&&"function"==typeof s)return s;const e=n?s.leave:s.enter;if("function"==typeof e)return e}else{const s=n?e.leave:e.enter;if(null!=s){if("function"==typeof s)return s;const e=s[t];if("function"==typeof e)return e}}return null},En={},On=e=>null==e?void 0:e.type,xn=e=>"string"==typeof On(e),Pn=function(e,t){let{keyMap:n=null,state:s={},breakSymbol:r=En,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=wn,nodeTypeGetter:c=On,nodePredicate:u=xn,detectCycles:l=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const p=n||{};let h,m,d=Array.isArray(e),g=[e],f=-1,b=[];const y=[],v=[];let _=e;do{f+=1;const e=f===g.length;let n,S;const j=e&&0!==b.length;if(e){if(n=0===v.length?void 0:y.pop(),S=m,m=v.pop(),j){S=d?S.slice():Object.create(Object.getPrototypeOf(S),Object.getOwnPropertyDescriptors(S));let e=0;for(let t=0;t<b.length;t+=1){let n=b[t][0];const s=b[t][1];d&&(n-=e),d&&s===i?(S.splice(n,1),e+=1):S[n]=s}}f=h.index,g=h.keys,b=h.edits,d=h.inArray,h=h.prev}else{if(n=m?d?f:g[f]:void 0,S=m?m[n]:_,S===i||void 0===S)continue;m&&y.push(n)}if(v.includes(S))continue;let w;if(!Array.isArray(S)){if(!u(S))throw new Error(`Invalid AST Node: ${JSON.stringify(S)}`);if(l&&v.includes(S)){y.pop();continue}const i=a(t,c(S),e);if(i){for(const[e,n]of Object.entries(s))t[e]=n;if(w=i.call(t,S,n,m,y,v),w===r)break;if(w===o){if(!e){y.pop();continue}}else if(void 0!==w&&(b.push([n,w]),!e)){if(!u(w)){y.pop();continue}S=w}}}void 0===w&&j&&b.push([n,S]),e||(h={inArray:d,index:f,keys:g,edits:b,prev:h},d=Array.isArray(S),g=d?S:p[c(S)]||[],f=-1,b=[],m&&v.push(m),m=S)}while(void 0!==h);return 0!==b.length&&([,_]=b[b.length-1]),_};Pn[Symbol.for("nodejs.util.promisify.custom")]=async function(e,t){let{keyMap:n=null,state:s={},breakSymbol:r=En,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=wn,nodeTypeGetter:c=On,nodePredicate:u=xn,detectCycles:l=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const p=n||{};let h,m,d=Array.isArray(e),g=[e],f=-1,b=[];const y=[],v=[];let _=e;do{f+=1;const e=f===g.length;let n,S;const j=e&&0!==b.length;if(e){if(n=0===v.length?void 0:y.pop(),S=m,m=v.pop(),j){S=d?S.slice():Object.create(Object.getPrototypeOf(S),Object.getOwnPropertyDescriptors(S));let e=0;for(let t=0;t<b.length;t+=1){let n=b[t][0];const s=b[t][1];d&&(n-=e),d&&s===i?(S.splice(n,1),e+=1):S[n]=s}}f=h.index,g=h.keys,b=h.edits,d=h.inArray,h=h.prev}else{if(n=m?d?f:g[f]:void 0,S=m?m[n]:_,S===i||void 0===S)continue;m&&y.push(n)}let w;if(!Array.isArray(S)){if(!u(S))throw new Error(`Invalid AST Node: ${JSON.stringify(S)}`);if(l&&v.includes(S)){y.pop();continue}const i=a(t,c(S),e);if(i){for(const[e,n]of Object.entries(s))t[e]=n;if(w=await i.call(t,S,n,m,y,v),w===r)break;if(w===o){if(!e){y.pop();continue}}else if(void 0!==w&&(b.push([n,w]),!e)){if(!u(w)){y.pop();continue}S=w}}}void 0===w&&j&&b.push([n,S]),e||(h={inArray:d,index:f,keys:g,edits:b,prev:h},d=Array.isArray(S),g=d?S:p[c(S)]||[],f=-1,b=[],m&&v.push(m),m=S)}while(void 0!==h);return 0!==b.length&&([,_]=b[b.length-1]),_};var Bn=n(4463),$n=n(6405),An=n(5575);function Mn(e,t){if(null==e)return{};var n,s,r=function(e,t){if(null==e)return{};var n,s,r={},i=An(e);for(s=0;s<i.length;s++)n=i[s],$n(t).call(t,n)>=0||(r[n]=e[n]);return r}(e,t);if(Bn){var i=Bn(e);for(s=0;s<i.length;s++)n=i[s],$n(t).call(t,n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}const qn=it(ht),kn=(e,t)=>"function"==typeof(null==t?void 0:t[e]),Cn=e=>null!=e&&Object.prototype.hasOwnProperty.call(e,"_storedElement")&&Object.prototype.hasOwnProperty.call(e,"_content"),Nn=(e,t)=>{var n;return(null==t||null===(n=t.primitive)||void 0===n?void 0:n.call(t))===e},In=(e,t)=>{var n,s;return(null==t||null===(n=t.classes)||void 0===n||null===(s=n.includes)||void 0===s?void 0:s.call(n,e))||!1},Tn=(e,t)=>(null==t?void 0:t.element)===e,Fn=e=>e({hasMethod:kn,hasBasicElementProps:Cn,primitiveEq:Nn,isElementType:Tn,hasClass:In}),Rn=Fn((e=>{let{hasBasicElementProps:t,primitiveEq:n}=e;return e=>e instanceof Nt.W_||t(e)&&n(void 0,e)})),Dn=Fn((e=>{let{hasBasicElementProps:t,primitiveEq:n}=e;return e=>e instanceof Nt.RP||t(e)&&n("string",e)})),Vn=Fn((e=>{let{hasBasicElementProps:t,primitiveEq:n}=e;return e=>e instanceof Nt.VL||t(e)&&n("number",e)})),Ln=Fn((e=>{let{hasBasicElementProps:t,primitiveEq:n}=e;return e=>e instanceof Nt.zr||t(e)&&n("null",e)})),Jn=Fn((e=>{let{hasBasicElementProps:t,primitiveEq:n}=e;return e=>e instanceof Nt.hh||t(e)&&n("boolean",e)})),zn=Fn((e=>{let{hasBasicElementProps:t,primitiveEq:n,hasMethod:s}=e;return e=>e instanceof Nt.Sb||t(e)&&n("object",e)&&s("keys",e)&&s("values",e)&&s("items",e)})),Un=Fn((e=>{let{hasBasicElementProps:t,primitiveEq:n,hasMethod:s}=e;return e=>e instanceof Nt.ON&&!(e instanceof Nt.Sb)||t(e)&&n("array",e)&&s("push",e)&&s("unshift",e)&&s("map",e)&&s("reduce",e)})),Wn=Fn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Nt.c6||t(e)&&n("member",e)&&s(void 0,e)})),Gn=Fn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Nt.EA||t(e)&&n("link",e)&&s(void 0,e)})),Hn=Fn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Nt.tK||t(e)&&n("ref",e)&&s(void 0,e)})),Kn=Fn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Kt||t(e)&&n("annotation",e)&&s("array",e)})),Zn=Fn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Qt||t(e)&&n("comment",e)&&s("string",e)})),Qn=Fn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Yt||t(e)&&n("parseResult",e)&&s("array",e)})),Xn=Fn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof tn||t(e)&&n("sourceMap",e)&&s("array",e)})),Yn=e=>Tn("object",e)||Tn("array",e)||Tn("boolean",e)||Tn("number",e)||Tn("string",e)||Tn("null",e)||Tn("member",e),es=e=>{var t,n;return Xn(null==e||null===(t=e.meta)||void 0===t||null===(n=t.get)||void 0===n?void 0:n.call(t,"sourceMap"))},ts=(e,t)=>{if(0===e.length)return!0;const n=t.attributes.get("symbols");return!!Un(n)&&v(qn(n.toValue()),e)},ns=(e,t)=>0===e.length||v(qn(t.classes.toValue()),e),ss=["keyMap"],rs=["keyMap"];function is(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function os(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?is(Object(n),!0).forEach((function(t){Sn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):is(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const as=e=>zn(e)?"ObjectElement":Un(e)?"ArrayElement":Wn(e)?"MemberElement":Dn(e)?"StringElement":Jn(e)?"BooleanElement":Vn(e)?"NumberElement":Ln(e)?"NullElement":Gn(e)?"LinkElement":Hn(e)?"RefElement":void 0,cs=Ve(as,an),us={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]},ls=(jn({props:{result:[],predicate:a,returnOnTrue:void 0,returnOnFalse:void 0},init(){let{predicate:e=this.predicate,returnOnTrue:t=this.returnOnTrue,returnOnFalse:n=this.returnOnFalse}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.result=[],this.predicate=e,this.returnOnTrue=t,this.returnOnFalse=n},methods:{enter(e){return this.predicate(e)?(this.result.push(e),this.returnOnTrue):this.returnOnFalse}}}),function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{keyMap:s=us}=n,r=Mn(n,ss);return Pn(e,t,os({keyMap:s,nodeTypeGetter:as,nodePredicate:cs},r))});ls[Symbol.for("nodejs.util.promisify.custom")]=async function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{keyMap:s=us}=n,r=Mn(n,rs);return Pn[Symbol.for("nodejs.util.promisify.custom")](e,t,os({keyMap:s,nodeTypeGetter:as,nodePredicate:cs},r))};const ps=Ie(Jt);const hs=j(1,Jt(Array.isArray)?Array.isArray:Ve(C,lt("Array")));const ms=Ce(hs,gt);const ds=j(3,(function(e,t,n){var s=yt(e,n),r=yt(mt(e),n);if(!ps(s)&&!ms(e)){var i=pe(s,r);return xe(i,t)}}));function gs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}const fs=()=>({predicates:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gs(Object(n),!0).forEach((function(t){Sn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gs(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e),namespace:on}),bs=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(0===t.length)return e;const s=wt(fs,"toolboxCreator",n),r=wt({},"visitorOptions",n),i=wt(as,"nodeTypeGetter",r),o=s(),a=t.map((e=>e(o))),c=function(e){let{visitFnGetter:t=wn,nodeTypeGetter:n=On}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const s=new Array(e.length);return{enter(r){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];for(let i=0;i<e.length;i+=1)if(null==s[i]){const a=t(e[i],n(r),!1);if("function"==typeof a){const t=a.call(e[i],r,...o);if(!1===t)s[i]=r;else if(t===En)s[i]=En;else if(void 0!==t)return t}}},leave(r){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];for(let i=0;i<e.length;i+=1)if(null==s[i]){const a=t(e[i],n(r),!0);if("function"==typeof a){const t=a.call(e[i],r,...o);if(t===En)s[i]=En;else if(void 0!==t&&!1!==t)return t}}else s[i]===r&&(s[i]=null)}}}(a.map(wt({},"visitor")),{nodeTypeGetter:i});a.forEach(ds(["pre"],[]));const u=ls(e,c,r);return a.forEach(ds(["post"],[])),u};function ys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function vs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ys(Object(n),!0).forEach((function(t){Sn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ys(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const _s=(e,t)=>{let{Type:n,plugins:s=[]}=t;const r=new n(e);return bs(r,s,{toolboxCreator:fs,visitorOptions:{nodeTypeGetter:as}})},Ss=e=>function(t){return _s(t,vs(vs({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),{},{Type:e}))};function js(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}Nt.Sb.refract=Ss(Nt.Sb),Nt.ON.refract=Ss(Nt.ON),Nt.RP.refract=Ss(Nt.RP),Nt.hh.refract=Ss(Nt.hh),Nt.zr.refract=Ss(Nt.zr),Nt.VL.refract=Ss(Nt.VL),Nt.EA.refract=Ss(Nt.EA),Nt.tK.refract=Ss(Nt.tK),Kt.refract=Ss(Kt),Qt.refract=Ss(Qt),Yt.refract=Ss(Yt),tn.refract=Ss(tn);const ws=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?js(Object(n),!0).forEach((function(t){Sn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):js(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({document:["children"],object:["children"],array:["children"],string:["children"],property:["children"],key:["children"],error:["children"]},us),Es=e=>Qn(e)?"ParseResultElement":Rn(e)?as(e):On(e),Os=e=>Rn(e)||xn(e),xs=jn({props:{sourceMap:!1,annotations:[]},init(){this.annotations=[];const e=(e,t)=>{if(!this.sourceMap)return;const n=new tn,s=(e=>{if(null===e)return null;const t=new Nt.ON([e.startPosition.row,e.startPosition.column,e.startIndex]),n=new Nt.ON([e.endPosition.row,e.endPosition.column,e.endIndex]);return t.classes.push("position"),n.classes.push("position"),[t,n]})(e);if(null!==s){const[e,t]=s;n.push(e),n.push(t)}n.astNode=e,t.meta.set("sourceMap",n)},t=(e,t)=>{var n;return`${e}Node`in t?t[`${e}Node`]:"childForFieldName"in t?null===(n=t.childForFieldName)||void 0===n?void 0:n.call(t,e):null};this.enter=function(t){if(("function"==typeof t.isNamed&&!t.isNamed()||!1===t.isNamed)&&t.isMissing()){const n=t.type||t.text,s=new Kt(`(Missing ${n})`);s.classes.push("warning"),e(t,s),this.annotations.push(s)}return null},this.document=function(t){const n=new Yt;return n._content=t.children,e(t,n),n},this.ParseResultElement={leave(e){const t=e.findElements(Yn);if(t.length>0){t[0].classes.push("result")}this.annotations.forEach((t=>{e.push(t)})),this.annotations=[]}},this.object=function(t){const n=new Nt.Sb;return n._content=t.children,e(t,n),n},this.array=function(t){const n=new Nt.ON;return n._content=t.children,e(t,n),n},this.pair=function(n){const s=new Nt.c6;return s.content.key=t("key",n),s.content.value=t("value",n),e(n,s),n.children.length>3&&n.children.filter((e=>"ERROR"===e.type)).forEach((e=>{this.ERROR(e,n,[],[n])})),s},this.string=function(t){const n=new Nt.RP(t.text.slice(1,-1));return e(t,n),n},this.number=function(t){const n=new Nt.VL(Number(t.text));return e(t,n),n},this.null=function(t){const n=new Nt.zr;return e(t,n),n},this.true=function(t){const n=new Nt.hh(!0);return e(t,n),n},this.false=function(t){const n=new Nt.hh(!1);return e(t,n),n},this.ERROR=function(t,n,s,r){const i=!t.hasError(),o=t.text,a=new Kt(i?`(Unexpected ${o})`:`(Error ${o})`);if(a.classes.push("error"),e(t,a),0===r.length){const e=new Yt;return e.push(a),e}return this.annotations.push(a),null}}}),Ps=function(e){let{sourceMap:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=xs();return Pn(e.rootNode,n,{keyMap:ws,nodeTypeGetter:Es,nodePredicate:Os,state:{sourceMap:t}})},Bs=jn({statics:{type:"point"},props:{type:"point",row:null,column:null,char:null},init(){let{row:e=null,column:t=null,char:n=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.row=e,this.column=t,this.char=n}}),$s=jn({statics:{type:"position"},props:{type:"position",start:null,end:null},init(){let{start:e=null,end:t=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.start=e,this.end=t}}),As=jn({props:{type:null,position:null,children:[]},init(){let{children:e=[],position:t=null,isMissing:n=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{stamp:s={}}=arguments.length>1?arguments[1]:void 0;this.type=s.type,this.isMissing=n,this.children=e,this.position=t},methods:{clone(){const e=Object.create(Object.getPrototypeOf(this));return Object.getOwnPropertyNames(this).forEach((t=>{const n=Object.getOwnPropertyDescriptor(this,t);Object.defineProperty(e,t,n)})),e}}}),Ms=jn(As,{statics:{type:"literal"},props:{value:null},init(){let{value:e=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.value=e}}),qs=jn(As),ks=jn(qs,{statics:{type:"document"},methods:{get child(){return ct(this.children)}}}),Cs=jn(As,{statics:{type:"parseResult"},methods:{get rootNode(){return ct(this.children)}}}),Ns=(e,t)=>(null==t?void 0:t.type)===e,Is=(Ns.bind(void 0,"literal"),Ns.bind(void 0,"position"),Ns.bind(void 0,"point"),Ns.bind(void 0,"parseResult"),Ns.bind(void 0,"document"),Ns.bind(void 0,"string")),Ts=Ns.bind(void 0,"false"),Fs=Ns.bind(void 0,"true"),Rs=Ns.bind(void 0,"null"),Ds=Ns.bind(void 0,"number"),Vs=Ns.bind(void 0,"array"),Ls=Ns.bind(void 0,"object"),Js=Ns.bind(void 0,"stringContent"),zs=Ns.bind(void 0,"escapeSequence"),Us=Ns.bind(void 0,"property"),Ws=Ns.bind(void 0,"key"),Gs=jn(qs,{statics:{type:"object"},methods:{get properties(){return this.children.filter(Us)}}}),Hs=jn(qs,{statics:{type:"string"},methods:{get value(){return 1===this.children.length?this.children[0].value:this.children.filter((e=>Js(e)||zs(e))).reduce(((e,t)=>e+t.value),"")}}}),Ks=jn(Hs,{statics:{type:"key"}}),Zs=jn(qs,{statics:{type:"property"},methods:{get key(){return this.children.find(Ws)},get value(){return this.children.find((e=>Ts(e)||Fs(e)||Rs(e)||Ds(e)||Is(e)||Vs(e)||Ls(e)))}}}),Qs=jn(qs,{statics:{type:"array"},methods:{get items(){return this.children.filter((e=>Ts(e)||Fs(e)||Rs(e)||Ds(e)||Is(e)||Vs(e)||Ls))}}}),Xs=jn(qs,{statics:{type:"value"},props:{value:null},init(){let{value:e=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.value=e}}),Ys=jn(Xs,{statics:{type:"stringContent"}}),er=jn(Xs,{statics:{type:"number"}}),tr=jn(Xs,{statics:{type:"null"}}),nr=jn(Xs,{statics:{type:"true"}}),sr=jn(Xs,{statics:{type:"false"}}),rr=jn(As,{statics:{type:"error"},props:{value:null,isUnexpected:!1},init(){let{value:e=null,isUnexpected:t=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.value=e,this.isUnexpected=t}}),ir={document:["children"],object:["children"],array:["children"],string:["children"],property:["children"],key:["children"],error:["children"]},or=jn({init(){const e=e=>{if(null===e)return null;const t=Bs({row:e.startPosition.row,column:e.startPosition.column,char:e.startIndex}),n=Bs({row:e.endPosition.row,column:e.endPosition.column,char:e.endIndex});return $s({start:t,end:n})};this.enter=function(t){if("function"==typeof t.isNamed&&!t.isNamed()||!1===t.isNamed){const n=e(t),s=t.type||t.text,r=t.isMissing();return Ms({value:s,position:n,isMissing:r})}},this.document={enter(t){const n=e(t);return ks({children:t.children,position:n,isMissing:t.isMissing()})},leave:e=>Cs({children:[e]})},this.object=function(t){const n=e(t);return Gs({children:t.children,position:n,isMissing:t.isMissing()})},this.pair=function(t){const n=e(t),s=t.children.slice(1),r=((e,t)=>{var n;return`${e}Node`in t?t[`${e}Node`]:"childForFieldName"in t?null===(n=t.childForFieldName)||void 0===n?void 0:n.call(t,e):null})("key",t),i=Ks({children:(null==r?void 0:r.children)||[],position:e(r),isMissing:(null==r?void 0:r.isMissing())||!1});return Zs({children:[i,...s],position:n,isMissing:t.isMissing()})},this.array=function(t){const n=e(t);return Qs({children:t.children,position:n,isMissing:t.isMissing()})},this.string=function(t){const n=e(t),s=Ys({value:t.text.slice(1,-1)});return Hs({children:[s],position:n,isMissing:t.isMissing()})},this.number=function(t){const n=e(t),s=t.text;return er({value:s,position:n,isMissing:t.isMissing()})},this.null=function(t){const n=e(t),s=t.text;return tr({value:s,position:n,isMissing:t.isMissing()})},this.true=function(t){const n=e(t),s=t.text;return nr({value:s,position:n,isMissing:t.isMissing()})},this.false=function(t){const n=e(t),s=t.text;return sr({value:s,position:n,isMissing:t.isMissing()})},this.ERROR=function(t,n,s,r){const i=e(t),o=rr({children:t.children,position:i,isUnexpected:!t.hasError(),isMissing:t.isMissing(),value:t.text});return 0===r.length?Cs({children:[o]}):o}}});function ar(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}const cr=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ar(Object(n),!0).forEach((function(t){Sn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ar(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({[Cs.type]:["children"],[ks.type]:["children"],[Gs.type]:["children"],[Zs.type]:["children"],[Qs.type]:["children"],[rr.type]:["children"]},us),ur=e=>Qn(e)?"ParseResultElement":Rn(e)?as(e):On(e),lr=e=>Rn(e)||xn(e),pr=jn({props:{sourceMap:!1,annotations:[]},init(){this.annotation=[];const e=(e,t)=>{if(!this.sourceMap)return;const n=new tn;n.position=e.position,n.astNode=e,t.meta.set("sourceMap",n)};this.document=function(e){const t=new Yt;return t._content=e.children,t},this.ParseResultElement={leave(e){const t=e.findElements(Yn);if(t.length>0){t[0].classes.push("result")}this.annotations.forEach((t=>{e.push(t)})),this.annotations=[]}},this.object=function(t){const n=new Nt.Sb;return n._content=t.children,e(t,n),n},this.property=function(t){const n=new Nt.c6;return n.content.key=t.key,n.content.value=t.value,e(t,n),t.children.length>3&&t.children.filter((e=>"error"===e.type)).forEach((e=>{this.error(e,t,[],[t])})),n},this.key=function(t){const n=new Nt.RP(t.value);return e(t,n),n},this.array=function(t){const n=new Nt.ON;return n._content=t.children,e(t,n),n},this.string=function(t){const n=new Nt.RP(t.value);return e(t,n),n},this.number=function(t){const n=new Nt.VL(Number(t.value));return e(t,n),n},this.null=function(t){const n=new Nt.zr;return e(t,n),n},this.true=function(t){const n=new Nt.hh(!0);return e(t,n),n},this.false=function(t){const n=new Nt.hh(!1);return e(t,n),n},this.literal=function(t){if(t.isMissing){const n=`(Missing ${t.value})`,s=new Kt(n);s.classes.push("warning"),e(t,s),this.annotations.push(s)}return null},this.error=function(t,n,s,r){const i=t.isUnexpected?`(Unexpected ${t.value})`:`(Error ${t.value})`,o=new Kt(i);if(o.classes.push("error"),e(t,o),0===r.length){const e=new Yt;return e.push(o),e}return this.annotations.push(o),null}}}),hr=pr,mr=function(e){let{sourceMap:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=or(),s=hr(),r=Pn(e.rootNode,n,{keyMap:ir,state:{sourceMap:t}});return Pn(r.rootNode,s,{keyMap:cr,nodeTypeGetter:ur,nodePredicate:lr,state:{sourceMap:t}})},dr=(rn(),/(?<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 gr=Je((function(e,t){return Ve(Bt(""),et(qn(e)),ft(""))(t)})),fr=(e,t)=>{const n=ze(e,t);return vt((e=>{if(Gt(e)&&at("$ref",e)&&Et(an,"$ref",e)){const t=yt(["$ref"],e),s=gr("#/",t);return yt(s.split("/"),n)}return Gt(e)?fr(e,n):e}),e)},br=jn({props:{element:null},methods:{copyMetaAndAttributes(e,t){es(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),yr=jn(br,{methods:{enter(e){return this.element=e.clone(),En}}});const vr=ve(qt());function _r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}const Sr=e=>{if(Rn(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},jr=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_r(Object(n),!0).forEach((function(t){Sn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"]},us);function wr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function Er(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wr(Object(n),!0).forEach((function(t){Sn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Or=jn(br,{props:{specObj:null,passingOptionsNames:["specObj"]},init(e){let{specObj:t=this.specObj}=e;this.specObj=t},methods:{retrievePassingOptions(){return jt(this.passingOptionsNames,this)},retrieveFixedFields(e){return Ve(yt(["visitors",...e,"fixedFields"]),k)(this.specObj)},retrieveVisitor(e){return St(Jt,["visitors",...e],this.specObj)?yt(["visitors",...e],this.specObj):yt(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.retrievePassingOptions();return this.retrieveVisitor(e)(Er(Er({},n),t))},toRefractedElement(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const s=this.retrieveVisitorInstance(e,n),r=Object.getPrototypeOf(s);return kt(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===r?t.clone():(ls(t,s,Er({keyMap:jr,nodeTypeGetter:Sr},n)),s.element)}}}),xr=jn(Or,{props:{specPath:vr,ignoredFields:[]},init(){let{specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){const t=this.specPath(e),n=this.retrieveFixedFields(t);return e.forEach(((e,s,r)=>{if(Dn(s)&&n.includes(s.toValue())&&!this.ignoredFields.includes(s.toValue())){const n=this.toRefractedElement([...t,"fixedFields",s.toValue()],e),i=new Nt.c6(s.clone(),n);this.copyMetaAndAttributes(r,i),i.classes.push("fixed-field"),this.element.content.push(i)}else this.ignoredFields.includes(s.toValue())||this.element.content.push(r.clone())})),this.copyMetaAndAttributes(e,this.element),En}}});class Pr extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="JSONSchemaDraft4"}get idProp(){return this.get("id")}set idProp(e){this.set("id",e)}get $schema(){return this.get("$schema")}set $schema(e){this.set("idProp",e)}get multipleOf(){return this.get("multipleOf")}set multipleOf(e){this.set("multipleOf",e)}get maximum(){return this.get("maximum")}set maximum(e){this.set("maximum",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get minimum(){return this.get("minimum")}set minimum(e){this.set("minimum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get maxLength(){return this.get("maxLength")}set maxLength(e){this.set("maxLength",e)}get minLength(){return this.get("minLength")}set minLength(e){this.set("minLength",e)}get pattern(){return this.get("pattern")}set pattern(e){this.set("pattern",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get maxItems(){return this.get("maxItems")}set maxItems(e){this.set("maxItems",e)}get minItems(){return this.get("minItems")}set minItems(e){this.set("minItems",e)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(e){this.set("uniqueItems",e)}get maxProperties(){return this.get("maxProperties")}set maxProperties(e){this.set("maxProperties",e)}get minProperties(){return this.get("minProperties")}set minProperties(e){this.set("minProperties",e)}get required(){return this.get("required")}set required(e){this.set("required",e)}get properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get dependencies(){return this.get("dependencies")}set dependencies(e){this.set("dependencies",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get allOf(){return this.get("allOf")}set allOf(e){this.set("allOf",e)}get anyOf(){return this.get("anyOf")}set anyOf(e){this.set("anyOf",e)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){return this.get("definitions")}set definitions(e){this.set("definitions",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get format(){return this.get("format")}set format(e){this.set("format",e)}get base(){return this.get("base")}set base(e){this.set("base",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get media(){return this.get("media")}set media(e){this.set("media",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}}const Br=Pr,$r=jn(xr,yr,{props:{specPath:ve(["document","objects","JSONSchema"])},init(){this.element=new Br}}),Ar=yr,Mr=yr,qr=yr,kr=yr,Cr=yr,Nr=yr,Ir=yr,Tr=yr,Fr=yr,Rr=yr,Dr=jn({props:{parent:null},init(e){let{parent:t=this.parent}=e;this.parent=t,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),Vr=e=>zn(e)&&e.hasKey("$ref"),Lr=jn(Or,Dr,yr,{methods:{ObjectElement(e){const t=Vr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),En},ArrayElement(e){return this.element=new Nt.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=Vr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),En}}}),Jr=yr,zr=yr,Ur=yr,Wr=yr,Gr=yr,Hr=jn(yr,{methods:{ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-required"),En}}});const Kr=Ie(j(1,Ce(Tt,nt(Rt,Jt))));const Zr=Ie(gt);const Qr=ye([an,Kr,Zr]),Xr=jn(Or,{props:{fieldPatternPredicate:a,specPath:vr,ignoredFields:[]},init(){let{specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){return e.forEach(((e,t,n)=>{if(!this.ignoredFields.includes(t.toValue())&&this.fieldPatternPredicate(t.toValue())){const s=this.specPath(e),r=this.toRefractedElement(s,e),i=new Nt.c6(t.clone(),r);this.copyMetaAndAttributes(n,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(t.toValue())||this.element.content.push(n.clone())})),this.copyMetaAndAttributes(e,this.element),En}}}),Yr=jn(Xr,{props:{fieldPatternPredicate:Qr}}),ei=jn(Yr,Dr,yr,{props:{specPath:e=>Vr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new Nt.Sb,this.element.classes.push("json-schema-properties")}}),ti=jn(Yr,Dr,yr,{props:{specPath:e=>Vr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new Nt.Sb,this.element.classes.push("json-schema-patternProperties")}}),ni=jn(Yr,Dr,yr,{props:{specPath:e=>Vr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new Nt.Sb,this.element.classes.push("json-schema-dependencies")}}),si=jn(yr,{methods:{ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-enum"),En}}}),ri=jn(yr,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-type"),En},ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-type"),En}}}),ii=jn(Or,Dr,yr,{init(){this.element=new Nt.ON,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Vr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),En}}}),oi=jn(Or,Dr,yr,{init(){this.element=new Nt.ON,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Vr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),En}}}),ai=jn(Or,Dr,yr,{init(){this.element=new Nt.ON,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Vr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),En}}}),ci=jn(Yr,Dr,yr,{props:{specPath:e=>Vr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new Nt.Sb,this.element.classes.push("json-schema-definitions")}}),ui=yr,li=yr,pi=yr,hi=yr,mi=yr,di=jn(Or,Dr,yr,{init(){this.element=new Nt.ON,this.element.classes.push("json-schema-links")},methods:{ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","LinkDescription"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),En}}}),gi=yr;class fi extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const bi=fi,yi=jn(xr,yr,{props:{specPath:ve(["document","objects","JSONReference"])},init(){this.element=new bi},methods:{ObjectElement(e){const t=xr.compose.methods.ObjectElement.call(this,e);return Dn(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),vi=jn(yr,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),En}}});const _i=Ie(Pe);const Si=Ce(hs,Zr);function ji(e){return function(e){if(Array.isArray(e))return wi(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 wi(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return wi(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 wi(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,s=new Array(t);n<t;n++)s[n]=e[n];return s}var Ei=Ve(Pt(Ne((function(e,t){return e.length>t.length}))),ct,re("length")),Oi=Je((function(e,t,n){var s=n.apply(void 0,ji(e));return _i(s)?Ot(s):t}));const xi=pt(Si,(function(e){var t=Ei(e);return j(t,(function(){for(var t=arguments.length,n=new Array(t),s=0;s<t;s++)n[s]=arguments[s];return be(Oi(n),void 0,e)}))}),qt),Pi=jn(Or,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((e=>{let{predicate:t,specPath:n}=e;return pt(t,ve(n),qt)})),n=xi(t)(e);return this.element=this.toRefractedElement(n,e),En}}}),Bi=jn(Pi,{props:{alternator:[{predicate:Vr,specPath:["document","objects","JSONReference"]},{predicate:c,specPath:["document","objects","JSONSchema"]}]}});class $i extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="media"}get binaryEncoding(){return this.get("binaryEncoding")}set binaryEncoding(e){this.set("binaryEncoding",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}}const Ai=$i,Mi=jn(xr,yr,{props:{specPath:ve(["document","objects","Media"])},init(){this.element=new Ai}}),qi=yr,ki=yr;class Ci extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="linkDescription"}get href(){return this.get("href")}set href(e){this.set("href",e)}get rel(){return this.get("rel")}set rel(e){this.set("rel",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){return this.get("mediaType")}set mediaType(e){this.set("mediaType",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get encType(){return this.get("encType")}set encType(e){this.set("encType",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}}const Ni=Ci,Ii={visitors:{value:yr,JSONSchemaOrJSONReferenceVisitor:Bi,document:{objects:{JSONSchema:{$visitor:$r,fixedFields:{id:Ar,$schema:Mr,multipleOf:qr,maximum:kr,exclusiveMaximum:Cr,minimum:Nr,exclusiveMinimum:Ir,maxLength:Tr,minLength:Fr,pattern:Rr,additionalItems:Bi,items:Lr,maxItems:Jr,minItems:zr,uniqueItems:Ur,maxProperties:Wr,minProperties:Gr,required:Hr,properties:ei,additionalProperties:Bi,patternProperties:ti,dependencies:ni,enum:si,type:ri,allOf:ii,anyOf:oi,oneOf:ai,not:Bi,definitions:ci,title:ui,description:li,default:pi,format:hi,base:mi,links:di,media:{$ref:"#/visitors/document/objects/Media"},readOnly:gi}},JSONReference:{$visitor:yi,fixedFields:{$ref:vi}},Media:{$visitor:Mi,fixedFields:{binaryEncoding:qi,type:ki}},LinkDescription:{$visitor:jn(xr,yr,{props:{specPath:ve(["document","objects","LinkDescription"])},init(){this.element=new Ni}}),fixedFields:{href:yr,rel:yr,title:yr,targetSchema:Bi,mediaType:yr,method:yr,encType:yr,schema:Bi}}}}}},Ti=Fn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Br||t(e)&&n("JSONSchemaDraft4",e)&&s("object",e)})),Fi=Fn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof bi||t(e)&&n("JSONReference",e)&&s("object",e)})),Ri=Fn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Ai||t(e)&&n("media",e)&&s("object",e)})),Di=Fn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Ni||t(e)&&n("linkDescription",e)&&s("object",e)})),Vi={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",Br),t.register("jSONReference",bi),t.register("media",Ai),t.register("linkDescription",Ni),t}};function Li(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function Ji(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Li(Object(n),!0).forEach((function(t){Sn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Li(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const zi=()=>{const e=rn(Vi);return{predicates:Ji(Ji({},t),{},{isStringElement:Dn}),namespace:e}};function Ui(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}const Wi=function(e){let{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:s=Ii}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=(0,Nt.Qc)(e),i=fr(s),o=ds(t,[],i);return ls(r,o,{state:{specObj:i}}),bs(o.element,n,{toolboxCreator:zi,visitorOptions:{keyMap:jr,nodeTypeGetter:Sr}})},Gi=e=>function(t){return Wi(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ui(Object(n),!0).forEach((function(t){Sn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ui(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({specPath:e},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))};Br.refract=Gi(["visitors","document","objects","JSONSchema","$visitor"]),bi.refract=Gi(["visitors","document","objects","JSONReference","$visitor"]),Ai.refract=Gi(["visitors","document","objects","Media","$visitor"]),Ni.refract=Gi(["visitors","document","objects","LinkDescription","$visitor"]);const Hi=class extends Br{constructor(e,t,n){super(e,t,n),this.element="JSONSchemaDraft6"}get idProp(){throw new Error("id keyword from Core vocabulary has been renamed to $id.")}set idProp(e){throw new Error("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)}},Ki=jn(xr,yr,{props:{specPath:ve(["document","objects","JSONSchema"])},methods:{ObjectElement(e){return this.element=new Hi,xr.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=e.clone(),this.element.classes.push("boolean-json-schema"),En}}}),Zi=yr,Qi=jn(Or,Dr,yr,{methods:{ObjectElement(e){const t=Vr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),En},ArrayElement(e){return this.element=new Nt.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=Vr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),En},BooleanElement(e){return this.element=this.toRefractedElement(["document","objects","JSONSchema"],e),En}}}),Xi=yr,Yi=jn(yr,{methods:{ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-examples"),En}}});const eo=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 Error("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}set schema(e){throw new Error("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 Error("method keyword from Hyper-Schema vocabulary has been removed.")}set method(e){throw new Error("method keyword from Hyper-Schema vocabulary has been removed.")}get encType(){throw new Error("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}set encType(e){throw new Error("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}get submissionEncType(){return this.get("submissionEncType")}set submissionEncType(e){this.set("submissionEncType",e)}},to=jn(xr,yr,{props:{specPath:ve(["document","objects","LinkDescription"])},init(){this.element=new eo}}),no=yr,so=Ve(Be(["visitors","document","objects","JSONSchema","$visitor"],Ki),Ge(["visitors","document","objects","JSONSchema","fixedFields","id"]),Be(["visitors","document","objects","JSONSchema","fixedFields","$id"],Zi),Be(["visitors","document","objects","JSONSchema","fixedFields","contains"],Ii.visitors.JSONSchemaOrJSONReferenceVisitor),Be(["visitors","document","objects","JSONSchema","fixedFields","items"],Qi),Be(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],Ii.visitors.JSONSchemaOrJSONReferenceVisitor),Be(["visitors","document","objects","JSONSchema","fixedFields","const"],Xi),Be(["visitors","document","objects","JSONSchema","fixedFields","examples"],Yi),Be(["visitors","document","objects","LinkDescription","$visitor"],to),Be(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],Ii.visitors.JSONSchemaOrJSONReferenceVisitor),Ge(["visitors","document","objects","LinkDescription","fixedFields","schema"]),Be(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],Ii.visitors.JSONSchemaOrJSONReferenceVisitor),Ge(["visitors","document","objects","LinkDescription","fixedFields","method"]),Ge(["visitors","document","objects","LinkDescription","fixedFields","encType"]),Be(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"],no))(Ii);function ro(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}const io=e=>{if(Rn(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},oo=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ro(Object(n),!0).forEach((function(t){Sn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ro(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({JSONSchemaDraft6Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"]},us),ao=Fn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Hi||t(e)&&n("JSONSchemaDraft6",e)&&s("object",e)})),co=Fn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof eo||t(e)&&n("linkDescription",e)&&s("object",e)})),uo={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft6",Hi),t.register("jSONReference",bi),t.register("media",Ai),t.register("linkDescription",eo),t}};function lo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function po(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lo(Object(n),!0).forEach((function(t){Sn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const ho=()=>{const e=rn(uo);return{predicates:po(po({},r),{},{isStringElement:Dn}),namespace:e}};function mo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}const go=function(e){let{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:s=so}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=(0,Nt.Qc)(e),i=fr(s),o=ds(t,[],i);return ls(r,o,{state:{specObj:i}}),bs(o.element,n,{toolboxCreator:ho,visitorOptions:{keyMap:oo,nodeTypeGetter:io}})},fo=e=>function(t){return go(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mo(Object(n),!0).forEach((function(t){Sn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({specPath:e},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))};Hi.refract=fo(["visitors","document","objects","JSONSchema","$visitor"]),eo.refract=fo(["visitors","document","objects","LinkDescription","$visitor"]);const bo=class extends Hi{constructor(e,t,n){super(e,t,n),this.element="JSONSchemaDraft7"}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",e)}get if(){return this.get("if")}set if(e){this.set("if",e)}get then(){return this.get("then")}set then(e){this.set("then",e)}get else(){return this.get("else")}set else(e){this.set("else",e)}get contentEncoding(){return this.get("contentEncoding")}set contentEncoding(e){this.set("contentEncoding",e)}get contentMediaType(){return this.get("contentMediaType")}set contentMediaType(e){this.set("contentMediaType",e)}get media(){throw new Error('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}set media(e){throw new Error('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)}},yo=jn(xr,yr,{props:{specPath:ve(["document","objects","JSONSchema"])},methods:{ObjectElement(e){return this.element=new bo,xr.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=e.clone(),this.element.classes.push("boolean-json-schema"),En}}}),vo=yr,_o=yr,So=yr,jo=yr;const wo=class extends eo{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 Error("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}set mediaType(e){throw new Error("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 Error("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}set submissionEncType(e){throw new Error("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}get submissionMediaType(){return this.get("submissionMediaType")}set submissionMediaType(e){this.set("submissionMediaType",e)}},Eo=jn(xr,yr,{props:{specPath:ve(["document","objects","LinkDescription"])},init(){this.element=new wo}}),Oo=yr,xo=yr,Po=yr,Bo=yr,$o=yr,Ao=yr,Mo=yr,qo=Ve(Be(["visitors","document","objects","JSONSchema","$visitor"],yo),Be(["visitors","document","objects","JSONSchema","fixedFields","$comment"],vo),Be(["visitors","document","objects","JSONSchema","fixedFields","if"],so.visitors.JSONSchemaOrJSONReferenceVisitor),Be(["visitors","document","objects","JSONSchema","fixedFields","then"],so.visitors.JSONSchemaOrJSONReferenceVisitor),Be(["visitors","document","objects","JSONSchema","fixedFields","else"],so.visitors.JSONSchemaOrJSONReferenceVisitor),Ge(["visitors","document","objects","JSONSchema","fixedFields","media"]),Be(["visitors","document","objects","JSONSchema","fixedFields","contentEncoding"],_o),Be(["visitors","document","objects","JSONSchema","fixedFields","contentMediaType"],So),Be(["visitors","document","objects","JSONSchema","fixedFields","writeOnly"],jo),Be(["visitors","document","objects","LinkDescription","$visitor"],Eo),Be(["visitors","document","objects","LinkDescription","fixedFields","anchor"],Oo),Be(["visitors","document","objects","LinkDescription","fixedFields","anchorPointer"],xo),Ge(["visitors","document","objects","LinkDescription","fixedFields","mediaType"]),Be(["visitors","document","objects","LinkDescription","fixedFields","targetMediaType"],Po),Be(["visitors","document","objects","LinkDescription","fixedFields","targetHints"],Bo),Be(["visitors","document","objects","LinkDescription","fixedFields","description"],$o),Be(["visitors","document","objects","LinkDescription","fixedFields","$comment"],Ao),Ge(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"]),Be(["visitors","document","objects","LinkDescription","fixedFields","submissionMediaType"],Mo))(so),ko=jn({props:{element:null},methods:{copyMetaAndAttributes(e,t){es(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),Co=jn(ko,{methods:{enter(e){return this.element=e.clone(),En}}});function No(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}const Io=e=>{if(Rn(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},To=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?No(Object(n),!0).forEach((function(t){Sn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):No(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({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"]},us);function Fo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function Ro(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fo(Object(n),!0).forEach((function(t){Sn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Do=jn(ko,{props:{specObj:null},init(e){let{specObj:t=this.specObj}=e;this.specObj=t},methods:{retrievePassingOptions(){return jt(["namespace","specObj"],this)},retrieveFixedFields(e){return Ve(yt(["visitors",...e,"fixedFields"]),k)(this.specObj)},retrieveVisitor(e){return St(Jt,["visitors",...e],this.specObj)?yt(["visitors",...e],this.specObj):yt(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.retrievePassingOptions();return this.retrieveVisitor(e)(Ro(Ro({},n),t))},toRefractedElement(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const s=this.retrieveVisitorInstance(e,n),r=Object.getPrototypeOf(s);return kt(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===r?t.clone():(ls(t,s,Ro(Ro({keyMap:To},n),{},{nodeTypeGetter:Io})),s.element)}}}),Vo=jn(Do,{methods:{MemberElement(e){return this.element=e.clone(),this.element.classes.push("specification-extension"),En}}}),Lo=e=>zn(e)&&e.hasKey("$ref"),Jo=e=>zn(e),zo=e=>Dn(e.key)&&$t("x-",e.key.toValue()),Uo=jn(Do,{props:{specPath:vr,ignoredFields:[],canSupportSpecificationExtensions:!0,specificationExtensionPredicate:zo},init(){let{specPath:e=this.specPath,ignoredFields:t=this.ignoredFields,canSupportSpecificationExtensions:n=this.canSupportSpecificationExtensions,specificationExtensionPredicate:s=this.specificationExtensionPredicate}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.specPath=e,this.ignoredFields=t,this.canSupportSpecificationExtensions=n,this.specificationExtensionPredicate=s},methods:{ObjectElement(e){const t=this.specPath(e),n=this.retrieveFixedFields(t);return e.forEach(((e,s,r)=>{if(Dn(s)&&n.includes(s.toValue())&&!this.ignoredFields.includes(s.toValue())){const n=this.toRefractedElement([...t,"fixedFields",s.toValue()],e),i=new Nt.c6(s.clone(),n);i.classes.push("fixed-field"),this.copyMetaAndAttributes(r,i),this.element.content.push(i)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(r)){const e=this.toRefractedElement(["document","extension"],r);this.element.content.push(e)}else this.ignoredFields.includes(s.toValue())||this.element.content.push(r.clone())})),this.copyMetaAndAttributes(e,this.element),En}}});class Wo extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="asyncApi2",this.classes.push("api")}get asyncapi(){return this.get("asyncapi")}set asyncapi(e){this.set("asyncapi",e)}get idProp(){return this.get("id")}set idProp(e){this.set("id",e)}get info(){return this.get("info")}set info(e){this.set("info",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get defaultContentType(){return this.get("defaultContentType")}set defaultContentType(e){this.set("defaultContentType",e)}get channels(){return this.get("channels")}set channels(e){this.set("channels",e)}get components(){return this.get("components")}set components(e){this.set("components",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}}const Go=Wo,Ho=jn(Uo,Co,{props:{specPath:ve(["document","objects","AsyncApi"]),canSupportSpecificationExtensions:!0},init(){this.element=new Go}});class Ko extends Nt.RP{constructor(e,t,n){super(e,t,n),this.element="asyncApiVersion",this.classes.push("spec-version"),this.classes.push("version")}}const Zo=Ko,Qo=jn(Do,Co,{methods:{StringElement(e){const t=new Zo(e.toValue());return this.copyMetaAndAttributes(e,t),this.element=t,En}}});class Xo extends Nt.RP{constructor(e,t,n){super(e,t,n),this.element="identifier"}}const Yo=Xo,ea=jn(Do,Co,{methods:{StringElement(e){const t=new Yo(e.toValue());return this.copyMetaAndAttributes(e,t),this.element=t,En}}});class ta extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="info",this.classes.push("info")}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get termsOfService(){return this.get("termsOfService")}set termsOfService(e){this.set("termsOfService",e)}get version(){return this.get("version")}set version(e){this.set("version",e)}get license(){return this.get("license")}set license(e){this.set("license",e)}get contact(){return this.get("contact")}set contact(e){this.set("contact",e)}}const na=ta,sa=jn(Uo,Co,{props:{specPath:ve(["document","objects","Info"]),canSupportSpecificationExtensions:!0},init(){this.element=new na}}),ra=Co,ia=Co,oa=Co,aa=jn(Co,{methods:{StringElement(e){return this.element=new Nt.RP(e.toValue()),this.copyMetaAndAttributes(e,this.element),this.element.classes.push("api-version"),this.element.classes.push("version"),En}}});class ca extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="contact"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}get email(){return this.get("email")}set email(e){this.set("email",e)}}const ua=ca,la=jn(Uo,Co,{props:{specPath:ve(["document","objects","Contact"]),canSupportSpecificationExtensions:!0},init(){this.element=new ua}}),pa=Co,ha=Co,ma=Co;class da extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="correlationID"}get description(){return this.get("description")}set description(e){this.set("description",e)}get location(){return this.get("location")}set location(e){this.set("location",e)}}const ga=da,fa=jn(Uo,Co,{props:{specPath:ve(["document","objects","CorrelationID"]),canSupportSpecificationExtensions:!0},init(){this.element=new ga}}),ba=Co,ya=Co;class va extends Nt.RP{constructor(e,t,n){super(e,t,n),this.element="defaultContentType"}}const _a=va,Sa=jn(Do,Co,{methods:{StringElement(e){const t=new _a(e.toValue());return this.copyMetaAndAttributes(e,t),this.element=t,En}}});class ja extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="license"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}}const wa=ja,Ea=jn(Uo,Co,{props:{specPath:ve(["document","objects","License"]),canSupportSpecificationExtensions:!0},init(){this.element=new wa}}),Oa=Co,xa=Co;class Pa extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="oAuthFlows"}get implicit(){return this.get("implicit")}set implicit(e){this.set("implicit",e)}get password(){return this.get("password")}set password(e){this.set("password",e)}get clientCredentials(){return this.get("clientCredentials")}set clientCredentials(e){this.set("clientCredentials",e)}get authorizationCode(){return this.get("authorizationCode")}set authorizationCode(e){this.set("authorizationCode",e)}}const Ba=Pa,$a=jn(Uo,Co,{props:{specPath:ve(["document","objects","OAuthFlows"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ba}});class Aa extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="oAuthFlow"}get authorizationUrl(){return this.get("authorizationUrl")}set authorizationUrl(e){this.set("authorizationUrl",e)}get tokenUrl(){return this.get("tokenUrl")}set tokenUrl(e){this.set("tokenUrl",e)}get refreshUrl(){return this.get("refreshUrl")}set refreshUrl(e){this.set("refreshUrl",e)}get scopes(){return this.get("scopes")}set scopes(e){this.set("scopes",e)}}const Ma=Aa,qa=jn(Uo,Co,{props:{specPath:ve(["document","objects","OAuthFlow"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ma}}),ka=Co,Ca=Co,Na=Co;class Ia extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(Ia.primaryClass)}}Sn(Ia,"primaryClass","oauth-flow-scopes");const Ta=Ia,Fa=jn(Do,{props:{fieldPatternPredicate:a,specPath:vr,ignoredFields:[],canSupportSpecificationExtensions:!1,specificationExtensionPredicate:zo},init(){let{specPath:e=this.specPath,ignoredFields:t=this.ignoredFields,canSupportSpecificationExtensions:n=this.canSupportSpecificationExtensions,specificationExtensionPredicate:s=this.specificationExtensionPredicate}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.specPath=e,this.ignoredFields=t,this.canSupportSpecificationExtensions=n,this.specificationExtensionPredicate=s},methods:{ObjectElement(e){return e.forEach(((e,t,n)=>{if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(n)){const e=this.toRefractedElement(["document","extension"],n);this.element.content.push(e)}else if(!this.ignoredFields.includes(t.toValue())&&this.fieldPatternPredicate(t.toValue())){const s=this.specPath(e),r=this.toRefractedElement(s,e),i=new Nt.c6(t.clone(),r);this.copyMetaAndAttributes(n,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(t.toValue())||this.element.content.push(n.clone())})),this.copyMetaAndAttributes(e,this.element),En}}}),Ra=jn(Fa,{props:{fieldPatternPredicate:Qr}}),Da=jn(Ra,Co,{props:{specPath:ve(["value"])},init(){this.element=new Ta}});class Va extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="servers"}}const La=Va;class Ja extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="channelBindings"}get http(){return this.get("http")}set http(e){this.set("http",e)}get ws(){return this.get("ws")}set ws(e){this.set("ws",e)}get kafka(){return this.get("kafka")}set kafka(e){this.set("kafka",e)}get anypointmq(){return this.get("anypointmq")}set anypointmq(e){this.set("anypointmq",e)}get amqp(){return this.get("amqp")}set amqp(e){this.set("amqp",e)}get amqp1(){return this.get("amqp1")}set amqp1(e){this.set("amqp1",e)}get mqtt(){return this.get("mqtt")}set mqtt(e){this.set("mqtt",e)}get mqtt5(){return this.get("mqtt5")}set mqtt5(e){this.set("mqtt5",e)}get nats(){return this.get("nats")}set nats(e){this.set("nats",e)}get jms(){return this.get("jms")}set jms(e){this.set("jms",e)}get sns(){return this.get("sns")}set sns(e){this.set("sns",e)}get solace(){return this.get("solace")}set solace(e){this.set("solace",e)}get sqs(){return this.get("sqs")}set sqs(e){this.set("sqs",e)}get stomp(){return this.get("stomp")}set stomp(e){this.set("stomp",e)}get redis(){return this.get("redis")}set redis(e){this.set("redis",e)}get mercure(){return this.get("mercure")}set mercure(e){this.set("mercure",e)}get googlepubsub(){return this.get("googlepubsub")}set googlepubsub(e){this.set("googlepubsub",e)}get ibmmq(){return this.get("ibmmq")}set ibmmq(e){this.set("ibmmq",e)}}const za=Ja;class Ua extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="channelItem"}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get subscribe(){return this.get("subscribe")}set subscribe(e){this.set("subscribe",e)}get publish(){return this.get("publish")}set publish(e){this.set("publish",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}}const Wa=Ua;class Ga extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="channels"}}const Ha=Ga;class Ka extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="components"}get schemas(){return this.get("schemas")}set schemas(e){this.set("schemas",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get serverVariables(){return this.get("serverVariables")}set serverVariables(e){this.set("serverVariables",e)}get messages(){return this.get("messages")}set messages(e){this.set("messages",e)}get securitySchemes(){return this.get("securitySchemes")}set securitySchemes(e){this.set("securitySchemes",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get correlationIds(){return this.get("correlationIds")}set correlationIds(e){this.set("correlationIds",e)}get operationTraits(){return this.get("operationTraits")}set operationTraits(e){this.set("operationTraits",e)}get messageTraits(){return this.get("messageTraits")}set messageTraits(e){this.set("messageTraits",e)}get serverBindings(){return this.get("serverBindings")}set serverBindings(e){this.set("serverBindings",e)}get channelBindings(){return this.get("channelBindings")}set channelBindings(e){this.set("channelBindings",e)}get operationBindings(){return this.get("operationBindings")}set operationBindings(e){this.set("operationBindings",e)}get messageBindings(){return this.get("messageBindings")}set messageBindings(e){this.set("messageBindings",e)}}const Za=Ka;class Qa extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="operation"}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}get traits(){return this.get("traits")}set traits(e){this.set("traits",e)}get message(){return this.get("message")}set message(e){this.set("message",e)}}const Xa=Qa;class Ya extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="parameter"}get description(){return this.get("description")}set description(e){this.set("description",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get location(){return this.get("location")}set location(e){this.set("location",e)}}const ec=Ya;class tc extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="parameters"}}const nc=tc;class sc extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="reference",this.classes.push("json-reference"),this.classes.push("asyncapi-reference")}set $ref(e){this.set("$ref",e)}get $ref(){return this.get("$ref")}}const rc=sc;function ic(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}const oc=e=>{if(Rn(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},ac=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ic(Object(n),!0).forEach((function(t){Sn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ic(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({JSONSchemaDraft7Element:["content"],JSONReferenceElement:["content"],LinkDescriptionElement:["content"]},us),cc=Fn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof bo||t(e)&&n("JSONSchemaDraft7",e)&&s("object",e)})),uc=Fn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof wo||t(e)&&n("linkDescription",e)&&s("object",e)})),lc={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft7",bo),t.register("jSONReference",bi),t.register("linkDescription",wo),t}};function pc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function hc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pc(Object(n),!0).forEach((function(t){Sn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const mc=()=>{const e=rn(lc);return{predicates:hc(hc({},i),{},{isStringElement:Dn}),namespace:e}};function dc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}const gc=function(e){let{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:s=qo}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=(0,Nt.Qc)(e),i=fr(s),o=ds(t,[],i);return ls(r,o,{state:{specObj:i}}),bs(o.element,n,{toolboxCreator:mc,visitorOptions:{keyMap:ac,nodeTypeGetter:oc}})},fc=e=>function(t){return gc(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dc(Object(n),!0).forEach((function(t){Sn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({specPath:e},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))};bo.refract=fc(["visitors","document","objects","JSONSchema","$visitor"]),wo.refract=fc(["visitors","document","objects","LinkDescription","$visitor"]);const bc=class extends bo{constructor(e,t,n){super(e,t,n),this.element="schema",this.classes.push("json-schema-draft-7")}get not(){return this.get("not")}get if(){return this.get("if")}set if(e){this.set("if",e)}get then(){return this.get("then")}set then(e){this.set("then",e)}get else(){return this.get("else")}set else(e){this.set("else",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get containsProp(){return this.get("contains")}set containsProp(e){this.set("contains",e)}get propertyNames(){return this.get("propertyNames")}set propertyNames(e){this.set("propertyNames",e)}get discriminator(){return this.get("discriminator")}get externalDocs(){return this.get("externalDocs")}get deprecated(){return this.get("deprecated")}};class yc extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="securityRequirement"}}const vc=yc;class _c extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="server"}get url(){return this.get("url")}set url(e){this.set("url",e)}get protocol(){return this.get("protocol")}set protocol(e){this.set("protocol",e)}get protocolVersion(){return this.get("protocolVersion")}set protocolVersion(e){this.set("protocolVersion",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get variables(){return this.get("variables")}set variables(e){this.set("variables",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}}const Sc=_c;class jc extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="serverBindings"}get http(){return this.get("http")}set http(e){this.set("http",e)}get ws(){return this.get("ws")}set ws(e){this.set("ws",e)}get kafka(){return this.get("kafka")}set kafka(e){this.set("kafka",e)}get anypointmq(){return this.get("anypointmq")}set anypointmq(e){this.set("anypointmq",e)}get amqp(){return this.get("amqp")}set amqp(e){this.set("amqp",e)}get amqp1(){return this.get("amqp1")}set amqp1(e){this.set("amqp1",e)}get mqtt(){return this.get("mqtt")}set mqtt(e){this.set("mqtt",e)}get mqtt5(){return this.get("mqtt5")}set mqtt5(e){this.set("mqtt5",e)}get nats(){return this.get("nats")}set nats(e){this.set("nats",e)}get jms(){return this.get("jms")}set jms(e){this.set("jms",e)}get sns(){return this.get("sns")}set sns(e){this.set("sns",e)}get solace(){return this.get("solace")}set solace(e){this.set("solace",e)}get sqs(){return this.get("sqs")}set sqs(e){this.set("sqs",e)}get stomp(){return this.get("stomp")}set stomp(e){this.set("stomp",e)}get redis(){return this.get("redis")}set redis(e){this.set("redis",e)}get mercure(){return this.get("mercure")}set mercure(e){this.set("mercure",e)}get googlepubsub(){return this.get("googlepubsub")}set googlepubsub(e){this.set("googlepubsub",e)}get ibmmq(){return this.get("ibmmq")}set ibmmq(e){this.set("ibmmq",e)}}const wc=jc;class Ec extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="serverVariable"}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}}const Oc=Ec,xc=Fn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s,hasClass:r}=e;return e=>e instanceof Go||t(e)&&n("asyncApi2",e)&&s("object",e)&&r("api",e)})),Pc=Fn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Zo||t(e)&&n("asyncApiVersion",e)&&s("string",e)})),Bc=Fn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof za||t(e)&&n("channelBindings",e)&&s("object",e)})),$c=Fn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Wa||t(e)&&n("channelItem",e)&&s("object",e)})),Ac=e=>{if(!$c(e))return!1;if(!Dn(e.$ref))return!1;const t=e.$ref.toValue();return"string"==typeof t&&t.length>0&&!t.startsWith("#")},Mc=Fn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Ha||t(e)&&n("channels",e)&&s("object",e)})),qc=Fn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Za||t(e)&&n("components",e)&&s("object",e)})),kc=Fn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof ua||t(e)&&n("contact",e)&&s("object",e)})),Cc=Fn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Yo||t(e)&&n("identifier",e)&&s("string",e)})),Nc=Fn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof na||t(e)&&n("info",e)&&s("object",e)})),Ic=Fn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof wa||t(e)&&n("license",e)&&s("object",e)})),Tc=Fn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Xa||t(e)&&n("operation",e)&&s("object",e)})),Fc=Fn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof ec||t(e)&&n("parameter",e)&&s("object",e)})),Rc=Fn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof nc||t(e)&&n("parameters",e)&&s("object",e)})),Dc=Fn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof rc||t(e)&&n("reference",e)&&s("object",e)})),Vc=e=>{if(!Dc(e))return!1;const t=e.$ref.toValue();return"string"==typeof t&&t.length>0&&!t.startsWith("#")},Lc=Fn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof bc||t(e)&&n("schema",e)&&s("object",e)})),Jc=e=>Jn(e)&&e.classes.includes("boolean-json-schema"),zc=Fn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof vc||t(e)&&n("securityRequirement",e)&&s("object",e)})),Uc=Fn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Sc||t(e)&&n("server",e)&&s("object",e)})),Wc=Fn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof wc||t(e)&&n("serverBindings",e)&&s("object",e)})),Gc=Fn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof La||t(e)&&n("servers",e)&&s("object",e)})),Hc=Fn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Oc||t(e)&&n("serverVariable",e)&&s("object",e)})),Kc=jn(Fa,Co,{props:{fieldPatternPredicate:At(/^[A-Za-z0-9_-]+$/),specPath:e=>Lo(e)?["document","objects","Reference"]:["document","objects","Server"],canSupportSpecificationExtensions:!1},init(){this.element=new La,this.element.classes.push("servers")},methods:{ObjectElement(e){const t=Fa.compose.methods.ObjectElement.call(this,e);return this.element.filter(Dc).forEach((e=>{e.setMetaProperty("referenced-element","server")})),t}}}),Zc=jn(Uo,Co,{props:{specPath:ve(["document","objects","Server"]),canSupportSpecificationExtensions:!0},init(){this.element=new Sc}}),Qc=jn(Co,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("server-url"),En}}}),Xc=Co,Yc=Co,eu=Co,tu=jn(Do,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((e=>{let{predicate:t,specPath:n}=e;return pt(t,ve(n),qt)})),n=xi(t)(e);return this.element=this.toRefractedElement(n,e),En}}}),nu=jn(tu,Co,{props:{alternator:[{predicate:Lo,specPath:["document","objects","Reference"]},{predicate:c,specPath:["document","objects","ServerBindings"]}]},methods:{ObjectElement(e){const t=tu.compose.methods.enter.call(this,e);return Dc(this.element)&&this.element.setMetaProperty("referenced-element","serverBindings"),t}}});class su extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(su.primaryClass)}}Sn(su,"primaryClass","server-variables");const ru=su,iu=jn(Ra,Co,{props:{specPath:e=>Lo(e)?["document","objects","Reference"]:["document","objects","ServerVariable"]},init(){this.element=new ru}});class ou extends Nt.ON{constructor(e,t,n){super(e,t,n),this.classes.push(ou.primaryClass)}}Sn(ou,"primaryClass","server-security");const au=ou,cu=jn(Do,Co,{init(){this.element=new au},methods:{ArrayElement(e){return e.forEach((e=>{if(Jo(e)){const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}else this.element.push(e)})),this.copyMetaAndAttributes(e,this.element),En}}}),uu=jn(Uo,Co,{props:{specPath:ve(["document","objects","ServerVariable"]),canSupportSpecificationExtensions:!0},init(){this.element=new Oc}}),lu=Co,pu=Co,hu=Co,mu=Co,du=jn(Uo,Co,{props:{specPath:ve(["document","objects","ServerBindings"]),canSupportSpecificationExtensions:!0},init(){this.element=new wc}});class gu extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="securityScheme"}get type(){return this.get("type")}set type(e){this.set("type",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get in(){return this.get("in")}set in(e){this.set("in",e)}get scheme(){return this.get("scheme")}set scheme(e){this.set("scheme",e)}get bearerFormat(){return this.get("bearerFormat")}set bearerFormat(e){this.set("bearerFormat",e)}get flows(){return this.get("flows")}set flows(e){this.set("flows",e)}get openIdConnectUrl(){return this.get("openIdConnectUrl")}set openIdConnectUrl(e){this.set("openIdConnectUrl",e)}}const fu=gu,bu=jn(Uo,Co,{props:{specPath:ve(["document","objects","SecurityScheme"]),canSupportSpecificationExtensions:!0},init(){this.element=new fu}}),yu=Co,vu=Co,_u=Co,Su=Co,ju=Co,wu=Co,Eu=Co,Ou=jn(Ra,Co,{props:{specPath:ve(["value"])},init(){this.element=new vc}}),xu=jn(Uo,Co,{props:{specPath:ve(["document","objects","Reference"]),canSupportSpecificationExtensions:!1},init(){this.element=new rc},methods:{ObjectElement(e){const t=Uo.compose.methods.ObjectElement.call(this,e);return Dn(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),Pu=jn(Co,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),En}}}),Bu=jn(Uo,Co,{props:{specPath:ve(["document","objects","Schema"]),canSupportSpecificationExtensions:!0},methods:{ObjectElement(e){return this.element=new bc,Uo.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=e.clone(),this.element.classes.push("boolean-json-schema"),En}}}),{JSONSchemaOrJSONReferenceVisitor:$u}=qo.visitors,Au=jn($u,{methods:{enter(e){const t=$u.compose.methods.enter.call(this,e);return Dc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),Mu=Co,qu=Co,{allOf:ku}=qo.visitors.document.objects.JSONSchema.fixedFields,Cu=jn(ku,{methods:{ArrayElement(e){const t=ku.compose.methods.ArrayElement.call(this,e);return this.element.filter(Dc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{anyOf:Nu}=qo.visitors.document.objects.JSONSchema.fixedFields,Iu=jn(Nu,{methods:{ArrayElement(e){const t=Nu.compose.methods.ArrayElement.call(this,e);return this.element.filter(Dc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{oneOf:Tu}=qo.visitors.document.objects.JSONSchema.fixedFields,Fu=jn(Tu,{methods:{ArrayElement(e){const t=Tu.compose.methods.ArrayElement.call(this,e);return this.element.filter(Dc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{definitions:Ru}=qo.visitors.document.objects.JSONSchema.fixedFields,Du=jn(Ru,{methods:{ObjectElement(e){const t=Ru.compose.methods.ObjectElement.call(this,e);return this.element.filter(Dc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{dependencies:Vu}=qo.visitors.document.objects.JSONSchema.fixedFields,Lu=jn(Vu,{methods:{ObjectElement(e){const t=Vu.compose.methods.ObjectElement.call(this,e);return this.element.filter(Dc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{items:Ju}=qo.visitors.document.objects.JSONSchema.fixedFields,zu=jn(Ju,{methods:{ObjectElement(e){const t=Ju.compose.methods.ObjectElement.call(this,e);return Dc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t},ArrayElement(e){const t=Ju.compose.methods.ArrayElement.call(this,e);return this.element.filter(Dc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{patternProperties:Uu}=qo.visitors.document.objects.JSONSchema.fixedFields,Wu=jn(Uu,{methods:{ObjectElement(e){const t=Uu.compose.methods.ObjectElement.call(this,e);return this.element.filter(Dc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{properties:Gu}=qo.visitors.document.objects.JSONSchema.fixedFields,Hu=jn(Gu,{methods:{ObjectElement(e){const t=Gu.compose.methods.ObjectElement.call(this,e);return this.element.filter(Dc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),Ku=ee((e=>e===qo.visitors.JSONSchemaOrJSONReferenceVisitor?Au:e),qo.visitors.document.objects.JSONSchema.fixedFields),Zu=jn(Fa,Co,{props:{fieldPatternPredicate:At(/^[A-Za-z0-9_-]+$/),specPath:e=>Lo(e)?["document","objects","Reference"]:(e=>zn(e))(e)?["document","objects","Parameter"]:["value"],canSupportSpecificationExtensions:!1},init(){this.element=new nc},methods:{ObjectElement(e){const t=Fa.compose.methods.ObjectElement.call(this,e);return this.element.filter(Dc).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}}),Qu=jn(Uo,Co,{props:{specPath:ve(["document","objects","Parameter"]),canSupportSpecificationExtensions:!0},init(){this.element=new ec}}),Xu=Co,Yu=Co,el=jn(tu,Co,{props:{alternator:[{predicate:Lo,specPath:["document","objects","Reference"]},{predicate:c,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=tu.compose.methods.enter.call(this,e);return Dc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}});class tl extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="externalDocumentation"}get description(){return this.get("description")}set description(e){this.set("description",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}}const nl=tl,sl=jn(Uo,Co,{props:{specPath:ve(["document","objects","ExternalDocumentation"]),canSupportSpecificationExtensions:!0},init(){this.element=new nl}}),rl=Co,il=Co,ol=jn(Uo,Co,{props:{specPath:ve(["document","objects","Components"]),canSupportSpecificationExtensions:!0},init(){this.element=new Za}});class al extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(al.primaryClass)}}Sn(al,"primaryClass","components-schemas");const cl=al,ul=jn(Ra,Co,{props:{specPath:e=>Lo(e)?["document","objects","Reference"]:["document","objects","Schema"]},init(){this.element=new cl},methods:{ObjectElement(e){const t=Ra.compose.methods.ObjectElement.call(this,e);return this.element.filter(Dc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}});class ll extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(ll.primaryClass)}}Sn(ll,"primaryClass","components-servers");const pl=ll,hl=jn(Ra,Co,{props:{specPath:e=>Lo(e)?["document","objects","Reference"]:["document","objects","Server"]},init(){this.element=new pl},methods:{ObjectElement(e){const t=Ra.compose.methods.ObjectElement.call(this,e);return this.element.filter(Dc).forEach((e=>{e.setMetaProperty("referenced-element","server")})),t}}});class ml extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(ml.primaryClass)}}Sn(ml,"primaryClass","components-server-variables");const dl=ml,gl=jn(Ra,Co,{props:{specPath:e=>Lo(e)?["document","objects","Reference"]:["document","objects","ServerVariable"]},init(){this.element=new dl},methods:{ObjectElement(e){const t=Ra.compose.methods.ObjectElement.call(this,e);return this.element.filter(Dc).forEach((e=>{e.setMetaProperty("referenced-element","serverVariable")})),t}}});class fl extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(fl.primaryClass)}}Sn(fl,"primaryClass","components-channels");const bl=fl,yl=jn(Ra,Co,{props:{specPath:ve(["document","objects","ChannelItem"])},init(){this.element=new bl}});class vl extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(vl.primaryClass)}}Sn(vl,"primaryClass","components-messages");const _l=vl,Sl=jn(Ra,Co,{props:{specPath:e=>Lo(e)?["document","objects","Reference"]:["document","objects","Message"]},init(){this.element=new _l},methods:{ObjectElement(e){const t=Ra.compose.methods.ObjectElement.call(this,e);return this.element.filter(Dc).forEach((e=>{e.setMetaProperty("referenced-element","message")})),t}}});class jl extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(jl.primaryClass)}}Sn(jl,"primaryClass","components-security-schemes");const wl=jl,El=jn(Ra,Co,{props:{specPath:e=>Lo(e)?["document","objects","Reference"]:["document","objects","SecurityScheme"]},init(){this.element=new wl},methods:{ObjectElement(e){const t=Ra.compose.methods.ObjectElement.call(this,e);return this.element.filter(Dc).forEach((e=>{e.setMetaProperty("referenced-element","securityScheme")})),t}}});class Ol extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(Ol.primaryClass)}}Sn(Ol,"primaryClass","components-parameters");const xl=Ol,Pl=jn(Ra,Co,{props:{specPath:e=>Lo(e)?["document","objects","Reference"]:["document","objects","Parameter"]},init(){this.element=new xl},methods:{ObjectElement(e){const t=Ra.compose.methods.ObjectElement.call(this,e);return this.element.filter(Dc).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}});class Bl extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(Bl.primaryClass)}}Sn(Bl,"primaryClass","components-correlation-ids");const $l=Bl,Al=jn(Ra,Co,{props:{specPath:e=>Lo(e)?["document","objects","Reference"]:["document","objects","CorrelationID"]},init(){this.element=new $l},methods:{ObjectElement(e){const t=Ra.compose.methods.ObjectElement.call(this,e);return this.element.filter(Dc).forEach((e=>{e.setMetaProperty("referenced-element","correlationID")})),t}}});class Ml extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(Ml.primaryClass)}}Sn(Ml,"primaryClass","components-operation-traits");const ql=Ml,kl=jn(Ra,Co,{props:{specPath:e=>Lo(e)?["document","objects","Reference"]:["document","objects","OperationTrait"]},init(){this.element=new ql},methods:{ObjectElement(e){const t=Ra.compose.methods.ObjectElement.call(this,e);return this.element.filter(Dc).forEach((e=>{e.setMetaProperty("referenced-element","operationTrait")})),t}}});class Cl extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(Cl.primaryClass)}}Sn(Cl,"primaryClass","components-message-traits");const Nl=Cl,Il=jn(Ra,Co,{props:{specPath:e=>Lo(e)?["document","objects","Reference"]:["document","objects","MessageTrait"]},init(){this.element=new Nl},methods:{ObjectElement(e){const t=Ra.compose.methods.ObjectElement.call(this,e);return this.element.filter(Dc).forEach((e=>{e.setMetaProperty("referenced-element","messageTrait")})),t}}});class Tl extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(Tl.primaryClass)}}Sn(Tl,"primaryClass","components-server-bindings");const Fl=Tl,Rl=jn(Ra,Co,{props:{specPath:e=>Lo(e)?["document","objects","Reference"]:["document","objects","ServerBindings"]},init(){this.element=new Fl},methods:{ObjectElement(e){const t=Ra.compose.methods.ObjectElement.call(this,e);return this.element.filter(Dc).forEach((e=>{e.setMetaProperty("referenced-element","serverBindings")})),t}}});class Dl extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(Dl.primaryClass)}}Sn(Dl,"primaryClass","components-channel-bindings");const Vl=Dl,Ll=jn(Ra,Co,{props:{specPath:e=>Lo(e)?["document","objects","Reference"]:["document","objects","ChannelBindings"]},init(){this.element=new Vl},methods:{ObjectElement(e){const t=Ra.compose.methods.ObjectElement.call(this,e);return this.element.filter(Dc).forEach((e=>{e.setMetaProperty("referenced-element","channelBindings")})),t}}});class Jl extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(Jl.primaryClass)}}Sn(Jl,"primaryClass","components-operation-bindings");const zl=Jl,Ul=jn(Ra,Co,{props:{specPath:e=>Lo(e)?["document","objects","Reference"]:["document","objects","OperationBindings"]},init(){this.element=new zl},methods:{ObjectElement(e){const t=Ra.compose.methods.ObjectElement.call(this,e);return this.element.filter(Dc).forEach((e=>{e.setMetaProperty("referenced-element","operationBindings")})),t}}});class Wl extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(Wl.primaryClass)}}Sn(Wl,"primaryClass","components-message-bindings");const Gl=Wl,Hl=jn(Ra,Co,{props:{specPath:e=>Lo(e)?["document","objects","Reference"]:["document","objects","MessageBindings"]},init(){this.element=new Gl},methods:{ObjectElement(e){const t=Ra.compose.methods.ObjectElement.call(this,e);return this.element.filter(Dc).forEach((e=>{e.setMetaProperty("referenced-element","messageBindings")})),t}}}),Kl=jn(Uo,Co,{props:{specPath:ve(["document","objects","Operation"])},init(){this.element=new Xa}}),Zl=Co,Ql=Co,Xl=Co;class Yl extends Nt.ON{constructor(e,t,n){super(e,t,n),this.classes.push(Yl.primaryClass)}}Sn(Yl,"primaryClass","operation-security");const ep=Yl,tp=jn(Do,Co,{init(){this.element=new ep},methods:{ArrayElement(e){return e.forEach((e=>{if(Jo(e)){const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}else this.element.push(e)})),this.copyMetaAndAttributes(e,this.element),En}}}),np=jn(tu,Co,{props:{alternator:[{predicate:Lo,specPath:["document","objects","Reference"]},{predicate:c,specPath:["document","objects","OperationBindings"]}]},methods:{ObjectElement(e){const t=tu.compose.methods.enter.call(this,e);return Dc(this.element)&&this.element.setMetaProperty("referenced-element","operationBindings"),t}}});class sp extends Nt.ON{constructor(e,t,n){super(e,t,n),this.classes.push(sp.primaryClass)}}Sn(sp,"primaryClass","operation-traits");const rp=sp,ip=jn(Do,Co,{init(){this.element=new rp},methods:{ArrayElement(e){return e.forEach((e=>{let t;Lo(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),En}}});class op extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(op.primaryClass)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}}Sn(op,"primaryClass","operation-message-map");const ap=op;class cp extends Nt.ON{constructor(e,t,n){super(e,t,n),this.classes.push(cp.primaryClass)}}Sn(cp,"primaryClass","operation-message");const up=cp,lp=jn(Do,Co,{methods:{ObjectElement(e){if(Lo(e))this.element=this.toRefractedElement(["document","objects","Reference"],e),this.element.setMetaProperty("referenced-element","message");else if(Un(e.get("oneOf"))){this.element=new ap;const t=new up;e.get("oneOf").forEach((e=>{let n;Lo(e)?(n=this.toRefractedElement(["document","objects","Reference"],e),n.setMetaProperty("referenced-element","message")):n=this.toRefractedElement(["document","objects","Message"],e),t.push(n)})),this.element.oneOf=t}else this.element=this.toRefractedElement(["document","objects","Message"],e);return this.copyMetaAndAttributes(e,this.element),En}}});class pp extends Nt.ON{constructor(e,t,n){super(e,t,n),this.element="tags"}}const hp=pp,mp=jn(Do,Co,{init(){this.element=new hp},methods:{ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","Tag"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),En}}});class dp extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="tag"}get name(){return this.get("name")}set name(e){this.set("name",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}}const gp=dp,fp=jn(Uo,Co,{props:{specPath:ve(["document","objects","Tag"]),canSupportSpecificationExtensions:!0},init(){this.element=new gp}}),bp=Co,yp=Co,vp=jn(Ra,Co,{props:{specPath:ve(["document","objects","ChannelItem"])},init(){this.element=new Ha}}),_p=jn(Uo,Co,{props:{specPath:ve(["document","objects","ChannelBindings"]),canSupportSpecificationExtensions:!0},init(){this.element=new za}}),Sp=jn(Uo,Co,{props:{specPath:ve(["document","objects","ChannelItem"]),canSupportSpecificationExtensions:!0},init(){this.element=new Wa},methods:{ObjectElement(e){const t=Uo.compose.methods.ObjectElement.call(this,e);return Dn(this.element.$ref)&&(this.element.classes.push("reference-element"),this.element.setMetaProperty("referenced-element","channelItem")),t}}}),jp=jn(Co,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),En}}}),wp=Co;class Ep extends Nt.ON{constructor(e,t,n){super(e,t,n),this.classes.push(Ep.primaryClass)}}Sn(Ep,"primaryClass","channel-item-server-names-list");const Op=Ep,xp=jn(Do,Co,{init(){this.element=new Op},methods:{ArrayElement(e){return e.forEach((e=>{const t=e.clone();Dn(t)&&t.classes.push("server-name"),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),En}}}),Pp=jn(tu,Co,{props:{alternator:[{predicate:Lo,specPath:["document","objects","Reference"]},{predicate:c,specPath:["document","objects","ChannelBindings"]}]},methods:{ObjectElement(e){const t=tu.compose.methods.enter.call(this,e);return Dc(this.element)&&this.element.setMetaProperty("referenced-element","channelBindings"),t}}});class Bp extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="messageBindings"}get http(){return this.get("http")}set http(e){this.set("http",e)}get ws(){return this.get("ws")}set ws(e){this.set("ws",e)}get kafka(){return this.get("kafka")}set kafka(e){this.set("kafka",e)}get anypointmq(){return this.get("anypointmq")}set anypointmq(e){this.set("anypointmq",e)}get amqp(){return this.get("amqp")}set amqp(e){this.set("amqp",e)}get amqp1(){return this.get("amqp1")}set amqp1(e){this.set("amqp1",e)}get mqtt(){return this.get("mqtt")}set mqtt(e){this.set("mqtt",e)}get mqtt5(){return this.get("mqtt5")}set mqtt5(e){this.set("mqtt5",e)}get nats(){return this.get("nats")}set nats(e){this.set("nats",e)}get jms(){return this.get("jms")}set jms(e){this.set("jms",e)}get sns(){return this.get("sns")}set sns(e){this.set("sns",e)}get solace(){return this.get("solace")}set solace(e){this.set("solace",e)}get sqs(){return this.get("sqs")}set sqs(e){this.set("sqs",e)}get stomp(){return this.get("stomp")}set stomp(e){this.set("stomp",e)}get redis(){return this.get("redis")}set redis(e){this.set("redis",e)}get mercure(){return this.get("mercure")}set mercure(e){this.set("mercure",e)}get googlepubsub(){return this.get("googlepubsub")}set googlepubsub(e){this.set("googlepubsub",e)}get ibmmq(){return this.get("ibmmq")}set ibmmq(e){this.set("ibmmq",e)}}const $p=Bp,Ap=jn(Uo,Co,{props:{specPath:ve(["document","objects","MessageBindings"]),canSupportSpecificationExtensions:!0},init(){this.element=new $p}});class Mp extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="messageExample"}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get payload(){return this.get("payload")}set payload(e){this.set("payload",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}}const qp=Mp,kp=jn(Uo,Co,{props:{specPath:ve(["document","objects","MessageExample"]),canSupportSpecificationExtensions:!0},init(){this.element=new qp}}),Cp=Co,Np=Co,Ip=Co,Tp=Co;class Fp extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="messageTrait"}get messageId(){return this.get("messageId")}set messageId(e){this.set("messageId",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get correlationId(){return this.get("correlationId")}set correlationId(e){this.set("correlationId",e)}get schemaFormat(){return this.get("schemaFormat")}set schemaFormat(e){this.set("schemaFormat",e)}get contentType(){return this.get("contentType")}set contentType(e){this.set("contentType",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}}const Rp=Fp,Dp=jn(Uo,Co,{props:{specPath:ve(["document","objects","MessageTrait"]),canSupportSpecificationExtensions:!0},init(){this.element=new Rp}}),Vp=Co,Lp=jn(tu,Co,{props:{alternator:[{predicate:Lo,specPath:["document","objects","Reference"]},{predicate:c,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=tu.compose.methods.enter.call(this,e);return Dc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),Jp=jn(tu,Co,{props:{alternator:[{predicate:Lo,specPath:["document","objects","Reference"]},{predicate:c,specPath:["document","objects","CorrelationID"]}]},methods:{ObjectElement(e){const t=tu.compose.methods.enter.call(this,e);return Dc(this.element)&&this.element.setMetaProperty("referenced-element","correlationID"),t}}}),zp=Co,Up=Co,Wp=Co,Gp=Co,Hp=Co,Kp=Co,Zp=jn(tu,Co,{props:{alternator:[{predicate:Lo,specPath:["document","objects","Reference"]},{predicate:c,specPath:["document","objects","MessageBindings"]}]},methods:{ObjectElement(e){const t=tu.compose.methods.enter.call(this,e);return Dc(this.element)&&this.element.setMetaProperty("referenced-element","messageBindings"),t}}});class Qp extends Nt.ON{constructor(e,t,n){super(e,t,n),this.classes.push(Qp.primaryClass)}}Sn(Qp,"primaryClass","message-trait-examples");const Xp=Qp,Yp=jn(Do,Co,{init(){this.element=new Xp},methods:{ArrayElement(e){return e.forEach((e=>{let t;t=zn(e)?this.toRefractedElement(["document","objects","MessageExample"],e):e.clone(),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),En}}});const eh=class extends Array{constructor(){super(...arguments),Sn(this,"unknownMediaType","application/octet-stream")}filterByFormat(){throw new Error("Not implemented!")}findBy(){throw new Error("Not implemented")}latest(){throw new Error("Not implemented!")}};class th extends eh{filterByFormat(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"generic";const t="generic"===e?"asyncapi;version":e;return this.filter((e=>e.includes(t)))}findBy(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"2.6.0",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"generic";const n="generic"===t?`vnd.aai.asyncapi;version=${e}`:`vnd.aai.asyncapi+${t};version=${e}`;return this.find((e=>e.includes(n)))||this.unknownMediaType}latest(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"generic";return Qe(this.filterByFormat(e))}}const nh=new th("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 sh extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="message"}get messageId(){return this.get("messageId")}set messageId(e){this.set("messageId",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get payload(){return this.get("payload")}set payload(e){this.set("payload",e)}get correlationId(){return this.get("correlationId")}set correlationId(e){this.set("correlationId",e)}get schemaFormat(){return this.get("schemaFormat")}set schemaFormat(e){this.set("schemaFormat",e)}get contentType(){return this.get("contentType")}set contentType(e){this.set("contentType",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get traits(){return this.get("traits")}set traits(e){this.set("traits",e)}}const rh=sh,ih=jn(Uo,Co,{props:{specPath:ve(["document","objects","Message"]),canSupportSpecificationExtensions:!0},init(){this.element=new rh},methods:{ObjectElement(e){var t;const n=Uo.compose.methods.ObjectElement.call(this,e),s=this.element.get("payload"),r=ze(nh.latest(),null===(t=e.get("schemaFormat"))||void 0===t?void 0:t.toValue());if(nh.includes(r)&&Lo(s)){const e=this.toRefractedElement(["document","objects","Reference"],s);e.meta.set("referenced-element","schema"),this.element.payload=e}else nh.includes(r)&&zn(this.element.payload)&&(this.element.payload=this.toRefractedElement(["document","objects","Schema"],s));return n}}}),oh=Co,ah=jn(tu,Co,{props:{alternator:[{predicate:Lo,specPath:["document","objects","Reference"]},{predicate:c,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=tu.compose.methods.enter.call(this,e);return Dc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),ch=Co,uh=jn(tu,Co,{props:{alternator:[{predicate:Lo,specPath:["document","objects","Reference"]},{predicate:c,specPath:["document","objects","CorrelationID"]}]},methods:{ObjectElement(e){const t=tu.compose.methods.enter.call(this,e);return Dc(this.element)&&this.element.setMetaProperty("referenced-element","correlationID"),t}}}),lh=Co,ph=Co,hh=Co,mh=Co,dh=Co,gh=Co,fh=jn(tu,Co,{props:{alternator:[{predicate:Lo,specPath:["document","objects","Reference"]},{predicate:c,specPath:["document","objects","MessageBindings"]}]},methods:{ObjectElement(e){const t=tu.compose.methods.enter.call(this,e);return Dc(this.element)&&this.element.setMetaProperty("referenced-element","messageBindings"),t}}});class bh extends Nt.ON{constructor(e,t,n){super(e,t,n),this.classes.push(bh.primaryClass)}}Sn(bh,"primaryClass","message-examples");const yh=bh,vh=jn(Do,Co,{init(){this.element=new yh},methods:{ArrayElement(e){return e.forEach((e=>{let t;t=zn(e)?this.toRefractedElement(["document","objects","MessageExample"],e):e.clone(),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),En}}});class _h extends Nt.ON{constructor(e,t,n){super(e,t,n),this.classes.push(_h.primaryClass)}}Sn(_h,"primaryClass","message-traits");const Sh=_h,jh=jn(Do,Co,{init(){this.element=new Sh},methods:{ArrayElement(e){return e.forEach((e=>{let t;Lo(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),En}}});class wh extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="operationBindings"}get http(){return this.get("http")}set http(e){this.set("http",e)}get ws(){return this.get("ws")}set ws(e){this.set("ws",e)}get kafka(){return this.get("kafka")}set kafka(e){this.set("kafka",e)}get anypointmq(){return this.get("anypointmq")}set anypointmq(e){this.set("anypointmq",e)}get amqp(){return this.get("amqp")}set amqp(e){this.set("amqp",e)}get amqp1(){return this.get("amqp1")}set amqp1(e){this.set("amqp1",e)}get mqtt(){return this.get("mqtt")}set mqtt(e){this.set("mqtt",e)}get mqtt5(){return this.get("mqtt5")}set mqtt5(e){this.set("mqtt5",e)}get nats(){return this.get("nats")}set nats(e){this.set("nats",e)}get jms(){return this.get("jms")}set jms(e){this.set("jms",e)}get sns(){return this.get("sns")}set sns(e){this.set("sns",e)}get solace(){return this.get("solace")}set solace(e){this.set("solace",e)}get sqs(){return this.get("sqs")}set sqs(e){this.set("sqs",e)}get stomp(){return this.get("stomp")}set stomp(e){this.set("stomp",e)}get redis(){return this.get("redis")}set redis(e){this.set("redis",e)}get mercure(){return this.get("mercure")}set mercure(e){this.set("mercure",e)}get googlepubsub(){return this.get("googlepubsub")}set googlepubsub(e){this.set("googlepubsub",e)}get ibmmq(){return this.get("ibmmq")}set ibmmq(e){this.set("ibmmq",e)}}const Eh=wh,Oh=jn(Uo,Co,{props:{specPath:ve(["document","objects","OperationBindings"]),canSupportSpecificationExtensions:!0},init(){this.element=new Eh}});class xh extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="operationTrait"}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}}const Ph=xh,Bh=jn(Uo,Co,{props:{specPath:ve(["document","objects","OperationTrait"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ph}}),$h=Co,Ah=Co,Mh=Co;class qh extends Nt.ON{constructor(e,t,n){super(e,t,n),this.classes.push(qh.primaryClass)}}Sn(qh,"primaryClass","operation-trait-security");const kh=qh,Ch=jn(Do,Co,{init(){this.element=new kh},methods:{ArrayElement(e){return e.forEach((e=>{if(Jo(e)){const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}else this.element.push(e)})),this.copyMetaAndAttributes(e,this.element),En}}}),Nh=jn(tu,Co,{props:{alternator:[{predicate:Lo,specPath:["document","objects","Reference"]},{predicate:c,specPath:["document","objects","OperationBindings"]}]},methods:{ObjectElement(e){const t=tu.compose.methods.enter.call(this,e);return Dc(this.element)&&this.element.setMetaProperty("referenced-element","operationBindings"),t}}});class Ih extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="amqpChannelBinding",this.classes.push("channel-binding")}get is(){return this.get("is")}set is(e){this.set("is",e)}get exchange(){return this.get("exchange")}set exchange(e){this.set("exchange",e)}get queue(){return this.get("queue")}set queue(e){this.set("queue",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const Th=Ih,Fh=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","amqp","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Th}});class Rh extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="amqpMessageBinding",this.classes.push("message-binding")}get contentEncoding(){return this.get("contentEncoding")}set contentEncoding(e){this.set("contentEncoding",e)}get messageType(){return this.get("messageType")}set messageType(e){this.set("messageType",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const Dh=Rh,Vh=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","amqp","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Dh}});class Lh extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="amqpOperationBinding",this.classes.push("operation-binding")}get expiration(){return this.get("expiration")}set expiration(e){this.set("expiration",e)}get userId(){return this.get("userId")}set userId(e){this.set("userId",e)}get cc(){return this.get("cc")}set cc(e){this.set("cc",e)}get priority(){return this.get("priority")}set priority(e){this.set("priority",e)}get deliveryMode(){return this.get("deliveryMode")}set deliveryMode(e){this.set("deliveryMode",e)}get mandatory(){return this.get("mandatory")}set mandatory(e){this.set("mandatory",e)}get bcc(){return this.get("bcc")}set bcc(e){this.set("bcc",e)}get replyTo(){return this.get("replyTo")}set replyTo(e){this.set("replyTo",e)}get timestamp(){return this.get("timestamp")}set timestamp(e){this.set("timestamp",e)}get ack(){return this.get("ack")}set ack(e){this.set("ack",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const Jh=Lh,zh=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","amqp","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Jh}});class Uh extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="amqpServerBinding",this.classes.push("server-binding")}}const Wh=Uh,Gh=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","amqp","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Wh}});class Hh extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="amqp1ChannelBinding",this.classes.push("channel-binding")}}const Kh=Hh,Zh=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","amqp1","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Kh}});class Qh extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="amqp1MessageBinding",this.classes.push("message-binding")}}const Xh=Qh,Yh=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","amqp1","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Xh}});class em extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="amqp1OperationBinding",this.classes.push("operation-binding")}}const tm=em,nm=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","amqp1","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new tm}});class sm extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="amqp1ServerBinding",this.classes.push("server-binding")}}const rm=sm,im=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","amqp1","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new rm}});class om extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="anypointmqChannelBinding",this.classes.push("channel-binding")}get destination(){return this.get("destination")}set destination(e){this.set("destination",e)}get destinationType(){return this.get("destinationType")}set destinationType(e){this.set("destinationType",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const am=om,cm=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","anypointmq","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new am}});class um extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="anypointmqMessageBinding",this.classes.push("message-binding")}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const lm=um,pm=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","anypointmq","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new lm}});class hm extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="anypointmqOperationBinding",this.classes.push("operation-binding")}}const mm=hm,dm=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","anypointmq","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new mm}});class gm extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="anypointmqServerBinding",this.classes.push("server-binding")}}const fm=gm,bm=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","anypointmq","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new fm}});class ym extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="httpChannelBinding",this.classes.push("channel-binding")}}const vm=ym,_m=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","http","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new vm}});class Sm extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="httpMessageBinding",this.classes.push("message-binding")}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const jm=Sm,wm=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","http","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new jm}});class Em extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="httpOperationBinding",this.classes.push("operation-binding")}get type(){return this.get("type")}set type(e){this.set("type",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get query(){return this.get("query")}set query(e){this.set("query",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const Om=Em,xm=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","http","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Om}});class Pm extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="httpServerBinding",this.classes.push("server-binding")}}const Bm=Pm,$m=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","http","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Bm}});class Am extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="googlepubsubChannelBinding",this.classes.push("channel-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}get labels(){return this.get("labels")}set labels(e){this.set("labels",e)}get messageRetentionDuration(){return this.get("messageRetentionDuration")}set messageRetentionDuration(e){this.set("messageRetentionDuration",e)}get messageStoragePolicy(){return this.get("messageStoragePolicy")}set messageStoragePolicy(e){this.set("messageStoragePolicy",e)}get schemaSettings(){return this.get("schemaSettings")}set schemaSettings(e){this.set("schemaSettings",e)}get topic(){return this.get("topic")}set topic(e){this.set("topic",e)}}const Mm=Am,qm=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","googlepubsub","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Mm}});class km extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="googlepubsubMessageBinding",this.classes.push("message-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}get attributesProp(){return this.get("attributes")}set attributesProp(e){this.set("attributes",e)}get orderingKey(){return this.get("orderingKey")}set orderingKey(e){this.set("orderingKey",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}}const Cm=km,Nm=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","googlepubusb","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Cm}});class Im extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="googlepubsubOperationBinding",this.classes.push("operation-binding")}}const Tm=Im,Fm=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","googlepubsub","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Tm}});class Rm extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="googlepubsubServerBinding",this.classes.push("server-binding")}}const Dm=Rm,Vm=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","googlepubsub","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Dm}});class Lm extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="ibmmqChannelBinding",this.classes.push("channel-binding")}get destinationType(){return this.get("destinationType")}set destinationType(e){this.set("destinationType",e)}get queue(){return this.get("queue")}set queue(e){this.set("queue",e)}get topic(){return this.get("topic")}set topic(e){this.set("topic",e)}get maxMsgLength(){return this.get("maxMsgLength")}set maxMsgLength(e){this.set("maxMsgLength",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const Jm=Lm,zm=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","ibmmq","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Jm}});class Um extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="ibmmqMessageBinding",this.classes.push("message-binding")}get type(){return this.get("type")}set type(e){this.set("type",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get expiry(){return this.get("expiry")}set expiry(e){this.set("expiry",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const Wm=Um,Gm=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","ibmmq","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Wm}});class Hm extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="ibmmqOperationBinding",this.classes.push("operation-binding")}}const Km=Hm,Zm=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","ibmmq","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Km}});class Qm extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="ibmmqServerBinding",this.classes.push("server-binding")}get groupId(){return this.get("groupId")}set groupId(e){this.set("groupId",e)}get ccdtQueueManagerName(){return this.get("ccdtQueueManagerName")}set ccdtQueueManagerName(e){this.set("ccdtQueueManagerName",e)}get cipherSpec(){return this.get("cipherSpec")}set cipherSpec(e){this.set("cipherSpec",e)}get multiEndpointServer(){return this.get("multiEndpointServer")}set multiEndpointServer(e){this.set("multiEndpointServer",e)}get heartBeatInterval(){return this.get("heartBeatInterval")}set heartBeatInterval(e){this.set("heartBeatInterval",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const Xm=Qm,Ym=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","ibmmq","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Xm}});class ed extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="jmsChannelBinding",this.classes.push("channel-binding")}}const td=ed,nd=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","jms","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new td}});class sd extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="jmsMessageBinding",this.classes.push("message-binding")}}const rd=sd,id=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","jms","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new rd}});class od extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="jmsOperationBinding",this.classes.push("operation-binding")}}const ad=od,cd=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","jms","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new ad}});class ud extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="jmsServerBinding",this.classes.push("server-binding")}}const ld=ud,pd=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","jms","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new ld}});class hd extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="kafkaChannelBinding",this.classes.push("channel-binding")}get topic(){return this.get("topic")}set topic(e){this.set("topic",e)}get partitions(){return this.get("partitions")}set partitions(e){this.set("partitions",e)}get replicas(){return this.get("replicas")}set replicas(e){this.set("replicas",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const md=hd,dd=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","kafka","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new md}});class gd extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="kafkaMessageBinding",this.classes.push("message-binding")}get key(){return this.get("key")}set key(e){this.set("key",e)}get schemaIdLocation(){return this.get("schemaIdLocation")}set schemaIdLocation(e){this.set("schemaIdLocation",e)}get schemaIdPayloadEncoding(){return this.get("schemaIdPayloadEncoding")}set schemaIdPayloadEncoding(e){this.set("schemaIdPayloadEncoding",e)}get schemaLookupStrategy(){return this.get("schemaLookupStrategy")}set schemaLookupStrategy(e){this.set("schemaLookupStrategy",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const fd=gd,bd=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","kafka","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new fd}});class yd extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="kafkaOperationBinding",this.classes.push("operation-binding")}get groupId(){return this.get("groupId")}set groupId(e){this.set("groupId",e)}get clientId(){return this.get("clientId")}set clientId(e){this.set("clientId",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const vd=yd,_d=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","kafka","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new vd}});class Sd extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="kafkaServerBinding",this.classes.push("server-binding")}get schemaRegistryUrl(){return this.get("schemaRegistryUrl")}set schemaRegistryUrl(e){this.set("schemaRegistryUrl",e)}get schemaRegistryVendor(){return this.get("schemaRegistryVendor")}set schemaRegistryVendor(e){this.set("schemaRegistryVendor",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const jd=Sd,wd=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","kafka","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new jd}});class Ed extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="mercureChannelBinding",this.classes.push("channel-binding")}}const Od=Ed,xd=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","mercure","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Od}});class Pd extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="mercureMessageBinding",this.classes.push("message-binding")}}const Bd=Pd,$d=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","mercure","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Bd}});class Ad extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="mercureOperationBinding",this.classes.push("operation-binding")}}const Md=Ad,qd=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","mercure","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Md}});class kd extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="mercureServerBinding",this.classes.push("server-binding")}}const Cd=kd,Nd=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","mercure","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Cd}});class Id extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="mqttChannelBinding",this.classes.push("channel-binding")}}const Td=Id,Fd=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","mqtt","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Td}});class Rd extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="mqttMessageBinding",this.classes.push("message-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const Dd=Rd,Vd=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","mqtt","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Dd}});class Ld extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="mqttOperationBinding",this.classes.push("operation-binding")}get qos(){return this.get("qos")}set qos(e){this.set("qos",e)}get retain(){return this.get("retain")}set retain(e){this.set("retain",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const Jd=Ld,zd=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","mqtt","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Jd}});class Ud extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="mqttServerBinding",this.classes.push("server-binding")}get clientId(){return this.get("clientId")}set clientId(e){this.set("clientId",e)}get cleanSession(){return this.get("cleanSession")}set cleanSession(e){this.set("cleanSession",e)}get lastWill(){return this.get("lastWill")}set lastWill(e){this.set("lastWill",e)}get keepAlive(){return this.get("keepAlive")}set keepAlive(e){this.set("keepAlive",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const Wd=Ud,Gd=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","mqtt","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Wd}});class Hd extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="mqtt5ChannelBinding",this.classes.push("channel-binding")}}const Kd=Hd,Zd=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","mqtt5","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Kd}});class Qd extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="mqtt5MessageBinding",this.classes.push("message-binding")}}const Xd=Qd,Yd=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","mqtt5","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Xd}});class eg extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="mqtt5OperationBinding",this.classes.push("operation-binding")}}const tg=eg,ng=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","mqtt5","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new tg}});class sg extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="mqtt5ServerBinding",this.classes.push("server-binding")}}const rg=sg,ig=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","mqtt5","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new rg}});class og extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="natsChannelBinding",this.classes.push("channel-binding")}}const ag=og,cg=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","nats","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new ag}});class ug extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="natsMessageBinding",this.classes.push("message-binding")}}const lg=ug,pg=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","nats","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new lg}});class hg extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="natsOperationBinding",this.classes.push("operation-binding")}get queue(){return this.get("queue")}set queue(e){this.set("queue",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const mg=hg,dg=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","nats","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new mg}});class gg extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="natsServerBinding",this.classes.push("server-binding")}}const fg=gg,bg=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","nats","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new fg}});class yg extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="pulsarChannelBinding",this.classes.push("channel-binding")}get namespace(){return this.get("namespace")}set namespace(e){this.set("namespace",e)}get persistence(){return this.get("persistence")}set persistence(e){this.set("persistence",e)}get compaction(){return this.get("compaction")}set compaction(e){this.set("compaction",e)}get"geo-replication"(){return this.get("compaction")}set"geo-replication"(e){this.set("geo-replication",e)}get retention(){return this.get("retention")}set retention(e){this.set("retention",e)}get ttl(){return this.get("ttl")}set ttl(e){this.set("ttl",e)}get deduplication(){return this.get("deduplication")}set deduplication(e){this.set("deduplication",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const vg=yg,_g=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","pulsar","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new vg}});class Sg extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="pulsarMessageBinding",this.classes.push("message-binding")}}const jg=Sg,wg=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","pulsar","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new jg}});class Eg extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="pulsarOperationBinding",this.classes.push("operation-binding")}}const Og=Eg,xg=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","pulsar","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Og}});class Pg extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="pulsarServerBinding",this.classes.push("server-binding")}get tenant(){return this.get("tenant")}set tenant(e){this.set("tenant",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const Bg=Pg,$g=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","pulsar","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Bg}});class Ag extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="redisChannelBinding",this.classes.push("channel-binding")}}const Mg=Ag,qg=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","redis","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Mg}});class kg extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="redisMessageBinding",this.classes.push("message-binding")}}const Cg=kg,Ng=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","redis","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Cg}});class Ig extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="redisOperationBinding",this.classes.push("operation-binding")}}const Tg=Ig,Fg=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","redis","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Tg}});class Rg extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="redisServerBinding",this.classes.push("server-binding")}}const Dg=Rg,Vg=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","redis","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Dg}});class Lg extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="snsChannelBinding",this.classes.push("channel-binding")}}const Jg=Lg,zg=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","sns","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Jg}});class Ug extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="snsMessageBinding",this.classes.push("message-binding")}}const Wg=Ug,Gg=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","sns","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Wg}});class Hg extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="snsOperationBinding",this.classes.push("operation-binding")}}const Kg=Hg,Zg=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","sns","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Kg}});class Qg extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="snsServerBinding",this.classes.push("server-binding")}}const Xg=Qg,Yg=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","sns","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Xg}});class ef extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="solaceChannelBinding",this.classes.push("channel-binding")}}const tf=ef,nf=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","solace","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new tf}});class sf extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="solaceMessageBinding",this.classes.push("message-binding")}}const rf=sf,of=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","solace","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new rf}});class af extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="solaceOperationBinding",this.classes.push("operation-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}get destinations(){return this.get("destinations")}set destinations(e){this.set("destinations",e)}}const cf=af,uf=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","solace","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new cf}});class lf extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="solaceServerBinding",this.classes.push("server-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}get msgVpn(){return this.get("msgVpn")}set msgVpn(e){this.set("msgVpn",e)}}const pf=lf,hf=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","solace","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new pf}});class mf extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="sqsChannelBinding",this.classes.push("channel-binding")}}const df=mf,gf=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","sqs","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new df}});class ff extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="sqsMessageBinding",this.classes.push("message-binding")}}const bf=ff,yf=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","sqs","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new bf}});class vf extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="sqsOperationBinding",this.classes.push("operation-binding")}}const _f=vf,Sf=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","sqs","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new _f}});class jf extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="sqsServerBinding",this.classes.push("server-binding")}}const wf=jf,Ef=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","sqs","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new wf}});class Of extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="stompChannelBinding",this.classes.push("channel-binding")}}const xf=Of,Pf=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","stomp","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new xf}});class Bf extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="stompMessageBinding",this.classes.push("message-binding")}}const $f=Bf,Af=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","stomp","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new $f}});class Mf extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="stompOperationBinding",this.classes.push("operation-binding")}}const qf=Mf,kf=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","stomp","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new qf}});class Cf extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="stompServerBinding",this.classes.push("server-binding")}}const Nf=Cf,If=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","stomp","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Nf}});class Tf extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="webSocketChannelBinding",this.classes.push("channel-binding")}get method(){return this.get("method")}set method(e){this.set("method",e)}get query(){return this.get("query")}set query(e){this.set("query",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const Ff=Tf,Rf=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","ws","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Ff}});class Df extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="webSocketMessageBinding",this.classes.push("message-binding")}}const Vf=Df,Lf=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","ws","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Vf}});class Jf extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="webSocketOperationBinding",this.classes.push("operation-binding")}}const zf=Jf,Uf=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","ws","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new zf}});class Wf extends Nt.Sb{constructor(e,t,n){super(e,t,n),this.element="webSocketServerBinding",this.classes.push("server-binding")}}const Gf=Wf,Hf=jn(Uo,Co,{props:{specPath:ve(["document","objects","bindings","ws","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Gf}});function Kf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function Zf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Kf(Object(n),!0).forEach((function(t){Sn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Kf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Qf={$visitor:xu,fixedFields:{$ref:Pu}},Xf={$visitor:Bu,fixedFields:Zf(Zf({},Ku),{},{allOf:Cu,anyOf:Iu,oneOf:Fu,items:zu,properties:Hu,patternProperties:Wu,dependencies:Lu,definitions:Du,discriminator:qu,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},deprecated:Mu})},Yf={visitors:{value:Co,document:{objects:{AsyncApi:{$visitor:Ho,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:Qo},Identifier:{$visitor:ea},Info:{$visitor:sa,fixedFields:{title:ra,description:ia,termsOfService:oa,version:aa,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"}}},Contact:{$visitor:la,fixedFields:{name:pa,url:ha,email:ma}},License:{$visitor:Ea,fixedFields:{name:Oa,url:xa}},Servers:{$visitor:Kc},Server:{$visitor:Zc,fixedFields:{url:Qc,protocol:Xc,protocolVersion:Yc,description:eu,variables:iu,security:cu,tags:{$ref:"#/visitors/document/objects/Tags"},bindings:nu}},ServerVariable:{$visitor:uu,fixedFields:{enum:lu,default:pu,description:hu,examples:mu}},DefaultContentType:{$visitor:Sa},Channels:{$visitor:vp},ChannelItem:{$visitor:Sp,fixedFields:{$ref:jp,description:wp,servers:xp,subscribe:{$ref:"#/visitors/document/objects/Operation"},publish:{$ref:"#/visitors/document/objects/Operation"},parameters:{$ref:"#/visitors/document/objects/Parameters"},bindings:Pp}},Operation:{$visitor:Kl,fixedFields:{operationId:Zl,summary:Ql,description:Xl,security:tp,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:np,traits:ip,message:lp}},OperationTrait:{$visitor:Bh,fixedFields:{operationId:$h,summary:Ah,description:Mh,security:Ch,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:Nh}},Message:{$visitor:ih,fixedFields:{messageId:oh,headers:ah,payload:ch,correlationId:uh,schemaFormat:lh,contentType:ph,name:hh,title:mh,summary:dh,description:gh,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:fh,examples:vh,traits:jh}},MessageTrait:{$visitor:Dp,fixedFields:{messageId:Vp,headers:Lp,correlationId:Jp,schemaFormat:zp,contentType:Up,name:Wp,title:Gp,summary:Hp,description:Kp,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:Zp,examples:Yp}},MessageExample:{$visitor:kp,fixedFields:{headers:Cp,payload:Np,name:Ip,summary:Tp}},Tags:{$visitor:mp},Tag:{$visitor:fp,fixedFields:{name:bp,description:yp,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},ExternalDocumentation:{$visitor:sl,fixedFields:{description:rl,url:il}},Components:{$visitor:ol,fixedFields:{schemas:ul,servers:hl,serverVariables:gl,channels:yl,messages:Sl,securitySchemes:El,parameters:Pl,correlationIds:Al,operationTraits:kl,messageTraits:Il,serverBindings:Rl,channelBindings:Ll,operationBindings:Ul,messageBindings:Hl}},JSONReference:Qf,Reference:Qf,JSONSchema:Xf,Schema:Xf,LinkDescription:qo.visitors.document.objects.LinkDescription,SecurityScheme:{$visitor:bu,fixedFields:{type:yu,description:vu,name:_u,in:Su,scheme:ju,bearerFormat:wu,flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:Eu}},SecurityRequirement:{$visitor:Ou},OAuthFlows:{$visitor:$a,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:qa,fixedFields:{authorizationUrl:ka,tokenUrl:Ca,refreshUrl:Na,scopes:Da}},ServerBindings:{$visitor:du,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:Zu},Parameter:{$visitor:Qu,fixedFields:{description:Xu,schema:el,location:Yu}},ChannelBindings:{$visitor:_p,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:Oh,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:Ap,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:fa,fixedFields:{description:ba,location:ya}},bindings:{http:{ServerBinding:{$visitor:$m},ChannelBinding:{$visitor:_m},OperationBinding:{$visitor:xm,fixedFields:{type:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},query:Au,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:wm,fixedFields:{headers:Au,bindingVersion:{$ref:"#/visitors/value"}}}},ws:{ServerBinding:{$visitor:Hf},ChannelBinding:{$visitor:Rf,fixedFields:{method:{$ref:"#/visitors/value"},query:Au,headers:Au,bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:Uf},MessageBinding:{$visitor:Lf}},kafka:{ServerBinding:{$visitor:wd,fixedFields:{schemaRegistryUrl:{$ref:"#/visitors/value"},schemaRegistryVendor:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:dd,fixedFields:{topic:{$ref:"#/visitors/value"},partitions:{$ref:"#/visitors/value"},replicas:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:_d,fixedFields:{groupId:Au,clientId:Au,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:bd,fixedFields:{key:Au,schemaIdLocation:{$ref:"#/visitors/value"},schemaIdPayloadEncoding:{$ref:"#/visitors/value"},schemaLookupStrategy:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},anypointmq:{ServerBinding:{$visitor:bm},ChannelBinding:{$visitor:cm,fixedFields:{destination:{$ref:"#/visitors/value"},destinationType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:dm},MessageBinding:{$visitor:pm,fixedFields:{headers:Au,bindingVersion:{$ref:"#/visitors/value"}}}},amqp:{ServerBinding:{$visitor:Gh},ChannelBinding:{$visitor:Fh,fixedFields:{is:{$ref:"#/visitors/value"},exchange:{$ref:"#/visitors/value"},queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:zh,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:Vh,fixedFields:{contentEncoding:{$ref:"#/visitors/value"},messageType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},amqp1:{ServerBinding:{$visitor:im},ChannelBinding:{$visitor:Zh},OperationBinding:{$visitor:nm},MessageBinding:{$visitor:Yh}},mqtt:{ServerBinding:{$visitor:Gd,fixedFields:{clientId:{$ref:"#/visitors/value"},cleanSession:{$ref:"#/visitors/value"},lastWill:{$ref:"#/visitors/value"},keepAlive:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:Fd},OperationBinding:{$visitor:zd,fixedFields:{qos:{$ref:"#/visitors/value"},retain:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:Vd,fixedFields:{bindingVersion:{$ref:"#/visitors/value"}}}},mqtt5:{ServerBinding:{$visitor:ig},ChannelBinding:{$visitor:Zd},OperationBinding:{$visitor:ng},MessageBinding:{$visitor:Yd}},nats:{ServerBinding:{$visitor:bg},ChannelBinding:{$visitor:cg},OperationBinding:{$visitor:dg,fixedFields:{queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:pg}},pulsar:{ServerBinding:{$visitor:$g,fixedFields:{tenant:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:_g,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:xg},MessageBinding:{$visitor:wg}},jms:{ServerBinding:{$visitor:pd},ChannelBinding:{$visitor:nd},OperationBinding:{$visitor:cd},MessageBinding:{$visitor:id}},sns:{ServerBinding:{$visitor:Yg},ChannelBinding:{$visitor:zg},OperationBinding:{$visitor:Zg},MessageBinding:{$visitor:Gg}},solace:{ServerBinding:{$visitor:hf,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},msgVpn:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:nf},OperationBinding:{$visitor:uf,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},destinations:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:of}},sqs:{ServerBinding:{$visitor:Ef},ChannelBinding:{$visitor:gf},OperationBinding:{$visitor:Sf},MessageBinding:{$visitor:yf}},stomp:{ServerBinding:{$visitor:If},ChannelBinding:{$visitor:Pf},OperationBinding:{$visitor:kf},MessageBinding:{$visitor:Af}},redis:{ServerBinding:{$visitor:Vg},ChannelBinding:{$visitor:qg},OperationBinding:{$visitor:Fg},MessageBinding:{$visitor:Ng}},mercure:{ServerBinding:{$visitor:Nd},ChannelBinding:{$visitor:xd},OperationBinding:{$visitor:qd},MessageBinding:{$visitor:$d}},googlepubsub:{ServerBinding:{$visitor:Vm},ChannelBinding:{$visitor:qm,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:Fm},MessageBinding:{$visitor:Nm,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},attributes:{$ref:"#/visitors/value"},orderingKey:{$ref:"#/visitors/value"},schema:{$ref:"#/visitors/value"}}}},ibmmq:{ServerBinding:{$visitor:Ym,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:zm,fixedFields:{destinationType:{$ref:"#/visitors/value"},queue:{$ref:"#/visitors/value"},topic:{$ref:"#/visitors/value"},maxMsgLength:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:Gm,fixedFields:{type:{$ref:"#/visitors/value"},headers:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},expiry:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:Zm}}}},extension:{$visitor:Vo}}}},eb={namespace:e=>{const{base:t}=e;return t.register("asyncApi2",Go),t.register("asyncApiVersion",Zo),t.register("channelBindings",za),t.register("channelItem",Wa),t.register("channels",Ha),t.register("components",Za),t.register("contact",ua),t.register("correlationID",ga),t.register("defaultContentType",_a),t.register("externalDocumentation",nl),t.register("identifier",Yo),t.register("info",na),t.register("license",wa),t.register("message",rh),t.register("messageBindings",$p),t.register("messageExample",qp),t.register("messageTrait",Rp),t.register("oAuthFlow",Ma),t.register("oAuthFlows",Ba),t.register("operation",Xa),t.register("operationBindings",Eh),t.register("operationTrait",Ph),t.register("parameter",ec),t.register("parameters",nc),t.register("reference",rc),t.register("schema",bc),t.register("securityRequirement",vc),t.register("securityScheme",fu),t.register("server",Sc),t.register("serverBindings",wc),t.register("servers",La),t.register("serverVariable",Oc),t.register("tag",gp),t.register("tags",hp),t.register("amqpChannelBinding",Th),t.register("amqpMessageBinding",Dh),t.register("amqpOperationBinding",Jh),t.register("amqpServerBinding",Wh),t.register("amqp1ChannelBinding",Kh),t.register("amqp1MessageBinding",Xh),t.register("amqp1OperationBinding",tm),t.register("amqp1ServerBinding",rm),t.register("anypointmqChannelBinding",am),t.register("anypointmqMessageBinding",lm),t.register("anypointmqOperationBinding",mm),t.register("anypointmqServerBinding",fm),t.register("googlepubsubChannelBinding",Mm),t.register("googlepubsubMessageBinding",Cm),t.register("googlepubsubOperationBinding",Tm),t.register("googlepubsubServerBinding",Dm),t.register("httpChannelBinding",vm),t.register("httpMessageBinding",jm),t.register("httpOperationBinding",Om),t.register("httpServerBinding",Bm),t.register("ibmmqChannelBinding",Jm),t.register("ibmmqMessageBinding",Wm),t.register("ibmmqOperationBinding",Km),t.register("ibmmqServerBinding",Xm),t.register("jmsChannelBinding",td),t.register("jmsMessageBinding",rd),t.register("jmsOperationBinding",ad),t.register("jmsServerBinding",ld),t.register("kafkaChannelBinding",md),t.register("kafkaMessageBinding",fd),t.register("kafkaOperationBinding",vd),t.register("kafkaServerBinding",jd),t.register("mercureChannelBinding",Od),t.register("mercureMessageBinding",Bd),t.register("mercureOperationBinding",Md),t.register("mercureServerBinding",Cd),t.register("mqttChannelBinding",Td),t.register("mqttMessageBinding",Dd),t.register("mqttOperationBinding",Jd),t.register("mqttServerBinding",Wd),t.register("mqtt5ChannelBinding",Kd),t.register("mqtt5MessageBinding",Xd),t.register("mqtt5OperationBinding",tg),t.register("mqtt5ServerBinding",rg),t.register("natsChannelBinding",ag),t.register("natsMessageBinding",lg),t.register("natsOperationBinding",mg),t.register("natsServerBinding",fg),t.register("pulsarChannelBinding",vg),t.register("pulsarMessageBinding",jg),t.register("pulsarOperationBinding",Og),t.register("pulsarServerBinding",Bg),t.register("redisChannelBinding",Mg),t.register("redisMessageBinding",Cg),t.register("redisOperationBinding",Tg),t.register("redisServerBinding",Dg),t.register("snsChannelBinding",Jg),t.register("snsMessageBinding",Wg),t.register("snsOperationBinding",Kg),t.register("snsServerBinding",Xg),t.register("solaceChannelBinding",tf),t.register("solaceMessageBinding",rf),t.register("solaceOperationBinding",cf),t.register("solaceServerBinding",pf),t.register("sqsChannelBinding",df),t.register("sqsMessageBinding",bf),t.register("sqsOperationBinding",_f),t.register("sqsServerBinding",wf),t.register("stompChannelBinding",xf),t.register("stompMessageBinding",$f),t.register("stompOperationBinding",qf),t.register("stompServerBinding",Nf),t.register("webSocketChannelBinding",Ff),t.register("webSocketMessageBinding",Vf),t.register("webSocketOperationBinding",zf),t.register("webSocketServerBinding",Gf),t}};function tb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function nb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tb(Object(n),!0).forEach((function(t){Sn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const sb=()=>{const e=rn(eb);return{predicates:nb(nb({},o),{},{isStringElement:Dn}),namespace:e}};function rb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function ib(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rb(Object(n),!0).forEach((function(t){Sn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const ob=function(e){let{specPath:t=["visitors","document","objects","AsyncApi","$visitor"],plugins:n=[]}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const s=(0,Nt.Qc)(e),r=fr(Yf),i=ds(t,[],r);return ls(s,i,{state:{specObj:r}}),bs(i.element,n,{toolboxCreator:sb,visitorOptions:{keyMap:To,nodeTypeGetter:Io}})},ab=e=>function(t){return ob(t,ib(ib({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),{},{specPath:e}))};Go.refract=ab(["visitors","document","objects","AsyncApi","$visitor"]),Zo.refract=ab(["visitors","document","objects","AsyncApiVersion","$visitor"]),za.refract=ab(["visitors","document","objects","ChannelBindings","$visitor"]),Wa.refract=ab(["visitors","document","objects","ChannelItem","$visitor"]),Ha.refract=ab(["visitors","document","objects","Channels","$visitor"]),Za.refract=ab(["visitors","document","objects","Components","$visitor"]),ua.refract=ab(["visitors","document","objects","Contact","$visitor"]),ga.refract=ab(["visitors","document","objects","CorrelationID","$visitor"]),_a.refract=ab(["visitors","document","objects","DefaultContentType","$visitor"]),nl.refract=ab(["visitors","document","objects","ExternalDocumentation","$visitor"]),Yo.refract=ab(["visitors","document","objects","Identifier","$visitor"]),na.refract=ab(["visitors","document","objects","Info","$visitor"]),wa.refract=ab(["visitors","document","objects","License","$visitor"]),rh.refract=ab(["visitors","document","objects","Message","$visitor"]),$p.refract=ab(["visitors","document","objects","MessageBindings","$visitor"]),qp.refract=ab(["visitors","document","objects","MessageExample","$visitor"]),Rp.refract=ab(["visitors","document","objects","MessageTrait","$visitor"]),Ma.refract=ab(["visitors","document","objects","OAuthFlow","$visitor"]),Ba.refract=ab(["visitors","document","objects","OAuthFlows","$visitor"]),Xa.refract=ab(["visitors","document","objects","Operation","$visitor"]),Eh.refract=ab(["visitors","document","objects","OperationBindings","$visitor"]),Ph.refract=ab(["visitors","document","objects","OperationTrait","$visitor"]),ec.refract=ab(["visitors","document","objects","Parameter","$visitor"]),nc.refract=ab(["visitors","document","objects","Parameters","$visitor"]),rc.refract=ab(["visitors","document","objects","Reference","$visitor"]),bc.refract=ab(["visitors","document","objects","Schema","$visitor"]),vc.refract=ab(["visitors","document","objects","SecurityRequirement","$visitor"]),fu.refract=ab(["visitors","document","objects","SecurityScheme","$visitor"]),Sc.refract=ab(["visitors","document","objects","Server","$visitor"]),wc.refract=ab(["visitors","document","objects","ServerBindings","$visitor"]),La.refract=ab(["visitors","document","objects","Servers","$visitor"]),Oc.refract=ab(["visitors","document","objects","ServerVariable","$visitor"]),gp.refract=ab(["visitors","document","objects","Tag","$visitor"]),hp.refract=ab(["visitors","document","objects","Tags","$visitor"]),Th.refract=ab(["visitors","document","objects","bindings","amqp","ChannelBinding","$visitor"]),Dh.refract=ab(["visitors","document","objects","bindings","amqp","MessageBinding","$visitor"]),Jh.refract=ab(["visitors","document","objects","bindings","amqp","OperationBinding","$visitor"]),Wh.refract=ab(["visitors","document","objects","bindings","amqp","ServerBinding","$visitor"]),Kh.refract=ab(["visitors","document","objects","bindings","amqp1","ChannelBinding","$visitor"]),Xh.refract=ab(["visitors","document","objects","bindings","amqp1","MessageBinding","$visitor"]),tm.refract=ab(["visitors","document","objects","bindings","amqp1","OperationBinding","$visitor"]),rm.refract=ab(["visitors","document","objects","bindings","amqp1","ServerBinding","$visitor"]),vm.refract=ab(["visitors","document","objects","bindings","http","ChannelBinding","$visitor"]),jm.refract=ab(["visitors","document","objects","bindings","http","MessageBinding","$visitor"]),Om.refract=ab(["visitors","document","objects","bindings","http","OperationBinding","$visitor"]),Bm.refract=ab(["visitors","document","objects","bindings","http","ServerBinding","$visitor"]),Mm.refract=ab(["visitors","document","objects","bindings","googlepubsub","ChannelBinding","$visitor"]),Cm.refract=ab(["visitors","document","objects","bindings","googlepubsub","MessageBinding","$visitor"]),Tm.refract=ab(["visitors","document","objects","bindings","googlepubsub","OperationBinding","$visitor"]),Dm.refract=ab(["visitors","document","objects","bindings","googlepubsub","ServerBinding","$visitor"]),Jm.refract=ab(["visitors","document","objects","bindings","ibmmq","ChannelBinding","$visitor"]),Wm.refract=ab(["visitors","document","objects","bindings","ibmmq","MessageBinding","$visitor"]),Km.refract=ab(["visitors","document","objects","bindings","ibmmq","OperationBinding","$visitor"]),Xm.refract=ab(["visitors","document","objects","bindings","ibmmq","ServerBinding","$visitor"]),td.refract=ab(["visitors","document","objects","bindings","jms","ChannelBinding","$visitor"]),rd.refract=ab(["visitors","document","objects","bindings","jms","MessageBinding","$visitor"]),ad.refract=ab(["visitors","document","objects","bindings","jms","OperationBinding","$visitor"]),ld.refract=ab(["visitors","document","objects","bindings","jms","ServerBinding","$visitor"]),md.refract=ab(["visitors","document","objects","bindings","kafka","ChannelBinding","$visitor"]),fd.refract=ab(["visitors","document","objects","bindings","kafka","MessageBinding","$visitor"]),vd.refract=ab(["visitors","document","objects","bindings","kafka","OperationBinding","$visitor"]),jd.refract=ab(["visitors","document","objects","bindings","kafka","ServerBinding","$visitor"]),am.refract=ab(["visitors","document","objects","bindings","anypointmq","ChannelBinding","$visitor"]),lm.refract=ab(["visitors","document","objects","bindings","anypointmq","MessageBinding","$visitor"]),mm.refract=ab(["visitors","document","objects","bindings","anypointmq","OperationBinding","$visitor"]),fm.refract=ab(["visitors","document","objects","bindings","anypointmq","ServerBinding","$visitor"]),Od.refract=ab(["visitors","document","objects","bindings","mercure","ChannelBinding","$visitor"]),Bd.refract=ab(["visitors","document","objects","bindings","mercure","MessageBinding","$visitor"]),Md.refract=ab(["visitors","document","objects","bindings","mercure","OperationBinding","$visitor"]),Cd.refract=ab(["visitors","document","objects","bindings","mercure","ServerBinding","$visitor"]),Td.refract=ab(["visitors","document","objects","bindings","mqtt","ChannelBinding","$visitor"]),Dd.refract=ab(["visitors","document","objects","bindings","mqtt","MessageBinding","$visitor"]),Jd.refract=ab(["visitors","document","objects","bindings","mqtt","OperationBinding","$visitor"]),Wd.refract=ab(["visitors","document","objects","bindings","mqtt","ServerBinding","$visitor"]),Kd.refract=ab(["visitors","document","objects","bindings","mqtt5","ChannelBinding","$visitor"]),Xd.refract=ab(["visitors","document","objects","bindings","mqtt5","MessageBinding","$visitor"]),tg.refract=ab(["visitors","document","objects","bindings","mqtt5","OperationBinding","$visitor"]),rg.refract=ab(["visitors","document","objects","bindings","mqtt5","ServerBinding","$visitor"]),ag.refract=ab(["visitors","document","objects","bindings","nats","ChannelBinding","$visitor"]),lg.refract=ab(["visitors","document","objects","bindings","nats","MessageBinding","$visitor"]),mg.refract=ab(["visitors","document","objects","bindings","nats","OperationBinding","$visitor"]),fg.refract=ab(["visitors","document","objects","bindings","nats","ServerBinding","$visitor"]),vg.refract=ab(["visitors","document","objects","bindings","pulsar","ChannelBinding","$visitor"]),jg.refract=ab(["visitors","document","objects","bindings","pulsar","MessageBinding","$visitor"]),Og.refract=ab(["visitors","document","objects","bindings","pulsar","OperationBinding","$visitor"]),Bg.refract=ab(["visitors","document","objects","bindings","pulsar","ServerBinding","$visitor"]),Mg.refract=ab(["visitors","document","objects","bindings","redis","ChannelBinding","$visitor"]),Cg.refract=ab(["visitors","document","objects","bindings","redis","MessageBinding","$visitor"]),Tg.refract=ab(["visitors","document","objects","bindings","redis","OperationBinding","$visitor"]),Dg.refract=ab(["visitors","document","objects","bindings","redis","ServerBinding","$visitor"]),Jg.refract=ab(["visitors","document","objects","bindings","sns","ChannelBinding","$visitor"]),Wg.refract=ab(["visitors","document","objects","bindings","sns","MessageBinding","$visitor"]),Kg.refract=ab(["visitors","document","objects","bindings","sns","OperationBinding","$visitor"]),Xg.refract=ab(["visitors","document","objects","bindings","sns","ServerBinding","$visitor"]),tf.refract=ab(["visitors","document","objects","bindings","solace","ChannelBinding","$visitor"]),rf.refract=ab(["visitors","document","objects","bindings","solace","MessageBinding","$visitor"]),cf.refract=ab(["visitors","document","objects","bindings","solace","OperationBinding","$visitor"]),pf.refract=ab(["visitors","document","objects","bindings","solace","ServerBinding","$visitor"]),df.refract=ab(["visitors","document","objects","bindings","sqs","ChannelBinding","$visitor"]),bf.refract=ab(["visitors","document","objects","bindings","sqs","MessageBinding","$visitor"]),_f.refract=ab(["visitors","document","objects","bindings","sqs","OperationBinding","$visitor"]),wf.refract=ab(["visitors","document","objects","bindings","sqs","ServerBinding","$visitor"]),xf.refract=ab(["visitors","document","objects","bindings","stomp","ChannelBinding","$visitor"]),$f.refract=ab(["visitors","document","objects","bindings","stomp","MessageBinding","$visitor"]),qf.refract=ab(["visitors","document","objects","bindings","stomp","OperationBinding","$visitor"]),Nf.refract=ab(["visitors","document","objects","bindings","stomp","ServerBinding","$visitor"]),Ff.refract=ab(["visitors","document","objects","bindings","ws","ChannelBinding","$visitor"]),Vf.refract=ab(["visitors","document","objects","bindings","ws","MessageBinding","$visitor"]),zf.refract=ab(["visitors","document","objects","bindings","ws","OperationBinding","$visitor"]),Gf.refract=ab(["visitors","document","objects","bindings","ws","ServerBinding","$visitor"]);const cb=new th(...nh.filterByFormat("generic"),...nh.filterByFormat("json")),ub=/"asyncapi"\s*:\s*"(?<version_json>2\.(?:[1-9]\d*|0)\.(?:[1-9]\d*|0))"/,lb=async e=>ub.test(e)&&await(async e=>{if(!dr.test(e))return!1;try{return"ERROR"!==(await dn(e)).rootNode.type}catch{return!1}})(e),pb=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=wt({},"refractorOpts",t),s=_t(["refractorOpts"],t),r=await async function(e){let{sourceMap:t=!1,syntacticAnalysis:n="direct"}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const s=await dn(e);let r;return r="indirect"===n?mr(s,{sourceMap:t}):Ps(s,{sourceMap:t}),r}(e,s),{result:i}=r;if(Ct(i)){const e=Go.refract(i,n);e.classes.push("result"),r.replaceResult(e)}return r},hb=rn(eb)})(),s})()));
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.apidomParserAdapterAsyncApiJson2=t():e.apidomParserAdapterAsyncApiJson2=t()}(self,(()=>(()=>{var __webpack_modules__={8385:(e,t,n)=>{var s=n(6174);e.exports=s},5271:(e,t,n)=>{var s=n(7820);e.exports=s},7574:(e,t,n)=>{var s=n(2);e.exports=s},33:(e,t,n)=>{var s=n(5636);e.exports=s},9821:(e,t,n)=>{var s=n(2285);n(9031),e.exports=s},8008:(e,t,n)=>{var s=n(8535);e.exports=s},164:(e,t,n)=>{var s=n(6042);e.exports=s},2089:(e,t,n)=>{n(2276);var s=n(5607);e.exports=s("Array").indexOf},2604:(e,t,n)=>{var s=n(8902),r=n(2089),i=Array.prototype;e.exports=function(e){var t=e.indexOf;return e===i||s(i,e)&&t===i.indexOf?r:t}},3512:(e,t,n)=>{n(297);var s=n(7545).Object,r=e.exports=function(e,t,n){return s.defineProperty(e,t,n)};s.defineProperty.sham&&(r.sham=!0)},2921:(e,t,n)=>{n(6187);var s=n(7545);e.exports=s.Object.getOwnPropertySymbols},8651:(e,t,n)=>{n(2647);var s=n(7545);e.exports=s.Object.keys},5008:(e,t,n)=>{n(9106),n(6663),n(6187),n(9781),n(492),n(6681),n(9594),n(3665),n(9017),n(1250),n(9786),n(503),n(6565),n(9322),n(3610),n(6886),n(3514),n(8671),n(8556),n(1367);var s=n(7545);e.exports=s.Symbol},994:(e,t,n)=>{n(8939),n(6663),n(5454),n(3665);var s=n(9207);e.exports=s.f("iterator")},290:(e,t,n)=>{n(2432),n(3610);var s=n(9207);e.exports=s.f("toPrimitive")},2747:(e,t,n)=>{var s=n(8385);e.exports=s},229:(e,t,n)=>{var s=n(5271);e.exports=s},5090:(e,t,n)=>{var s=n(7574);e.exports=s},5483:(e,t,n)=>{var s=n(33);e.exports=s},2185:(e,t,n)=>{var s=n(9821);n(177),n(2725),n(1806),n(6658),n(4212),n(8658),n(1875),n(4592),n(6680),e.exports=s},9982:(e,t,n)=>{var s=n(8008);e.exports=s},8241:(e,t,n)=>{var s=n(164);e.exports=s},6235:(e,t,n)=>{var s=n(6447),r=n(9288),i=TypeError;e.exports=function(e){if(s(e))return e;throw i(r(e)+" is not a function")}},7757:(e,t,n)=>{var s=n(6447),r=String,i=TypeError;e.exports=function(e){if("object"==typeof e||s(e))return e;throw i("Can't set "+r(e)+" as a prototype")}},7423:e=>{e.exports=function(){}},1138:(e,t,n)=>{var s=n(5744),r=String,i=TypeError;e.exports=function(e){if(s(e))return e;throw i(r(e)+" is not an object")}},8180:(e,t,n)=>{var s=n(101),r=n(7739),i=n(4104),o=function(e){return function(t,n,o){var a,c=s(t),u=i(c),l=r(o,u);if(e&&n!=n){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},454:(e,t,n)=>{var s=n(8043),r=n(4120),i=n(2202),o=n(1795),a=n(4104),c=n(1321),u=r([].push),l=function(e){var t=1==e,n=2==e,r=3==e,l=4==e,p=6==e,d=7==e,m=5==e||p;return function(h,g,_,f){for(var b,y,v=o(h),E=i(v),S=s(g,_),w=a(E),O=0,j=f||c,x=t?j(h,w):n||d?j(h,0):void 0;w>O;O++)if((m||O in E)&&(y=S(b=E[O],O,v),e))if(t)x[O]=y;else if(y)switch(e){case 3:return!0;case 5:return b;case 6:return O;case 2:u(x,b)}else switch(e){case 4:return!1;case 7:u(x,b)}return p?-1:r||l?l:x}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},242:(e,t,n)=>{var s=n(6192),r=n(8182),i=n(4218),o=r("species");e.exports=function(e){return i>=51||!s((function(){var t=[];return(t.constructor={})[o]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},424:(e,t,n)=>{"use strict";var s=n(6192);e.exports=function(e,t){var n=[][e];return!!n&&s((function(){n.call(null,t||function(){return 1},1)}))}},1923:(e,t,n)=>{var s=n(7739),r=n(4104),i=n(9361),o=Array,a=Math.max;e.exports=function(e,t,n){for(var c=r(e),u=s(t,c),l=s(void 0===n?c:n,c),p=o(a(l-u,0)),d=0;u<l;u++,d++)i(p,d,e[u]);return p.length=d,p}},3096:(e,t,n)=>{var s=n(4120);e.exports=s([].slice)},3712:(e,t,n)=>{var s=n(4770),r=n(2091),i=n(5744),o=n(8182)("species"),a=Array;e.exports=function(e){var t;return s(e)&&(t=e.constructor,(r(t)&&(t===a||s(t.prototype))||i(t)&&null===(t=t[o]))&&(t=void 0)),void 0===t?a:t}},1321:(e,t,n)=>{var s=n(3712);e.exports=function(e,t){return new(s(e))(0===t?0:t)}},9272:(e,t,n)=>{var s=n(4120),r=s({}.toString),i=s("".slice);e.exports=function(e){return i(r(e),8,-1)}},4696:(e,t,n)=>{var s=n(3471),r=n(6447),i=n(9272),o=n(8182)("toStringTag"),a=Object,c="Arguments"==i(function(){return arguments}());e.exports=s?i:function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=a(e),o))?n:c?i(t):"Object"==(s=i(t))&&r(t.callee)?"Arguments":s}},4635:(e,t,n)=>{var s=n(6192);e.exports=!s((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7271:e=>{e.exports=function(e,t){return{value:e,done:t}}},8711:(e,t,n)=>{var s=n(69),r=n(2760),i=n(774);e.exports=s?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},774:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},9361:(e,t,n)=>{"use strict";var s=n(77),r=n(2760),i=n(774);e.exports=function(e,t,n){var o=s(t);o in e?r.f(e,o,i(0,n)):e[o]=n}},2807:(e,t,n)=>{var s=n(2760);e.exports=function(e,t,n){return s.f(e,t,n)}},9362:(e,t,n)=>{var s=n(8711);e.exports=function(e,t,n,r){return r&&r.enumerable?e[t]=n:s(e,t,n),e}},5098:(e,t,n)=>{var s=n(8576),r=Object.defineProperty;e.exports=function(e,t){try{r(s,e,{value:t,configurable:!0,writable:!0})}catch(n){s[e]=t}return t}},69:(e,t,n)=>{var s=n(6192);e.exports=!s((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8382:e=>{var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},7449:(e,t,n)=>{var s=n(8576),r=n(5744),i=s.document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},9425:e=>{var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},7365:e=>{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}},8989:e=>{e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},4218:(e,t,n)=>{var s,r,i=n(8576),o=n(8989),a=i.process,c=i.Deno,u=a&&a.versions||c&&c.version,l=u&&u.v8;l&&(r=(s=l.split("."))[0]>0&&s[0]<4?1:+(s[0]+s[1])),!r&&o&&(!(s=o.match(/Edge\/(\d+)/))||s[1]>=74)&&(s=o.match(/Chrome\/(\d+)/))&&(r=+s[1]),e.exports=r},5607:(e,t,n)=>{var s=n(7545);e.exports=function(e){return s[e+"Prototype"]}},2952:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3085:(e,t,n)=>{"use strict";var s=n(8576),r=n(6298),i=n(4914),o=n(6447),a=n(5141).f,c=n(9245),u=n(7545),l=n(8043),p=n(8711),d=n(4500),m=function(e){var t=function(n,s,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,s)}return new e(n,s,i)}return r(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,r,h,g,_,f,b,y,v,E=e.target,S=e.global,w=e.stat,O=e.proto,j=S?s:w?s[E]:(s[E]||{}).prototype,x=S?u:u[E]||p(u,E,{})[E],M=x.prototype;for(g in t)r=!(n=c(S?g:E+(w?".":"#")+g,e.forced))&&j&&d(j,g),f=x[g],r&&(b=e.dontCallGetSet?(v=a(j,g))&&v.value:j[g]),_=r&&b?b:t[g],r&&typeof f==typeof _||(y=e.bind&&r?l(_,s):e.wrap&&r?m(_):O&&o(_)?i(_):_,(e.sham||_&&_.sham||f&&f.sham)&&p(y,"sham",!0),p(x,g,y),O&&(d(u,h=E+"Prototype")||p(u,h,{}),p(u[h],g,_),e.real&&M&&(n||!M[g])&&p(M,g,_)))}},6192:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},6298:(e,t,n)=>{var s=n(2784),r=Function.prototype,i=r.apply,o=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(s?o.bind(i):function(){return o.apply(i,arguments)})},8043:(e,t,n)=>{var s=n(4914),r=n(6235),i=n(2784),o=s(s.bind);e.exports=function(e,t){return r(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}},2784:(e,t,n)=>{var s=n(6192);e.exports=!s((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},8922:(e,t,n)=>{var s=n(2784),r=Function.prototype.call;e.exports=s?r.bind(r):function(){return r.apply(r,arguments)}},2282:(e,t,n)=>{var s=n(69),r=n(4500),i=Function.prototype,o=s&&Object.getOwnPropertyDescriptor,a=r(i,"name"),c=a&&"something"===function(){}.name,u=a&&(!s||s&&o(i,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},6419:(e,t,n)=>{var s=n(4120),r=n(6235);e.exports=function(e,t,n){try{return s(r(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},4914:(e,t,n)=>{var s=n(9272),r=n(4120);e.exports=function(e){if("Function"===s(e))return r(e)}},4120:(e,t,n)=>{var s=n(2784),r=Function.prototype,i=r.call,o=s&&r.bind.bind(i,i);e.exports=s?o:function(e){return function(){return i.apply(e,arguments)}}},150:(e,t,n)=>{var s=n(7545),r=n(8576),i=n(6447),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(s[e])||o(r[e]):s[e]&&s[e][t]||r[e]&&r[e][t]}},9202:(e,t,n)=>{var s=n(4120),r=n(4770),i=n(6447),o=n(9272),a=n(4845),c=s([].push);e.exports=function(e){if(i(e))return e;if(r(e)){for(var t=e.length,n=[],s=0;s<t;s++){var u=e[s];"string"==typeof u?c(n,u):"number"!=typeof u&&"Number"!=o(u)&&"String"!=o(u)||c(n,a(u))}var l=n.length,p=!0;return function(e,t){if(p)return p=!1,t;if(r(this))return t;for(var s=0;s<l;s++)if(n[s]===e)return t}}}},5037:(e,t,n)=>{var s=n(6235),r=n(5646);e.exports=function(e,t){var n=e[t];return r(n)?void 0:s(n)}},8576:function(e,t,n){var s=function(e){return e&&e.Math==Math&&e};e.exports=s("object"==typeof globalThis&&globalThis)||s("object"==typeof window&&window)||s("object"==typeof self&&self)||s("object"==typeof n.g&&n.g)||function(){return this}()||this||Function("return this")()},4500:(e,t,n)=>{var s=n(4120),r=n(1795),i=s({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(r(e),t)}},4535:e=>{e.exports={}},7403:(e,t,n)=>{var s=n(150);e.exports=s("document","documentElement")},188:(e,t,n)=>{var s=n(69),r=n(6192),i=n(7449);e.exports=!s&&!r((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},2202:(e,t,n)=>{var s=n(4120),r=n(6192),i=n(9272),o=Object,a=s("".split);e.exports=r((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?a(e,""):o(e)}:o},9516:(e,t,n)=>{var s=n(4120),r=n(6447),i=n(6434),o=s(Function.toString);r(i.inspectSource)||(i.inspectSource=function(e){return o(e)}),e.exports=i.inspectSource},3326:(e,t,n)=>{var s,r,i,o=n(5278),a=n(8576),c=n(5744),u=n(8711),l=n(4500),p=n(6434),d=n(9766),m=n(4535),h="Object already initialized",g=a.TypeError,_=a.WeakMap;if(o||p.state){var f=p.state||(p.state=new _);f.get=f.get,f.has=f.has,f.set=f.set,s=function(e,t){if(f.has(e))throw g(h);return t.facade=e,f.set(e,t),t},r=function(e){return f.get(e)||{}},i=function(e){return f.has(e)}}else{var b=d("state");m[b]=!0,s=function(e,t){if(l(e,b))throw g(h);return t.facade=e,u(e,b,t),t},r=function(e){return l(e,b)?e[b]:{}},i=function(e){return l(e,b)}}e.exports={set:s,get:r,has:i,enforce:function(e){return i(e)?r(e):s(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=r(t)).type!==e)throw g("Incompatible receiver, "+e+" required");return n}}}},4770:(e,t,n)=>{var s=n(9272);e.exports=Array.isArray||function(e){return"Array"==s(e)}},6447:(e,t,n)=>{var s=n(8382),r=s.all;e.exports=s.IS_HTMLDDA?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}},2091:(e,t,n)=>{var s=n(4120),r=n(6192),i=n(6447),o=n(4696),a=n(150),c=n(9516),u=function(){},l=[],p=a("Reflect","construct"),d=/^\s*(?:class|function)\b/,m=s(d.exec),h=!d.exec(u),g=function(e){if(!i(e))return!1;try{return p(u,l,e),!0}catch(e){return!1}},_=function(e){if(!i(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!m(d,c(e))}catch(e){return!0}};_.sham=!0,e.exports=!p||r((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?_:g},9245:(e,t,n)=>{var s=n(6192),r=n(6447),i=/#|\.prototype\./,o=function(e,t){var n=c[a(e)];return n==l||n!=u&&(r(t)?s(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},5646:e=>{e.exports=function(e){return null==e}},5744:(e,t,n)=>{var s=n(6447),r=n(8382),i=r.all;e.exports=r.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:s(e)||e===i}:function(e){return"object"==typeof e?null!==e:s(e)}},5546:e=>{e.exports=!0},3236:(e,t,n)=>{var s=n(150),r=n(6447),i=n(8902),o=n(615),a=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=s("Symbol");return r(t)&&i(t.prototype,a(e))}},5695:(e,t,n)=>{"use strict";var s=n(4413).IteratorPrototype,r=n(2853),i=n(774),o=n(1284),a=n(7771),c=function(){return this};e.exports=function(e,t,n,u){var l=t+" Iterator";return e.prototype=r(s,{next:i(+!u,n)}),o(e,l,!1,!0),a[l]=c,e}},5297:(e,t,n)=>{"use strict";var s=n(3085),r=n(8922),i=n(5546),o=n(2282),a=n(6447),c=n(5695),u=n(9341),l=n(4469),p=n(1284),d=n(8711),m=n(9362),h=n(8182),g=n(7771),_=n(4413),f=o.PROPER,b=o.CONFIGURABLE,y=_.IteratorPrototype,v=_.BUGGY_SAFARI_ITERATORS,E=h("iterator"),S="keys",w="values",O="entries",j=function(){return this};e.exports=function(e,t,n,o,h,_,x){c(n,t,o);var M,P,B,A=function(e){if(e===h&&C)return C;if(!v&&e in T)return T[e];switch(e){case S:case w:case O:return function(){return new n(this,e)}}return function(){return new n(this)}},I=t+" Iterator",N=!1,T=e.prototype,F=T[E]||T["@@iterator"]||h&&T[h],C=!v&&F||A(h),R="Array"==t&&T.entries||F;if(R&&(M=u(R.call(new e)))!==Object.prototype&&M.next&&(i||u(M)===y||(l?l(M,y):a(M[E])||m(M,E,j)),p(M,I,!0,!0),i&&(g[I]=j)),f&&h==w&&F&&F.name!==w&&(!i&&b?d(T,"name",w):(N=!0,C=function(){return r(F,this)})),h)if(P={values:A(w),keys:_?C:A(S),entries:A(O)},x)for(B in P)(v||N||!(B in T))&&m(T,B,P[B]);else s({target:t,proto:!0,forced:v||N},P);return i&&!x||T[E]===C||m(T,E,C,{name:h}),g[t]=C,P}},4413:(e,t,n)=>{"use strict";var s,r,i,o=n(6192),a=n(6447),c=n(5744),u=n(2853),l=n(9341),p=n(9362),d=n(8182),m=n(5546),h=d("iterator"),g=!1;[].keys&&("next"in(i=[].keys())?(r=l(l(i)))!==Object.prototype&&(s=r):g=!0),!c(s)||o((function(){var e={};return s[h].call(e)!==e}))?s={}:m&&(s=u(s)),a(s[h])||p(s,h,(function(){return this})),e.exports={IteratorPrototype:s,BUGGY_SAFARI_ITERATORS:g}},7771:e=>{e.exports={}},4104:(e,t,n)=>{var s=n(8445);e.exports=function(e){return s(e.length)}},7679:e=>{var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var s=+e;return(s>0?n:t)(s)}},2853:(e,t,n)=>{var s,r=n(1138),i=n(1187),o=n(2952),a=n(4535),c=n(7403),u=n(7449),l=n(9766),p="prototype",d="script",m=l("IE_PROTO"),h=function(){},g=function(e){return"<"+d+">"+e+"</"+d+">"},_=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},f=function(){try{s=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;f="undefined"!=typeof document?document.domain&&s?_(s):(t=u("iframe"),n="java"+d+":",t.style.display="none",c.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(g("document.F=Object")),e.close(),e.F):_(s);for(var r=o.length;r--;)delete f[p][o[r]];return f()};a[m]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(h[p]=r(e),n=new h,h[p]=null,n[m]=e):n=f(),void 0===t?n:i.f(n,t)}},1187:(e,t,n)=>{var s=n(69),r=n(9600),i=n(2760),o=n(1138),a=n(101),c=n(7653);t.f=s&&!r?Object.defineProperties:function(e,t){o(e);for(var n,s=a(t),r=c(t),u=r.length,l=0;u>l;)i.f(e,n=r[l++],s[n]);return e}},2760:(e,t,n)=>{var s=n(69),r=n(188),i=n(9600),o=n(1138),a=n(77),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,p="enumerable",d="configurable",m="writable";t.f=s?i?function(e,t,n){if(o(e),t=a(t),o(n),"function"==typeof e&&"prototype"===t&&"value"in n&&m in n&&!n[m]){var s=l(e,t);s&&s[m]&&(e[t]=n.value,n={configurable:d in n?n[d]:s[d],enumerable:p in n?n[p]:s[p],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(o(e),t=a(t),o(n),r)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},5141:(e,t,n)=>{var s=n(69),r=n(8922),i=n(6007),o=n(774),a=n(101),c=n(77),u=n(4500),l=n(188),p=Object.getOwnPropertyDescriptor;t.f=s?p:function(e,t){if(e=a(e),t=c(t),l)try{return p(e,t)}catch(e){}if(u(e,t))return o(!r(i.f,e,t),e[t])}},4052:(e,t,n)=>{var s=n(9272),r=n(101),i=n(2092).f,o=n(1923),a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"Window"==s(e)?function(e){try{return i(e)}catch(e){return o(a)}}(e):i(r(e))}},2092:(e,t,n)=>{var s=n(7934),r=n(2952).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return s(e,r)}},4750:(e,t)=>{t.f=Object.getOwnPropertySymbols},9341:(e,t,n)=>{var s=n(4500),r=n(6447),i=n(1795),o=n(9766),a=n(4635),c=o("IE_PROTO"),u=Object,l=u.prototype;e.exports=a?u.getPrototypeOf:function(e){var t=i(e);if(s(t,c))return t[c];var n=t.constructor;return r(n)&&t instanceof n?n.prototype:t instanceof u?l:null}},8902:(e,t,n)=>{var s=n(4120);e.exports=s({}.isPrototypeOf)},7934:(e,t,n)=>{var s=n(4120),r=n(4500),i=n(101),o=n(8180).indexOf,a=n(4535),c=s([].push);e.exports=function(e,t){var n,s=i(e),u=0,l=[];for(n in s)!r(a,n)&&r(s,n)&&c(l,n);for(;t.length>u;)r(s,n=t[u++])&&(~o(l,n)||c(l,n));return l}},7653:(e,t,n)=>{var s=n(7934),r=n(2952);e.exports=Object.keys||function(e){return s(e,r)}},6007:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,r=s&&!n.call({1:2},1);t.f=r?function(e){var t=s(this,e);return!!t&&t.enumerable}:n},4469:(e,t,n)=>{var s=n(6419),r=n(1138),i=n(7757);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=s(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,s){return r(n),i(s),t?e(n,s):n.__proto__=s,n}}():void 0)},158:(e,t,n)=>{"use strict";var s=n(3471),r=n(4696);e.exports=s?{}.toString:function(){return"[object "+r(this)+"]"}},380:(e,t,n)=>{var s=n(8922),r=n(6447),i=n(5744),o=TypeError;e.exports=function(e,t){var n,a;if("string"===t&&r(n=e.toString)&&!i(a=s(n,e)))return a;if(r(n=e.valueOf)&&!i(a=s(n,e)))return a;if("string"!==t&&r(n=e.toString)&&!i(a=s(n,e)))return a;throw o("Can't convert object to primitive value")}},7545:e=>{e.exports={}},3209:(e,t,n)=>{var s=n(5646),r=TypeError;e.exports=function(e){if(s(e))throw r("Can't call method on "+e);return e}},1284:(e,t,n)=>{var s=n(3471),r=n(2760).f,i=n(8711),o=n(4500),a=n(158),c=n(8182)("toStringTag");e.exports=function(e,t,n,u){if(e){var l=n?e:e.prototype;o(l,c)||r(l,c,{configurable:!0,value:t}),u&&!s&&i(l,"toString",a)}}},9766:(e,t,n)=>{var s=n(8717),r=n(2759),i=s("keys");e.exports=function(e){return i[e]||(i[e]=r(e))}},6434:(e,t,n)=>{var s=n(8576),r=n(5098),i="__core-js_shared__",o=s[i]||r(i,{});e.exports=o},8717:(e,t,n)=>{var s=n(5546),r=n(6434);(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.30.2",mode:s?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE",source:"https://github.com/zloirock/core-js"})},863:(e,t,n)=>{var s=n(4120),r=n(1941),i=n(4845),o=n(3209),a=s("".charAt),c=s("".charCodeAt),u=s("".slice),l=function(e){return function(t,n){var s,l,p=i(o(t)),d=r(n),m=p.length;return d<0||d>=m?e?"":void 0:(s=c(p,d))<55296||s>56319||d+1===m||(l=c(p,d+1))<56320||l>57343?e?a(p,d):s:e?u(p,d,d+2):l-56320+(s-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},6770:(e,t,n)=>{var s=n(4218),r=n(6192),i=n(8576).String;e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&s&&s<41}))},3407:(e,t,n)=>{var s=n(8922),r=n(150),i=n(8182),o=n(9362);e.exports=function(){var e=r("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,a=i("toPrimitive");t&&!t[a]&&o(t,a,(function(e){return s(n,this)}),{arity:1})}},31:(e,t,n)=>{var s=n(6770);e.exports=s&&!!Symbol.for&&!!Symbol.keyFor},7739:(e,t,n)=>{var s=n(1941),r=Math.max,i=Math.min;e.exports=function(e,t){var n=s(e);return n<0?r(n+t,0):i(n,t)}},101:(e,t,n)=>{var s=n(2202),r=n(3209);e.exports=function(e){return s(r(e))}},1941:(e,t,n)=>{var s=n(7679);e.exports=function(e){var t=+e;return t!=t||0===t?0:s(t)}},8445:(e,t,n)=>{var s=n(1941),r=Math.min;e.exports=function(e){return e>0?r(s(e),9007199254740991):0}},1795:(e,t,n)=>{var s=n(3209),r=Object;e.exports=function(e){return r(s(e))}},7888:(e,t,n)=>{var s=n(8922),r=n(5744),i=n(3236),o=n(5037),a=n(380),c=n(8182),u=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!r(e)||i(e))return e;var n,c=o(e,l);if(c){if(void 0===t&&(t="default"),n=s(c,e,t),!r(n)||i(n))return n;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},77:(e,t,n)=>{var s=n(7888),r=n(3236);e.exports=function(e){var t=s(e,"string");return r(t)?t:t+""}},3471:(e,t,n)=>{var s={};s[n(8182)("toStringTag")]="z",e.exports="[object z]"===String(s)},4845:(e,t,n)=>{var s=n(4696),r=String;e.exports=function(e){if("Symbol"===s(e))throw TypeError("Cannot convert a Symbol value to a string");return r(e)}},9288:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},2759:(e,t,n)=>{var s=n(4120),r=0,i=Math.random(),o=s(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++r+i,36)}},615:(e,t,n)=>{var s=n(6770);e.exports=s&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},9600:(e,t,n)=>{var s=n(69),r=n(6192);e.exports=s&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5278:(e,t,n)=>{var s=n(8576),r=n(6447),i=s.WeakMap;e.exports=r(i)&&/native code/.test(String(i))},8332:(e,t,n)=>{var s=n(7545),r=n(4500),i=n(9207),o=n(2760).f;e.exports=function(e){var t=s.Symbol||(s.Symbol={});r(t,e)||o(t,e,{value:i.f(e)})}},9207:(e,t,n)=>{var s=n(8182);t.f=s},8182:(e,t,n)=>{var s=n(8576),r=n(8717),i=n(4500),o=n(2759),a=n(6770),c=n(615),u=s.Symbol,l=r("wks"),p=c?u.for||u:u&&u.withoutSetter||o;e.exports=function(e){return i(l,e)||(l[e]=a&&i(u,e)?u[e]:p("Symbol."+e)),l[e]}},9106:(e,t,n)=>{"use strict";var s=n(3085),r=n(6192),i=n(4770),o=n(5744),a=n(1795),c=n(4104),u=n(9425),l=n(9361),p=n(1321),d=n(242),m=n(8182),h=n(4218),g=m("isConcatSpreadable"),_=h>=51||!r((function(){var e=[];return e[g]=!1,e.concat()[0]!==e})),f=function(e){if(!o(e))return!1;var t=e[g];return void 0!==t?!!t:i(e)};s({target:"Array",proto:!0,arity:1,forced:!_||!d("concat")},{concat:function(e){var t,n,s,r,i,o=a(this),d=p(o,0),m=0;for(t=-1,s=arguments.length;t<s;t++)if(f(i=-1===t?o:arguments[t]))for(r=c(i),u(m+r),n=0;n<r;n++,m++)n in i&&l(d,m,i[n]);else u(m+1),l(d,m++,i);return d.length=m,d}})},2276:(e,t,n)=>{"use strict";var s=n(3085),r=n(4914),i=n(8180).indexOf,o=n(424),a=r([].indexOf),c=!!a&&1/a([1],1,-0)<0;s({target:"Array",proto:!0,forced:c||!o("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return c?a(this,e,t)||0:i(this,e,t)}})},8939:(e,t,n)=>{"use strict";var s=n(101),r=n(7423),i=n(7771),o=n(3326),a=n(2760).f,c=n(5297),u=n(7271),l=n(5546),p=n(69),d="Array Iterator",m=o.set,h=o.getterFor(d);e.exports=c(Array,"Array",(function(e,t){m(this,{type:d,target:s(e),index:0,kind:t})}),(function(){var e=h(this),t=e.target,n=e.kind,s=e.index++;return!t||s>=t.length?(e.target=void 0,u(void 0,!0)):u("keys"==n?s:"values"==n?t[s]:[s,t[s]],!1)}),"values");var g=i.Arguments=i.Array;if(r("keys"),r("values"),r("entries"),!l&&p&&"values"!==g.name)try{a(g,"name",{value:"values"})}catch(e){}},2432:()=>{},9704:(e,t,n)=>{var s=n(3085),r=n(150),i=n(6298),o=n(8922),a=n(4120),c=n(6192),u=n(6447),l=n(3236),p=n(3096),d=n(9202),m=n(6770),h=String,g=r("JSON","stringify"),_=a(/./.exec),f=a("".charAt),b=a("".charCodeAt),y=a("".replace),v=a(1..toString),E=/[\uD800-\uDFFF]/g,S=/^[\uD800-\uDBFF]$/,w=/^[\uDC00-\uDFFF]$/,O=!m||c((function(){var e=r("Symbol")();return"[null]"!=g([e])||"{}"!=g({a:e})||"{}"!=g(Object(e))})),j=c((function(){return'"\\udf06\\ud834"'!==g("\udf06\ud834")||'"\\udead"'!==g("\udead")})),x=function(e,t){var n=p(arguments),s=d(t);if(u(s)||void 0!==e&&!l(e))return n[1]=function(e,t){if(u(s)&&(t=o(s,this,h(e),t)),!l(t))return t},i(g,null,n)},M=function(e,t,n){var s=f(n,t-1),r=f(n,t+1);return _(S,e)&&!_(w,r)||_(w,e)&&!_(S,s)?"\\u"+v(b(e,0),16):e};g&&s({target:"JSON",stat:!0,arity:3,forced:O||j},{stringify:function(e,t,n){var s=p(arguments),r=i(O?x:g,null,s);return j&&"string"==typeof r?y(r,E,M):r}})},8671:(e,t,n)=>{var s=n(8576);n(1284)(s.JSON,"JSON",!0)},8556:()=>{},297:(e,t,n)=>{var s=n(3085),r=n(69),i=n(2760).f;s({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!r},{defineProperty:i})},7895:(e,t,n)=>{var s=n(3085),r=n(6770),i=n(6192),o=n(4750),a=n(1795);s({target:"Object",stat:!0,forced:!r||i((function(){o.f(1)}))},{getOwnPropertySymbols:function(e){var t=o.f;return t?t(a(e)):[]}})},2647:(e,t,n)=>{var s=n(3085),r=n(1795),i=n(7653);s({target:"Object",stat:!0,forced:n(6192)((function(){i(1)}))},{keys:function(e){return i(r(e))}})},6663:()=>{},1367:()=>{},5454:(e,t,n)=>{"use strict";var s=n(863).charAt,r=n(4845),i=n(3326),o=n(5297),a=n(7271),c="String Iterator",u=i.set,l=i.getterFor(c);o(String,"String",(function(e){u(this,{type:c,string:r(e),index:0})}),(function(){var e,t=l(this),n=t.string,r=t.index;return r>=n.length?a(void 0,!0):(e=s(n,r),t.index+=e.length,a(e,!1))}))},9781:(e,t,n)=>{n(8332)("asyncIterator")},9351:(e,t,n)=>{"use strict";var s=n(3085),r=n(8576),i=n(8922),o=n(4120),a=n(5546),c=n(69),u=n(6770),l=n(6192),p=n(4500),d=n(8902),m=n(1138),h=n(101),g=n(77),_=n(4845),f=n(774),b=n(2853),y=n(7653),v=n(2092),E=n(4052),S=n(4750),w=n(5141),O=n(2760),j=n(1187),x=n(6007),M=n(9362),P=n(2807),B=n(8717),A=n(9766),I=n(4535),N=n(2759),T=n(8182),F=n(9207),C=n(8332),R=n(3407),$=n(1284),q=n(3326),k=n(454).forEach,D=A("hidden"),V="Symbol",L="prototype",U=q.set,Z=q.getterFor(V),H=Object[L],J=r.Symbol,z=J&&J[L],W=r.TypeError,G=r.QObject,K=w.f,Y=O.f,Q=E.f,X=x.f,ee=o([].push),te=B("symbols"),ne=B("op-symbols"),se=B("wks"),re=!G||!G[L]||!G[L].findChild,ie=c&&l((function(){return 7!=b(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(e,t,n){var s=K(H,t);s&&delete H[t],Y(e,t,n),s&&e!==H&&Y(H,t,s)}:Y,oe=function(e,t){var n=te[e]=b(z);return U(n,{type:V,tag:e,description:t}),c||(n.description=t),n},ae=function(e,t,n){e===H&&ae(ne,t,n),m(e);var s=g(t);return m(n),p(te,s)?(n.enumerable?(p(e,D)&&e[D][s]&&(e[D][s]=!1),n=b(n,{enumerable:f(0,!1)})):(p(e,D)||Y(e,D,f(1,{})),e[D][s]=!0),ie(e,s,n)):Y(e,s,n)},ce=function(e,t){m(e);var n=h(t),s=y(n).concat(de(n));return k(s,(function(t){c&&!i(ue,n,t)||ae(e,t,n[t])})),e},ue=function(e){var t=g(e),n=i(X,this,t);return!(this===H&&p(te,t)&&!p(ne,t))&&(!(n||!p(this,t)||!p(te,t)||p(this,D)&&this[D][t])||n)},le=function(e,t){var n=h(e),s=g(t);if(n!==H||!p(te,s)||p(ne,s)){var r=K(n,s);return!r||!p(te,s)||p(n,D)&&n[D][s]||(r.enumerable=!0),r}},pe=function(e){var t=Q(h(e)),n=[];return k(t,(function(e){p(te,e)||p(I,e)||ee(n,e)})),n},de=function(e){var t=e===H,n=Q(t?ne:h(e)),s=[];return k(n,(function(e){!p(te,e)||t&&!p(H,e)||ee(s,te[e])})),s};u||(M(z=(J=function(){if(d(z,this))throw W("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?_(arguments[0]):void 0,t=N(e),n=function(e){this===H&&i(n,ne,e),p(this,D)&&p(this[D],t)&&(this[D][t]=!1),ie(this,t,f(1,e))};return c&&re&&ie(H,t,{configurable:!0,set:n}),oe(t,e)})[L],"toString",(function(){return Z(this).tag})),M(J,"withoutSetter",(function(e){return oe(N(e),e)})),x.f=ue,O.f=ae,j.f=ce,w.f=le,v.f=E.f=pe,S.f=de,F.f=function(e){return oe(T(e),e)},c&&(P(z,"description",{configurable:!0,get:function(){return Z(this).description}}),a||M(H,"propertyIsEnumerable",ue,{unsafe:!0}))),s({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:J}),k(y(se),(function(e){C(e)})),s({target:V,stat:!0,forced:!u},{useSetter:function(){re=!0},useSimple:function(){re=!1}}),s({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(e,t){return void 0===t?b(e):ce(b(e),t)},defineProperty:ae,defineProperties:ce,getOwnPropertyDescriptor:le}),s({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:pe}),R(),$(J,V),I[D]=!0},492:()=>{},9148:(e,t,n)=>{var s=n(3085),r=n(150),i=n(4500),o=n(4845),a=n(8717),c=n(31),u=a("string-to-symbol-registry"),l=a("symbol-to-string-registry");s({target:"Symbol",stat:!0,forced:!c},{for:function(e){var t=o(e);if(i(u,t))return u[t];var n=r("Symbol")(t);return u[t]=n,l[n]=t,n}})},6681:(e,t,n)=>{n(8332)("hasInstance")},9594:(e,t,n)=>{n(8332)("isConcatSpreadable")},3665:(e,t,n)=>{n(8332)("iterator")},6187:(e,t,n)=>{n(9351),n(9148),n(5991),n(9704),n(7895)},5991:(e,t,n)=>{var s=n(3085),r=n(4500),i=n(3236),o=n(9288),a=n(8717),c=n(31),u=a("symbol-to-string-registry");s({target:"Symbol",stat:!0,forced:!c},{keyFor:function(e){if(!i(e))throw TypeError(o(e)+" is not a symbol");if(r(u,e))return u[e]}})},1250:(e,t,n)=>{n(8332)("matchAll")},9017:(e,t,n)=>{n(8332)("match")},9786:(e,t,n)=>{n(8332)("replace")},503:(e,t,n)=>{n(8332)("search")},6565:(e,t,n)=>{n(8332)("species")},9322:(e,t,n)=>{n(8332)("split")},3610:(e,t,n)=>{var s=n(8332),r=n(3407);s("toPrimitive"),r()},6886:(e,t,n)=>{var s=n(150),r=n(8332),i=n(1284);r("toStringTag"),i(s("Symbol"),"Symbol")},3514:(e,t,n)=>{n(8332)("unscopables")},177:(e,t,n)=>{n(8332)("asyncDispose")},9031:(e,t,n)=>{n(8332)("dispose")},2725:(e,t,n)=>{var s=n(3085),r=n(150),i=n(4120),o=r("Symbol"),a=o.keyFor,c=i(o.prototype.valueOf);s({target:"Symbol",stat:!0},{isRegistered:function(e){try{return void 0!==a(c(e))}catch(e){return!1}}})},1806:(e,t,n)=>{for(var s=n(3085),r=n(8717),i=n(150),o=n(4120),a=n(3236),c=n(8182),u=i("Symbol"),l=u.isWellKnown,p=i("Object","getOwnPropertyNames"),d=o(u.prototype.valueOf),m=r("wks"),h=0,g=p(u),_=g.length;h<_;h++)try{var f=g[h];a(u[f])&&c(f)}catch(e){}s({target:"Symbol",stat:!0,forced:!0},{isWellKnown:function(e){if(l&&l(e))return!0;try{for(var t=d(e),n=0,s=p(m),r=s.length;n<r;n++)if(m[s[n]]==t)return!0}catch(e){}return!1}})},6658:(e,t,n)=>{n(8332)("matcher")},4212:(e,t,n)=>{n(8332)("metadataKey")},1875:(e,t,n)=>{n(8332)("metadata")},8658:(e,t,n)=>{n(8332)("observable")},4592:(e,t,n)=>{n(8332)("patternMatch")},6680:(e,t,n)=>{n(8332)("replaceAll")},162:(e,t,n)=>{n(8939);var s=n(7365),r=n(8576),i=n(4696),o=n(8711),a=n(7771),c=n(8182)("toStringTag");for(var u in s){var l=r[u],p=l&&l.prototype;p&&i(p)!==c&&o(p,c,u),a[u]=a.Array}},6174:(e,t,n)=>{var s=n(2604);e.exports=s},7820:(e,t,n)=>{var s=n(3512);e.exports=s},2:(e,t,n)=>{var s=n(2921);e.exports=s},5636:(e,t,n)=>{var s=n(8651);e.exports=s},2285:(e,t,n)=>{var s=n(5008);n(162),e.exports=s},8535:(e,t,n)=>{var s=n(994);n(162),e.exports=s},6042:(e,t,n)=>{var s=n(290);e.exports=s},9515:(e,t,n)=>{var s=n(8761)(n(7772),"DataView");e.exports=s},9612:(e,t,n)=>{var s=n(2118),r=n(6909),i=n(8138),o=n(4174),a=n(7942);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}c.prototype.clear=s,c.prototype.delete=r,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},235:(e,t,n)=>{var s=n(3945),r=n(1846),i=n(8028),o=n(2344),a=n(4769);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}c.prototype.clear=s,c.prototype.delete=r,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},326:(e,t,n)=>{var s=n(8761)(n(7772),"Map");e.exports=s},6738:(e,t,n)=>{var s=n(2411),r=n(6417),i=n(6928),o=n(9493),a=n(4150);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var s=e[t];this.set(s[0],s[1])}}c.prototype.clear=s,c.prototype.delete=r,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},1985:(e,t,n)=>{var s=n(8761)(n(7772),"Promise");e.exports=s},2143:(e,t,n)=>{var s=n(8761)(n(7772),"Set");e.exports=s},5386:(e,t,n)=>{var s=n(6738),r=n(2842),i=n(2482);function o(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new s;++t<n;)this.add(e[t])}o.prototype.add=o.prototype.push=r,o.prototype.has=i,e.exports=o},6571:(e,t,n)=>{var s=n(235),r=n(5243),i=n(2858),o=n(4417),a=n(8605),c=n(1418);function u(e){var t=this.__data__=new s(e);this.size=t.size}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=c,e.exports=u},857:(e,t,n)=>{var s=n(7772).Symbol;e.exports=s},9162:(e,t,n)=>{var s=n(7772).Uint8Array;e.exports=s},3215:(e,t,n)=>{var s=n(8761)(n(7772),"WeakMap");e.exports=s},7552:e=>{e.exports=function(e,t){for(var n=-1,s=null==e?0:e.length,r=0,i=[];++n<s;){var o=e[n];t(o,n,e)&&(i[r++]=o)}return i}},1634:(e,t,n)=>{var s=n(6473),r=n(9631),i=n(6152),o=n(3226),a=n(9045),c=n(7598),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),l=!n&&r(e),p=!n&&!l&&o(e),d=!n&&!l&&!p&&c(e),m=n||l||p||d,h=m?s(e.length,String):[],g=h.length;for(var _ in e)!t&&!u.call(e,_)||m&&("length"==_||p&&("offset"==_||"parent"==_)||d&&("buffer"==_||"byteLength"==_||"byteOffset"==_)||a(_,g))||h.push(_);return h}},5067:e=>{e.exports=function(e,t){for(var n=-1,s=t.length,r=e.length;++n<s;)e[r+n]=t[n];return e}},7064:e=>{e.exports=function(e,t){for(var n=-1,s=null==e?0:e.length;++n<s;)if(t(e[n],n,e))return!0;return!1}},2218:(e,t,n)=>{var s=n(1225);e.exports=function(e,t){for(var n=e.length;n--;)if(s(e[n][0],t))return n;return-1}},1897:(e,t,n)=>{var s=n(5067),r=n(6152);e.exports=function(e,t,n){var i=t(e);return r(e)?i:s(i,n(e))}},3366:(e,t,n)=>{var s=n(857),r=n(2107),i=n(7157),o=s?s.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?r(e):i(e)}},5183:(e,t,n)=>{var s=n(3366),r=n(5125);e.exports=function(e){return r(e)&&"[object Arguments]"==s(e)}},8746:(e,t,n)=>{var s=n(1952),r=n(5125);e.exports=function e(t,n,i,o,a){return t===n||(null==t||null==n||!r(t)&&!r(n)?t!=t&&n!=n:s(t,n,i,o,e,a))}},1952:(e,t,n)=>{var s=n(6571),r=n(4871),i=n(1491),o=n(7416),a=n(940),c=n(6152),u=n(3226),l=n(7598),p="[object Arguments]",d="[object Array]",m="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,g,_,f){var b=c(e),y=c(t),v=b?d:a(e),E=y?d:a(t),S=(v=v==p?m:v)==m,w=(E=E==p?m:E)==m,O=v==E;if(O&&u(e)){if(!u(t))return!1;b=!0,S=!1}if(O&&!S)return f||(f=new s),b||l(e)?r(e,t,n,g,_,f):i(e,t,v,n,g,_,f);if(!(1&n)){var j=S&&h.call(e,"__wrapped__"),x=w&&h.call(t,"__wrapped__");if(j||x){var M=j?e.value():e,P=x?t.value():t;return f||(f=new s),_(M,P,n,g,f)}}return!!O&&(f||(f=new s),o(e,t,n,g,_,f))}},6840:(e,t,n)=>{var s=n(1049),r=n(7394),i=n(9259),o=n(7035),a=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,p=u.hasOwnProperty,d=RegExp("^"+l.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||r(e))&&(s(e)?d:a).test(o(e))}},5522:(e,t,n)=>{var s=n(3366),r=n(1158),i=n(5125),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&r(e.length)&&!!o[s(e)]}},6411:(e,t,n)=>{var s=n(6001),r=n(4248),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!s(e))return r(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},6473:e=>{e.exports=function(e,t){for(var n=-1,s=Array(e);++n<e;)s[n]=t(n);return s}},7826:e=>{e.exports=function(e){return function(t){return e(t)}}},9950:e=>{e.exports=function(e,t){return e.has(t)}},4019:(e,t,n)=>{var s=n(7772)["__core-js_shared__"];e.exports=s},4871:(e,t,n)=>{var s=n(5386),r=n(7064),i=n(9950);e.exports=function(e,t,n,o,a,c){var u=1&n,l=e.length,p=t.length;if(l!=p&&!(u&&p>l))return!1;var d=c.get(e),m=c.get(t);if(d&&m)return d==t&&m==e;var h=-1,g=!0,_=2&n?new s:void 0;for(c.set(e,t),c.set(t,e);++h<l;){var f=e[h],b=t[h];if(o)var y=u?o(b,f,h,t,e,c):o(f,b,h,e,t,c);if(void 0!==y){if(y)continue;g=!1;break}if(_){if(!r(t,(function(e,t){if(!i(_,t)&&(f===e||a(f,e,n,o,c)))return _.push(t)}))){g=!1;break}}else if(f!==b&&!a(f,b,n,o,c)){g=!1;break}}return c.delete(e),c.delete(t),g}},1491:(e,t,n)=>{var s=n(857),r=n(9162),i=n(1225),o=n(4871),a=n(5179),c=n(4207),u=s?s.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,n,s,u,p,d){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!p(new r(e),new r(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var m=a;case"[object Set]":var h=1&s;if(m||(m=c),e.size!=t.size&&!h)return!1;var g=d.get(e);if(g)return g==t;s|=2,d.set(e,t);var _=o(m(e),m(t),s,u,p,d);return d.delete(e),_;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},7416:(e,t,n)=>{var s=n(3483),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,o,a){var c=1&n,u=s(e),l=u.length;if(l!=s(t).length&&!c)return!1;for(var p=l;p--;){var d=u[p];if(!(c?d in t:r.call(t,d)))return!1}var m=a.get(e),h=a.get(t);if(m&&h)return m==t&&h==e;var g=!0;a.set(e,t),a.set(t,e);for(var _=c;++p<l;){var f=e[d=u[p]],b=t[d];if(i)var y=c?i(b,f,d,t,e,a):i(f,b,d,e,t,a);if(!(void 0===y?f===b||o(f,b,n,i,a):y)){g=!1;break}_||(_="constructor"==d)}if(g&&!_){var v=e.constructor,E=t.constructor;v==E||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof E&&E instanceof E||(g=!1)}return a.delete(e),a.delete(t),g}},1242:(e,t,n)=>{var s="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=s},3483:(e,t,n)=>{var s=n(1897),r=n(633),i=n(249);e.exports=function(e){return s(e,i,r)}},7937:(e,t,n)=>{var s=n(8304);e.exports=function(e,t){var n=e.__data__;return s(t)?n["string"==typeof t?"string":"hash"]:n.map}},8761:(e,t,n)=>{var s=n(6840),r=n(8109);e.exports=function(e,t){var n=r(e,t);return s(n)?n:void 0}},2107:(e,t,n)=>{var s=n(857),r=Object.prototype,i=r.hasOwnProperty,o=r.toString,a=s?s.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),n=e[a];try{e[a]=void 0;var s=!0}catch(e){}var r=o.call(e);return s&&(t?e[a]=n:delete e[a]),r}},633:(e,t,n)=>{var s=n(7552),r=n(981),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,a=o?function(e){return null==e?[]:(e=Object(e),s(o(e),(function(t){return i.call(e,t)})))}:r;e.exports=a},940:(e,t,n)=>{var s=n(9515),r=n(326),i=n(1985),o=n(2143),a=n(3215),c=n(3366),u=n(7035),l="[object Map]",p="[object Promise]",d="[object Set]",m="[object WeakMap]",h="[object DataView]",g=u(s),_=u(r),f=u(i),b=u(o),y=u(a),v=c;(s&&v(new s(new ArrayBuffer(1)))!=h||r&&v(new r)!=l||i&&v(i.resolve())!=p||o&&v(new o)!=d||a&&v(new a)!=m)&&(v=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,s=n?u(n):"";if(s)switch(s){case g:return h;case _:return l;case f:return p;case b:return d;case y:return m}return t}),e.exports=v},8109:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},2118:(e,t,n)=>{var s=n(9191);e.exports=function(){this.__data__=s?s(null):{},this.size=0}},6909:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},8138:(e,t,n)=>{var s=n(9191),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(s){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return r.call(t,e)?t[e]:void 0}},4174:(e,t,n)=>{var s=n(9191),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return s?void 0!==t[e]:r.call(t,e)}},7942:(e,t,n)=>{var s=n(9191);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=s&&void 0===t?"__lodash_hash_undefined__":t,this}},9045:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var s=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==s||"symbol"!=s&&t.test(e))&&e>-1&&e%1==0&&e<n}},8304:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},7394:(e,t,n)=>{var s,r=n(4019),i=(s=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+s:"";e.exports=function(e){return!!i&&i in e}},6001:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},3945:e=>{e.exports=function(){this.__data__=[],this.size=0}},1846:(e,t,n)=>{var s=n(2218),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=s(t,e);return!(n<0)&&(n==t.length-1?t.pop():r.call(t,n,1),--this.size,!0)}},8028:(e,t,n)=>{var s=n(2218);e.exports=function(e){var t=this.__data__,n=s(t,e);return n<0?void 0:t[n][1]}},2344:(e,t,n)=>{var s=n(2218);e.exports=function(e){return s(this.__data__,e)>-1}},4769:(e,t,n)=>{var s=n(2218);e.exports=function(e,t){var n=this.__data__,r=s(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},2411:(e,t,n)=>{var s=n(9612),r=n(235),i=n(326);e.exports=function(){this.size=0,this.__data__={hash:new s,map:new(i||r),string:new s}}},6417:(e,t,n)=>{var s=n(7937);e.exports=function(e){var t=s(this,e).delete(e);return this.size-=t?1:0,t}},6928:(e,t,n)=>{var s=n(7937);e.exports=function(e){return s(this,e).get(e)}},9493:(e,t,n)=>{var s=n(7937);e.exports=function(e){return s(this,e).has(e)}},4150:(e,t,n)=>{var s=n(7937);e.exports=function(e,t){var n=s(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},5179:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,s){n[++t]=[s,e]})),n}},9191:(e,t,n)=>{var s=n(8761)(Object,"create");e.exports=s},4248:(e,t,n)=>{var s=n(241)(Object.keys,Object);e.exports=s},4146:(e,t,n)=>{e=n.nmd(e);var s=n(1242),r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,o=i&&i.exports===r&&s.process,a=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a},7157:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},241:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},7772:(e,t,n)=>{var s=n(1242),r="object"==typeof self&&self&&self.Object===Object&&self,i=s||r||Function("return this")();e.exports=i},2842:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},2482:e=>{e.exports=function(e){return this.__data__.has(e)}},4207:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},5243:(e,t,n)=>{var s=n(235);e.exports=function(){this.__data__=new s,this.size=0}},2858:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},4417:e=>{e.exports=function(e){return this.__data__.get(e)}},8605:e=>{e.exports=function(e){return this.__data__.has(e)}},1418:(e,t,n)=>{var s=n(235),r=n(326),i=n(6738);e.exports=function(e,t){var n=this.__data__;if(n instanceof s){var o=n.__data__;if(!r||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(o)}return n.set(e,t),this.size=n.size,this}},7035:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},1225:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},9631:(e,t,n)=>{var s=n(5183),r=n(5125),i=Object.prototype,o=i.hasOwnProperty,a=i.propertyIsEnumerable,c=s(function(){return arguments}())?s:function(e){return r(e)&&o.call(e,"callee")&&!a.call(e,"callee")};e.exports=c},6152:e=>{var t=Array.isArray;e.exports=t},7878:(e,t,n)=>{var s=n(1049),r=n(1158);e.exports=function(e){return null!=e&&r(e.length)&&!s(e)}},4335:(e,t,n)=>{var s=n(3366),r=n(5125);e.exports=function(e){return!0===e||!1===e||r(e)&&"[object Boolean]"==s(e)}},3226:(e,t,n)=>{e=n.nmd(e);var s=n(7772),r=n(6330),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?s.Buffer:void 0,c=(a?a.isBuffer:void 0)||r;e.exports=c},8149:(e,t,n)=>{var s=n(8746);e.exports=function(e,t){return s(e,t)}},1049:(e,t,n)=>{var s=n(3366),r=n(9259);e.exports=function(e){if(!r(e))return!1;var t=s(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1158:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},5877:e=>{e.exports=function(e){return null===e}},537:(e,t,n)=>{var s=n(3366),r=n(5125);e.exports=function(e){return"number"==typeof e||r(e)&&"[object Number]"==s(e)}},9259:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},5125:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},5505:(e,t,n)=>{var s=n(3366),r=n(6152),i=n(5125);e.exports=function(e){return"string"==typeof e||!r(e)&&i(e)&&"[object String]"==s(e)}},7598:(e,t,n)=>{var s=n(5522),r=n(7826),i=n(4146),o=i&&i.isTypedArray,a=o?r(o):s;e.exports=a},249:(e,t,n)=>{var s=n(1634),r=n(6411),i=n(7878);e.exports=function(e){return i(e)?s(e):r(e)}},1570:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},981:e=>{e.exports=function(){return[]}},6330:e=>{e.exports=function(){return!1}},1178:(e,t,n)=>{const s=n(1570);function r(e){return"string"==typeof e?t=>t.element===e:e.constructor&&e.extend?t=>t instanceof e:e}class i{constructor(e){this.elements=e||[]}toValue(){return this.elements.map((e=>e.toValue()))}map(e,t){return this.elements.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const n=[];return this.forEach((s=>{const r=e.bind(t)(s);r&&n.push(r)})),n}filter(e,t){return e=r(e),new i(this.elements.filter(e,t))}reject(e,t){return e=r(e),new i(this.elements.filter(s(e),t))}find(e,t){return e=r(e),this.elements.find(e,t)}forEach(e,t){this.elements.forEach(e,t)}reduce(e,t){return this.elements.reduce(e,t)}includes(e){return this.elements.some((t=>t.equals(e)))}shift(){return this.elements.shift()}unshift(e){this.elements.unshift(this.refract(e))}push(e){return this.elements.push(this.refract(e)),this}add(e){this.push(e)}get(e){return this.elements[e]}getValue(e){const t=this.elements[e];if(t)return t.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(i.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),e.exports=i},3026:e=>{class t{constructor(e,t){this.key=e,this.value=t}clone(){const e=new t;return this.key&&(e.key=this.key.clone()),this.value&&(e.value=this.value.clone()),e}}e.exports=t},5140:(e,t,n)=>{const s=n(5877),r=n(5505),i=n(537),o=n(4335),a=n(9259),c=n(2947),u=n(3756);class l{constructor(e){this.elementMap={},this.elementDetection=[],this.Element=u.Element,this.KeyValuePair=u.KeyValuePair,e&&e.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(e){return e.namespace&&e.namespace({base:this}),e.load&&e.load({base:this}),this}useDefault(){return this.register("null",u.NullElement).register("string",u.StringElement).register("number",u.NumberElement).register("boolean",u.BooleanElement).register("array",u.ArrayElement).register("object",u.ObjectElement).register("member",u.MemberElement).register("ref",u.RefElement).register("link",u.LinkElement),this.detect(s,u.NullElement,!1).detect(r,u.StringElement,!1).detect(i,u.NumberElement,!1).detect(o,u.BooleanElement,!1).detect(Array.isArray,u.ArrayElement,!1).detect(a,u.ObjectElement,!1),this}register(e,t){return this._elements=void 0,this.elementMap[e]=t,this}unregister(e){return this._elements=void 0,delete this.elementMap[e],this}detect(e,t,n){return void 0===n||n?this.elementDetection.unshift([e,t]):this.elementDetection.push([e,t]),this}toElement(e){if(e instanceof this.Element)return e;let t;for(let n=0;n<this.elementDetection.length;n+=1){const s=this.elementDetection[n][0],r=this.elementDetection[n][1];if(s(e)){t=new r(e);break}}return t}getElementClass(e){const t=this.elementMap[e];return void 0===t?this.Element:t}fromRefract(e){return this.serialiser.deserialise(e)}toRefract(e){return this.serialiser.serialise(e)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((e=>{const t=e[0].toUpperCase()+e.substr(1);this._elements[t]=this.elementMap[e]}))),this._elements}get serialiser(){return new c(this)}}c.prototype.Namespace=l,e.exports=l},3853:(e,t,n)=>{const s=n(1570),r=n(1178);class i extends r{map(e,t){return this.elements.map((n=>e.bind(t)(n.value,n.key,n)))}filter(e,t){return new i(this.elements.filter((n=>e.bind(t)(n.value,n.key,n))))}reject(e,t){return this.filter(s(e.bind(t)))}forEach(e,t){return this.elements.forEach(((n,s)=>{e.bind(t)(n.value,n.key,n,s)}))}keys(){return this.map(((e,t)=>t.toValue()))}values(){return this.map((e=>e.toValue()))}}e.exports=i},3756:(e,t,n)=>{const s=n(6420),r=n(4152),i=n(9542),o=n(3710),a=n(3312),c=n(1641),u=n(8858),l=n(3860),p=n(5202),d=n(2320),m=n(1178),h=n(3853),g=n(3026);function _(e){if(e instanceof s)return e;if("string"==typeof e)return new i(e);if("number"==typeof e)return new o(e);if("boolean"==typeof e)return new a(e);if(null===e)return new r;if(Array.isArray(e))return new c(e.map(_));if("object"==typeof e){return new l(e)}return e}s.prototype.ObjectElement=l,s.prototype.RefElement=d,s.prototype.MemberElement=u,s.prototype.refract=_,m.prototype.refract=_,e.exports={Element:s,NullElement:r,StringElement:i,NumberElement:o,BooleanElement:a,ArrayElement:c,MemberElement:u,ObjectElement:l,LinkElement:p,RefElement:d,refract:_,ArraySlice:m,ObjectSlice:h,KeyValuePair:g}},5202:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e||[],t,n),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(e){this.attributes.set("relation",e)}get href(){return this.attributes.get("href")}set href(e){this.attributes.set("href",e)}}},2320:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e||[],t,n),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(e){this.attributes.set("path",e)}}},7952:(e,t,n)=>{const s=n(5140),r=n(3756);t.lS=s,n(3026),r.ArraySlice,r.ObjectSlice,t.W_=r.Element,t.RP=r.StringElement,t.VL=r.NumberElement,t.hh=r.BooleanElement,t.zr=r.NullElement,t.ON=r.ArrayElement,t.Sb=r.ObjectElement,t.c6=r.MemberElement,t.tK=r.RefElement,t.EA=r.LinkElement,t.Qc=r.refract,n(2947),n(8910)},1641:(e,t,n)=>{const s=n(1570),r=n(6420),i=n(1178);class o extends r{constructor(e,t,n){super(e||[],t,n),this.element="array"}primitive(){return"array"}get(e){return this.content[e]}getValue(e){const t=this.get(e);if(t)return t.toValue()}getIndex(e){return this.content[e]}set(e,t){return this.content[e]=this.refract(t),this}remove(e){const t=this.content.splice(e,1);return t.length?t[0]:null}map(e,t){return this.content.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const n=[];return this.forEach((s=>{const r=e.bind(t)(s);r&&n.push(r)})),n}filter(e,t){return new i(this.content.filter(e,t))}reject(e,t){return this.filter(s(e),t)}reduce(e,t){let n,s;void 0!==t?(n=0,s=this.refract(t)):(n=1,s="object"===this.primitive()?this.first.value:this.first);for(let t=n;t<this.length;t+=1){const n=this.content[t];s="object"===this.primitive()?this.refract(e(s,n.value,n.key,n,this)):this.refract(e(s,n,t,this))}return s}forEach(e,t){this.content.forEach(((n,s)=>{e.bind(t)(n,this.refract(s))}))}shift(){return this.content.shift()}unshift(e){this.content.unshift(this.refract(e))}push(e){return this.content.push(this.refract(e)),this}add(e){this.push(e)}findElements(e,t){const n=t||{},s=!!n.recursive,r=void 0===n.results?[]:n.results;return this.forEach(((t,n,i)=>{s&&void 0!==t.findElements&&t.findElements(e,{results:r,recursive:s}),e(t,n,i)&&r.push(t)})),r}find(e){return new i(this.findElements(e,{recursive:!0}))}findByElement(e){return this.find((t=>t.element===e))}findByClass(e){return this.find((t=>t.classes.includes(e)))}getById(e){return this.find((t=>t.id.toValue()===e)).first}includes(e){return this.content.some((t=>t.equals(e)))}contains(e){return this.includes(e)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(e){return new this.constructor(this.content.concat(e.content))}"fantasy-land/concat"(e){return this.concat(e)}"fantasy-land/map"(e){return new this.constructor(this.map(e))}"fantasy-land/chain"(e){return this.map((t=>e(t)),this).reduce(((e,t)=>e.concat(t)),this.empty())}"fantasy-land/filter"(e){return new this.constructor(this.content.filter(e))}"fantasy-land/reduce"(e,t){return this.content.reduce(e,t)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}o.empty=function(){return new this},o["fantasy-land/empty"]=o.empty,"undefined"!=typeof Symbol&&(o.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),e.exports=o},3312:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e,t,n),this.element="boolean"}primitive(){return"boolean"}}},6420:(e,t,n)=>{const s=n(8149),r=n(3026),i=n(1178);class o{constructor(e,t,n){t&&(this.meta=t),n&&(this.attributes=n),this.content=e}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach((e=>{e.parent=this,e.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const e=new this.constructor;return e.element=this.element,this.meta.length&&(e._meta=this.meta.clone()),this.attributes.length&&(e._attributes=this.attributes.clone()),this.content?this.content.clone?e.content=this.content.clone():Array.isArray(this.content)?e.content=this.content.map((e=>e.clone())):e.content=this.content:e.content=this.content,e}toValue(){return this.content instanceof o?this.content.toValue():this.content instanceof r?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((e=>e.toValue()),this):this.content}toRef(e){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const t=new this.RefElement(this.id.toValue());return e&&(t.path=e),t}findRecursive(...e){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const t=e.pop();let n=new i;const s=(e,t)=>(e.push(t),e),o=(e,n)=>{n.element===t&&e.push(n);const i=n.findRecursive(t);return i&&i.reduce(s,e),n.content instanceof r&&(n.content.key&&o(e,n.content.key),n.content.value&&o(e,n.content.value)),e};return this.content&&(this.content.element&&o(n,this.content),Array.isArray(this.content)&&this.content.reduce(o,n)),e.isEmpty||(n=n.filter((t=>{let n=t.parents.map((e=>e.element));for(const t in e){const s=e[t],r=n.indexOf(s);if(-1===r)return!1;n=n.splice(0,r)}return!0}))),n}set(e){return this.content=e,this}equals(e){return s(this.toValue(),e)}getMetaProperty(e,t){if(!this.meta.hasKey(e)){if(this.isFrozen){const e=this.refract(t);return e.freeze(),e}this.meta.set(e,t)}return this.meta.get(e)}setMetaProperty(e,t){this.meta.set(e,t)}get element(){return this._storedElement||"element"}set element(e){this._storedElement=e}get content(){return this._content}set content(e){if(e instanceof o)this._content=e;else if(e instanceof i)this.content=e.elements;else if("string"==typeof e||"number"==typeof e||"boolean"==typeof e||"null"===e||null==e)this._content=e;else if(e instanceof r)this._content=e;else if(Array.isArray(e))this._content=e.map(this.refract);else{if("object"!=typeof e)throw new Error("Cannot set content to given value");this._content=Object.keys(e).map((t=>new this.MemberElement(t,e[t])))}}get meta(){if(!this._meta){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._meta=new this.ObjectElement}return this._meta}set meta(e){e instanceof this.ObjectElement?this._meta=e:this.meta.set(e||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._attributes=new this.ObjectElement}return this._attributes}set attributes(e){e instanceof this.ObjectElement?this._attributes=e:this.attributes.set(e||{})}get id(){return this.getMetaProperty("id","")}set id(e){this.setMetaProperty("id",e)}get classes(){return this.getMetaProperty("classes",[])}set classes(e){this.setMetaProperty("classes",e)}get title(){return this.getMetaProperty("title","")}set title(e){this.setMetaProperty("title",e)}get description(){return this.getMetaProperty("description","")}set description(e){this.setMetaProperty("description",e)}get links(){return this.getMetaProperty("links",[])}set links(e){this.setMetaProperty("links",e)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:e}=this;const t=new i;for(;e;)t.push(e),e=e.parent;return t}get children(){if(Array.isArray(this.content))return new i(this.content);if(this.content instanceof r){const e=new i([this.content.key]);return this.content.value&&e.push(this.content.value),e}return this.content instanceof o?new i([this.content]):new i}get recursiveChildren(){const e=new i;return this.children.forEach((t=>{e.push(t),t.recursiveChildren.forEach((t=>{e.push(t)}))})),e}}e.exports=o},8858:(e,t,n)=>{const s=n(3026),r=n(6420);e.exports=class extends r{constructor(e,t,n,r){super(new s,n,r),this.element="member",this.key=e,this.value=t}get key(){return this.content.key}set key(e){this.content.key=this.refract(e)}get value(){return this.content.value}set value(e){this.content.value=this.refract(e)}}},4152:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e||null,t,n),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},3710:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e,t,n),this.element="number"}primitive(){return"number"}}},3860:(e,t,n)=>{const s=n(1570),r=n(9259),i=n(1641),o=n(8858),a=n(3853);e.exports=class extends i{constructor(e,t,n){super(e||[],t,n),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((e,t)=>(e[t.key.toValue()]=t.value?t.value.toValue():void 0,e)),{})}get(e){const t=this.getMember(e);if(t)return t.value}getMember(e){if(void 0!==e)return this.content.find((t=>t.key.toValue()===e))}remove(e){let t=null;return this.content=this.content.filter((n=>n.key.toValue()!==e||(t=n,!1))),t}getKey(e){const t=this.getMember(e);if(t)return t.key}set(e,t){if(r(e))return Object.keys(e).forEach((t=>{this.set(t,e[t])})),this;const n=e,s=this.getMember(n);return s?s.value=t:this.content.push(new o(n,t)),this}keys(){return this.content.map((e=>e.key.toValue()))}values(){return this.content.map((e=>e.value.toValue()))}hasKey(e){return this.content.some((t=>t.key.equals(e)))}items(){return this.content.map((e=>[e.key.toValue(),e.value.toValue()]))}map(e,t){return this.content.map((n=>e.bind(t)(n.value,n.key,n)))}compactMap(e,t){const n=[];return this.forEach(((s,r,i)=>{const o=e.bind(t)(s,r,i);o&&n.push(o)})),n}filter(e,t){return new a(this.content).filter(e,t)}reject(e,t){return this.filter(s(e),t)}forEach(e,t){return this.content.forEach((n=>e.bind(t)(n.value,n.key,n)))}}},9542:(e,t,n)=>{const s=n(6420);e.exports=class extends s{constructor(e,t,n){super(e,t,n),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},8910:(e,t,n)=>{const s=n(2947);e.exports=class extends s{serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);let t;e._attributes&&e.attributes.get("variable")&&(t=e.attributes.get("variable"));const n={element:e.element};e._meta&&e._meta.length>0&&(n.meta=this.serialiseObject(e.meta));const s="enum"===e.element||-1!==e.attributes.keys().indexOf("enumerations");if(s){const t=this.enumSerialiseAttributes(e);t&&(n.attributes=t)}else if(e._attributes&&e._attributes.length>0){let{attributes:s}=e;s.get("metadata")&&(s=s.clone(),s.set("meta",s.get("metadata")),s.remove("metadata")),"member"===e.element&&t&&(s=s.clone(),s.remove("variable")),s.length>0&&(n.attributes=this.serialiseObject(s))}if(s)n.content=this.enumSerialiseContent(e,n);else if(this[`${e.element}SerialiseContent`])n.content=this[`${e.element}SerialiseContent`](e,n);else if(void 0!==e.content){let s;t&&e.content.key?(s=e.content.clone(),s.key.attributes.set("variable",t),s=this.serialiseContent(s)):s=this.serialiseContent(e.content),this.shouldSerialiseContent(e,s)&&(n.content=s)}else this.shouldSerialiseContent(e,e.content)&&e instanceof this.namespace.elements.Array&&(n.content=[]);return n}shouldSerialiseContent(e,t){return"parseResult"===e.element||"httpRequest"===e.element||"httpResponse"===e.element||"category"===e.element||"link"===e.element||void 0!==t&&(!Array.isArray(t)||0!==t.length)}refSerialiseContent(e,t){return delete t.attributes,{href:e.toValue(),path:e.path.toValue()}}sourceMapSerialiseContent(e){return e.toValue()}dataStructureSerialiseContent(e){return[this.serialiseContent(e.content)]}enumSerialiseAttributes(e){const t=e.attributes.clone(),n=t.remove("enumerations")||new this.namespace.elements.Array([]),s=t.get("default");let r=t.get("samples")||new this.namespace.elements.Array([]);if(s&&s.content&&(s.content.attributes&&s.content.attributes.remove("typeAttributes"),t.set("default",new this.namespace.elements.Array([s.content]))),r.forEach((e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")})),e.content&&0!==n.length&&r.unshift(e.content),r=r.map((e=>e instanceof this.namespace.elements.Array?[e]:new this.namespace.elements.Array([e.content]))),r.length&&t.set("samples",r),t.length>0)return this.serialiseObject(t)}enumSerialiseContent(e){if(e._attributes){const t=e.attributes.get("enumerations");if(t&&t.length>0)return t.content.map((e=>{const t=e.clone();return t.attributes.remove("typeAttributes"),this.serialise(t)}))}if(e.content){const t=e.content.clone();return t.attributes.remove("typeAttributes"),[this.serialise(t)]}return[]}deserialise(e){if("string"==typeof e)return new this.namespace.elements.String(e);if("number"==typeof e)return new this.namespace.elements.Number(e);if("boolean"==typeof e)return new this.namespace.elements.Boolean(e);if(null===e)return new this.namespace.elements.Null;if(Array.isArray(e))return new this.namespace.elements.Array(e.map(this.deserialise,this));const t=this.namespace.getElementClass(e.element),n=new t;n.element!==e.element&&(n.element=e.element),e.meta&&this.deserialiseObject(e.meta,n.meta),e.attributes&&this.deserialiseObject(e.attributes,n.attributes);const s=this.deserialiseContent(e.content);if(void 0===s&&null!==n.content||(n.content=s),"enum"===n.element){n.content&&n.attributes.set("enumerations",n.content);let e=n.attributes.get("samples");if(n.attributes.remove("samples"),e){const s=e;e=new this.namespace.elements.Array,s.forEach((s=>{s.forEach((s=>{const r=new t(s);r.element=n.element,e.push(r)}))}));const r=e.shift();n.content=r?r.content:void 0,n.attributes.set("samples",e)}else n.content=void 0;let s=n.attributes.get("default");if(s&&s.length>0){s=s.get(0);const e=new t(s);e.element=n.element,n.attributes.set("default",e)}}else if("dataStructure"===n.element&&Array.isArray(n.content))[n.content]=n.content;else if("category"===n.element){const e=n.attributes.get("meta");e&&(n.attributes.set("metadata",e),n.attributes.remove("meta"))}else"member"===n.element&&n.key&&n.key._attributes&&n.key._attributes.getValue("variable")&&(n.attributes.set("variable",n.key.attributes.get("variable")),n.key.attributes.remove("variable"));return n}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}return e&&e.map?e.map(this.serialise,this):e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}shouldRefract(e){return!!(e._attributes&&e.attributes.keys().length||e._meta&&e.meta.keys().length)||"enum"!==e.element&&(e.element!==e.primitive()||"member"===e.element)}convertKeyToRefract(e,t){return this.shouldRefract(t)?this.serialise(t):"enum"===t.element?this.serialiseEnum(t):"array"===t.element?t.map((t=>this.shouldRefract(t)||"default"===e?this.serialise(t):"array"===t.element||"object"===t.element||"enum"===t.element?t.children.map((e=>this.serialise(e))):t.toValue())):"object"===t.element?(t.content||[]).map(this.serialise,this):t.toValue()}serialiseEnum(e){return e.children.map((e=>this.serialise(e)))}serialiseObject(e){const t={};return e.forEach(((e,n)=>{if(e){const s=n.toValue();t[s]=this.convertKeyToRefract(s,e)}})),t}deserialiseObject(e,t){Object.keys(e).forEach((n=>{t.set(n,this.deserialise(e[n]))}))}}},2947:e=>{e.exports=class{constructor(e){this.namespace=e||new this.Namespace}serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);const t={element:e.element};e._meta&&e._meta.length>0&&(t.meta=this.serialiseObject(e.meta)),e._attributes&&e._attributes.length>0&&(t.attributes=this.serialiseObject(e.attributes));const n=this.serialiseContent(e.content);return void 0!==n&&(t.content=n),t}deserialise(e){if(!e.element)throw new Error("Given value is not an object containing an element name");const t=new(this.namespace.getElementClass(e.element));t.element!==e.element&&(t.element=e.element),e.meta&&this.deserialiseObject(e.meta,t.meta),e.attributes&&this.deserialiseObject(e.attributes,t.attributes);const n=this.deserialiseContent(e.content);return void 0===n&&null!==t.content||(t.content=n),t}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}if(e&&e.map){if(0===e.length)return;return e.map(this.serialise,this)}return e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}serialiseObject(e){const t={};if(e.forEach(((e,n)=>{e&&(t[n.toValue()]=this.serialise(e))})),0!==Object.keys(t).length)return t}deserialiseObject(e,t){Object.keys(e).forEach((n=>{t.set(n,this.deserialise(e[n]))}))}}},6591:e=>{!function(){"use strict";var t,n,s,r,i,o="properties",a="deepProperties",c="propertyDescriptors",u="staticProperties",l="staticDeepProperties",p="staticPropertyDescriptors",d="configuration",m="deepConfiguration",h="deepProps",g="deepStatics",_="deepConf",f="initializers",b="methods",y="composers",v="compose";function E(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[])}function S(e,t){return Array.prototype.slice.call(arguments,2).reduce(e,t)}var w=S.bind(0,(function(e,t){if(t)for(var n=E(t),s=0;s<n.length;s+=1)Object.defineProperty(e,n[s],Object.getOwnPropertyDescriptor(t,n[s]));return e}));function O(e){return"function"==typeof e}function j(e){return e&&"object"==typeof e||O(e)}function x(e){return e&&"object"==typeof e&&e.__proto__==Object.prototype}var M=S.bind(0,(function e(n,s){if(s===t)return n;if(Array.isArray(s))return(Array.isArray(n)?n:[]).concat(s);if(!x(s))return s;for(var r,i,o=E(s),a=0;a<o.length;)r=o[a++],(i=Object.getOwnPropertyDescriptor(s,r)).hasOwnProperty("value")?i.value!==t&&(n[r]=e(x(n[r])||Array.isArray(s[r])?n[r]:{},s[r])):Object.defineProperty(n,r,i);return n}));function P(){return(n=Array.prototype.concat.apply([],arguments).filter((function(e,t,n){return O(e)&&n.indexOf(e)===t}))).length?n:t}function B(e,t){function s(n,s){j(t[n])&&(j(e[n])||(e[n]={}),(s||w)(e[n],t[n]))}function r(s){(n=P(e[s],t[s]))&&(e[s]=n)}return t&&j(t=t[v]||t)&&(s(b),s(o),s(a,M),s(c),s(u),s(l,M),s(p),s(d),s(m,M),r(f),r(y)),e}function A(){return function(e){return n=function e(n){var s,r,i=e[v]||{},u={__proto__:i[b]},l=i[f],p=Array.prototype.slice.apply(arguments),d=i[a];if(d&&M(u,d),(d=i[o])&&w(u,d),(d=i[c])&&Object.defineProperties(u,d),!l||!l.length)return u;for(n===t&&(n={}),i=0;i<l.length;)O(s=l[i++])&&(u=(r=s.call(u,n,{instance:u,stamp:e,args:p}))===t?u:r);return u},(s=e[l])&&M(n,s),(s=e[u])&&w(n,s),(s=e[p])&&Object.defineProperties(n,s),s=O(n[v])?n[v]:A,w(n[v]=function(){return s.apply(this,arguments)},e),n}(Array.prototype.concat.apply([this],arguments).reduce(B,{}))}function I(e){return O(e)&&O(e[v])}var N={};function T(e,i){return function(){return(r={})[e]=i.apply(t,Array.prototype.concat.apply([{}],arguments)),((n=this)&&n[v]||s).call(n,r)}}N[b]=T(b,w),N[o]=N.props=T(o,w),N[f]=N.init=T(f,P),N[y]=T(y,P),N[a]=N[h]=T(a,M),N[u]=N.statics=T(u,w),N[l]=N[g]=T(l,M),N[d]=N.conf=T(d,w),N[m]=N[_]=T(m,M),N[c]=T(c,w),N[p]=T(p,w),s=N[v]=w((function(){for(var e,E,S=0,O=[],x=arguments,B=this;S<x.length;)j(e=x[S++])&&O.push(I(e)?e:((r={})[b]=(E=e)[b]||t,s=E.props,r[o]=j((n=E[o])||s)?w({},s,n):t,r[f]=P(E.init,E[f]),r[y]=P(E[y]),s=E[h],r[a]=j((n=E[a])||s)?M({},s,n):t,r[c]=E[c],s=E.statics,r[u]=j((n=E[u])||s)?w({},s,n):t,s=E[g],r[l]=j((n=E[l])||s)?M({},s,n):t,n=E[p],r[p]=j((s=E.name&&{name:{value:E.name}})||n)?w({},n,s):t,s=E.conf,r[d]=j((n=E[d])||s)?w({},s,n):t,s=E[_],r[m]=j((n=E[m])||s)?M({},s,n):t,r));if(e=A.apply(B||i,O),B&&O.unshift(B),Array.isArray(x=e[v][y]))for(S=0;S<x.length;)e=I(B=x[S++]({stamp:e,composables:O}))?B:e;return e}),N),N.create=function(){return this.apply(t,arguments)},(r={})[u]=N,i=A(r),s[v]=s.bind(),s.version="4.3.2","object"!=typeof t?e.exports=s:self.stampit=s}()},9794:(module,__unused_webpack_exports,__webpack_require__)=>{var __dirname="/",Module=void 0!==Module?Module:{},TreeSitter=function(){var initPromise,document="object"==typeof window?{currentScript:window.document.currentScript}:null;class Parser{constructor(){this.initialize()}initialize(){throw new Error("cannot construct a Parser before calling `init()`")}static init(moduleOptions){return initPromise||(Module=Object.assign({},Module,moduleOptions),initPromise=new Promise((resolveInitPromise=>{var moduleOverrides=Object.assign({},Module),arguments_=[],thisProgram="./this.program",quit_=(e,t)=>{throw t},ENVIRONMENT_IS_WEB="object"==typeof window,ENVIRONMENT_IS_WORKER="function"==typeof importScripts,ENVIRONMENT_IS_NODE="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,scriptDirectory="",read_,readAsync,readBinary,setWindowTitle;function locateFile(e){return Module.locateFile?Module.locateFile(e,scriptDirectory):scriptDirectory+e}function logExceptionOnExit(e){e instanceof ExitStatus||err("exiting due to exception: "+e)}if(ENVIRONMENT_IS_NODE){var fs=__webpack_require__(5530),nodePath=__webpack_require__(6287);scriptDirectory=ENVIRONMENT_IS_WORKER?nodePath.dirname(scriptDirectory)+"/":__dirname+"/",read_=(e,t)=>(e=isFileURI(e)?new URL(e):nodePath.normalize(e),fs.readFileSync(e,t?void 0:"utf8")),readBinary=e=>{var t=read_(e,!0);return t.buffer||(t=new Uint8Array(t)),t},readAsync=(e,t,n)=>{e=isFileURI(e)?new URL(e):nodePath.normalize(e),fs.readFile(e,(function(e,s){e?n(e):t(s.buffer)}))},process.argv.length>1&&(thisProgram=process.argv[1].replace(/\\/g,"/")),arguments_=process.argv.slice(2),module.exports=Module,quit_=(e,t)=>{if(keepRuntimeAlive())throw process.exitCode=e,t;logExceptionOnExit(t),process.exit(e)},Module.inspect=function(){return"[Emscripten Module object]"}}else(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)&&(ENVIRONMENT_IS_WORKER?scriptDirectory=self.location.href:void 0!==document&&document.currentScript&&(scriptDirectory=document.currentScript.src),scriptDirectory=0!==scriptDirectory.indexOf("blob:")?scriptDirectory.substr(0,scriptDirectory.replace(/[?#].*/,"").lastIndexOf("/")+1):"",read_=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},ENVIRONMENT_IS_WORKER&&(readBinary=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),readAsync=(e,t,n)=>{var s=new XMLHttpRequest;s.open("GET",e,!0),s.responseType="arraybuffer",s.onload=()=>{200==s.status||0==s.status&&s.response?t(s.response):n()},s.onerror=n,s.send(null)},setWindowTitle=e=>document.title=e);var out=Module.print||console.log.bind(console),err=Module.printErr||console.warn.bind(console);Object.assign(Module,moduleOverrides),moduleOverrides=null,Module.arguments&&(arguments_=Module.arguments),Module.thisProgram&&(thisProgram=Module.thisProgram),Module.quit&&(quit_=Module.quit);var STACK_ALIGN=16,dynamicLibraries=Module.dynamicLibraries||[],wasmBinary;Module.wasmBinary&&(wasmBinary=Module.wasmBinary);var noExitRuntime=Module.noExitRuntime||!0,wasmMemory;"object"!=typeof WebAssembly&&abort("no native wasm support detected");var ABORT=!1,EXITSTATUS,UTF8Decoder="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,buffer,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;function UTF8ArrayToString(e,t,n){for(var s=t+n,r=t;e[r]&&!(r>=s);)++r;if(r-t>16&&e.buffer&&UTF8Decoder)return UTF8Decoder.decode(e.subarray(t,r));for(var i="";t<r;){var o=e[t++];if(128&o){var a=63&e[t++];if(192!=(224&o)){var c=63&e[t++];if((o=224==(240&o)?(15&o)<<12|a<<6|c:(7&o)<<18|a<<12|c<<6|63&e[t++])<65536)i+=String.fromCharCode(o);else{var u=o-65536;i+=String.fromCharCode(55296|u>>10,56320|1023&u)}}else i+=String.fromCharCode((31&o)<<6|a)}else i+=String.fromCharCode(o)}return i}function UTF8ToString(e,t){return e?UTF8ArrayToString(HEAPU8,e,t):""}function stringToUTF8Array(e,t,n,s){if(!(s>0))return 0;for(var r=n,i=n+s-1,o=0;o<e.length;++o){var a=e.charCodeAt(o);if(a>=55296&&a<=57343&&(a=65536+((1023&a)<<10)|1023&e.charCodeAt(++o)),a<=127){if(n>=i)break;t[n++]=a}else if(a<=2047){if(n+1>=i)break;t[n++]=192|a>>6,t[n++]=128|63&a}else if(a<=65535){if(n+2>=i)break;t[n++]=224|a>>12,t[n++]=128|a>>6&63,t[n++]=128|63&a}else{if(n+3>=i)break;t[n++]=240|a>>18,t[n++]=128|a>>12&63,t[n++]=128|a>>6&63,t[n++]=128|63&a}}return t[n]=0,n-r}function stringToUTF8(e,t,n){return stringToUTF8Array(e,HEAPU8,t,n)}function lengthBytesUTF8(e){for(var t=0,n=0;n<e.length;++n){var s=e.charCodeAt(n);s<=127?t++:s<=2047?t+=2:s>=55296&&s<=57343?(t+=4,++n):t+=3}return t}function updateGlobalBufferAndViews(e){buffer=e,Module.HEAP8=HEAP8=new Int8Array(e),Module.HEAP16=HEAP16=new Int16Array(e),Module.HEAP32=HEAP32=new Int32Array(e),Module.HEAPU8=HEAPU8=new Uint8Array(e),Module.HEAPU16=HEAPU16=new Uint16Array(e),Module.HEAPU32=HEAPU32=new Uint32Array(e),Module.HEAPF32=HEAPF32=new Float32Array(e),Module.HEAPF64=HEAPF64=new Float64Array(e)}var INITIAL_MEMORY=Module.INITIAL_MEMORY||33554432;wasmMemory=Module.wasmMemory?Module.wasmMemory:new WebAssembly.Memory({initial:INITIAL_MEMORY/65536,maximum:32768}),wasmMemory&&(buffer=wasmMemory.buffer),INITIAL_MEMORY=buffer.byteLength,updateGlobalBufferAndViews(buffer);var wasmTable=new WebAssembly.Table({initial:20,element:"anyfunc"}),__ATPRERUN__=[],__ATINIT__=[],__ATMAIN__=[],__ATPOSTRUN__=[],__RELOC_FUNCS__=[],runtimeInitialized=!1;function keepRuntimeAlive(){return noExitRuntime}function preRun(){if(Module.preRun)for("function"==typeof Module.preRun&&(Module.preRun=[Module.preRun]);Module.preRun.length;)addOnPreRun(Module.preRun.shift());callRuntimeCallbacks(__ATPRERUN__)}function initRuntime(){runtimeInitialized=!0,callRuntimeCallbacks(__RELOC_FUNCS__),callRuntimeCallbacks(__ATINIT__)}function preMain(){callRuntimeCallbacks(__ATMAIN__)}function postRun(){if(Module.postRun)for("function"==typeof Module.postRun&&(Module.postRun=[Module.postRun]);Module.postRun.length;)addOnPostRun(Module.postRun.shift());callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(e){__ATPRERUN__.unshift(e)}function addOnInit(e){__ATINIT__.unshift(e)}function addOnPostRun(e){__ATPOSTRUN__.unshift(e)}var runDependencies=0,runDependencyWatcher=null,dependenciesFulfilled=null;function addRunDependency(e){runDependencies++,Module.monitorRunDependencies&&Module.monitorRunDependencies(runDependencies)}function removeRunDependency(e){if(runDependencies--,Module.monitorRunDependencies&&Module.monitorRunDependencies(runDependencies),0==runDependencies&&(null!==runDependencyWatcher&&(clearInterval(runDependencyWatcher),runDependencyWatcher=null),dependenciesFulfilled)){var t=dependenciesFulfilled;dependenciesFulfilled=null,t()}}function abort(e){throw Module.onAbort&&Module.onAbort(e),err(e="Aborted("+e+")"),ABORT=!0,EXITSTATUS=1,e+=". Build with -sASSERTIONS for more info.",new WebAssembly.RuntimeError(e)}var dataURIPrefix="data:application/octet-stream;base64,",wasmBinaryFile,tempDouble,tempI64;function isDataURI(e){return e.startsWith(dataURIPrefix)}function isFileURI(e){return e.startsWith("file://")}function getBinary(e){try{if(e==wasmBinaryFile&&wasmBinary)return new Uint8Array(wasmBinary);if(readBinary)return readBinary(e);throw"both async and sync fetching of the wasm failed"}catch(e){abort(e)}}function getBinaryPromise(){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)){if("function"==typeof fetch&&!isFileURI(wasmBinaryFile))return fetch(wasmBinaryFile,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load wasm binary file at '"+wasmBinaryFile+"'";return e.arrayBuffer()})).catch((function(){return getBinary(wasmBinaryFile)}));if(readAsync)return new Promise((function(e,t){readAsync(wasmBinaryFile,(function(t){e(new Uint8Array(t))}),t)}))}return Promise.resolve().then((function(){return getBinary(wasmBinaryFile)}))}function createWasm(){var e={env:asmLibraryArg,wasi_snapshot_preview1:asmLibraryArg,"GOT.mem":new Proxy(asmLibraryArg,GOTHandler),"GOT.func":new Proxy(asmLibraryArg,GOTHandler)};function t(e,t){var n=e.exports;n=relocateExports(n,1024);var s=getDylinkMetadata(t);s.neededDynlibs&&(dynamicLibraries=s.neededDynlibs.concat(dynamicLibraries)),mergeLibSymbols(n,"main"),Module.asm=n,addOnInit(Module.asm.__wasm_call_ctors),__RELOC_FUNCS__.push(Module.asm.__wasm_apply_data_relocs),removeRunDependency("wasm-instantiate")}function n(e){t(e.instance,e.module)}function s(t){return getBinaryPromise().then((function(t){return WebAssembly.instantiate(t,e)})).then((function(e){return e})).then(t,(function(e){err("failed to asynchronously prepare wasm: "+e),abort(e)}))}if(addRunDependency("wasm-instantiate"),Module.instantiateWasm)try{return Module.instantiateWasm(e,t)}catch(e){return err("Module.instantiateWasm callback failed with error: "+e),!1}return wasmBinary||"function"!=typeof WebAssembly.instantiateStreaming||isDataURI(wasmBinaryFile)||isFileURI(wasmBinaryFile)||ENVIRONMENT_IS_NODE||"function"!=typeof fetch?s(n):fetch(wasmBinaryFile,{credentials:"same-origin"}).then((function(t){return WebAssembly.instantiateStreaming(t,e).then(n,(function(e){return err("wasm streaming compile failed: "+e),err("falling back to ArrayBuffer instantiation"),s(n)}))})),{}}wasmBinaryFile="tree-sitter.wasm",isDataURI(wasmBinaryFile)||(wasmBinaryFile=locateFile(wasmBinaryFile));var ASM_CONSTS={};function ExitStatus(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}var GOT={},CurrentModuleWeakSymbols=new Set([]),GOTHandler={get:function(e,t){var n=GOT[t];return n||(n=GOT[t]=new WebAssembly.Global({value:"i32",mutable:!0})),CurrentModuleWeakSymbols.has(t)||(n.required=!0),n}};function callRuntimeCallbacks(e){for(;e.length>0;)e.shift()(Module)}function getDylinkMetadata(e){var t=0,n=0;function s(){for(var n=0,s=1;;){var r=e[t++];if(n+=(127&r)*s,s*=128,!(128&r))break}return n}function r(){var n=s();return UTF8ArrayToString(e,(t+=n)-n,n)}function i(e,t){if(e)throw new Error(t)}var o="dylink.0";if(e instanceof WebAssembly.Module){var a=WebAssembly.Module.customSections(e,o);0===a.length&&(o="dylink",a=WebAssembly.Module.customSections(e,o)),i(0===a.length,"need dylink section"),n=(e=new Uint8Array(a[0])).length}else{i(!(1836278016==new Uint32Array(new Uint8Array(e.subarray(0,24)).buffer)[0]),"need to see wasm magic number"),i(0!==e[8],"need the dylink section to be first"),t=9;var c=s();n=t+c,o=r()}var u={neededDynlibs:[],tlsExports:new Set,weakImports:new Set};if("dylink"==o){u.memorySize=s(),u.memoryAlign=s(),u.tableSize=s(),u.tableAlign=s();for(var l=s(),p=0;p<l;++p){var d=r();u.neededDynlibs.push(d)}}else for(i("dylink.0"!==o);t<n;){var m=e[t++],h=s();if(1===m)u.memorySize=s(),u.memoryAlign=s(),u.tableSize=s(),u.tableAlign=s();else if(2===m)for(l=s(),p=0;p<l;++p)d=r(),u.neededDynlibs.push(d);else if(3===m)for(var g=s();g--;){var _=r();256&s()&&u.tlsExports.add(_)}else if(4===m)for(g=s();g--;)r(),_=r(),1==(3&s())&&u.weakImports.add(_);else t+=h}return u}function getValue(e,t="i8"){switch(t.endsWith("*")&&(t="*"),t){case"i1":case"i8":return HEAP8[e>>0];case"i16":return HEAP16[e>>1];case"i32":case"i64":return HEAP32[e>>2];case"float":return HEAPF32[e>>2];case"double":return HEAPF64[e>>3];case"*":return HEAPU32[e>>2];default:abort("invalid type for getValue: "+t)}return null}function asmjsMangle(e){return 0==e.indexOf("dynCall_")||["stackAlloc","stackSave","stackRestore","getTempRet0","setTempRet0"].includes(e)?e:"_"+e}function mergeLibSymbols(e,t){for(var n in e)if(e.hasOwnProperty(n)){asmLibraryArg.hasOwnProperty(n)||(asmLibraryArg[n]=e[n]);var s=asmjsMangle(n);Module.hasOwnProperty(s)||(Module[s]=e[n]),"__main_argc_argv"==n&&(Module._main=e[n])}}var LDSO={loadedLibsByName:{},loadedLibsByHandle:{}};function dynCallLegacy(e,t,n){var s=Module["dynCall_"+e];return n&&n.length?s.apply(null,[t].concat(n)):s.call(null,t)}var wasmTableMirror=[];function getWasmTableEntry(e){var t=wasmTableMirror[e];return t||(e>=wasmTableMirror.length&&(wasmTableMirror.length=e+1),wasmTableMirror[e]=t=wasmTable.get(e)),t}function dynCall(e,t,n){return e.includes("j")?dynCallLegacy(e,t,n):getWasmTableEntry(t).apply(null,n)}function createInvokeFunction(e){return function(){var t=stackSave();try{return dynCall(e,arguments[0],Array.prototype.slice.call(arguments,1))}catch(e){if(stackRestore(t),e!==e+0)throw e;_setThrew(1,0)}}}var ___heap_base=78144;function zeroMemory(e,t){return HEAPU8.fill(0,e,e+t),e}function getMemory(e){if(runtimeInitialized)return zeroMemory(_malloc(e),e);var t=___heap_base,n=t+e+15&-16;return ___heap_base=n,GOT.__heap_base.value=n,t}function isInternalSym(e){return["__cpp_exception","__c_longjmp","__wasm_apply_data_relocs","__dso_handle","__tls_size","__tls_align","__set_stack_limits","_emscripten_tls_init","__wasm_init_tls","__wasm_call_ctors","__start_em_asm","__stop_em_asm"].includes(e)}function uleb128Encode(e,t){e<128?t.push(e):t.push(e%128|128,e>>7)}function sigToWasmTypes(e){for(var t={i:"i32",j:"i32",f:"f32",d:"f64",p:"i32"},n={parameters:[],results:"v"==e[0]?[]:[t[e[0]]]},s=1;s<e.length;++s)n.parameters.push(t[e[s]]),"j"===e[s]&&n.parameters.push("i32");return n}function generateFuncType(e,t){var n=e.slice(0,1),s=e.slice(1),r={i:127,p:127,j:126,f:125,d:124};t.push(96),uleb128Encode(s.length,t);for(var i=0;i<s.length;++i)t.push(r[s[i]]);"v"==n?t.push(0):t.push(1,r[n])}function convertJsFunctionToWasm(e,t){if("function"==typeof WebAssembly.Function)return new WebAssembly.Function(sigToWasmTypes(t),e);var n=[1];generateFuncType(t,n);var s=[0,97,115,109,1,0,0,0,1];uleb128Encode(n.length,s),s.push.apply(s,n),s.push(2,7,1,1,101,1,102,0,0,7,5,1,1,102,0,0);var r=new WebAssembly.Module(new Uint8Array(s));return new WebAssembly.Instance(r,{e:{f:e}}).exports.f}function updateTableMap(e,t){if(functionsInTableMap)for(var n=e;n<e+t;n++){var s=getWasmTableEntry(n);s&&functionsInTableMap.set(s,n)}}var functionsInTableMap=void 0,freeTableIndexes=[];function getEmptyTableSlot(){if(freeTableIndexes.length)return freeTableIndexes.pop();try{wasmTable.grow(1)}catch(e){if(!(e instanceof RangeError))throw e;throw"Unable to grow wasm table. Set ALLOW_TABLE_GROWTH."}return wasmTable.length-1}function setWasmTableEntry(e,t){wasmTable.set(e,t),wasmTableMirror[e]=wasmTable.get(e)}function addFunction(e,t){if(functionsInTableMap||(functionsInTableMap=new WeakMap,updateTableMap(0,wasmTable.length)),functionsInTableMap.has(e))return functionsInTableMap.get(e);var n=getEmptyTableSlot();try{setWasmTableEntry(n,e)}catch(s){if(!(s instanceof TypeError))throw s;setWasmTableEntry(n,convertJsFunctionToWasm(e,t))}return functionsInTableMap.set(e,n),n}function updateGOT(e,t){for(var n in e)if(!isInternalSym(n)){var s=e[n];n.startsWith("orig$")&&(n=n.split("$")[1],t=!0),GOT[n]||(GOT[n]=new WebAssembly.Global({value:"i32",mutable:!0})),(t||0==GOT[n].value)&&("function"==typeof s?GOT[n].value=addFunction(s):"number"==typeof s?GOT[n].value=s:err("unhandled export type for `"+n+"`: "+typeof s))}}function relocateExports(e,t,n){var s={};for(var r in e){var i=e[r];"object"==typeof i&&(i=i.value),"number"==typeof i&&(i+=t),s[r]=i}return updateGOT(s,n),s}function resolveGlobalSymbol(e,t){var n;return t&&(n=asmLibraryArg["orig$"+e]),n||(n=asmLibraryArg[e])&&n.stub&&(n=void 0),n||(n=Module[asmjsMangle(e)]),!n&&e.startsWith("invoke_")&&(n=createInvokeFunction(e.split("_")[1])),n}function alignMemory(e,t){return Math.ceil(e/t)*t}function loadWebAssemblyModule(binary,flags,handle){var metadata=getDylinkMetadata(binary);function loadModule(){var firstLoad=!handle||!HEAP8[handle+12>>0];if(firstLoad){var memAlign=Math.pow(2,metadata.memoryAlign);memAlign=Math.max(memAlign,STACK_ALIGN);var memoryBase=metadata.memorySize?alignMemory(getMemory(metadata.memorySize+memAlign),memAlign):0,tableBase=metadata.tableSize?wasmTable.length:0;handle&&(HEAP8[handle+12>>0]=1,HEAPU32[handle+16>>2]=memoryBase,HEAP32[handle+20>>2]=metadata.memorySize,HEAPU32[handle+24>>2]=tableBase,HEAP32[handle+28>>2]=metadata.tableSize)}else memoryBase=HEAPU32[handle+16>>2],tableBase=HEAPU32[handle+24>>2];var tableGrowthNeeded=tableBase+metadata.tableSize-wasmTable.length,moduleExports;function resolveSymbol(e){var t=resolveGlobalSymbol(e,!1);return t||(t=moduleExports[e]),t}tableGrowthNeeded>0&&wasmTable.grow(tableGrowthNeeded);var proxyHandler={get:function(e,t){switch(t){case"__memory_base":return memoryBase;case"__table_base":return tableBase}return t in asmLibraryArg?asmLibraryArg[t]:(t in e||(e[t]=function(){return n||(n=resolveSymbol(t)),n.apply(null,arguments)}),e[t]);var n}},proxy=new Proxy({},proxyHandler),info={"GOT.mem":new Proxy({},GOTHandler),"GOT.func":new Proxy({},GOTHandler),env:proxy,wasi_snapshot_preview1:proxy};function postInstantiation(instance){function addEmAsm(addr,body){for(var args=[],arity=0;arity<16&&-1!=body.indexOf("$"+arity);arity++)args.push("$"+arity);args=args.join(",");var func="("+args+" ) => { "+body+"};";ASM_CONSTS[start]=eval(func)}if(updateTableMap(tableBase,metadata.tableSize),moduleExports=relocateExports(instance.exports,memoryBase),flags.allowUndefined||reportUndefinedSymbols(),"__start_em_asm"in moduleExports)for(var start=moduleExports.__start_em_asm,stop=moduleExports.__stop_em_asm;start<stop;){var jsString=UTF8ToString(start);addEmAsm(start,jsString),start=HEAPU8.indexOf(0,start)+1}var applyRelocs=moduleExports.__wasm_apply_data_relocs;applyRelocs&&(runtimeInitialized?applyRelocs():__RELOC_FUNCS__.push(applyRelocs));var init=moduleExports.__wasm_call_ctors;return init&&(runtimeInitialized?init():__ATINIT__.push(init)),moduleExports}if(flags.loadAsync){if(binary instanceof WebAssembly.Module){var instance=new WebAssembly.Instance(binary,info);return Promise.resolve(postInstantiation(instance))}return WebAssembly.instantiate(binary,info).then((function(e){return postInstantiation(e.instance)}))}var module=binary instanceof WebAssembly.Module?binary:new WebAssembly.Module(binary),instance=new WebAssembly.Instance(module,info);return postInstantiation(instance)}return CurrentModuleWeakSymbols=metadata.weakImports,flags.loadAsync?metadata.neededDynlibs.reduce((function(e,t){return e.then((function(){return loadDynamicLibrary(t,flags)}))}),Promise.resolve()).then((function(){return loadModule()})):(metadata.neededDynlibs.forEach((function(e){loadDynamicLibrary(e,flags)})),loadModule())}function loadDynamicLibrary(e,t,n){t=t||{global:!0,nodelete:!0};var s=LDSO.loadedLibsByName[e];if(s)return t.global&&!s.global&&(s.global=!0,"loading"!==s.module&&mergeLibSymbols(s.module,e)),t.nodelete&&s.refcount!==1/0&&(s.refcount=1/0),s.refcount++,n&&(LDSO.loadedLibsByHandle[n]=s),!t.loadAsync||Promise.resolve(!0);function r(e){if(t.fs&&t.fs.findObject(e)){var n=t.fs.readFile(e,{encoding:"binary"});return n instanceof Uint8Array||(n=new Uint8Array(n)),t.loadAsync?Promise.resolve(n):n}if(e=locateFile(e),t.loadAsync)return new Promise((function(t,n){readAsync(e,(e=>t(new Uint8Array(e))),n)}));if(!readBinary)throw new Error(e+": file not found, and synchronous loading of external files is not available");return readBinary(e)}function i(){if("undefined"!=typeof preloadedWasm&&preloadedWasm[e]){var s=preloadedWasm[e];return t.loadAsync?Promise.resolve(s):s}return t.loadAsync?r(e).then((function(e){return loadWebAssemblyModule(e,t,n)})):loadWebAssemblyModule(r(e),t,n)}function o(t){s.global&&mergeLibSymbols(t,e),s.module=t}return s={refcount:t.nodelete?1/0:1,name:e,module:"loading",global:t.global},LDSO.loadedLibsByName[e]=s,n&&(LDSO.loadedLibsByHandle[n]=s),t.loadAsync?i().then((function(e){return o(e),!0})):(o(i()),!0)}function reportUndefinedSymbols(){for(var e in GOT)if(0==GOT[e].value){var t=resolveGlobalSymbol(e,!0);if(!t&&!GOT[e].required)continue;if("function"==typeof t)GOT[e].value=addFunction(t,t.sig);else{if("number"!=typeof t)throw new Error("bad export type for `"+e+"`: "+typeof t);GOT[e].value=t}}}function preloadDylibs(){dynamicLibraries.length?(addRunDependency("preloadDylibs"),dynamicLibraries.reduce((function(e,t){return e.then((function(){return loadDynamicLibrary(t,{loadAsync:!0,global:!0,nodelete:!0,allowUndefined:!0})}))}),Promise.resolve()).then((function(){reportUndefinedSymbols(),removeRunDependency("preloadDylibs")}))):reportUndefinedSymbols()}function setValue(e,t,n="i8"){switch(n.endsWith("*")&&(n="*"),n){case"i1":case"i8":HEAP8[e>>0]=t;break;case"i16":HEAP16[e>>1]=t;break;case"i32":HEAP32[e>>2]=t;break;case"i64":tempI64=[t>>>0,(tempDouble=t,+Math.abs(tempDouble)>=1?tempDouble>0?(0|Math.min(+Math.floor(tempDouble/4294967296),4294967295))>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[e>>2]=tempI64[0],HEAP32[e+4>>2]=tempI64[1];break;case"float":HEAPF32[e>>2]=t;break;case"double":HEAPF64[e>>3]=t;break;case"*":HEAPU32[e>>2]=t;break;default:abort("invalid type for setValue: "+n)}}var ___memory_base=new WebAssembly.Global({value:"i32",mutable:!1},1024),___stack_pointer=new WebAssembly.Global({value:"i32",mutable:!0},78144),___table_base=new WebAssembly.Global({value:"i32",mutable:!1},1),nowIsMonotonic=!0,_emscripten_get_now;function __emscripten_get_now_is_monotonic(){return nowIsMonotonic}function _abort(){abort("")}function _emscripten_date_now(){return Date.now()}function _emscripten_memcpy_big(e,t,n){HEAPU8.copyWithin(e,t,t+n)}function getHeapMax(){return 2147483648}function emscripten_realloc_buffer(e){try{return wasmMemory.grow(e-buffer.byteLength+65535>>>16),updateGlobalBufferAndViews(wasmMemory.buffer),1}catch(e){}}function _emscripten_resize_heap(e){var t=HEAPU8.length;e>>>=0;var n,s=getHeapMax();if(e>s)return!1;for(var r=1;r<=4;r*=2){var i=t*(1+.2/r);if(i=Math.min(i,e+100663296),emscripten_realloc_buffer(Math.min(s,(n=Math.max(e,i))+(65536-n%65536)%65536)))return!0}return!1}__emscripten_get_now_is_monotonic.sig="i",Module._abort=_abort,_abort.sig="v",_emscripten_date_now.sig="d",_emscripten_get_now=ENVIRONMENT_IS_NODE?()=>{var e=process.hrtime();return 1e3*e[0]+e[1]/1e6}:()=>performance.now(),_emscripten_get_now.sig="d",_emscripten_memcpy_big.sig="vppp",_emscripten_resize_heap.sig="ip";var SYSCALLS={DEFAULT_POLLMASK:5,calculateAt:function(e,t,n){if(PATH.isAbs(t))return t;var s;if(s=-100===e?FS.cwd():SYSCALLS.getStreamFromFD(e).path,0==t.length){if(!n)throw new FS.ErrnoError(44);return s}return PATH.join2(s,t)},doStat:function(e,t,n){try{var s=e(t)}catch(e){if(e&&e.node&&PATH.normalize(t)!==PATH.normalize(FS.getPath(e.node)))return-54;throw e}HEAP32[n>>2]=s.dev,HEAP32[n+8>>2]=s.ino,HEAP32[n+12>>2]=s.mode,HEAPU32[n+16>>2]=s.nlink,HEAP32[n+20>>2]=s.uid,HEAP32[n+24>>2]=s.gid,HEAP32[n+28>>2]=s.rdev,tempI64=[s.size>>>0,(tempDouble=s.size,+Math.abs(tempDouble)>=1?tempDouble>0?(0|Math.min(+Math.floor(tempDouble/4294967296),4294967295))>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[n+40>>2]=tempI64[0],HEAP32[n+44>>2]=tempI64[1],HEAP32[n+48>>2]=4096,HEAP32[n+52>>2]=s.blocks;var r=s.atime.getTime(),i=s.mtime.getTime(),o=s.ctime.getTime();return tempI64=[Math.floor(r/1e3)>>>0,(tempDouble=Math.floor(r/1e3),+Math.abs(tempDouble)>=1?tempDouble>0?(0|Math.min(+Math.floor(tempDouble/4294967296),4294967295))>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[n+56>>2]=tempI64[0],HEAP32[n+60>>2]=tempI64[1],HEAPU32[n+64>>2]=r%1e3*1e3,tempI64=[Math.floor(i/1e3)>>>0,(tempDouble=Math.floor(i/1e3),+Math.abs(tempDouble)>=1?tempDouble>0?(0|Math.min(+Math.floor(tempDouble/4294967296),4294967295))>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[n+72>>2]=tempI64[0],HEAP32[n+76>>2]=tempI64[1],HEAPU32[n+80>>2]=i%1e3*1e3,tempI64=[Math.floor(o/1e3)>>>0,(tempDouble=Math.floor(o/1e3),+Math.abs(tempDouble)>=1?tempDouble>0?(0|Math.min(+Math.floor(tempDouble/4294967296),4294967295))>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[n+88>>2]=tempI64[0],HEAP32[n+92>>2]=tempI64[1],HEAPU32[n+96>>2]=o%1e3*1e3,tempI64=[s.ino>>>0,(tempDouble=s.ino,+Math.abs(tempDouble)>=1?tempDouble>0?(0|Math.min(+Math.floor(tempDouble/4294967296),4294967295))>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[n+104>>2]=tempI64[0],HEAP32[n+108>>2]=tempI64[1],0},doMsync:function(e,t,n,s,r){if(!FS.isFile(t.node.mode))throw new FS.ErrnoError(43);if(2&s)return 0;var i=HEAPU8.slice(e,e+n);FS.msync(t,i,r,n,s)},varargs:void 0,get:function(){return SYSCALLS.varargs+=4,HEAP32[SYSCALLS.varargs-4>>2]},getStr:function(e){return UTF8ToString(e)},getStreamFromFD:function(e){var t=FS.getStream(e);if(!t)throw new FS.ErrnoError(8);return t}};function _proc_exit(e){EXITSTATUS=e,keepRuntimeAlive()||(Module.onExit&&Module.onExit(e),ABORT=!0),quit_(e,new ExitStatus(e))}function exitJS(e,t){EXITSTATUS=e,_proc_exit(e)}_proc_exit.sig="vi";var _exit=exitJS;function _fd_close(e){try{var t=SYSCALLS.getStreamFromFD(e);return FS.close(t),0}catch(e){if("undefined"==typeof FS||!(e instanceof FS.ErrnoError))throw e;return e.errno}}function convertI32PairToI53Checked(e,t){return t+2097152>>>0<4194305-!!e?(e>>>0)+4294967296*t:NaN}function _fd_seek(e,t,n,s,r){try{var i=convertI32PairToI53Checked(t,n);if(isNaN(i))return 61;var o=SYSCALLS.getStreamFromFD(e);return FS.llseek(o,i,s),tempI64=[o.position>>>0,(tempDouble=o.position,+Math.abs(tempDouble)>=1?tempDouble>0?(0|Math.min(+Math.floor(tempDouble/4294967296),4294967295))>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[r>>2]=tempI64[0],HEAP32[r+4>>2]=tempI64[1],o.getdents&&0===i&&0===s&&(o.getdents=null),0}catch(e){if("undefined"==typeof FS||!(e instanceof FS.ErrnoError))throw e;return e.errno}}function doWritev(e,t,n,s){for(var r=0,i=0;i<n;i++){var o=HEAPU32[t>>2],a=HEAPU32[t+4>>2];t+=8;var c=FS.write(e,HEAP8,o,a,s);if(c<0)return-1;r+=c,void 0!==s&&(s+=c)}return r}function _fd_write(e,t,n,s){try{var r=doWritev(SYSCALLS.getStreamFromFD(e),t,n);return HEAPU32[s>>2]=r,0}catch(e){if("undefined"==typeof FS||!(e instanceof FS.ErrnoError))throw e;return e.errno}}function _tree_sitter_log_callback(e,t){if(currentLogCallback){const n=UTF8ToString(t);currentLogCallback(n,0!==e)}}function _tree_sitter_parse_callback(e,t,n,s,r){var i=currentParseCallback(t,{row:n,column:s});"string"==typeof i?(setValue(r,i.length,"i32"),stringToUTF16(i,e,10240)):setValue(r,0,"i32")}function handleException(e){if(e instanceof ExitStatus||"unwind"==e)return EXITSTATUS;quit_(1,e)}function allocateUTF8OnStack(e){var t=lengthBytesUTF8(e)+1,n=stackAlloc(t);return stringToUTF8Array(e,HEAP8,n,t),n}function stringToUTF16(e,t,n){if(void 0===n&&(n=2147483647),n<2)return 0;for(var s=t,r=(n-=2)<2*e.length?n/2:e.length,i=0;i<r;++i){var o=e.charCodeAt(i);HEAP16[t>>1]=o,t+=2}return HEAP16[t>>1]=0,t-s}function AsciiToString(e){for(var t="";;){var n=HEAPU8[e++>>0];if(!n)return t;t+=String.fromCharCode(n)}}_exit.sig="vi",_fd_close.sig="ii",_fd_seek.sig="iijip",_fd_write.sig="iippp";var asmLibraryArg={__heap_base:___heap_base,__indirect_function_table:wasmTable,__memory_base:___memory_base,__stack_pointer:___stack_pointer,__table_base:___table_base,_emscripten_get_now_is_monotonic:__emscripten_get_now_is_monotonic,abort:_abort,emscripten_get_now:_emscripten_get_now,emscripten_memcpy_big:_emscripten_memcpy_big,emscripten_resize_heap:_emscripten_resize_heap,exit:_exit,fd_close:_fd_close,fd_seek:_fd_seek,fd_write:_fd_write,memory:wasmMemory,tree_sitter_log_callback:_tree_sitter_log_callback,tree_sitter_parse_callback:_tree_sitter_parse_callback},asm=createWasm(),___wasm_call_ctors=Module.___wasm_call_ctors=function(){return(___wasm_call_ctors=Module.___wasm_call_ctors=Module.asm.__wasm_call_ctors).apply(null,arguments)},___wasm_apply_data_relocs=Module.___wasm_apply_data_relocs=function(){return(___wasm_apply_data_relocs=Module.___wasm_apply_data_relocs=Module.asm.__wasm_apply_data_relocs).apply(null,arguments)},_malloc=Module._malloc=function(){return(_malloc=Module._malloc=Module.asm.malloc).apply(null,arguments)},_calloc=Module._calloc=function(){return(_calloc=Module._calloc=Module.asm.calloc).apply(null,arguments)},_realloc=Module._realloc=function(){return(_realloc=Module._realloc=Module.asm.realloc).apply(null,arguments)},_free=Module._free=function(){return(_free=Module._free=Module.asm.free).apply(null,arguments)},_ts_language_symbol_count=Module._ts_language_symbol_count=function(){return(_ts_language_symbol_count=Module._ts_language_symbol_count=Module.asm.ts_language_symbol_count).apply(null,arguments)},_ts_language_version=Module._ts_language_version=function(){return(_ts_language_version=Module._ts_language_version=Module.asm.ts_language_version).apply(null,arguments)},_ts_language_field_count=Module._ts_language_field_count=function(){return(_ts_language_field_count=Module._ts_language_field_count=Module.asm.ts_language_field_count).apply(null,arguments)},_ts_language_symbol_name=Module._ts_language_symbol_name=function(){return(_ts_language_symbol_name=Module._ts_language_symbol_name=Module.asm.ts_language_symbol_name).apply(null,arguments)},_ts_language_symbol_for_name=Module._ts_language_symbol_for_name=function(){return(_ts_language_symbol_for_name=Module._ts_language_symbol_for_name=Module.asm.ts_language_symbol_for_name).apply(null,arguments)},_ts_language_symbol_type=Module._ts_language_symbol_type=function(){return(_ts_language_symbol_type=Module._ts_language_symbol_type=Module.asm.ts_language_symbol_type).apply(null,arguments)},_ts_language_field_name_for_id=Module._ts_language_field_name_for_id=function(){return(_ts_language_field_name_for_id=Module._ts_language_field_name_for_id=Module.asm.ts_language_field_name_for_id).apply(null,arguments)},_memset=Module._memset=function(){return(_memset=Module._memset=Module.asm.memset).apply(null,arguments)},_memcpy=Module._memcpy=function(){return(_memcpy=Module._memcpy=Module.asm.memcpy).apply(null,arguments)},_ts_parser_delete=Module._ts_parser_delete=function(){return(_ts_parser_delete=Module._ts_parser_delete=Module.asm.ts_parser_delete).apply(null,arguments)},_ts_parser_reset=Module._ts_parser_reset=function(){return(_ts_parser_reset=Module._ts_parser_reset=Module.asm.ts_parser_reset).apply(null,arguments)},_ts_parser_set_language=Module._ts_parser_set_language=function(){return(_ts_parser_set_language=Module._ts_parser_set_language=Module.asm.ts_parser_set_language).apply(null,arguments)},_ts_parser_timeout_micros=Module._ts_parser_timeout_micros=function(){return(_ts_parser_timeout_micros=Module._ts_parser_timeout_micros=Module.asm.ts_parser_timeout_micros).apply(null,arguments)},_ts_parser_set_timeout_micros=Module._ts_parser_set_timeout_micros=function(){return(_ts_parser_set_timeout_micros=Module._ts_parser_set_timeout_micros=Module.asm.ts_parser_set_timeout_micros).apply(null,arguments)},_memmove=Module._memmove=function(){return(_memmove=Module._memmove=Module.asm.memmove).apply(null,arguments)},_memcmp=Module._memcmp=function(){return(_memcmp=Module._memcmp=Module.asm.memcmp).apply(null,arguments)},_ts_query_new=Module._ts_query_new=function(){return(_ts_query_new=Module._ts_query_new=Module.asm.ts_query_new).apply(null,arguments)},_ts_query_delete=Module._ts_query_delete=function(){return(_ts_query_delete=Module._ts_query_delete=Module.asm.ts_query_delete).apply(null,arguments)},_iswspace=Module._iswspace=function(){return(_iswspace=Module._iswspace=Module.asm.iswspace).apply(null,arguments)},_iswalnum=Module._iswalnum=function(){return(_iswalnum=Module._iswalnum=Module.asm.iswalnum).apply(null,arguments)},_ts_query_pattern_count=Module._ts_query_pattern_count=function(){return(_ts_query_pattern_count=Module._ts_query_pattern_count=Module.asm.ts_query_pattern_count).apply(null,arguments)},_ts_query_capture_count=Module._ts_query_capture_count=function(){return(_ts_query_capture_count=Module._ts_query_capture_count=Module.asm.ts_query_capture_count).apply(null,arguments)},_ts_query_string_count=Module._ts_query_string_count=function(){return(_ts_query_string_count=Module._ts_query_string_count=Module.asm.ts_query_string_count).apply(null,arguments)},_ts_query_capture_name_for_id=Module._ts_query_capture_name_for_id=function(){return(_ts_query_capture_name_for_id=Module._ts_query_capture_name_for_id=Module.asm.ts_query_capture_name_for_id).apply(null,arguments)},_ts_query_string_value_for_id=Module._ts_query_string_value_for_id=function(){return(_ts_query_string_value_for_id=Module._ts_query_string_value_for_id=Module.asm.ts_query_string_value_for_id).apply(null,arguments)},_ts_query_predicates_for_pattern=Module._ts_query_predicates_for_pattern=function(){return(_ts_query_predicates_for_pattern=Module._ts_query_predicates_for_pattern=Module.asm.ts_query_predicates_for_pattern).apply(null,arguments)},_ts_tree_copy=Module._ts_tree_copy=function(){return(_ts_tree_copy=Module._ts_tree_copy=Module.asm.ts_tree_copy).apply(null,arguments)},_ts_tree_delete=Module._ts_tree_delete=function(){return(_ts_tree_delete=Module._ts_tree_delete=Module.asm.ts_tree_delete).apply(null,arguments)},_ts_init=Module._ts_init=function(){return(_ts_init=Module._ts_init=Module.asm.ts_init).apply(null,arguments)},_ts_parser_new_wasm=Module._ts_parser_new_wasm=function(){return(_ts_parser_new_wasm=Module._ts_parser_new_wasm=Module.asm.ts_parser_new_wasm).apply(null,arguments)},_ts_parser_enable_logger_wasm=Module._ts_parser_enable_logger_wasm=function(){return(_ts_parser_enable_logger_wasm=Module._ts_parser_enable_logger_wasm=Module.asm.ts_parser_enable_logger_wasm).apply(null,arguments)},_ts_parser_parse_wasm=Module._ts_parser_parse_wasm=function(){return(_ts_parser_parse_wasm=Module._ts_parser_parse_wasm=Module.asm.ts_parser_parse_wasm).apply(null,arguments)},_ts_language_type_is_named_wasm=Module._ts_language_type_is_named_wasm=function(){return(_ts_language_type_is_named_wasm=Module._ts_language_type_is_named_wasm=Module.asm.ts_language_type_is_named_wasm).apply(null,arguments)},_ts_language_type_is_visible_wasm=Module._ts_language_type_is_visible_wasm=function(){return(_ts_language_type_is_visible_wasm=Module._ts_language_type_is_visible_wasm=Module.asm.ts_language_type_is_visible_wasm).apply(null,arguments)},_ts_tree_root_node_wasm=Module._ts_tree_root_node_wasm=function(){return(_ts_tree_root_node_wasm=Module._ts_tree_root_node_wasm=Module.asm.ts_tree_root_node_wasm).apply(null,arguments)},_ts_tree_edit_wasm=Module._ts_tree_edit_wasm=function(){return(_ts_tree_edit_wasm=Module._ts_tree_edit_wasm=Module.asm.ts_tree_edit_wasm).apply(null,arguments)},_ts_tree_get_changed_ranges_wasm=Module._ts_tree_get_changed_ranges_wasm=function(){return(_ts_tree_get_changed_ranges_wasm=Module._ts_tree_get_changed_ranges_wasm=Module.asm.ts_tree_get_changed_ranges_wasm).apply(null,arguments)},_ts_tree_cursor_new_wasm=Module._ts_tree_cursor_new_wasm=function(){return(_ts_tree_cursor_new_wasm=Module._ts_tree_cursor_new_wasm=Module.asm.ts_tree_cursor_new_wasm).apply(null,arguments)},_ts_tree_cursor_delete_wasm=Module._ts_tree_cursor_delete_wasm=function(){return(_ts_tree_cursor_delete_wasm=Module._ts_tree_cursor_delete_wasm=Module.asm.ts_tree_cursor_delete_wasm).apply(null,arguments)},_ts_tree_cursor_reset_wasm=Module._ts_tree_cursor_reset_wasm=function(){return(_ts_tree_cursor_reset_wasm=Module._ts_tree_cursor_reset_wasm=Module.asm.ts_tree_cursor_reset_wasm).apply(null,arguments)},_ts_tree_cursor_goto_first_child_wasm=Module._ts_tree_cursor_goto_first_child_wasm=function(){return(_ts_tree_cursor_goto_first_child_wasm=Module._ts_tree_cursor_goto_first_child_wasm=Module.asm.ts_tree_cursor_goto_first_child_wasm).apply(null,arguments)},_ts_tree_cursor_goto_next_sibling_wasm=Module._ts_tree_cursor_goto_next_sibling_wasm=function(){return(_ts_tree_cursor_goto_next_sibling_wasm=Module._ts_tree_cursor_goto_next_sibling_wasm=Module.asm.ts_tree_cursor_goto_next_sibling_wasm).apply(null,arguments)},_ts_tree_cursor_goto_parent_wasm=Module._ts_tree_cursor_goto_parent_wasm=function(){return(_ts_tree_cursor_goto_parent_wasm=Module._ts_tree_cursor_goto_parent_wasm=Module.asm.ts_tree_cursor_goto_parent_wasm).apply(null,arguments)},_ts_tree_cursor_current_node_type_id_wasm=Module._ts_tree_cursor_current_node_type_id_wasm=function(){return(_ts_tree_cursor_current_node_type_id_wasm=Module._ts_tree_cursor_current_node_type_id_wasm=Module.asm.ts_tree_cursor_current_node_type_id_wasm).apply(null,arguments)},_ts_tree_cursor_current_node_is_named_wasm=Module._ts_tree_cursor_current_node_is_named_wasm=function(){return(_ts_tree_cursor_current_node_is_named_wasm=Module._ts_tree_cursor_current_node_is_named_wasm=Module.asm.ts_tree_cursor_current_node_is_named_wasm).apply(null,arguments)},_ts_tree_cursor_current_node_is_missing_wasm=Module._ts_tree_cursor_current_node_is_missing_wasm=function(){return(_ts_tree_cursor_current_node_is_missing_wasm=Module._ts_tree_cursor_current_node_is_missing_wasm=Module.asm.ts_tree_cursor_current_node_is_missing_wasm).apply(null,arguments)},_ts_tree_cursor_current_node_id_wasm=Module._ts_tree_cursor_current_node_id_wasm=function(){return(_ts_tree_cursor_current_node_id_wasm=Module._ts_tree_cursor_current_node_id_wasm=Module.asm.ts_tree_cursor_current_node_id_wasm).apply(null,arguments)},_ts_tree_cursor_start_position_wasm=Module._ts_tree_cursor_start_position_wasm=function(){return(_ts_tree_cursor_start_position_wasm=Module._ts_tree_cursor_start_position_wasm=Module.asm.ts_tree_cursor_start_position_wasm).apply(null,arguments)},_ts_tree_cursor_end_position_wasm=Module._ts_tree_cursor_end_position_wasm=function(){return(_ts_tree_cursor_end_position_wasm=Module._ts_tree_cursor_end_position_wasm=Module.asm.ts_tree_cursor_end_position_wasm).apply(null,arguments)},_ts_tree_cursor_start_index_wasm=Module._ts_tree_cursor_start_index_wasm=function(){return(_ts_tree_cursor_start_index_wasm=Module._ts_tree_cursor_start_index_wasm=Module.asm.ts_tree_cursor_start_index_wasm).apply(null,arguments)},_ts_tree_cursor_end_index_wasm=Module._ts_tree_cursor_end_index_wasm=function(){return(_ts_tree_cursor_end_index_wasm=Module._ts_tree_cursor_end_index_wasm=Module.asm.ts_tree_cursor_end_index_wasm).apply(null,arguments)},_ts_tree_cursor_current_field_id_wasm=Module._ts_tree_cursor_current_field_id_wasm=function(){return(_ts_tree_cursor_current_field_id_wasm=Module._ts_tree_cursor_current_field_id_wasm=Module.asm.ts_tree_cursor_current_field_id_wasm).apply(null,arguments)},_ts_tree_cursor_current_node_wasm=Module._ts_tree_cursor_current_node_wasm=function(){return(_ts_tree_cursor_current_node_wasm=Module._ts_tree_cursor_current_node_wasm=Module.asm.ts_tree_cursor_current_node_wasm).apply(null,arguments)},_ts_node_symbol_wasm=Module._ts_node_symbol_wasm=function(){return(_ts_node_symbol_wasm=Module._ts_node_symbol_wasm=Module.asm.ts_node_symbol_wasm).apply(null,arguments)},_ts_node_child_count_wasm=Module._ts_node_child_count_wasm=function(){return(_ts_node_child_count_wasm=Module._ts_node_child_count_wasm=Module.asm.ts_node_child_count_wasm).apply(null,arguments)},_ts_node_named_child_count_wasm=Module._ts_node_named_child_count_wasm=function(){return(_ts_node_named_child_count_wasm=Module._ts_node_named_child_count_wasm=Module.asm.ts_node_named_child_count_wasm).apply(null,arguments)},_ts_node_child_wasm=Module._ts_node_child_wasm=function(){return(_ts_node_child_wasm=Module._ts_node_child_wasm=Module.asm.ts_node_child_wasm).apply(null,arguments)},_ts_node_named_child_wasm=Module._ts_node_named_child_wasm=function(){return(_ts_node_named_child_wasm=Module._ts_node_named_child_wasm=Module.asm.ts_node_named_child_wasm).apply(null,arguments)},_ts_node_child_by_field_id_wasm=Module._ts_node_child_by_field_id_wasm=function(){return(_ts_node_child_by_field_id_wasm=Module._ts_node_child_by_field_id_wasm=Module.asm.ts_node_child_by_field_id_wasm).apply(null,arguments)},_ts_node_next_sibling_wasm=Module._ts_node_next_sibling_wasm=function(){return(_ts_node_next_sibling_wasm=Module._ts_node_next_sibling_wasm=Module.asm.ts_node_next_sibling_wasm).apply(null,arguments)},_ts_node_prev_sibling_wasm=Module._ts_node_prev_sibling_wasm=function(){return(_ts_node_prev_sibling_wasm=Module._ts_node_prev_sibling_wasm=Module.asm.ts_node_prev_sibling_wasm).apply(null,arguments)},_ts_node_next_named_sibling_wasm=Module._ts_node_next_named_sibling_wasm=function(){return(_ts_node_next_named_sibling_wasm=Module._ts_node_next_named_sibling_wasm=Module.asm.ts_node_next_named_sibling_wasm).apply(null,arguments)},_ts_node_prev_named_sibling_wasm=Module._ts_node_prev_named_sibling_wasm=function(){return(_ts_node_prev_named_sibling_wasm=Module._ts_node_prev_named_sibling_wasm=Module.asm.ts_node_prev_named_sibling_wasm).apply(null,arguments)},_ts_node_parent_wasm=Module._ts_node_parent_wasm=function(){return(_ts_node_parent_wasm=Module._ts_node_parent_wasm=Module.asm.ts_node_parent_wasm).apply(null,arguments)},_ts_node_descendant_for_index_wasm=Module._ts_node_descendant_for_index_wasm=function(){return(_ts_node_descendant_for_index_wasm=Module._ts_node_descendant_for_index_wasm=Module.asm.ts_node_descendant_for_index_wasm).apply(null,arguments)},_ts_node_named_descendant_for_index_wasm=Module._ts_node_named_descendant_for_index_wasm=function(){return(_ts_node_named_descendant_for_index_wasm=Module._ts_node_named_descendant_for_index_wasm=Module.asm.ts_node_named_descendant_for_index_wasm).apply(null,arguments)},_ts_node_descendant_for_position_wasm=Module._ts_node_descendant_for_position_wasm=function(){return(_ts_node_descendant_for_position_wasm=Module._ts_node_descendant_for_position_wasm=Module.asm.ts_node_descendant_for_position_wasm).apply(null,arguments)},_ts_node_named_descendant_for_position_wasm=Module._ts_node_named_descendant_for_position_wasm=function(){return(_ts_node_named_descendant_for_position_wasm=Module._ts_node_named_descendant_for_position_wasm=Module.asm.ts_node_named_descendant_for_position_wasm).apply(null,arguments)},_ts_node_start_point_wasm=Module._ts_node_start_point_wasm=function(){return(_ts_node_start_point_wasm=Module._ts_node_start_point_wasm=Module.asm.ts_node_start_point_wasm).apply(null,arguments)},_ts_node_end_point_wasm=Module._ts_node_end_point_wasm=function(){return(_ts_node_end_point_wasm=Module._ts_node_end_point_wasm=Module.asm.ts_node_end_point_wasm).apply(null,arguments)},_ts_node_start_index_wasm=Module._ts_node_start_index_wasm=function(){return(_ts_node_start_index_wasm=Module._ts_node_start_index_wasm=Module.asm.ts_node_start_index_wasm).apply(null,arguments)},_ts_node_end_index_wasm=Module._ts_node_end_index_wasm=function(){return(_ts_node_end_index_wasm=Module._ts_node_end_index_wasm=Module.asm.ts_node_end_index_wasm).apply(null,arguments)},_ts_node_to_string_wasm=Module._ts_node_to_string_wasm=function(){return(_ts_node_to_string_wasm=Module._ts_node_to_string_wasm=Module.asm.ts_node_to_string_wasm).apply(null,arguments)},_ts_node_children_wasm=Module._ts_node_children_wasm=function(){return(_ts_node_children_wasm=Module._ts_node_children_wasm=Module.asm.ts_node_children_wasm).apply(null,arguments)},_ts_node_named_children_wasm=Module._ts_node_named_children_wasm=function(){return(_ts_node_named_children_wasm=Module._ts_node_named_children_wasm=Module.asm.ts_node_named_children_wasm).apply(null,arguments)},_ts_node_descendants_of_type_wasm=Module._ts_node_descendants_of_type_wasm=function(){return(_ts_node_descendants_of_type_wasm=Module._ts_node_descendants_of_type_wasm=Module.asm.ts_node_descendants_of_type_wasm).apply(null,arguments)},_ts_node_is_named_wasm=Module._ts_node_is_named_wasm=function(){return(_ts_node_is_named_wasm=Module._ts_node_is_named_wasm=Module.asm.ts_node_is_named_wasm).apply(null,arguments)},_ts_node_has_changes_wasm=Module._ts_node_has_changes_wasm=function(){return(_ts_node_has_changes_wasm=Module._ts_node_has_changes_wasm=Module.asm.ts_node_has_changes_wasm).apply(null,arguments)},_ts_node_has_error_wasm=Module._ts_node_has_error_wasm=function(){return(_ts_node_has_error_wasm=Module._ts_node_has_error_wasm=Module.asm.ts_node_has_error_wasm).apply(null,arguments)},_ts_node_is_missing_wasm=Module._ts_node_is_missing_wasm=function(){return(_ts_node_is_missing_wasm=Module._ts_node_is_missing_wasm=Module.asm.ts_node_is_missing_wasm).apply(null,arguments)},_ts_query_matches_wasm=Module._ts_query_matches_wasm=function(){return(_ts_query_matches_wasm=Module._ts_query_matches_wasm=Module.asm.ts_query_matches_wasm).apply(null,arguments)},_ts_query_captures_wasm=Module._ts_query_captures_wasm=function(){return(_ts_query_captures_wasm=Module._ts_query_captures_wasm=Module.asm.ts_query_captures_wasm).apply(null,arguments)},___cxa_atexit=Module.___cxa_atexit=function(){return(___cxa_atexit=Module.___cxa_atexit=Module.asm.__cxa_atexit).apply(null,arguments)},_iswdigit=Module._iswdigit=function(){return(_iswdigit=Module._iswdigit=Module.asm.iswdigit).apply(null,arguments)},_iswalpha=Module._iswalpha=function(){return(_iswalpha=Module._iswalpha=Module.asm.iswalpha).apply(null,arguments)},_iswlower=Module._iswlower=function(){return(_iswlower=Module._iswlower=Module.asm.iswlower).apply(null,arguments)},_memchr=Module._memchr=function(){return(_memchr=Module._memchr=Module.asm.memchr).apply(null,arguments)},_strlen=Module._strlen=function(){return(_strlen=Module._strlen=Module.asm.strlen).apply(null,arguments)},_towupper=Module._towupper=function(){return(_towupper=Module._towupper=Module.asm.towupper).apply(null,arguments)},_setThrew=Module._setThrew=function(){return(_setThrew=Module._setThrew=Module.asm.setThrew).apply(null,arguments)},stackSave=Module.stackSave=function(){return(stackSave=Module.stackSave=Module.asm.stackSave).apply(null,arguments)},stackRestore=Module.stackRestore=function(){return(stackRestore=Module.stackRestore=Module.asm.stackRestore).apply(null,arguments)},stackAlloc=Module.stackAlloc=function(){return(stackAlloc=Module.stackAlloc=Module.asm.stackAlloc).apply(null,arguments)},__Znwm=Module.__Znwm=function(){return(__Znwm=Module.__Znwm=Module.asm._Znwm).apply(null,arguments)},__ZdlPv=Module.__ZdlPv=function(){return(__ZdlPv=Module.__ZdlPv=Module.asm._ZdlPv).apply(null,arguments)},__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=function(){return(__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=Module.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev).apply(null,arguments)},__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=function(){return(__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=Module.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm).apply(null,arguments)},__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=function(){return(__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=Module.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm).apply(null,arguments)},__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=function(){return(__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=Module.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm).apply(null,arguments)},__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=Module.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=function(){return(__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=Module.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=Module.asm._ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm).apply(null,arguments)},__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=function(){return(__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=Module.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc).apply(null,arguments)},__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=function(){return(__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=Module.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev).apply(null,arguments)},__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=function(){return(__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=Module.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw).apply(null,arguments)},__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6resizeEmw=Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6resizeEmw=function(){return(__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6resizeEmw=Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6resizeEmw=Module.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6resizeEmw).apply(null,arguments)},dynCall_jiji=Module.dynCall_jiji=function(){return(dynCall_jiji=Module.dynCall_jiji=Module.asm.dynCall_jiji).apply(null,arguments)},_orig$ts_parser_timeout_micros=Module._orig$ts_parser_timeout_micros=function(){return(_orig$ts_parser_timeout_micros=Module._orig$ts_parser_timeout_micros=Module.asm.orig$ts_parser_timeout_micros).apply(null,arguments)},_orig$ts_parser_set_timeout_micros=Module._orig$ts_parser_set_timeout_micros=function(){return(_orig$ts_parser_set_timeout_micros=Module._orig$ts_parser_set_timeout_micros=Module.asm.orig$ts_parser_set_timeout_micros).apply(null,arguments)},calledRun;function callMain(e){var t=Module._main;if(t){(e=e||[]).unshift(thisProgram);var n=e.length,s=stackAlloc(4*(n+1)),r=s>>2;e.forEach((e=>{HEAP32[r++]=allocateUTF8OnStack(e)})),HEAP32[r]=0;try{var i=t(n,s);return exitJS(i,!0),i}catch(e){return handleException(e)}}}Module.AsciiToString=AsciiToString,Module.stringToUTF16=stringToUTF16,dependenciesFulfilled=function e(){calledRun||run(),calledRun||(dependenciesFulfilled=e)};var dylibsLoaded=!1;function run(e){function t(){calledRun||(calledRun=!0,Module.calledRun=!0,ABORT||(initRuntime(),preMain(),Module.onRuntimeInitialized&&Module.onRuntimeInitialized(),shouldRunNow&&callMain(e),postRun()))}e=e||arguments_,runDependencies>0||!dylibsLoaded&&(preloadDylibs(),dylibsLoaded=!0,runDependencies>0)||(preRun(),runDependencies>0||(Module.setStatus?(Module.setStatus("Running..."),setTimeout((function(){setTimeout((function(){Module.setStatus("")}),1),t()}),1)):t()))}if(Module.preInit)for("function"==typeof Module.preInit&&(Module.preInit=[Module.preInit]);Module.preInit.length>0;)Module.preInit.pop()();var shouldRunNow=!0;Module.noInitialRun&&(shouldRunNow=!1),run();const C=Module,INTERNAL={},SIZE_OF_INT=4,SIZE_OF_NODE=5*SIZE_OF_INT,SIZE_OF_POINT=2*SIZE_OF_INT,SIZE_OF_RANGE=2*SIZE_OF_INT+2*SIZE_OF_POINT,ZERO_POINT={row:0,column:0},QUERY_WORD_REGEX=/[\w-.]*/g,PREDICATE_STEP_TYPE_CAPTURE=1,PREDICATE_STEP_TYPE_STRING=2,LANGUAGE_FUNCTION_REGEX=/^_?tree_sitter_\w+/;var VERSION,MIN_COMPATIBLE_VERSION,TRANSFER_BUFFER,currentParseCallback,currentLogCallback;class ParserImpl{static init(){TRANSFER_BUFFER=C._ts_init(),VERSION=getValue(TRANSFER_BUFFER,"i32"),MIN_COMPATIBLE_VERSION=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32")}initialize(){C._ts_parser_new_wasm(),this[0]=getValue(TRANSFER_BUFFER,"i32"),this[1]=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32")}delete(){C._ts_parser_delete(this[0]),C._free(this[1]),this[0]=0,this[1]=0}setLanguage(e){let t;if(e){if(e.constructor!==Language)throw new Error("Argument must be a Language");{t=e[0];const n=C._ts_language_version(t);if(n<MIN_COMPATIBLE_VERSION||VERSION<n)throw new Error(`Incompatible language version ${n}. Compatibility range ${MIN_COMPATIBLE_VERSION} through ${VERSION}.`)}}else t=0,e=null;return this.language=e,C._ts_parser_set_language(this[0],t),this}getLanguage(){return this.language}parse(e,t,n){if("string"==typeof e)currentParseCallback=(t,n,s)=>e.slice(t,s);else{if("function"!=typeof e)throw new Error("Argument must be a string or a function");currentParseCallback=e}this.logCallback?(currentLogCallback=this.logCallback,C._ts_parser_enable_logger_wasm(this[0],1)):(currentLogCallback=null,C._ts_parser_enable_logger_wasm(this[0],0));let s=0,r=0;if(n&&n.includedRanges){s=n.includedRanges.length,r=C._calloc(s,SIZE_OF_RANGE);let e=r;for(let t=0;t<s;t++)marshalRange(e,n.includedRanges[t]),e+=SIZE_OF_RANGE}const i=C._ts_parser_parse_wasm(this[0],this[1],t?t[0]:0,r,s);if(!i)throw currentParseCallback=null,currentLogCallback=null,new Error("Parsing failed");const o=new Tree(INTERNAL,i,this.language,currentParseCallback);return currentParseCallback=null,currentLogCallback=null,o}reset(){C._ts_parser_reset(this[0])}setTimeoutMicros(e){C._ts_parser_set_timeout_micros(this[0],e)}getTimeoutMicros(){return C._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 Tree{constructor(e,t,n,s){assertInternal(e),this[0]=t,this.language=n,this.textCallback=s}copy(){const e=C._ts_tree_copy(this[0]);return new Tree(INTERNAL,e,this.language,this.textCallback)}delete(){C._ts_tree_delete(this[0]),this[0]=0}edit(e){marshalEdit(e),C._ts_tree_edit_wasm(this[0])}get rootNode(){return C._ts_tree_root_node_wasm(this[0]),unmarshalNode(this)}getLanguage(){return this.language}walk(){return this.rootNode.walk()}getChangedRanges(e){if(e.constructor!==Tree)throw new TypeError("Argument must be a Tree");C._ts_tree_get_changed_ranges_wasm(this[0],e[0]);const t=getValue(TRANSFER_BUFFER,"i32"),n=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),s=new Array(t);if(t>0){let e=n;for(let n=0;n<t;n++)s[n]=unmarshalRange(e),e+=SIZE_OF_RANGE;C._free(n)}return s}}class Node{constructor(e,t){assertInternal(e),this.tree=t}get typeId(){return marshalNode(this),C._ts_node_symbol_wasm(this.tree[0])}get type(){return this.tree.language.types[this.typeId]||"ERROR"}get endPosition(){return marshalNode(this),C._ts_node_end_point_wasm(this.tree[0]),unmarshalPoint(TRANSFER_BUFFER)}get endIndex(){return marshalNode(this),C._ts_node_end_index_wasm(this.tree[0])}get text(){return getText(this.tree,this.startIndex,this.endIndex)}isNamed(){return marshalNode(this),1===C._ts_node_is_named_wasm(this.tree[0])}hasError(){return marshalNode(this),1===C._ts_node_has_error_wasm(this.tree[0])}hasChanges(){return marshalNode(this),1===C._ts_node_has_changes_wasm(this.tree[0])}isMissing(){return marshalNode(this),1===C._ts_node_is_missing_wasm(this.tree[0])}equals(e){return this.id===e.id}child(e){return marshalNode(this),C._ts_node_child_wasm(this.tree[0],e),unmarshalNode(this.tree)}namedChild(e){return marshalNode(this),C._ts_node_named_child_wasm(this.tree[0],e),unmarshalNode(this.tree)}childForFieldId(e){return marshalNode(this),C._ts_node_child_by_field_id_wasm(this.tree[0],e),unmarshalNode(this.tree)}childForFieldName(e){const t=this.tree.language.fields.indexOf(e);if(-1!==t)return this.childForFieldId(t)}get childCount(){return marshalNode(this),C._ts_node_child_count_wasm(this.tree[0])}get namedChildCount(){return marshalNode(this),C._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){marshalNode(this),C._ts_node_children_wasm(this.tree[0]);const e=getValue(TRANSFER_BUFFER,"i32"),t=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32");if(this._children=new Array(e),e>0){let n=t;for(let t=0;t<e;t++)this._children[t]=unmarshalNode(this.tree,n),n+=SIZE_OF_NODE;C._free(t)}}return this._children}get namedChildren(){if(!this._namedChildren){marshalNode(this),C._ts_node_named_children_wasm(this.tree[0]);const e=getValue(TRANSFER_BUFFER,"i32"),t=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32");if(this._namedChildren=new Array(e),e>0){let n=t;for(let t=0;t<e;t++)this._namedChildren[t]=unmarshalNode(this.tree,n),n+=SIZE_OF_NODE;C._free(t)}}return this._namedChildren}descendantsOfType(e,t,n){Array.isArray(e)||(e=[e]),t||(t=ZERO_POINT),n||(n=ZERO_POINT);const s=[],r=this.tree.language.types;for(let t=0,n=r.length;t<n;t++)e.includes(r[t])&&s.push(t);const i=C._malloc(SIZE_OF_INT*s.length);for(let e=0,t=s.length;e<t;e++)setValue(i+e*SIZE_OF_INT,s[e],"i32");marshalNode(this),C._ts_node_descendants_of_type_wasm(this.tree[0],i,s.length,t.row,t.column,n.row,n.column);const o=getValue(TRANSFER_BUFFER,"i32"),a=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),c=new Array(o);if(o>0){let e=a;for(let t=0;t<o;t++)c[t]=unmarshalNode(this.tree,e),e+=SIZE_OF_NODE}return C._free(a),C._free(i),c}get nextSibling(){return marshalNode(this),C._ts_node_next_sibling_wasm(this.tree[0]),unmarshalNode(this.tree)}get previousSibling(){return marshalNode(this),C._ts_node_prev_sibling_wasm(this.tree[0]),unmarshalNode(this.tree)}get nextNamedSibling(){return marshalNode(this),C._ts_node_next_named_sibling_wasm(this.tree[0]),unmarshalNode(this.tree)}get previousNamedSibling(){return marshalNode(this),C._ts_node_prev_named_sibling_wasm(this.tree[0]),unmarshalNode(this.tree)}get parent(){return marshalNode(this),C._ts_node_parent_wasm(this.tree[0]),unmarshalNode(this.tree)}descendantForIndex(e,t=e){if("number"!=typeof e||"number"!=typeof t)throw new Error("Arguments must be numbers");marshalNode(this);let n=TRANSFER_BUFFER+SIZE_OF_NODE;return setValue(n,e,"i32"),setValue(n+SIZE_OF_INT,t,"i32"),C._ts_node_descendant_for_index_wasm(this.tree[0]),unmarshalNode(this.tree)}namedDescendantForIndex(e,t=e){if("number"!=typeof e||"number"!=typeof t)throw new Error("Arguments must be numbers");marshalNode(this);let n=TRANSFER_BUFFER+SIZE_OF_NODE;return setValue(n,e,"i32"),setValue(n+SIZE_OF_INT,t,"i32"),C._ts_node_named_descendant_for_index_wasm(this.tree[0]),unmarshalNode(this.tree)}descendantForPosition(e,t=e){if(!isPoint(e)||!isPoint(t))throw new Error("Arguments must be {row, column} objects");marshalNode(this);let n=TRANSFER_BUFFER+SIZE_OF_NODE;return marshalPoint(n,e),marshalPoint(n+SIZE_OF_POINT,t),C._ts_node_descendant_for_position_wasm(this.tree[0]),unmarshalNode(this.tree)}namedDescendantForPosition(e,t=e){if(!isPoint(e)||!isPoint(t))throw new Error("Arguments must be {row, column} objects");marshalNode(this);let n=TRANSFER_BUFFER+SIZE_OF_NODE;return marshalPoint(n,e),marshalPoint(n+SIZE_OF_POINT,t),C._ts_node_named_descendant_for_position_wasm(this.tree[0]),unmarshalNode(this.tree)}walk(){return marshalNode(this),C._ts_tree_cursor_new_wasm(this.tree[0]),new TreeCursor(INTERNAL,this.tree)}toString(){marshalNode(this);const e=C._ts_node_to_string_wasm(this.tree[0]),t=AsciiToString(e);return C._free(e),t}}class TreeCursor{constructor(e,t){assertInternal(e),this.tree=t,unmarshalTreeCursor(this)}delete(){marshalTreeCursor(this),C._ts_tree_cursor_delete_wasm(this.tree[0]),this[0]=this[1]=this[2]=0}reset(e){marshalNode(e),marshalTreeCursor(this,TRANSFER_BUFFER+SIZE_OF_NODE),C._ts_tree_cursor_reset_wasm(this.tree[0]),unmarshalTreeCursor(this)}get nodeType(){return this.tree.language.types[this.nodeTypeId]||"ERROR"}get nodeTypeId(){return marshalTreeCursor(this),C._ts_tree_cursor_current_node_type_id_wasm(this.tree[0])}get nodeId(){return marshalTreeCursor(this),C._ts_tree_cursor_current_node_id_wasm(this.tree[0])}get nodeIsNamed(){return marshalTreeCursor(this),1===C._ts_tree_cursor_current_node_is_named_wasm(this.tree[0])}get nodeIsMissing(){return marshalTreeCursor(this),1===C._ts_tree_cursor_current_node_is_missing_wasm(this.tree[0])}get nodeText(){marshalTreeCursor(this);const e=C._ts_tree_cursor_start_index_wasm(this.tree[0]),t=C._ts_tree_cursor_end_index_wasm(this.tree[0]);return getText(this.tree,e,t)}get startPosition(){return marshalTreeCursor(this),C._ts_tree_cursor_start_position_wasm(this.tree[0]),unmarshalPoint(TRANSFER_BUFFER)}get endPosition(){return marshalTreeCursor(this),C._ts_tree_cursor_end_position_wasm(this.tree[0]),unmarshalPoint(TRANSFER_BUFFER)}get startIndex(){return marshalTreeCursor(this),C._ts_tree_cursor_start_index_wasm(this.tree[0])}get endIndex(){return marshalTreeCursor(this),C._ts_tree_cursor_end_index_wasm(this.tree[0])}currentNode(){return marshalTreeCursor(this),C._ts_tree_cursor_current_node_wasm(this.tree[0]),unmarshalNode(this.tree)}currentFieldId(){return marshalTreeCursor(this),C._ts_tree_cursor_current_field_id_wasm(this.tree[0])}currentFieldName(){return this.tree.language.fields[this.currentFieldId()]}gotoFirstChild(){marshalTreeCursor(this);const e=C._ts_tree_cursor_goto_first_child_wasm(this.tree[0]);return unmarshalTreeCursor(this),1===e}gotoNextSibling(){marshalTreeCursor(this);const e=C._ts_tree_cursor_goto_next_sibling_wasm(this.tree[0]);return unmarshalTreeCursor(this),1===e}gotoParent(){marshalTreeCursor(this);const e=C._ts_tree_cursor_goto_parent_wasm(this.tree[0]);return unmarshalTreeCursor(this),1===e}}class Language{constructor(e,t){assertInternal(e),this[0]=t,this.types=new Array(C._ts_language_symbol_count(this[0]));for(let e=0,t=this.types.length;e<t;e++)C._ts_language_symbol_type(this[0],e)<2&&(this.types[e]=UTF8ToString(C._ts_language_symbol_name(this[0],e)));this.fields=new Array(C._ts_language_field_count(this[0])+1);for(let e=0,t=this.fields.length;e<t;e++){const t=C._ts_language_field_name_for_id(this[0],e);this.fields[e]=0!==t?UTF8ToString(t):null}}get version(){return C._ts_language_version(this[0])}get fieldCount(){return this.fields.length-1}fieldIdForName(e){const t=this.fields.indexOf(e);return-1!==t?t:null}fieldNameForId(e){return this.fields[e]||null}idForNodeType(e,t){const n=lengthBytesUTF8(e),s=C._malloc(n+1);stringToUTF8(e,s,n+1);const r=C._ts_language_symbol_for_name(this[0],s,n,t);return C._free(s),r||null}get nodeTypeCount(){return C._ts_language_symbol_count(this[0])}nodeTypeForId(e){const t=C._ts_language_symbol_name(this[0],e);return t?UTF8ToString(t):null}nodeTypeIsNamed(e){return!!C._ts_language_type_is_named_wasm(this[0],e)}nodeTypeIsVisible(e){return!!C._ts_language_type_is_visible_wasm(this[0],e)}query(e){const t=lengthBytesUTF8(e),n=C._malloc(t+1);stringToUTF8(e,n,t+1);const s=C._ts_query_new(this[0],n,t,TRANSFER_BUFFER,TRANSFER_BUFFER+SIZE_OF_INT);if(!s){const t=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),s=UTF8ToString(n,getValue(TRANSFER_BUFFER,"i32")).length,r=e.substr(s,100).split("\n")[0];let i,o=r.match(QUERY_WORD_REGEX)[0];switch(t){case 2:i=new RangeError(`Bad node name '${o}'`);break;case 3:i=new RangeError(`Bad field name '${o}'`);break;case 4:i=new RangeError(`Bad capture name @${o}`);break;case 5:i=new TypeError(`Bad pattern structure at offset ${s}: '${r}'...`),o="";break;default:i=new SyntaxError(`Bad syntax at offset ${s}: '${r}'...`),o=""}throw i.index=s,i.length=o.length,C._free(n),i}const r=C._ts_query_string_count(s),i=C._ts_query_capture_count(s),o=C._ts_query_pattern_count(s),a=new Array(i),c=new Array(r);for(let e=0;e<i;e++){const t=C._ts_query_capture_name_for_id(s,e,TRANSFER_BUFFER),n=getValue(TRANSFER_BUFFER,"i32");a[e]=UTF8ToString(t,n)}for(let e=0;e<r;e++){const t=C._ts_query_string_value_for_id(s,e,TRANSFER_BUFFER),n=getValue(TRANSFER_BUFFER,"i32");c[e]=UTF8ToString(t,n)}const u=new Array(o),l=new Array(o),p=new Array(o),d=new Array(o),m=new Array(o);for(let e=0;e<o;e++){const t=C._ts_query_predicates_for_pattern(s,e,TRANSFER_BUFFER),n=getValue(TRANSFER_BUFFER,"i32");d[e]=[],m[e]=[];const r=[];let i=t;for(let t=0;t<n;t++){const t=getValue(i,"i32");i+=SIZE_OF_INT;const n=getValue(i,"i32");if(i+=SIZE_OF_INT,t===PREDICATE_STEP_TYPE_CAPTURE)r.push({type:"capture",name:a[n]});else if(t===PREDICATE_STEP_TYPE_STRING)r.push({type:"string",value:c[n]});else if(r.length>0){if("string"!==r[0].type)throw new Error("Predicates must begin with a literal value");const t=r[0].value;let n=!0;switch(t){case"not-eq?":n=!1;case"eq?":if(3!==r.length)throw new Error("Wrong number of arguments to `#eq?` predicate. Expected 2, got "+(r.length-1));if("capture"!==r[1].type)throw new Error(`First argument of \`#eq?\` predicate must be a capture. Got "${r[1].value}"`);if("capture"===r[2].type){const t=r[1].name,s=r[2].name;m[e].push((function(e){let r,i;for(const n of e)n.name===t&&(r=n.node),n.name===s&&(i=n.node);return void 0===r||void 0===i||r.text===i.text===n}))}else{const t=r[1].name,s=r[2].value;m[e].push((function(e){for(const r of e)if(r.name===t)return r.node.text===s===n;return!0}))}break;case"not-match?":n=!1;case"match?":if(3!==r.length)throw new Error(`Wrong number of arguments to \`#match?\` predicate. Expected 2, got ${r.length-1}.`);if("capture"!==r[1].type)throw new Error(`First argument of \`#match?\` predicate must be a capture. Got "${r[1].value}".`);if("string"!==r[2].type)throw new Error(`Second argument of \`#match?\` predicate must be a string. Got @${r[2].value}.`);const s=r[1].name,i=new RegExp(r[2].value);m[e].push((function(e){for(const t of e)if(t.name===s)return i.test(t.node.text)===n;return!0}));break;case"set!":if(r.length<2||r.length>3)throw new Error(`Wrong number of arguments to \`#set!\` predicate. Expected 1 or 2. Got ${r.length-1}.`);if(r.some((e=>"string"!==e.type)))throw new Error('Arguments to `#set!` predicate must be a strings.".');u[e]||(u[e]={}),u[e][r[1].value]=r[2]?r[2].value:null;break;case"is?":case"is-not?":if(r.length<2||r.length>3)throw new Error(`Wrong number of arguments to \`#${t}\` predicate. Expected 1 or 2. Got ${r.length-1}.`);if(r.some((e=>"string"!==e.type)))throw new Error(`Arguments to \`#${t}\` predicate must be a strings.".`);const o="is?"===t?l:p;o[e]||(o[e]={}),o[e][r[1].value]=r[2]?r[2].value:null;break;default:d[e].push({operator:t,operands:r.slice(1)})}r.length=0}}Object.freeze(u[e]),Object.freeze(l[e]),Object.freeze(p[e])}return C._free(n),new Query(INTERNAL,s,a,m,d,Object.freeze(u),Object.freeze(l),Object.freeze(p))}static load(e){let t;if(e instanceof Uint8Array)t=Promise.resolve(e);else{const n=e;if("undefined"!=typeof process&&process.versions&&process.versions.node){const e=__webpack_require__(5530);t=Promise.resolve(e.readFileSync(n))}else t=fetch(n).then((e=>e.arrayBuffer().then((t=>{if(e.ok)return new Uint8Array(t);{const n=new TextDecoder("utf-8").decode(t);throw new Error(`Language.load failed with status ${e.status}.\n\n${n}`)}}))))}const n="function"==typeof loadSideModule?loadSideModule:loadWebAssemblyModule;return t.then((e=>n(e,{loadAsync:!0}))).then((e=>{const t=Object.keys(e),n=t.find((e=>LANGUAGE_FUNCTION_REGEX.test(e)&&!e.includes("external_scanner_")));n||console.log(`Couldn't find language function in WASM file. Symbols:\n${JSON.stringify(t,null,2)}`);const s=e[n]();return new Language(INTERNAL,s)}))}}class Query{constructor(e,t,n,s,r,i,o,a){assertInternal(e),this[0]=t,this.captureNames=n,this.textPredicates=s,this.predicates=r,this.setProperties=i,this.assertedProperties=o,this.refutedProperties=a,this.exceededMatchLimit=!1}delete(){C._ts_query_delete(this[0]),this[0]=0}matches(e,t,n,s){t||(t=ZERO_POINT),n||(n=ZERO_POINT),s||(s={});let r=s.matchLimit;if(void 0===r)r=0;else if("number"!=typeof r)throw new Error("Arguments must be numbers");marshalNode(e),C._ts_query_matches_wasm(this[0],e.tree[0],t.row,t.column,n.row,n.column,r);const i=getValue(TRANSFER_BUFFER,"i32"),o=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),a=getValue(TRANSFER_BUFFER+2*SIZE_OF_INT,"i32"),c=new Array(i);this.exceededMatchLimit=!!a;let u=0,l=o;for(let t=0;t<i;t++){const n=getValue(l,"i32");l+=SIZE_OF_INT;const s=getValue(l,"i32");l+=SIZE_OF_INT;const r=new Array(s);if(l=unmarshalCaptures(this,e.tree,l,r),this.textPredicates[n].every((e=>e(r)))){c[u++]={pattern:n,captures:r};const e=this.setProperties[n];e&&(c[t].setProperties=e);const s=this.assertedProperties[n];s&&(c[t].assertedProperties=s);const i=this.refutedProperties[n];i&&(c[t].refutedProperties=i)}}return c.length=u,C._free(o),c}captures(e,t,n,s){t||(t=ZERO_POINT),n||(n=ZERO_POINT),s||(s={});let r=s.matchLimit;if(void 0===r)r=0;else if("number"!=typeof r)throw new Error("Arguments must be numbers");marshalNode(e),C._ts_query_captures_wasm(this[0],e.tree[0],t.row,t.column,n.row,n.column,r);const i=getValue(TRANSFER_BUFFER,"i32"),o=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),a=getValue(TRANSFER_BUFFER+2*SIZE_OF_INT,"i32"),c=[];this.exceededMatchLimit=!!a;const u=[];let l=o;for(let t=0;t<i;t++){const t=getValue(l,"i32");l+=SIZE_OF_INT;const n=getValue(l,"i32");l+=SIZE_OF_INT;const s=getValue(l,"i32");if(l+=SIZE_OF_INT,u.length=n,l=unmarshalCaptures(this,e.tree,l,u),this.textPredicates[t].every((e=>e(u)))){const e=u[s],n=this.setProperties[t];n&&(e.setProperties=n);const r=this.assertedProperties[t];r&&(e.assertedProperties=r);const i=this.refutedProperties[t];i&&(e.refutedProperties=i),c.push(e)}}return C._free(o),c}predicatesForPattern(e){return this.predicates[e]}didExceedMatchLimit(){return this.exceededMatchLimit}}function getText(e,t,n){const s=n-t;let r=e.textCallback(t,null,n);for(t+=r.length;t<n;){const s=e.textCallback(t,null,n);if(!(s&&s.length>0))break;t+=s.length,r+=s}return t>n&&(r=r.slice(0,s)),r}function unmarshalCaptures(e,t,n,s){for(let r=0,i=s.length;r<i;r++){const i=getValue(n,"i32"),o=unmarshalNode(t,n+=SIZE_OF_INT);n+=SIZE_OF_NODE,s[r]={name:e.captureNames[i],node:o}}return n}function assertInternal(e){if(e!==INTERNAL)throw new Error("Illegal constructor")}function isPoint(e){return e&&"number"==typeof e.row&&"number"==typeof e.column}function marshalNode(e){let t=TRANSFER_BUFFER;setValue(t,e.id,"i32"),t+=SIZE_OF_INT,setValue(t,e.startIndex,"i32"),t+=SIZE_OF_INT,setValue(t,e.startPosition.row,"i32"),t+=SIZE_OF_INT,setValue(t,e.startPosition.column,"i32"),t+=SIZE_OF_INT,setValue(t,e[0],"i32")}function unmarshalNode(e,t=TRANSFER_BUFFER){const n=getValue(t,"i32");if(0===n)return null;const s=getValue(t+=SIZE_OF_INT,"i32"),r=getValue(t+=SIZE_OF_INT,"i32"),i=getValue(t+=SIZE_OF_INT,"i32"),o=getValue(t+=SIZE_OF_INT,"i32"),a=new Node(INTERNAL,e);return a.id=n,a.startIndex=s,a.startPosition={row:r,column:i},a[0]=o,a}function marshalTreeCursor(e,t=TRANSFER_BUFFER){setValue(t+0*SIZE_OF_INT,e[0],"i32"),setValue(t+1*SIZE_OF_INT,e[1],"i32"),setValue(t+2*SIZE_OF_INT,e[2],"i32")}function unmarshalTreeCursor(e){e[0]=getValue(TRANSFER_BUFFER+0*SIZE_OF_INT,"i32"),e[1]=getValue(TRANSFER_BUFFER+1*SIZE_OF_INT,"i32"),e[2]=getValue(TRANSFER_BUFFER+2*SIZE_OF_INT,"i32")}function marshalPoint(e,t){setValue(e,t.row,"i32"),setValue(e+SIZE_OF_INT,t.column,"i32")}function unmarshalPoint(e){return{row:getValue(e,"i32"),column:getValue(e+SIZE_OF_INT,"i32")}}function marshalRange(e,t){marshalPoint(e,t.startPosition),marshalPoint(e+=SIZE_OF_POINT,t.endPosition),setValue(e+=SIZE_OF_POINT,t.startIndex,"i32"),setValue(e+=SIZE_OF_INT,t.endIndex,"i32"),e+=SIZE_OF_INT}function unmarshalRange(e){const t={};return t.startPosition=unmarshalPoint(e),e+=SIZE_OF_POINT,t.endPosition=unmarshalPoint(e),e+=SIZE_OF_POINT,t.startIndex=getValue(e,"i32"),e+=SIZE_OF_INT,t.endIndex=getValue(e,"i32"),t}function marshalEdit(e){let t=TRANSFER_BUFFER;marshalPoint(t,e.startPosition),t+=SIZE_OF_POINT,marshalPoint(t,e.oldEndPosition),t+=SIZE_OF_POINT,marshalPoint(t,e.newEndPosition),t+=SIZE_OF_POINT,setValue(t,e.startIndex,"i32"),t+=SIZE_OF_INT,setValue(t,e.oldEndIndex,"i32"),t+=SIZE_OF_INT,setValue(t,e.newEndIndex,"i32"),t+=SIZE_OF_INT}for(const e of Object.getOwnPropertyNames(ParserImpl.prototype))Object.defineProperty(Parser.prototype,e,{value:ParserImpl.prototype[e],enumerable:!1,writable:!1});Parser.Language=Language,Module.onRuntimeInitialized=()=>{ParserImpl.init(),resolveInitPromise()}})))}}return Parser}();module.exports=TreeSitter},5530:()=>{},6287:()=>{}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.loaded=!0,n.exports}__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var t=__webpack_require__.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var s=n.length-1;s>-1&&!e;)e=n[s--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=e})();var __webpack_exports__={};return(()=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{detect:()=>sf,detectionRegExp:()=>nf,mediaTypes:()=>tf,namespace:()=>of,parse:()=>rf});var e={};__webpack_require__.r(e),__webpack_require__.d(e,{hasElementSourceMap:()=>Wn,includesClasses:()=>Kn,includesSymbols:()=>Gn,isAnnotationElement:()=>Un,isArrayElement:()=>kn,isBooleanElement:()=>$n,isCommentElement:()=>Zn,isElement:()=>Tn,isLinkElement:()=>Vn,isMemberElement:()=>Dn,isNullElement:()=>Rn,isNumberElement:()=>Cn,isObjectElement:()=>qn,isParseResultElement:()=>Hn,isPrimitiveElement:()=>zn,isRefElement:()=>Ln,isSourceMapElement:()=>Jn,isStringElement:()=>Fn});var t={};__webpack_require__.r(t),__webpack_require__.d(t,{isJSONReferenceElement:()=>Ni,isJSONSchemaElement:()=>Ii,isLinkDescriptionElement:()=>Fi,isMediaElement:()=>Ti});var n={};__webpack_require__.r(n),__webpack_require__.d(n,{isJSONReferenceElement:()=>Ni,isJSONSchemaElement:()=>to,isLinkDescriptionElement:()=>no,isMediaElement:()=>Ti});var s={};__webpack_require__.r(s),__webpack_require__.d(s,{isJSONReferenceElement:()=>Ni,isJSONSchemaElement:()=>nc,isLinkDescriptionElement:()=>sc});var r={};__webpack_require__.r(r),__webpack_require__.d(r,{isAsyncApi2Element:()=>vc,isAsyncApiVersionElement:()=>Ec,isBooleanJsonSchemaElement:()=>$c,isChannelBindingsElement:()=>Sc,isChannelItemElement:()=>wc,isChannelItemElementExternal:()=>Oc,isChannelsElement:()=>jc,isComponentsElement:()=>xc,isContactElement:()=>Mc,isIdentifierElement:()=>Pc,isInfoElement:()=>Bc,isLicenseElement:()=>Ac,isOperationElement:()=>Ic,isParameterElement:()=>Nc,isParametersElement:()=>Tc,isReferenceElement:()=>Fc,isReferenceElementExternal:()=>Cc,isSchemaElement:()=>Rc,isSecurityRequirementElement:()=>qc,isServerBindingsElement:()=>Dc,isServerElement:()=>kc,isServerVariableElement:()=>Lc,isServersElement:()=>Vc});const i=function(){return!1};const o=function(){return!0};function a(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function c(e){return function t(n){return 0===arguments.length||a(n)?t:e.apply(this,arguments)}}function u(e){return function t(n,s){switch(arguments.length){case 0:return t;case 1:return a(n)?t:c((function(t){return e(n,t)}));default:return a(n)&&a(s)?t:a(n)?c((function(t){return e(t,s)})):a(s)?c((function(t){return e(n,t)})):e(n,s)}}}const l=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function p(e,t,n){return function(){if(0===arguments.length)return n();var s=arguments[arguments.length-1];if(!l(s)){for(var r=0;r<e.length;){if("function"==typeof s[e[r]])return s[e[r]].apply(s,Array.prototype.slice.call(arguments,0,-1));r+=1}if(function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}(s))return t.apply(null,Array.prototype.slice.call(arguments,0,-1))(s)}return n.apply(this,arguments)}}function d(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}const m=function(){return this.xf["@@transducer/init"]()},h=function(e){return this.xf["@@transducer/result"](e)};var g=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=m,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=d(this.xf["@@transducer/step"](e,!1))),e},e}();function _(e){return function(t){return new g(e,t)}}const f=u(p(["all"],_,(function(e,t){for(var n=0;n<t.length;){if(!e(t[n]))return!1;n+=1}return!0})));function b(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,s){return t.apply(this,arguments)};case 4:return function(e,n,s,r){return t.apply(this,arguments)};case 5:return function(e,n,s,r,i){return t.apply(this,arguments)};case 6:return function(e,n,s,r,i,o){return t.apply(this,arguments)};case 7:return function(e,n,s,r,i,o,a){return t.apply(this,arguments)};case 8:return function(e,n,s,r,i,o,a,c){return t.apply(this,arguments)};case 9:return function(e,n,s,r,i,o,a,c,u){return t.apply(this,arguments)};case 10:return function(e,n,s,r,i,o,a,c,u,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function y(e,t,n){return function(){for(var s=[],r=0,i=e,o=0;o<t.length||r<arguments.length;){var c;o<t.length&&(!a(t[o])||r>=arguments.length)?c=t[o]:(c=arguments[r],r+=1),s[o]=c,a(c)||(i-=1),o+=1}return i<=0?n.apply(this,s):b(i,y(e,s,n))}}const v=u((function(e,t){return 1===e?c(t):b(e,y(e,[],t))}));function E(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function S(e,t,n){for(var s=0,r=n.length;s<r;){if(e(t,n[s]))return!0;s+=1}return!1}function w(e,t){return Object.prototype.hasOwnProperty.call(t,e)}const O="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};var j=Object.prototype.toString;const x=function(){return"[object Arguments]"===j.call(arguments)?function(e){return"[object Arguments]"===j.call(e)}:function(e){return w("callee",e)}}();var M=!{toString:null}.propertyIsEnumerable("toString"),P=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],B=function(){return arguments.propertyIsEnumerable("length")}(),A=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1};const I="function"!=typeof Object.keys||B?c((function(e){if(Object(e)!==e)return[];var t,n,s=[],r=B&&x(e);for(t in e)!w(t,e)||r&&"length"===t||(s[s.length]=t);if(M)for(n=P.length-1;n>=0;)w(t=P[n],e)&&!A(s,t)&&(s[s.length]=t),n-=1;return s})):c((function(e){return Object(e)!==e?[]:Object.keys(e)}));const N=c((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function T(e,t,n,s){var r=E(e);function i(e,t){return F(e,t,n.slice(),s.slice())}return!S((function(e,t){return!S(i,t,e)}),E(t),r)}function F(e,t,n,s){if(O(e,t))return!0;var r,i,o=N(e);if(o!==N(t))return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(o){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===(r=e.constructor,null==(i=String(r).match(/^function (\w*)/))?"":i[1]))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!O(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!O(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var a=n.length-1;a>=0;){if(n[a]===e)return s[a]===t;a-=1}switch(o){case"Map":return e.size===t.size&&T(e.entries(),t.entries(),n.concat([e]),s.concat([t]));case"Set":return e.size===t.size&&T(e.values(),t.values(),n.concat([e]),s.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var c=I(e);if(c.length!==I(t).length)return!1;var u=n.concat([e]),l=s.concat([t]);for(a=c.length-1;a>=0;){var p=c[a];if(!w(p,t)||!F(t[p],e[p],u,l))return!1;a-=1}return!0}const C=u((function(e,t){return F(e,t,[],[])}));function R(e,t){return function(e,t,n){var s,r;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(s=1/t;n<e.length;){if(0===(r=e[n])&&1/r===s)return n;n+=1}return-1}if(t!=t){for(;n<e.length;){if("number"==typeof(r=e[n])&&r!=r)return n;n+=1}return-1}return e.indexOf(t,n);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,n);case"object":if(null===t)return e.indexOf(t,n)}for(;n<e.length;){if(C(e[n],t))return n;n+=1}return-1}(t,e,0)>=0}function $(e,t){for(var n=0,s=t.length,r=Array(s);n<s;)r[n]=e(t[n]),n+=1;return r}function q(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 k=function(e){return(e<10?"0":"")+e};const D="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+k(e.getUTCMonth()+1)+"-"+k(e.getUTCDate())+"T"+k(e.getUTCHours())+":"+k(e.getUTCMinutes())+":"+k(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function V(e,t,n){for(var s=0,r=n.length;s<r;)t=e(t,n[s]),s+=1;return t}function L(e){return"[object Object]"===Object.prototype.toString.call(e)}var U=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=m,e.prototype["@@transducer/result"]=h,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function Z(e){return function(t){return new U(e,t)}}const H=u(p(["fantasy-land/filter","filter"],Z,(function(e,t){return L(t)?V((function(n,s){return e(t[s])&&(n[s]=t[s]),n}),{},I(t)):function(e,t){for(var n=0,s=t.length,r=[];n<s;)e(t[n])&&(r[r.length]=t[n]),n+=1;return r}(e,t)})));const J=u((function(e,t){return H((n=e,function(){return!n.apply(this,arguments)}),t);var n}));function z(e,t){var n=function(n){var s=t.concat([e]);return R(n,s)?"<Circular>":z(n,s)},s=function(e,t){return $((function(t){return q(t)+": "+n(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+$(n,e).join(", ")+"))";case"[object Array]":return"["+$(n,e).concat(s(e,J((function(e){return/^\d+$/.test(e)}),I(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+n(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?n(NaN):q(D(e)))+")";case"[object Map]":return"new Map("+n(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+n(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+n(Array.from(e).sort())+")";case"[object String]":return"object"==typeof e?"new String("+n(e.valueOf())+")":q(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var r=e.toString();if("[object Object]"!==r)return r}return"{"+s(e,I(e)).join(", ")+"}"}}const W=c((function(e){return z(e,[])}));const G=u((function(e,t){if(e===t)return t;function n(e,t){if(e>t!=t>e)return t>e?t:e}var s=n(e,t);if(void 0!==s)return s;var r=n(typeof e,typeof t);if(void 0!==r)return r===typeof e?e:t;var i=W(e),o=n(i,W(t));return void 0!==o&&o===i?e:t}));var K=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=m,e.prototype["@@transducer/result"]=h,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const Y=u(p(["fantasy-land/map","map"],(function(e){return function(t){return new K(e,t)}}),(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return v(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return V((function(n,s){return n[s]=e(t[s]),n}),{},I(t));default:return $(e,t)}}))),Q=Number.isInteger||function(e){return e<<0===e};function X(e){return"[object String]"===Object.prototype.toString.call(e)}const ee=u((function(e,t){var n=e<0?t.length+e:e;return X(t)?t.charAt(n):t[n]}));const te=u((function(e,t){if(null!=t)return Q(e)?ee(e,t):t[e]}));const ne=u((function(e,t){return Y(te(e),t)}));function se(e){return function t(n,s,r){switch(arguments.length){case 0:return t;case 1:return a(n)?t:u((function(t,s){return e(n,t,s)}));case 2:return a(n)&&a(s)?t:a(n)?u((function(t,n){return e(t,s,n)})):a(s)?u((function(t,s){return e(n,t,s)})):c((function(t){return e(n,s,t)}));default:return a(n)&&a(s)&&a(r)?t:a(n)&&a(s)?u((function(t,n){return e(t,n,r)})):a(n)&&a(r)?u((function(t,n){return e(t,s,n)})):a(s)&&a(r)?u((function(t,s){return e(n,t,s)})):a(n)?c((function(t){return e(t,s,r)})):a(s)?c((function(t){return e(n,t,r)})):a(r)?c((function(t){return e(n,s,t)})):e(n,s,r)}}}const re=c((function(e){return!!l(e)||!!e&&("object"==typeof e&&(!X(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var ie="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function oe(e,t,n){return function(s,r,i){if(re(i))return e(s,r,i);if(null==i)return r;if("function"==typeof i["fantasy-land/reduce"])return t(s,r,i,"fantasy-land/reduce");if(null!=i[ie])return n(s,r,i[ie]());if("function"==typeof i.next)return n(s,r,i);if("function"==typeof i.reduce)return t(s,r,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function ae(e,t,n){for(var s=0,r=n.length;s<r;){if((t=e["@@transducer/step"](t,n[s]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}s+=1}return e["@@transducer/result"](t)}const ce=u((function(e,t){return b(e.length,(function(){return e.apply(t,arguments)}))}));function ue(e,t,n){for(var s=n.next();!s.done;){if((t=e["@@transducer/step"](t,s.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}s=n.next()}return e["@@transducer/result"](t)}function le(e,t,n,s){return e["@@transducer/result"](n[s](ce(e["@@transducer/step"],e),t))}const pe=oe(ae,le,ue);var de=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();const me=se((function(e,t,n){return pe("function"==typeof e?new de(e):e,t,n)}));const he=c((function(e){return v(me(G,0,ne("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0}))}));const ge=c((function(e){return function(){return e}}));const _e=c((function(e){return v(me(G,0,ne("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(e[t].apply(this,arguments))return!0;t+=1}return!1}))}));function fe(e,t,n){for(var s=n.next();!s.done;)t=e(t,s.value),s=n.next();return t}function be(e,t,n,s){return n[s](e,t)}const ye=oe(V,be,fe);const ve=u((function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(n){return e(n)(t(n))}:ye((function(e,n){return function(e,t){var n;t=t||[];var s=(e=e||[]).length,r=t.length,i=[];for(n=0;n<s;)i[i.length]=e[n],n+=1;for(n=0;n<r;)i[i.length]=t[n],n+=1;return i}(e,Y(n,t))}),[],e)}));const Ee=u((function(e,t){return e.apply(this,t)}));const Se=c((function(e){return null==e}));const we=se((function e(t,n,s){if(0===t.length)return n;var r=t[0];if(t.length>1){var i=!Se(s)&&w(r,s)&&"object"==typeof s[r]?s[r]:Q(t[1])?[]:{};n=e(Array.prototype.slice.call(t,1),n,i)}return function(e,t,n){if(Q(e)&&l(n)){var s=[].concat(n);return s[e]=t,s}var r={};for(var i in n)r[i]=n[i];return r[e]=t,r}(r,n,s)}));const Oe=se((function(e,t,n){return we([e],t,n)}));function je(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const xe=u((function(e,t){return e&&t}));const Me=u((function(e,t){var n=v(e,t);return v(e,(function(){return V(ve,Y(n,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const Pe=c((function(e){return Me(e.length,e)}));const Be=u((function(e,t){return je(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:Pe(xe)(e,t)}));const Ae=c((function(e){return function(t,n){return e(t,n)?-1:e(n,t)?1:0}}));const Ie=Pe(c((function(e){return!e})));function Ne(e,t){return function(){return t.call(this,e.apply(this,arguments))}}function Te(e,t){return function(){var n=arguments.length;if(0===n)return t();var s=arguments[n-1];return l(s)||"function"!=typeof s[e]?t.apply(this,arguments):s[e].apply(s,Array.prototype.slice.call(arguments,0,n-1))}}const Fe=se(Te("slice",(function(e,t,n){return Array.prototype.slice.call(n,e,t)})));const Ce=c(Te("tail",Fe(1,1/0)));function Re(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return b(arguments[0].length,me(Ne,arguments[0],Ce(arguments)))}const $e=c((function(e){return v(e.length,e)}));const qe=u((function(e,t){return null==t||t!=t?e:t}));var ke=se((function(e,t,n){var s=Array.prototype.slice.call(n,0);return s.splice(e,t),s}));const De=ke;const Ve=u((function e(t,n){if(null==n)return n;switch(t.length){case 0:return n;case 1:return function(e,t){if(null==t)return t;if(Q(e)&&l(t))return De(e,1,t);var n={};for(var s in t)n[s]=t[s];return delete n[e],n}(t[0],n);default:var s=t[0],r=Array.prototype.slice.call(t,1);return null==n[s]?function(e,t){if(Q(e)&&l(t))return[].concat(t);var n={};for(var s in t)n[s]=t[s];return n}(s,n):Oe(s,e(r,n[s]),n)}}));var Le=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=m,e.prototype["@@transducer/result"]=h,e.prototype["@@transducer/step"]=function(e,t){this.i+=1;var n=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?d(n):n},e}();function Ue(e){return function(t){return new Le(e,t)}}const Ze=u(p(["take"],Ue,(function(e,t){return Fe(0,e<0?1/0:e,t)})));var He=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=m,e.prototype["@@transducer/result"]=h,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 Je(e){return function(t){return new He(e,t)}}const ze=u(p(["dropWhile"],Je,(function(e,t){for(var n=0,s=t.length;n<s&&e(t[n]);)n+=1;return Fe(n,1/0,t)})));const We=u((function(e,t){return e||t}));const Ge=u((function(e,t){return je(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:Pe(We)(e,t)}));var Ke=c((function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():l(e)?[]:X(e)?"":L(e)?{}:x(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 Ye=Ke;const Qe=c((function(e){return v(e.length,(function(t,n){var s=Array.prototype.slice.call(arguments,0);return s[0]=n,s[1]=t,e.apply(this,s)}))}));const Xe=u((function(e,t){if(0===e.length||Se(t))return!1;for(var n=t,s=0;s<e.length;){if(Se(n)||!w(e[s],n))return!1;n=n[e[s]],s+=1}return!0}));const et=u((function(e,t){return Xe([e],t)}));const tt=ee(0);var nt=function(e,t){switch(arguments.length){case 0:return nt;case 1:return function t(n){return 0===arguments.length?t:O(e,n)};default:return O(e,t)}};const st=nt;const rt=se((function(e,t,n){return v(Math.max(e.length,t.length,n.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)}))}));const it=u(R);const ot=Fe(0,-1);"function"==typeof Object.assign&&Object.assign;const at=u((function(e,t){return v(e+1,(function(){var n=arguments[e];if(null!=n&&je(n[t]))return n[t].apply(n,Array.prototype.slice.call(arguments,0,e));throw new TypeError(W(n)+' does not have a method named "'+t+'"')}))}));const ct=c((function(e){return null!=e&&C(e,Ye(e))}));const ut=at(1,"join");const lt=ee(-1);const pt=u((function(e,t){return e.map((function(e){for(var n,s=t,r=0;r<e.length;){if(null==s)return;n=e[r],s=Q(n)?ee(n,s):s[n],r+=1}return s}))}));const dt=u((function(e,t){return pt([e],t)[0]}));const mt=u((function(e,t){return V((function(n,s){return n[s]=e(t[s],s,t),n}),{},I(t))}));const ht=u((function(e,t){for(var n={},s={},r=0,i=e.length;r<i;)s[e[r]]=1,r+=1;for(var o in t)s.hasOwnProperty(o)||(n[o]=t[o]);return n}));const gt=se((function(e,t,n){return e(dt(t,n))}));const _t=u((function(e,t){for(var n={},s=0;s<e.length;)e[s]in t&&(n[e[s]]=t[e[s]]),s+=1;return n}));const ft=se((function(e,t,n){return qe(e,te(t,n))}));const bt=se((function(e,t,n){return e(te(t,n))}));const yt=c(d);var vt=u((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const Et=vt;const St=at(1,"split");const wt=u((function(e,t){return C(Ze(e.length,t),e)}));const Ot=u((function(e,t){if(n=e,"[object RegExp]"!==Object.prototype.toString.call(n))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+W(e));var n;return function(e){return new RegExp(e.source,e.flags?e.flags:(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":"")+(e.dotAll?"s":""))}(e).test(t)}));var jt="\t\n\v\f\r                 \u2028\u2029\ufeff";String.prototype.trim;const xt=ge(void 0);const Mt=C(xt());const Pt=Ie(Mt);var Bt=__webpack_require__(7952);const At=C(null);const It=Ie(At);function Nt(e){return Nt="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},Nt(e)}const Tt=function(e){return"object"===Nt(e)};const Ft=v(1,Be(It,Tt));const Ct=v(1,Re(N,st("GeneratorFunction")));const Rt=v(1,Re(N,st("AsyncFunction")));const $t=_e([Re(N,st("Function")),Ct,Rt]);var qt=Re(N,st("Object")),kt=Re(W,C(W(Object))),Dt=gt(Be($t,kt),["constructor"]);const Vt=v(1,(function(e){if(!Ft(e)||!qt(e))return!1;var t=Object.getPrototypeOf(e);return!!At(t)||Dt(t)}));class Lt extends Bt.RP{constructor(e,t,n){super(e,t,n),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const Ut=Lt;class Zt extends Bt.RP{constructor(e,t,n){super(e,t,n),this.element="comment"}}const Ht=Zt;class Jt extends Bt.ON{constructor(e,t,n){super(e,t,n),this.element="parseResult"}get api(){return this.children.filter((e=>e.classes.contains("api"))).first}get results(){return this.children.filter((e=>e.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((e=>"annotation"===e.element))}get warnings(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("warning")))}get errors(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("error")))}get isEmpty(){return this.children.reject((e=>"annotation"===e.element)).isEmpty}replaceResult(e){const{result:t}=this;if(Mt(t))return!1;const n=this.content.findIndex((e=>e===t));return-1!==n&&(this.content[n]=e,!0)}}const zt=Jt;class Wt extends Bt.ON{constructor(e,t,n){super(e,t,n),this.element="sourceMap"}get positionStart(){return this.children.filter((e=>e.classes.contains("position"))).get(0)}get positionEnd(){return this.children.filter((e=>e.classes.contains("position"))).get(1)}set position(e){if(null===e)return;const t=new Bt.ON([e.start.row,e.start.column,e.start.char]),n=new Bt.ON([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),n.classes.push("position"),this.push(t).push(n)}}const Gt=Wt;class Kt extends Bt.lS{constructor(){super(),this.register("annotation",Ut),this.register("comment",Ht),this.register("parseResult",zt),this.register("sourceMap",Gt)}}const Yt=new Kt,Qt=e=>{const t=new Kt;return Vt(e)&&t.use(e),t},Xt=Yt;const en=v(1,Re(N,st("String"))),tn=__webpack_require__.p+"3055f0c5f4843ded29b10894f35a54d2.wasm",nn=globalThis.fetch;$t(nn)&&(globalThis.fetch=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return en(t[0])&&t[0].endsWith("tree-sitter.wasm")?nn.apply(globalThis,[tn,Ce(t)]):nn.apply(globalThis,t)});var sn=__webpack_require__(9794);const rn=__webpack_require__.p+"6d9fed5aefa3863691924a69721182bc.wasm";let on=null,an=null;const cn=async e=>{if(null===on&&null===an)an=sn.init().then((()=>sn.Language.load(rn))).then((e=>{const t=new sn;return t.setLanguage(e),t})).finally((()=>{an=null})),on=await an;else if(null===on&&null!==an)on=await an;else if(null===on)throw new Error("Error while initializing web-tree-sitter");return on.parse(e)};var un=__webpack_require__(229),ln=__webpack_require__(2185),pn=__webpack_require__(9982);function dn(e){return dn="function"==typeof ln&&"symbol"==typeof pn?function(e){return typeof e}:function(e){return e&&"function"==typeof ln&&e.constructor===ln&&e!==ln.prototype?"symbol":typeof e},dn(e)}var mn=__webpack_require__(8241);function hn(e){var t=function(e,t){if("object"!==dn(e)||null===e)return e;var n=e[mn];if(void 0!==n){var s=n.call(e,t||"default");if("object"!==dn(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===dn(t)?t:String(t)}function gn(e,t,n){return(t=hn(t))in e?un(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _n=__webpack_require__(6591);const fn=(e,t,n)=>{const s=e[t];if(null!=s){if(!n&&"function"==typeof s)return s;const e=n?s.leave:s.enter;if("function"==typeof e)return e}else{const s=n?e.leave:e.enter;if(null!=s){if("function"==typeof s)return s;const e=s[t];if("function"==typeof e)return e}}return null},bn={},yn=e=>null==e?void 0:e.type,vn=e=>"string"==typeof yn(e),En=function(e,t){let{keyMap:n=null,state:s={},breakSymbol:r=bn,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=fn,nodeTypeGetter:c=yn,nodePredicate:u=vn,detectCycles:l=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const p=n||{};let d,m,h=Array.isArray(e),g=[e],_=-1,f=[];const b=[],y=[];let v=e;do{_+=1;const e=_===g.length;let n,E;const S=e&&0!==f.length;if(e){if(n=0===y.length?void 0:b.pop(),E=m,m=y.pop(),S){E=h?E.slice():Object.create(Object.getPrototypeOf(E),Object.getOwnPropertyDescriptors(E));let e=0;for(let t=0;t<f.length;t+=1){let n=f[t][0];const s=f[t][1];h&&(n-=e),h&&s===i?(E.splice(n,1),e+=1):E[n]=s}}_=d.index,g=d.keys,f=d.edits,h=d.inArray,d=d.prev}else{if(n=m?h?_:g[_]:void 0,E=m?m[n]:v,E===i||void 0===E)continue;m&&b.push(n)}if(y.includes(E))continue;let w;if(!Array.isArray(E)){if(!u(E))throw new Error(`Invalid AST Node: ${JSON.stringify(E)}`);if(l&&y.includes(E)){b.pop();continue}const i=a(t,c(E),e);if(i){for(const[e,n]of Object.entries(s))t[e]=n;if(w=i.call(t,E,n,m,b,y),w===r)break;if(w===o){if(!e){b.pop();continue}}else if(void 0!==w&&(f.push([n,w]),!e)){if(!u(w)){b.pop();continue}E=w}}}void 0===w&&S&&f.push([n,E]),e||(d={inArray:h,index:_,keys:g,edits:f,prev:d},h=Array.isArray(E),g=h?E:p[c(E)]||[],_=-1,f=[],m&&y.push(m),m=E)}while(void 0!==d);return 0!==f.length&&([,v]=f[f.length-1]),v};En[Symbol.for("nodejs.util.promisify.custom")]=async function(e,t){let{keyMap:n=null,state:s={},breakSymbol:r=bn,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=fn,nodeTypeGetter:c=yn,nodePredicate:u=vn,detectCycles:l=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const p=n||{};let d,m,h=Array.isArray(e),g=[e],_=-1,f=[];const b=[],y=[];let v=e;do{_+=1;const e=_===g.length;let n,E;const S=e&&0!==f.length;if(e){if(n=0===y.length?void 0:b.pop(),E=m,m=y.pop(),S){E=h?E.slice():Object.create(Object.getPrototypeOf(E),Object.getOwnPropertyDescriptors(E));let e=0;for(let t=0;t<f.length;t+=1){let n=f[t][0];const s=f[t][1];h&&(n-=e),h&&s===i?(E.splice(n,1),e+=1):E[n]=s}}_=d.index,g=d.keys,f=d.edits,h=d.inArray,d=d.prev}else{if(n=m?h?_:g[_]:void 0,E=m?m[n]:v,E===i||void 0===E)continue;m&&b.push(n)}let w;if(!Array.isArray(E)){if(!u(E))throw new Error(`Invalid AST Node: ${JSON.stringify(E)}`);if(l&&y.includes(E)){b.pop();continue}const i=a(t,c(E),e);if(i){for(const[e,n]of Object.entries(s))t[e]=n;if(w=await i.call(t,E,n,m,b,y),w===r)break;if(w===o){if(!e){b.pop();continue}}else if(void 0!==w&&(f.push([n,w]),!e)){if(!u(w)){b.pop();continue}E=w}}}void 0===w&&S&&f.push([n,E]),e||(d={inArray:h,index:_,keys:g,edits:f,prev:d},h=Array.isArray(E),g=h?E:p[c(E)]||[],_=-1,f=[],m&&y.push(m),m=E)}while(void 0!==d);return 0!==f.length&&([,v]=f[f.length-1]),v};var Sn=__webpack_require__(5090),wn=__webpack_require__(2747),On=__webpack_require__(5483);function jn(e,t){if(null==e)return{};var n,s,r=function(e,t){if(null==e)return{};var n,s,r={},i=On(e);for(s=0;s<i.length;s++)n=i[s],wn(t).call(t,n)>=0||(r[n]=e[n]);return r}(e,t);if(Sn){var i=Sn(e);for(s=0;s<i.length;s++)n=i[s],wn(t).call(t,n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}const xn=Qe(it),Mn=(e,t)=>"function"==typeof(null==t?void 0:t[e]),Pn=e=>null!=e&&Object.prototype.hasOwnProperty.call(e,"_storedElement")&&Object.prototype.hasOwnProperty.call(e,"_content"),Bn=(e,t)=>{var n;return(null==t||null===(n=t.primitive)||void 0===n?void 0:n.call(t))===e},An=(e,t)=>{var n,s;return(null==t||null===(n=t.classes)||void 0===n||null===(s=n.includes)||void 0===s?void 0:s.call(n,e))||!1},In=(e,t)=>(null==t?void 0:t.element)===e,Nn=e=>e({hasMethod:Mn,hasBasicElementProps:Pn,primitiveEq:Bn,isElementType:In,hasClass:An}),Tn=Nn((e=>{let{hasBasicElementProps:t,primitiveEq:n}=e;return e=>e instanceof Bt.W_||t(e)&&n(void 0,e)})),Fn=Nn((e=>{let{hasBasicElementProps:t,primitiveEq:n}=e;return e=>e instanceof Bt.RP||t(e)&&n("string",e)})),Cn=Nn((e=>{let{hasBasicElementProps:t,primitiveEq:n}=e;return e=>e instanceof Bt.VL||t(e)&&n("number",e)})),Rn=Nn((e=>{let{hasBasicElementProps:t,primitiveEq:n}=e;return e=>e instanceof Bt.zr||t(e)&&n("null",e)})),$n=Nn((e=>{let{hasBasicElementProps:t,primitiveEq:n}=e;return e=>e instanceof Bt.hh||t(e)&&n("boolean",e)})),qn=Nn((e=>{let{hasBasicElementProps:t,primitiveEq:n,hasMethod:s}=e;return e=>e instanceof Bt.Sb||t(e)&&n("object",e)&&s("keys",e)&&s("values",e)&&s("items",e)})),kn=Nn((e=>{let{hasBasicElementProps:t,primitiveEq:n,hasMethod:s}=e;return e=>e instanceof Bt.ON&&!(e instanceof Bt.Sb)||t(e)&&n("array",e)&&s("push",e)&&s("unshift",e)&&s("map",e)&&s("reduce",e)})),Dn=Nn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Bt.c6||t(e)&&n("member",e)&&s(void 0,e)})),Vn=Nn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Bt.EA||t(e)&&n("link",e)&&s(void 0,e)})),Ln=Nn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Bt.tK||t(e)&&n("ref",e)&&s(void 0,e)})),Un=Nn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Ut||t(e)&&n("annotation",e)&&s("array",e)})),Zn=Nn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Ht||t(e)&&n("comment",e)&&s("string",e)})),Hn=Nn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof zt||t(e)&&n("parseResult",e)&&s("array",e)})),Jn=Nn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Gt||t(e)&&n("sourceMap",e)&&s("array",e)})),zn=e=>In("object",e)||In("array",e)||In("boolean",e)||In("number",e)||In("string",e)||In("null",e)||In("member",e),Wn=e=>{var t,n;return Jn(null==e||null===(t=e.meta)||void 0===t||null===(n=t.get)||void 0===n?void 0:n.call(t,"sourceMap"))},Gn=(e,t)=>{if(0===e.length)return!0;const n=t.attributes.get("symbols");return!!kn(n)&&f(xn(n.toValue()),e)},Kn=(e,t)=>0===e.length||f(xn(t.classes.toValue()),e),Yn=["keyMap"],Qn=["keyMap"];function Xn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function es(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xn(Object(n),!0).forEach((function(t){gn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const ts=e=>qn(e)?"ObjectElement":kn(e)?"ArrayElement":Dn(e)?"MemberElement":Fn(e)?"StringElement":$n(e)?"BooleanElement":Cn(e)?"NumberElement":Rn(e)?"NullElement":Vn(e)?"LinkElement":Ln(e)?"RefElement":void 0,ns=Re(ts,en),ss={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]},rs=(_n({props:{result:[],predicate:i,returnOnTrue:void 0,returnOnFalse:void 0},init(){let{predicate:e=this.predicate,returnOnTrue:t=this.returnOnTrue,returnOnFalse:n=this.returnOnFalse}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.result=[],this.predicate=e,this.returnOnTrue=t,this.returnOnFalse=n},methods:{enter(e){return this.predicate(e)?(this.result.push(e),this.returnOnTrue):this.returnOnFalse}}}),function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{keyMap:s=ss}=n,r=jn(n,Yn);return En(e,t,es({keyMap:s,nodeTypeGetter:ts,nodePredicate:ns},r))});rs[Symbol.for("nodejs.util.promisify.custom")]=async function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{keyMap:s=ss}=n,r=jn(n,Qn);return En[Symbol.for("nodejs.util.promisify.custom")](e,t,es({keyMap:s,nodeTypeGetter:ts,nodePredicate:ns},r))};const is=Ie($t);const os=v(1,$t(Array.isArray)?Array.isArray:Re(N,st("Array")));const as=Be(os,ct);const cs=v(3,(function(e,t,n){var s=dt(e,n),r=dt(ot(e),n);if(!is(s)&&!as(e)){var i=ce(s,r);return Ee(i,t)}}));function us(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}const ls=()=>({predicates:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?us(Object(n),!0).forEach((function(t){gn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):us(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e),namespace:Xt}),ps=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(0===t.length)return e;const s=ft(ls,"toolboxCreator",n),r=ft({},"visitorOptions",n),i=ft(ts,"nodeTypeGetter",r),o=s(),a=t.map((e=>e(o))),c=function(e){let{visitFnGetter:t=fn,nodeTypeGetter:n=yn}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const s=new Array(e.length);return{enter(r){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];for(let i=0;i<e.length;i+=1)if(null==s[i]){const a=t(e[i],n(r),!1);if("function"==typeof a){const t=a.call(e[i],r,...o);if(!1===t)s[i]=r;else if(t===bn)s[i]=bn;else if(void 0!==t)return t}}},leave(r){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];for(let i=0;i<e.length;i+=1)if(null==s[i]){const a=t(e[i],n(r),!0);if("function"==typeof a){const t=a.call(e[i],r,...o);if(t===bn)s[i]=bn;else if(void 0!==t&&!1!==t)return t}}else s[i]===r&&(s[i]=null)}}}(a.map(ft({},"visitor")),{nodeTypeGetter:i});a.forEach(cs(["pre"],[]));const u=rs(e,c,r);return a.forEach(cs(["post"],[])),u};function ds(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function ms(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ds(Object(n),!0).forEach((function(t){gn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ds(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const hs=(e,t)=>{let{Type:n,plugins:s=[]}=t;const r=new n(e);return ps(r,s,{toolboxCreator:ls,visitorOptions:{nodeTypeGetter:ts}})},gs=e=>function(t){return hs(t,ms(ms({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),{},{Type:e}))};function _s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}Bt.Sb.refract=gs(Bt.Sb),Bt.ON.refract=gs(Bt.ON),Bt.RP.refract=gs(Bt.RP),Bt.hh.refract=gs(Bt.hh),Bt.zr.refract=gs(Bt.zr),Bt.VL.refract=gs(Bt.VL),Bt.EA.refract=gs(Bt.EA),Bt.tK.refract=gs(Bt.tK),Ut.refract=gs(Ut),Ht.refract=gs(Ht),zt.refract=gs(zt),Gt.refract=gs(Gt);const fs=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_s(Object(n),!0).forEach((function(t){gn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({document:["children"],object:["children"],array:["children"],string:["children"],property:["children"],key:["children"],error:["children"]},ss),bs=e=>Hn(e)?"ParseResultElement":Tn(e)?ts(e):yn(e),ys=e=>Tn(e)||vn(e),vs=_n({props:{sourceMap:!1,annotations:[]},init(){this.annotations=[];const e=(e,t)=>{if(!this.sourceMap)return;const n=new Gt,s=(e=>{if(null===e)return null;const t=new Bt.ON([e.startPosition.row,e.startPosition.column,e.startIndex]),n=new Bt.ON([e.endPosition.row,e.endPosition.column,e.endIndex]);return t.classes.push("position"),n.classes.push("position"),[t,n]})(e);if(null!==s){const[e,t]=s;n.push(e),n.push(t)}n.astNode=e,t.meta.set("sourceMap",n)},t=(e,t)=>{var n;return`${e}Node`in t?t[`${e}Node`]:"childForFieldName"in t?null===(n=t.childForFieldName)||void 0===n?void 0:n.call(t,e):null};this.enter=function(t){if(("function"==typeof t.isNamed&&!t.isNamed()||!1===t.isNamed)&&t.isMissing()){const n=t.type||t.text,s=new Ut(`(Missing ${n})`);s.classes.push("warning"),e(t,s),this.annotations.push(s)}return null},this.document=function(t){const n=new zt;return n._content=t.children,e(t,n),n},this.ParseResultElement={leave(e){const t=e.findElements(zn);if(t.length>0){t[0].classes.push("result")}this.annotations.forEach((t=>{e.push(t)})),this.annotations=[]}},this.object=function(t){const n=new Bt.Sb;return n._content=t.children,e(t,n),n},this.array=function(t){const n=new Bt.ON;return n._content=t.children,e(t,n),n},this.pair=function(n){const s=new Bt.c6;return s.content.key=t("key",n),s.content.value=t("value",n),e(n,s),n.children.length>3&&n.children.filter((e=>"ERROR"===e.type)).forEach((e=>{this.ERROR(e,n,[],[n])})),s},this.string=function(t){const n=new Bt.RP(t.text.slice(1,-1));return e(t,n),n},this.number=function(t){const n=new Bt.VL(Number(t.text));return e(t,n),n},this.null=function(t){const n=new Bt.zr;return e(t,n),n},this.true=function(t){const n=new Bt.hh(!0);return e(t,n),n},this.false=function(t){const n=new Bt.hh(!1);return e(t,n),n},this.ERROR=function(t,n,s,r){const i=!t.hasError(),o=t.text,a=new Ut(i?`(Unexpected ${o})`:`(Error ${o})`);if(a.classes.push("error"),e(t,a),0===r.length){const e=new zt;return e.push(a),e}return this.annotations.push(a),null}}}),Es=function(e){let{sourceMap:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=vs();return En(e.rootNode,n,{keyMap:fs,nodeTypeGetter:bs,nodePredicate:ys,state:{sourceMap:t}})},Ss=_n({statics:{type:"point"},props:{type:"point",row:null,column:null,char:null},init(){let{row:e=null,column:t=null,char:n=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.row=e,this.column=t,this.char=n}}),ws=_n({statics:{type:"position"},props:{type:"position",start:null,end:null},init(){let{start:e=null,end:t=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.start=e,this.end=t}}),Os=_n({props:{type:null,position:null,children:[]},init(){let{children:e=[],position:t=null,isMissing:n=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{stamp:s={}}=arguments.length>1?arguments[1]:void 0;this.type=s.type,this.isMissing=n,this.children=e,this.position=t},methods:{clone(){const e=Object.create(Object.getPrototypeOf(this));return Object.getOwnPropertyNames(this).forEach((t=>{const n=Object.getOwnPropertyDescriptor(this,t);Object.defineProperty(e,t,n)})),e}}}),js=_n(Os,{statics:{type:"literal"},props:{value:null},init(){let{value:e=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.value=e}}),xs=_n(Os),Ms=_n(xs,{statics:{type:"document"},methods:{get child(){return tt(this.children)}}}),Ps=_n(Os,{statics:{type:"parseResult"},methods:{get rootNode(){return tt(this.children)}}}),Bs=(e,t)=>(null==t?void 0:t.type)===e,As=(Bs.bind(void 0,"literal"),Bs.bind(void 0,"position"),Bs.bind(void 0,"point"),Bs.bind(void 0,"parseResult"),Bs.bind(void 0,"document"),Bs.bind(void 0,"string")),Is=Bs.bind(void 0,"false"),Ns=Bs.bind(void 0,"true"),Ts=Bs.bind(void 0,"null"),Fs=Bs.bind(void 0,"number"),Cs=Bs.bind(void 0,"array"),Rs=Bs.bind(void 0,"object"),$s=Bs.bind(void 0,"stringContent"),qs=Bs.bind(void 0,"escapeSequence"),ks=Bs.bind(void 0,"property"),Ds=Bs.bind(void 0,"key"),Vs=_n(xs,{statics:{type:"object"},methods:{get properties(){return this.children.filter(ks)}}}),Ls=_n(xs,{statics:{type:"string"},methods:{get value(){return 1===this.children.length?this.children[0].value:this.children.filter((e=>$s(e)||qs(e))).reduce(((e,t)=>e+t.value),"")}}}),Us=_n(Ls,{statics:{type:"key"}}),Zs=_n(xs,{statics:{type:"property"},methods:{get key(){return this.children.find(Ds)},get value(){return this.children.find((e=>Is(e)||Ns(e)||Ts(e)||Fs(e)||As(e)||Cs(e)||Rs(e)))}}}),Hs=_n(xs,{statics:{type:"array"},methods:{get items(){return this.children.filter((e=>Is(e)||Ns(e)||Ts(e)||Fs(e)||As(e)||Cs(e)||Rs))}}}),Js=_n(xs,{statics:{type:"value"},props:{value:null},init(){let{value:e=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.value=e}}),zs=_n(Js,{statics:{type:"stringContent"}}),Ws=_n(Js,{statics:{type:"number"}}),Gs=_n(Js,{statics:{type:"null"}}),Ks=_n(Js,{statics:{type:"true"}}),Ys=_n(Js,{statics:{type:"false"}}),Qs=_n(Os,{statics:{type:"error"},props:{value:null,isUnexpected:!1},init(){let{value:e=null,isUnexpected:t=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.value=e,this.isUnexpected=t}}),Xs={document:["children"],object:["children"],array:["children"],string:["children"],property:["children"],key:["children"],error:["children"]},er=_n({init(){const e=e=>{if(null===e)return null;const t=Ss({row:e.startPosition.row,column:e.startPosition.column,char:e.startIndex}),n=Ss({row:e.endPosition.row,column:e.endPosition.column,char:e.endIndex});return ws({start:t,end:n})};this.enter=function(t){if("function"==typeof t.isNamed&&!t.isNamed()||!1===t.isNamed){const n=e(t),s=t.type||t.text,r=t.isMissing();return js({value:s,position:n,isMissing:r})}},this.document={enter(t){const n=e(t);return Ms({children:t.children,position:n,isMissing:t.isMissing()})},leave:e=>Ps({children:[e]})},this.object=function(t){const n=e(t);return Vs({children:t.children,position:n,isMissing:t.isMissing()})},this.pair=function(t){const n=e(t),s=t.children.slice(1),r=((e,t)=>{var n;return`${e}Node`in t?t[`${e}Node`]:"childForFieldName"in t?null===(n=t.childForFieldName)||void 0===n?void 0:n.call(t,e):null})("key",t),i=Us({children:(null==r?void 0:r.children)||[],position:e(r),isMissing:(null==r?void 0:r.isMissing())||!1});return Zs({children:[i,...s],position:n,isMissing:t.isMissing()})},this.array=function(t){const n=e(t);return Hs({children:t.children,position:n,isMissing:t.isMissing()})},this.string=function(t){const n=e(t),s=zs({value:t.text.slice(1,-1)});return Ls({children:[s],position:n,isMissing:t.isMissing()})},this.number=function(t){const n=e(t),s=t.text;return Ws({value:s,position:n,isMissing:t.isMissing()})},this.null=function(t){const n=e(t),s=t.text;return Gs({value:s,position:n,isMissing:t.isMissing()})},this.true=function(t){const n=e(t),s=t.text;return Ks({value:s,position:n,isMissing:t.isMissing()})},this.false=function(t){const n=e(t),s=t.text;return Ys({value:s,position:n,isMissing:t.isMissing()})},this.ERROR=function(t,n,s,r){const i=e(t),o=Qs({children:t.children,position:i,isUnexpected:!t.hasError(),isMissing:t.isMissing(),value:t.text});return 0===r.length?Ps({children:[o]}):o}}});function tr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}const nr=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tr(Object(n),!0).forEach((function(t){gn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({[Ps.type]:["children"],[Ms.type]:["children"],[Vs.type]:["children"],[Zs.type]:["children"],[Hs.type]:["children"],[Qs.type]:["children"]},ss),sr=e=>Hn(e)?"ParseResultElement":Tn(e)?ts(e):yn(e),rr=e=>Tn(e)||vn(e),ir=_n({props:{sourceMap:!1,annotations:[]},init(){this.annotation=[];const e=(e,t)=>{if(!this.sourceMap)return;const n=new Gt;n.position=e.position,n.astNode=e,t.meta.set("sourceMap",n)};this.document=function(e){const t=new zt;return t._content=e.children,t},this.ParseResultElement={leave(e){const t=e.findElements(zn);if(t.length>0){t[0].classes.push("result")}this.annotations.forEach((t=>{e.push(t)})),this.annotations=[]}},this.object=function(t){const n=new Bt.Sb;return n._content=t.children,e(t,n),n},this.property=function(t){const n=new Bt.c6;return n.content.key=t.key,n.content.value=t.value,e(t,n),t.children.length>3&&t.children.filter((e=>"error"===e.type)).forEach((e=>{this.error(e,t,[],[t])})),n},this.key=function(t){const n=new Bt.RP(t.value);return e(t,n),n},this.array=function(t){const n=new Bt.ON;return n._content=t.children,e(t,n),n},this.string=function(t){const n=new Bt.RP(t.value);return e(t,n),n},this.number=function(t){const n=new Bt.VL(Number(t.value));return e(t,n),n},this.null=function(t){const n=new Bt.zr;return e(t,n),n},this.true=function(t){const n=new Bt.hh(!0);return e(t,n),n},this.false=function(t){const n=new Bt.hh(!1);return e(t,n),n},this.literal=function(t){if(t.isMissing){const n=`(Missing ${t.value})`,s=new Ut(n);s.classes.push("warning"),e(t,s),this.annotations.push(s)}return null},this.error=function(t,n,s,r){const i=t.isUnexpected?`(Unexpected ${t.value})`:`(Error ${t.value})`,o=new Ut(i);if(o.classes.push("error"),e(t,o),0===r.length){const e=new zt;return e.push(o),e}return this.annotations.push(o),null}}}),or=ir,ar=function(e){let{sourceMap:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=er(),s=or(),r=En(e.rootNode,n,{keyMap:Xs,state:{sourceMap:t}});return En(r.rootNode,s,{keyMap:nr,nodeTypeGetter:sr,nodePredicate:rr,state:{sourceMap:t}})},cr=(Qt(),/(?<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 ur=$e((function(e,t){return Re(St(""),ze(xn(e)),ut(""))(t)})),lr=(e,t)=>{const n=qe(e,t);return mt((e=>{if(Vt(e)&&et("$ref",e)&&bt(en,"$ref",e)){const t=dt(["$ref"],e),s=ur("#/",t);return dt(s.split("/"),n)}return Vt(e)?lr(e,n):e}),e)},pr=_n({props:{element:null},methods:{copyMetaAndAttributes(e,t){Wn(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),dr=_n(pr,{methods:{enter(e){return this.element=e.clone(),bn}}});const mr=ge(xt());function hr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}const gr=e=>{if(Tn(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},_r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hr(Object(n),!0).forEach((function(t){gn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"]},ss);function fr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function br(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fr(Object(n),!0).forEach((function(t){gn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const yr=_n(pr,{props:{specObj:null,passingOptionsNames:["specObj"]},init(e){let{specObj:t=this.specObj}=e;this.specObj=t},methods:{retrievePassingOptions(){return _t(this.passingOptionsNames,this)},retrieveFixedFields(e){return Re(dt(["visitors",...e,"fixedFields"]),I)(this.specObj)},retrieveVisitor(e){return gt($t,["visitors",...e],this.specObj)?dt(["visitors",...e],this.specObj):dt(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.retrievePassingOptions();return this.retrieveVisitor(e)(br(br({},n),t))},toRefractedElement(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const s=this.retrieveVisitorInstance(e,n),r=Object.getPrototypeOf(s);return Mt(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===r?t.clone():(rs(t,s,br({keyMap:_r,nodeTypeGetter:gr},n)),s.element)}}}),vr=_n(yr,{props:{specPath:mr,ignoredFields:[]},init(){let{specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){const t=this.specPath(e),n=this.retrieveFixedFields(t);return e.forEach(((e,s,r)=>{if(Fn(s)&&n.includes(s.toValue())&&!this.ignoredFields.includes(s.toValue())){const n=this.toRefractedElement([...t,"fixedFields",s.toValue()],e),i=new Bt.c6(s.clone(),n);this.copyMetaAndAttributes(r,i),i.classes.push("fixed-field"),this.element.content.push(i)}else this.ignoredFields.includes(s.toValue())||this.element.content.push(r.clone())})),this.copyMetaAndAttributes(e,this.element),bn}}});class Er extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="JSONSchemaDraft4"}get idProp(){return this.get("id")}set idProp(e){this.set("id",e)}get $schema(){return this.get("$schema")}set $schema(e){this.set("idProp",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=Er,wr=_n(vr,dr,{props:{specPath:ge(["document","objects","JSONSchema"])},init(){this.element=new Sr}}),Or=dr,jr=dr,xr=dr,Mr=dr,Pr=dr,Br=dr,Ar=dr,Ir=dr,Nr=dr,Tr=dr,Fr=_n({props:{parent:null},init(e){let{parent:t=this.parent}=e;this.parent=t,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),Cr=e=>qn(e)&&e.hasKey("$ref"),Rr=_n(yr,Fr,dr,{methods:{ObjectElement(e){const t=Cr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),bn},ArrayElement(e){return this.element=new Bt.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=Cr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),bn}}}),$r=dr,qr=dr,kr=dr,Dr=dr,Vr=dr,Lr=_n(dr,{methods:{ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-required"),bn}}});const Ur=Ie(v(1,Be(It,Ge(Tt,$t))));const Zr=Ie(ct);const Hr=he([en,Ur,Zr]),Jr=_n(yr,{props:{fieldPatternPredicate:i,specPath:mr,ignoredFields:[]},init(){let{specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){return e.forEach(((e,t,n)=>{if(!this.ignoredFields.includes(t.toValue())&&this.fieldPatternPredicate(t.toValue())){const s=this.specPath(e),r=this.toRefractedElement(s,e),i=new Bt.c6(t.clone(),r);this.copyMetaAndAttributes(n,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(t.toValue())||this.element.content.push(n.clone())})),this.copyMetaAndAttributes(e,this.element),bn}}}),zr=_n(Jr,{props:{fieldPatternPredicate:Hr}}),Wr=_n(zr,Fr,dr,{props:{specPath:e=>Cr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new Bt.Sb,this.element.classes.push("json-schema-properties")}}),Gr=_n(zr,Fr,dr,{props:{specPath:e=>Cr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new Bt.Sb,this.element.classes.push("json-schema-patternProperties")}}),Kr=_n(zr,Fr,dr,{props:{specPath:e=>Cr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new Bt.Sb,this.element.classes.push("json-schema-dependencies")}}),Yr=_n(dr,{methods:{ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-enum"),bn}}}),Qr=_n(dr,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-type"),bn},ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-type"),bn}}}),Xr=_n(yr,Fr,dr,{init(){this.element=new Bt.ON,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Cr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),bn}}}),ei=_n(yr,Fr,dr,{init(){this.element=new Bt.ON,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Cr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),bn}}}),ti=_n(yr,Fr,dr,{init(){this.element=new Bt.ON,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Cr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),bn}}}),ni=_n(zr,Fr,dr,{props:{specPath:e=>Cr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new Bt.Sb,this.element.classes.push("json-schema-definitions")}}),si=dr,ri=dr,ii=dr,oi=dr,ai=dr,ci=_n(yr,Fr,dr,{init(){this.element=new Bt.ON,this.element.classes.push("json-schema-links")},methods:{ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","LinkDescription"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),bn}}}),ui=dr;class li extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const pi=li,di=_n(vr,dr,{props:{specPath:ge(["document","objects","JSONReference"])},init(){this.element=new pi},methods:{ObjectElement(e){const t=vr.compose.methods.ObjectElement.call(this,e);return Fn(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),mi=_n(dr,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),bn}}});const hi=Ie(Se);const gi=Be(os,Zr);function _i(e){return function(e){if(Array.isArray(e))return fi(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 fi(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return fi(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 fi(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,s=new Array(t);n<t;n++)s[n]=e[n];return s}var bi=Re(Et(Ae((function(e,t){return e.length>t.length}))),tt,te("length")),yi=$e((function(e,t,n){var s=n.apply(void 0,_i(e));return hi(s)?yt(s):t}));const vi=rt(gi,(function(e){var t=bi(e);return v(t,(function(){for(var t=arguments.length,n=new Array(t),s=0;s<t;s++)n[s]=arguments[s];return me(yi(n),void 0,e)}))}),xt),Ei=_n(yr,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((e=>{let{predicate:t,specPath:n}=e;return rt(t,ge(n),xt)})),n=vi(t)(e);return this.element=this.toRefractedElement(n,e),bn}}}),Si=_n(Ei,{props:{alternator:[{predicate:Cr,specPath:["document","objects","JSONReference"]},{predicate:o,specPath:["document","objects","JSONSchema"]}]}});class wi extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="media"}get binaryEncoding(){return this.get("binaryEncoding")}set binaryEncoding(e){this.set("binaryEncoding",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}}const Oi=wi,ji=_n(vr,dr,{props:{specPath:ge(["document","objects","Media"])},init(){this.element=new Oi}}),xi=dr,Mi=dr;class Pi extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="linkDescription"}get href(){return this.get("href")}set href(e){this.set("href",e)}get rel(){return this.get("rel")}set rel(e){this.set("rel",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){return this.get("mediaType")}set mediaType(e){this.set("mediaType",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get encType(){return this.get("encType")}set encType(e){this.set("encType",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}}const Bi=Pi,Ai={visitors:{value:dr,JSONSchemaOrJSONReferenceVisitor:Si,document:{objects:{JSONSchema:{$visitor:wr,fixedFields:{id:Or,$schema:jr,multipleOf:xr,maximum:Mr,exclusiveMaximum:Pr,minimum:Br,exclusiveMinimum:Ar,maxLength:Ir,minLength:Nr,pattern:Tr,additionalItems:Si,items:Rr,maxItems:$r,minItems:qr,uniqueItems:kr,maxProperties:Dr,minProperties:Vr,required:Lr,properties:Wr,additionalProperties:Si,patternProperties:Gr,dependencies:Kr,enum:Yr,type:Qr,allOf:Xr,anyOf:ei,oneOf:ti,not:Si,definitions:ni,title:si,description:ri,default:ii,format:oi,base:ai,links:ci,media:{$ref:"#/visitors/document/objects/Media"},readOnly:ui}},JSONReference:{$visitor:di,fixedFields:{$ref:mi}},Media:{$visitor:ji,fixedFields:{binaryEncoding:xi,type:Mi}},LinkDescription:{$visitor:_n(vr,dr,{props:{specPath:ge(["document","objects","LinkDescription"])},init(){this.element=new Bi}}),fixedFields:{href:dr,rel:dr,title:dr,targetSchema:Si,mediaType:dr,method:dr,encType:dr,schema:Si}}}}}},Ii=Nn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Sr||t(e)&&n("JSONSchemaDraft4",e)&&s("object",e)})),Ni=Nn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof pi||t(e)&&n("JSONReference",e)&&s("object",e)})),Ti=Nn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Oi||t(e)&&n("media",e)&&s("object",e)})),Fi=Nn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Bi||t(e)&&n("linkDescription",e)&&s("object",e)})),Ci={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",Sr),t.register("jSONReference",pi),t.register("media",Oi),t.register("linkDescription",Bi),t}};function Ri(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function $i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ri(Object(n),!0).forEach((function(t){gn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ri(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const qi=()=>{const e=Qt(Ci);return{predicates:$i($i({},t),{},{isStringElement:Fn}),namespace:e}};function ki(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}const Di=function(e){let{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:s=Ai}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=(0,Bt.Qc)(e),i=lr(s),o=cs(t,[],i);return rs(r,o,{state:{specObj:i}}),ps(o.element,n,{toolboxCreator:qi,visitorOptions:{keyMap:_r,nodeTypeGetter:gr}})},Vi=e=>function(t){return Di(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ki(Object(n),!0).forEach((function(t){gn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ki(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({specPath:e},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))};Sr.refract=Vi(["visitors","document","objects","JSONSchema","$visitor"]),pi.refract=Vi(["visitors","document","objects","JSONReference","$visitor"]),Oi.refract=Vi(["visitors","document","objects","Media","$visitor"]),Bi.refract=Vi(["visitors","document","objects","LinkDescription","$visitor"]);const Li=class extends Sr{constructor(e,t,n){super(e,t,n),this.element="JSONSchemaDraft6"}get idProp(){throw new Error("id keyword from Core vocabulary has been renamed to $id.")}set idProp(e){throw new Error("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)}},Ui=_n(vr,dr,{props:{specPath:ge(["document","objects","JSONSchema"])},methods:{ObjectElement(e){return this.element=new Li,vr.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=e.clone(),this.element.classes.push("boolean-json-schema"),bn}}}),Zi=dr,Hi=_n(yr,Fr,dr,{methods:{ObjectElement(e){const t=Cr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),bn},ArrayElement(e){return this.element=new Bt.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=Cr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),bn},BooleanElement(e){return this.element=this.toRefractedElement(["document","objects","JSONSchema"],e),bn}}}),Ji=dr,zi=_n(dr,{methods:{ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-examples"),bn}}});const Wi=class extends Bi{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 Error("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}set schema(e){throw new Error("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 Error("method keyword from Hyper-Schema vocabulary has been removed.")}set method(e){throw new Error("method keyword from Hyper-Schema vocabulary has been removed.")}get encType(){throw new Error("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}set encType(e){throw new Error("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}get submissionEncType(){return this.get("submissionEncType")}set submissionEncType(e){this.set("submissionEncType",e)}},Gi=_n(vr,dr,{props:{specPath:ge(["document","objects","LinkDescription"])},init(){this.element=new Wi}}),Ki=dr,Yi=Re(we(["visitors","document","objects","JSONSchema","$visitor"],Ui),Ve(["visitors","document","objects","JSONSchema","fixedFields","id"]),we(["visitors","document","objects","JSONSchema","fixedFields","$id"],Zi),we(["visitors","document","objects","JSONSchema","fixedFields","contains"],Ai.visitors.JSONSchemaOrJSONReferenceVisitor),we(["visitors","document","objects","JSONSchema","fixedFields","items"],Hi),we(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],Ai.visitors.JSONSchemaOrJSONReferenceVisitor),we(["visitors","document","objects","JSONSchema","fixedFields","const"],Ji),we(["visitors","document","objects","JSONSchema","fixedFields","examples"],zi),we(["visitors","document","objects","LinkDescription","$visitor"],Gi),we(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],Ai.visitors.JSONSchemaOrJSONReferenceVisitor),Ve(["visitors","document","objects","LinkDescription","fixedFields","schema"]),we(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],Ai.visitors.JSONSchemaOrJSONReferenceVisitor),Ve(["visitors","document","objects","LinkDescription","fixedFields","method"]),Ve(["visitors","document","objects","LinkDescription","fixedFields","encType"]),we(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"],Ki))(Ai);function Qi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}const Xi=e=>{if(Tn(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},eo=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qi(Object(n),!0).forEach((function(t){gn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({JSONSchemaDraft6Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"]},ss),to=Nn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Li||t(e)&&n("JSONSchemaDraft6",e)&&s("object",e)})),no=Nn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Wi||t(e)&&n("linkDescription",e)&&s("object",e)})),so={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft6",Li),t.register("jSONReference",pi),t.register("media",Oi),t.register("linkDescription",Wi),t}};function ro(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function io(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ro(Object(n),!0).forEach((function(t){gn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ro(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const oo=()=>{const e=Qt(so);return{predicates:io(io({},n),{},{isStringElement:Fn}),namespace:e}};function ao(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}const co=function(e){let{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:s=Yi}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=(0,Bt.Qc)(e),i=lr(s),o=cs(t,[],i);return rs(r,o,{state:{specObj:i}}),ps(o.element,n,{toolboxCreator:oo,visitorOptions:{keyMap:eo,nodeTypeGetter:Xi}})},uo=e=>function(t){return co(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ao(Object(n),!0).forEach((function(t){gn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ao(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({specPath:e},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))};Li.refract=uo(["visitors","document","objects","JSONSchema","$visitor"]),Wi.refract=uo(["visitors","document","objects","LinkDescription","$visitor"]);const lo=class extends Li{constructor(e,t,n){super(e,t,n),this.element="JSONSchemaDraft7"}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",e)}get if(){return this.get("if")}set if(e){this.set("if",e)}get then(){return this.get("then")}set then(e){this.set("then",e)}get else(){return this.get("else")}set else(e){this.set("else",e)}get contentEncoding(){return this.get("contentEncoding")}set contentEncoding(e){this.set("contentEncoding",e)}get contentMediaType(){return this.get("contentMediaType")}set contentMediaType(e){this.set("contentMediaType",e)}get media(){throw new Error('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}set media(e){throw new Error('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)}},po=_n(vr,dr,{props:{specPath:ge(["document","objects","JSONSchema"])},methods:{ObjectElement(e){return this.element=new lo,vr.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=e.clone(),this.element.classes.push("boolean-json-schema"),bn}}}),mo=dr,ho=dr,go=dr,_o=dr;const fo=class extends Wi{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 Error("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}set mediaType(e){throw new Error("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 Error("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}set submissionEncType(e){throw new Error("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}get submissionMediaType(){return this.get("submissionMediaType")}set submissionMediaType(e){this.set("submissionMediaType",e)}},bo=_n(vr,dr,{props:{specPath:ge(["document","objects","LinkDescription"])},init(){this.element=new fo}}),yo=dr,vo=dr,Eo=dr,So=dr,wo=dr,Oo=dr,jo=dr,xo=Re(we(["visitors","document","objects","JSONSchema","$visitor"],po),we(["visitors","document","objects","JSONSchema","fixedFields","$comment"],mo),we(["visitors","document","objects","JSONSchema","fixedFields","if"],Yi.visitors.JSONSchemaOrJSONReferenceVisitor),we(["visitors","document","objects","JSONSchema","fixedFields","then"],Yi.visitors.JSONSchemaOrJSONReferenceVisitor),we(["visitors","document","objects","JSONSchema","fixedFields","else"],Yi.visitors.JSONSchemaOrJSONReferenceVisitor),Ve(["visitors","document","objects","JSONSchema","fixedFields","media"]),we(["visitors","document","objects","JSONSchema","fixedFields","contentEncoding"],ho),we(["visitors","document","objects","JSONSchema","fixedFields","contentMediaType"],go),we(["visitors","document","objects","JSONSchema","fixedFields","writeOnly"],_o),we(["visitors","document","objects","LinkDescription","$visitor"],bo),we(["visitors","document","objects","LinkDescription","fixedFields","anchor"],yo),we(["visitors","document","objects","LinkDescription","fixedFields","anchorPointer"],vo),Ve(["visitors","document","objects","LinkDescription","fixedFields","mediaType"]),we(["visitors","document","objects","LinkDescription","fixedFields","targetMediaType"],Eo),we(["visitors","document","objects","LinkDescription","fixedFields","targetHints"],So),we(["visitors","document","objects","LinkDescription","fixedFields","description"],wo),we(["visitors","document","objects","LinkDescription","fixedFields","$comment"],Oo),Ve(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"]),we(["visitors","document","objects","LinkDescription","fixedFields","submissionMediaType"],jo))(Yi),Mo=_n({props:{element:null},methods:{copyMetaAndAttributes(e,t){Wn(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),Po=_n(Mo,{methods:{enter(e){return this.element=e.clone(),bn}}});function Bo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}const Ao=e=>{if(Tn(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Io=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bo(Object(n),!0).forEach((function(t){gn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({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"]},ss);function No(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function To(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?No(Object(n),!0).forEach((function(t){gn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):No(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Fo=_n(Mo,{props:{specObj:null},init(e){let{specObj:t=this.specObj}=e;this.specObj=t},methods:{retrievePassingOptions(){return _t(["namespace","specObj"],this)},retrieveFixedFields(e){return Re(dt(["visitors",...e,"fixedFields"]),I)(this.specObj)},retrieveVisitor(e){return gt($t,["visitors",...e],this.specObj)?dt(["visitors",...e],this.specObj):dt(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.retrievePassingOptions();return this.retrieveVisitor(e)(To(To({},n),t))},toRefractedElement(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const s=this.retrieveVisitorInstance(e,n),r=Object.getPrototypeOf(s);return Mt(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===r?t.clone():(rs(t,s,To(To({keyMap:Io},n),{},{nodeTypeGetter:Ao})),s.element)}}}),Co=_n(Fo,{methods:{MemberElement(e){return this.element=e.clone(),this.element.classes.push("specification-extension"),bn}}}),Ro=e=>qn(e)&&e.hasKey("$ref"),$o=e=>qn(e),qo=e=>Fn(e.key)&&wt("x-",e.key.toValue()),ko=_n(Fo,{props:{specPath:mr,ignoredFields:[],canSupportSpecificationExtensions:!0,specificationExtensionPredicate:qo},init(){let{specPath:e=this.specPath,ignoredFields:t=this.ignoredFields,canSupportSpecificationExtensions:n=this.canSupportSpecificationExtensions,specificationExtensionPredicate:s=this.specificationExtensionPredicate}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.specPath=e,this.ignoredFields=t,this.canSupportSpecificationExtensions=n,this.specificationExtensionPredicate=s},methods:{ObjectElement(e){const t=this.specPath(e),n=this.retrieveFixedFields(t);return e.forEach(((e,s,r)=>{if(Fn(s)&&n.includes(s.toValue())&&!this.ignoredFields.includes(s.toValue())){const n=this.toRefractedElement([...t,"fixedFields",s.toValue()],e),i=new Bt.c6(s.clone(),n);i.classes.push("fixed-field"),this.copyMetaAndAttributes(r,i),this.element.content.push(i)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(r)){const e=this.toRefractedElement(["document","extension"],r);this.element.content.push(e)}else this.ignoredFields.includes(s.toValue())||this.element.content.push(r.clone())})),this.copyMetaAndAttributes(e,this.element),bn}}});class Do extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="asyncApi2",this.classes.push("api")}get asyncapi(){return this.get("asyncapi")}set asyncapi(e){this.set("asyncapi",e)}get idProp(){return this.get("id")}set idProp(e){this.set("id",e)}get info(){return this.get("info")}set info(e){this.set("info",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get defaultContentType(){return this.get("defaultContentType")}set defaultContentType(e){this.set("defaultContentType",e)}get channels(){return this.get("channels")}set channels(e){this.set("channels",e)}get components(){return this.get("components")}set components(e){this.set("components",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}}const Vo=Do,Lo=_n(ko,Po,{props:{specPath:ge(["document","objects","AsyncApi"]),canSupportSpecificationExtensions:!0},init(){this.element=new Vo}});class Uo extends Bt.RP{constructor(e,t,n){super(e,t,n),this.element="asyncApiVersion",this.classes.push("spec-version"),this.classes.push("version")}}const Zo=Uo,Ho=_n(Fo,Po,{methods:{StringElement(e){const t=new Zo(e.toValue());return this.copyMetaAndAttributes(e,t),this.element=t,bn}}});class Jo extends Bt.RP{constructor(e,t,n){super(e,t,n),this.element="identifier"}}const zo=Jo,Wo=_n(Fo,Po,{methods:{StringElement(e){const t=new zo(e.toValue());return this.copyMetaAndAttributes(e,t),this.element=t,bn}}});class Go extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="info",this.classes.push("info")}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get termsOfService(){return this.get("termsOfService")}set termsOfService(e){this.set("termsOfService",e)}get version(){return this.get("version")}set version(e){this.set("version",e)}get license(){return this.get("license")}set license(e){this.set("license",e)}get contact(){return this.get("contact")}set contact(e){this.set("contact",e)}}const Ko=Go,Yo=_n(ko,Po,{props:{specPath:ge(["document","objects","Info"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ko}}),Qo=Po,Xo=Po,ea=Po,ta=_n(Po,{methods:{StringElement(e){return this.element=new Bt.RP(e.toValue()),this.copyMetaAndAttributes(e,this.element),this.element.classes.push("api-version"),this.element.classes.push("version"),bn}}});class na extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="contact"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}get email(){return this.get("email")}set email(e){this.set("email",e)}}const sa=na,ra=_n(ko,Po,{props:{specPath:ge(["document","objects","Contact"]),canSupportSpecificationExtensions:!0},init(){this.element=new sa}}),ia=Po,oa=Po,aa=Po;class ca extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="correlationID"}get description(){return this.get("description")}set description(e){this.set("description",e)}get location(){return this.get("location")}set location(e){this.set("location",e)}}const ua=ca,la=_n(ko,Po,{props:{specPath:ge(["document","objects","CorrelationID"]),canSupportSpecificationExtensions:!0},init(){this.element=new ua}}),pa=Po,da=Po;class ma extends Bt.RP{constructor(e,t,n){super(e,t,n),this.element="defaultContentType"}}const ha=ma,ga=_n(Fo,Po,{methods:{StringElement(e){const t=new ha(e.toValue());return this.copyMetaAndAttributes(e,t),this.element=t,bn}}});class _a extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="license"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}}const fa=_a,ba=_n(ko,Po,{props:{specPath:ge(["document","objects","License"]),canSupportSpecificationExtensions:!0},init(){this.element=new fa}}),ya=Po,va=Po;class Ea extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="oAuthFlows"}get implicit(){return this.get("implicit")}set implicit(e){this.set("implicit",e)}get password(){return this.get("password")}set password(e){this.set("password",e)}get clientCredentials(){return this.get("clientCredentials")}set clientCredentials(e){this.set("clientCredentials",e)}get authorizationCode(){return this.get("authorizationCode")}set authorizationCode(e){this.set("authorizationCode",e)}}const Sa=Ea,wa=_n(ko,Po,{props:{specPath:ge(["document","objects","OAuthFlows"]),canSupportSpecificationExtensions:!0},init(){this.element=new Sa}});class Oa extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="oAuthFlow"}get authorizationUrl(){return this.get("authorizationUrl")}set authorizationUrl(e){this.set("authorizationUrl",e)}get tokenUrl(){return this.get("tokenUrl")}set tokenUrl(e){this.set("tokenUrl",e)}get refreshUrl(){return this.get("refreshUrl")}set refreshUrl(e){this.set("refreshUrl",e)}get scopes(){return this.get("scopes")}set scopes(e){this.set("scopes",e)}}const ja=Oa,xa=_n(ko,Po,{props:{specPath:ge(["document","objects","OAuthFlow"]),canSupportSpecificationExtensions:!0},init(){this.element=new ja}}),Ma=Po,Pa=Po,Ba=Po;class Aa extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(Aa.primaryClass)}}gn(Aa,"primaryClass","oauth-flow-scopes");const Ia=Aa,Na=_n(Fo,{props:{fieldPatternPredicate:i,specPath:mr,ignoredFields:[],canSupportSpecificationExtensions:!1,specificationExtensionPredicate:qo},init(){let{specPath:e=this.specPath,ignoredFields:t=this.ignoredFields,canSupportSpecificationExtensions:n=this.canSupportSpecificationExtensions,specificationExtensionPredicate:s=this.specificationExtensionPredicate}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.specPath=e,this.ignoredFields=t,this.canSupportSpecificationExtensions=n,this.specificationExtensionPredicate=s},methods:{ObjectElement(e){return e.forEach(((e,t,n)=>{if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(n)){const e=this.toRefractedElement(["document","extension"],n);this.element.content.push(e)}else if(!this.ignoredFields.includes(t.toValue())&&this.fieldPatternPredicate(t.toValue())){const s=this.specPath(e),r=this.toRefractedElement(s,e),i=new Bt.c6(t.clone(),r);this.copyMetaAndAttributes(n,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(t.toValue())||this.element.content.push(n.clone())})),this.copyMetaAndAttributes(e,this.element),bn}}}),Ta=_n(Na,{props:{fieldPatternPredicate:Hr}}),Fa=_n(Ta,Po,{props:{specPath:ge(["value"])},init(){this.element=new Ia}});class Ca extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="servers"}}const Ra=Ca;class $a extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="channelBindings"}get http(){return this.get("http")}set http(e){this.set("http",e)}get ws(){return this.get("ws")}set ws(e){this.set("ws",e)}get kafka(){return this.get("kafka")}set kafka(e){this.set("kafka",e)}get anypointmq(){return this.get("anypointmq")}set anypointmq(e){this.set("anypointmq",e)}get amqp(){return this.get("amqp")}set amqp(e){this.set("amqp",e)}get amqp1(){return this.get("amqp1")}set amqp1(e){this.set("amqp1",e)}get mqtt(){return this.get("mqtt")}set mqtt(e){this.set("mqtt",e)}get mqtt5(){return this.get("mqtt5")}set mqtt5(e){this.set("mqtt5",e)}get nats(){return this.get("nats")}set nats(e){this.set("nats",e)}get jms(){return this.get("jms")}set jms(e){this.set("jms",e)}get sns(){return this.get("sns")}set sns(e){this.set("sns",e)}get solace(){return this.get("solace")}set solace(e){this.set("solace",e)}get sqs(){return this.get("sqs")}set sqs(e){this.set("sqs",e)}get stomp(){return this.get("stomp")}set stomp(e){this.set("stomp",e)}get redis(){return this.get("redis")}set redis(e){this.set("redis",e)}get mercure(){return this.get("mercure")}set mercure(e){this.set("mercure",e)}get googlepubsub(){return this.get("googlepubsub")}set googlepubsub(e){this.set("googlepubsub",e)}get ibmmq(){return this.get("ibmmq")}set ibmmq(e){this.set("ibmmq",e)}}const qa=$a;class ka extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="channelItem"}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get subscribe(){return this.get("subscribe")}set subscribe(e){this.set("subscribe",e)}get publish(){return this.get("publish")}set publish(e){this.set("publish",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}}const Da=ka;class Va extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="channels"}}const La=Va;class Ua extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="components"}get schemas(){return this.get("schemas")}set schemas(e){this.set("schemas",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get serverVariables(){return this.get("serverVariables")}set serverVariables(e){this.set("serverVariables",e)}get messages(){return this.get("messages")}set messages(e){this.set("messages",e)}get securitySchemes(){return this.get("securitySchemes")}set securitySchemes(e){this.set("securitySchemes",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get correlationIds(){return this.get("correlationIds")}set correlationIds(e){this.set("correlationIds",e)}get operationTraits(){return this.get("operationTraits")}set operationTraits(e){this.set("operationTraits",e)}get messageTraits(){return this.get("messageTraits")}set messageTraits(e){this.set("messageTraits",e)}get serverBindings(){return this.get("serverBindings")}set serverBindings(e){this.set("serverBindings",e)}get channelBindings(){return this.get("channelBindings")}set channelBindings(e){this.set("channelBindings",e)}get operationBindings(){return this.get("operationBindings")}set operationBindings(e){this.set("operationBindings",e)}get messageBindings(){return this.get("messageBindings")}set messageBindings(e){this.set("messageBindings",e)}}const Za=Ua;class Ha extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="operation"}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}get traits(){return this.get("traits")}set traits(e){this.set("traits",e)}get message(){return this.get("message")}set message(e){this.set("message",e)}}const Ja=Ha;class za extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="parameter"}get description(){return this.get("description")}set description(e){this.set("description",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get location(){return this.get("location")}set location(e){this.set("location",e)}}const Wa=za;class Ga extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="parameters"}}const Ka=Ga;class Ya extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="reference",this.classes.push("json-reference"),this.classes.push("asyncapi-reference")}set $ref(e){this.set("$ref",e)}get $ref(){return this.get("$ref")}}const Qa=Ya;function Xa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}const ec=e=>{if(Tn(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},tc=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xa(Object(n),!0).forEach((function(t){gn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xa(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({JSONSchemaDraft7Element:["content"],JSONReferenceElement:["content"],LinkDescriptionElement:["content"]},ss),nc=Nn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof lo||t(e)&&n("JSONSchemaDraft7",e)&&s("object",e)})),sc=Nn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof fo||t(e)&&n("linkDescription",e)&&s("object",e)})),rc={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft7",lo),t.register("jSONReference",pi),t.register("linkDescription",fo),t}};function ic(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function oc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ic(Object(n),!0).forEach((function(t){gn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ic(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const ac=()=>{const e=Qt(rc);return{predicates:oc(oc({},s),{},{isStringElement:Fn}),namespace:e}};function cc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}const uc=function(e){let{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:s=xo}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=(0,Bt.Qc)(e),i=lr(s),o=cs(t,[],i);return rs(r,o,{state:{specObj:i}}),ps(o.element,n,{toolboxCreator:ac,visitorOptions:{keyMap:tc,nodeTypeGetter:ec}})},lc=e=>function(t){return uc(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cc(Object(n),!0).forEach((function(t){gn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({specPath:e},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))};lo.refract=lc(["visitors","document","objects","JSONSchema","$visitor"]),fo.refract=lc(["visitors","document","objects","LinkDescription","$visitor"]);const pc=class extends lo{constructor(e,t,n){super(e,t,n),this.element="schema",this.classes.push("json-schema-draft-7")}get not(){return this.get("not")}get if(){return this.get("if")}set if(e){this.set("if",e)}get then(){return this.get("then")}set then(e){this.set("then",e)}get else(){return this.get("else")}set else(e){this.set("else",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get containsProp(){return this.get("contains")}set containsProp(e){this.set("contains",e)}get propertyNames(){return this.get("propertyNames")}set propertyNames(e){this.set("propertyNames",e)}get discriminator(){return this.get("discriminator")}get externalDocs(){return this.get("externalDocs")}get deprecated(){return this.get("deprecated")}};class dc extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="securityRequirement"}}const mc=dc;class hc extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="server"}get url(){return this.get("url")}set url(e){this.set("url",e)}get protocol(){return this.get("protocol")}set protocol(e){this.set("protocol",e)}get protocolVersion(){return this.get("protocolVersion")}set protocolVersion(e){this.set("protocolVersion",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get variables(){return this.get("variables")}set variables(e){this.set("variables",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}}const gc=hc;class _c extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="serverBindings"}get http(){return this.get("http")}set http(e){this.set("http",e)}get ws(){return this.get("ws")}set ws(e){this.set("ws",e)}get kafka(){return this.get("kafka")}set kafka(e){this.set("kafka",e)}get anypointmq(){return this.get("anypointmq")}set anypointmq(e){this.set("anypointmq",e)}get amqp(){return this.get("amqp")}set amqp(e){this.set("amqp",e)}get amqp1(){return this.get("amqp1")}set amqp1(e){this.set("amqp1",e)}get mqtt(){return this.get("mqtt")}set mqtt(e){this.set("mqtt",e)}get mqtt5(){return this.get("mqtt5")}set mqtt5(e){this.set("mqtt5",e)}get nats(){return this.get("nats")}set nats(e){this.set("nats",e)}get jms(){return this.get("jms")}set jms(e){this.set("jms",e)}get sns(){return this.get("sns")}set sns(e){this.set("sns",e)}get solace(){return this.get("solace")}set solace(e){this.set("solace",e)}get sqs(){return this.get("sqs")}set sqs(e){this.set("sqs",e)}get stomp(){return this.get("stomp")}set stomp(e){this.set("stomp",e)}get redis(){return this.get("redis")}set redis(e){this.set("redis",e)}get mercure(){return this.get("mercure")}set mercure(e){this.set("mercure",e)}get googlepubsub(){return this.get("googlepubsub")}set googlepubsub(e){this.set("googlepubsub",e)}get ibmmq(){return this.get("ibmmq")}set ibmmq(e){this.set("ibmmq",e)}}const fc=_c;class bc extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="serverVariable"}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}}const yc=bc,vc=Nn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s,hasClass:r}=e;return e=>e instanceof Vo||t(e)&&n("asyncApi2",e)&&s("object",e)&&r("api",e)})),Ec=Nn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Zo||t(e)&&n("asyncApiVersion",e)&&s("string",e)})),Sc=Nn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof qa||t(e)&&n("channelBindings",e)&&s("object",e)})),wc=Nn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Da||t(e)&&n("channelItem",e)&&s("object",e)})),Oc=e=>{if(!wc(e))return!1;if(!Fn(e.$ref))return!1;const t=e.$ref.toValue();return"string"==typeof t&&t.length>0&&!t.startsWith("#")},jc=Nn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof La||t(e)&&n("channels",e)&&s("object",e)})),xc=Nn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Za||t(e)&&n("components",e)&&s("object",e)})),Mc=Nn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof sa||t(e)&&n("contact",e)&&s("object",e)})),Pc=Nn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof zo||t(e)&&n("identifier",e)&&s("string",e)})),Bc=Nn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Ko||t(e)&&n("info",e)&&s("object",e)})),Ac=Nn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof fa||t(e)&&n("license",e)&&s("object",e)})),Ic=Nn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Ja||t(e)&&n("operation",e)&&s("object",e)})),Nc=Nn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Wa||t(e)&&n("parameter",e)&&s("object",e)})),Tc=Nn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Ka||t(e)&&n("parameters",e)&&s("object",e)})),Fc=Nn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Qa||t(e)&&n("reference",e)&&s("object",e)})),Cc=e=>{if(!Fc(e))return!1;const t=e.$ref.toValue();return"string"==typeof t&&t.length>0&&!t.startsWith("#")},Rc=Nn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof pc||t(e)&&n("schema",e)&&s("object",e)})),$c=e=>$n(e)&&e.classes.includes("boolean-json-schema"),qc=Nn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof mc||t(e)&&n("securityRequirement",e)&&s("object",e)})),kc=Nn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof gc||t(e)&&n("server",e)&&s("object",e)})),Dc=Nn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof fc||t(e)&&n("serverBindings",e)&&s("object",e)})),Vc=Nn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof Ra||t(e)&&n("servers",e)&&s("object",e)})),Lc=Nn((e=>{let{hasBasicElementProps:t,isElementType:n,primitiveEq:s}=e;return e=>e instanceof yc||t(e)&&n("serverVariable",e)&&s("object",e)})),Uc=_n(Na,Po,{props:{fieldPatternPredicate:Ot(/^[A-Za-z0-9_-]+$/),specPath:e=>Ro(e)?["document","objects","Reference"]:["document","objects","Server"],canSupportSpecificationExtensions:!1},init(){this.element=new Ra,this.element.classes.push("servers")},methods:{ObjectElement(e){const t=Na.compose.methods.ObjectElement.call(this,e);return this.element.filter(Fc).forEach((e=>{e.setMetaProperty("referenced-element","server")})),t}}}),Zc=_n(ko,Po,{props:{specPath:ge(["document","objects","Server"]),canSupportSpecificationExtensions:!0},init(){this.element=new gc}}),Hc=_n(Po,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("server-url"),bn}}}),Jc=Po,zc=Po,Wc=Po,Gc=_n(Fo,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((e=>{let{predicate:t,specPath:n}=e;return rt(t,ge(n),xt)})),n=vi(t)(e);return this.element=this.toRefractedElement(n,e),bn}}}),Kc=_n(Gc,Po,{props:{alternator:[{predicate:Ro,specPath:["document","objects","Reference"]},{predicate:o,specPath:["document","objects","ServerBindings"]}]},methods:{ObjectElement(e){const t=Gc.compose.methods.enter.call(this,e);return Fc(this.element)&&this.element.setMetaProperty("referenced-element","serverBindings"),t}}});class Yc extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(Yc.primaryClass)}}gn(Yc,"primaryClass","server-variables");const Qc=Yc,Xc=_n(Ta,Po,{props:{specPath:e=>Ro(e)?["document","objects","Reference"]:["document","objects","ServerVariable"]},init(){this.element=new Qc}});class eu extends Bt.ON{constructor(e,t,n){super(e,t,n),this.classes.push(eu.primaryClass)}}gn(eu,"primaryClass","server-security");const tu=eu,nu=_n(Fo,Po,{init(){this.element=new tu},methods:{ArrayElement(e){return e.forEach((e=>{if($o(e)){const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}else this.element.push(e)})),this.copyMetaAndAttributes(e,this.element),bn}}}),su=_n(ko,Po,{props:{specPath:ge(["document","objects","ServerVariable"]),canSupportSpecificationExtensions:!0},init(){this.element=new yc}}),ru=Po,iu=Po,ou=Po,au=Po,cu=_n(ko,Po,{props:{specPath:ge(["document","objects","ServerBindings"]),canSupportSpecificationExtensions:!0},init(){this.element=new fc}});class uu extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="securityScheme"}get type(){return this.get("type")}set type(e){this.set("type",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get in(){return this.get("in")}set in(e){this.set("in",e)}get scheme(){return this.get("scheme")}set scheme(e){this.set("scheme",e)}get bearerFormat(){return this.get("bearerFormat")}set bearerFormat(e){this.set("bearerFormat",e)}get flows(){return this.get("flows")}set flows(e){this.set("flows",e)}get openIdConnectUrl(){return this.get("openIdConnectUrl")}set openIdConnectUrl(e){this.set("openIdConnectUrl",e)}}const lu=uu,pu=_n(ko,Po,{props:{specPath:ge(["document","objects","SecurityScheme"]),canSupportSpecificationExtensions:!0},init(){this.element=new lu}}),du=Po,mu=Po,hu=Po,gu=Po,_u=Po,fu=Po,bu=Po,yu=_n(Ta,Po,{props:{specPath:ge(["value"])},init(){this.element=new mc}}),vu=_n(ko,Po,{props:{specPath:ge(["document","objects","Reference"]),canSupportSpecificationExtensions:!1},init(){this.element=new Qa},methods:{ObjectElement(e){const t=ko.compose.methods.ObjectElement.call(this,e);return Fn(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),Eu=_n(Po,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),bn}}}),Su=_n(ko,Po,{props:{specPath:ge(["document","objects","Schema"]),canSupportSpecificationExtensions:!0},methods:{ObjectElement(e){return this.element=new pc,ko.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=e.clone(),this.element.classes.push("boolean-json-schema"),bn}}}),{JSONSchemaOrJSONReferenceVisitor:wu}=xo.visitors,Ou=_n(wu,{methods:{enter(e){const t=wu.compose.methods.enter.call(this,e);return Fc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),ju=Po,xu=Po,{allOf:Mu}=xo.visitors.document.objects.JSONSchema.fixedFields,Pu=_n(Mu,{methods:{ArrayElement(e){const t=Mu.compose.methods.ArrayElement.call(this,e);return this.element.filter(Fc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{anyOf:Bu}=xo.visitors.document.objects.JSONSchema.fixedFields,Au=_n(Bu,{methods:{ArrayElement(e){const t=Bu.compose.methods.ArrayElement.call(this,e);return this.element.filter(Fc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{oneOf:Iu}=xo.visitors.document.objects.JSONSchema.fixedFields,Nu=_n(Iu,{methods:{ArrayElement(e){const t=Iu.compose.methods.ArrayElement.call(this,e);return this.element.filter(Fc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{definitions:Tu}=xo.visitors.document.objects.JSONSchema.fixedFields,Fu=_n(Tu,{methods:{ObjectElement(e){const t=Tu.compose.methods.ObjectElement.call(this,e);return this.element.filter(Fc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{dependencies:Cu}=xo.visitors.document.objects.JSONSchema.fixedFields,Ru=_n(Cu,{methods:{ObjectElement(e){const t=Cu.compose.methods.ObjectElement.call(this,e);return this.element.filter(Fc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{items:$u}=xo.visitors.document.objects.JSONSchema.fixedFields,qu=_n($u,{methods:{ObjectElement(e){const t=$u.compose.methods.ObjectElement.call(this,e);return Fc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t},ArrayElement(e){const t=$u.compose.methods.ArrayElement.call(this,e);return this.element.filter(Fc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{patternProperties:ku}=xo.visitors.document.objects.JSONSchema.fixedFields,Du=_n(ku,{methods:{ObjectElement(e){const t=ku.compose.methods.ObjectElement.call(this,e);return this.element.filter(Fc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{properties:Vu}=xo.visitors.document.objects.JSONSchema.fixedFields,Lu=_n(Vu,{methods:{ObjectElement(e){const t=Vu.compose.methods.ObjectElement.call(this,e);return this.element.filter(Fc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),Uu=Y((e=>e===xo.visitors.JSONSchemaOrJSONReferenceVisitor?Ou:e),xo.visitors.document.objects.JSONSchema.fixedFields),Zu=_n(Na,Po,{props:{fieldPatternPredicate:Ot(/^[A-Za-z0-9_-]+$/),specPath:e=>Ro(e)?["document","objects","Reference"]:(e=>qn(e))(e)?["document","objects","Parameter"]:["value"],canSupportSpecificationExtensions:!1},init(){this.element=new Ka},methods:{ObjectElement(e){const t=Na.compose.methods.ObjectElement.call(this,e);return this.element.filter(Fc).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}}),Hu=_n(ko,Po,{props:{specPath:ge(["document","objects","Parameter"]),canSupportSpecificationExtensions:!0},init(){this.element=new Wa}}),Ju=Po,zu=Po,Wu=_n(Gc,Po,{props:{alternator:[{predicate:Ro,specPath:["document","objects","Reference"]},{predicate:o,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=Gc.compose.methods.enter.call(this,e);return Fc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}});class Gu extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="externalDocumentation"}get description(){return this.get("description")}set description(e){this.set("description",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}}const Ku=Gu,Yu=_n(ko,Po,{props:{specPath:ge(["document","objects","ExternalDocumentation"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ku}}),Qu=Po,Xu=Po,el=_n(ko,Po,{props:{specPath:ge(["document","objects","Components"]),canSupportSpecificationExtensions:!0},init(){this.element=new Za}});class tl extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(tl.primaryClass)}}gn(tl,"primaryClass","components-schemas");const nl=tl,sl=_n(Ta,Po,{props:{specPath:e=>Ro(e)?["document","objects","Reference"]:["document","objects","Schema"]},init(){this.element=new nl},methods:{ObjectElement(e){const t=Ta.compose.methods.ObjectElement.call(this,e);return this.element.filter(Fc).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}});class rl extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(rl.primaryClass)}}gn(rl,"primaryClass","components-servers");const il=rl,ol=_n(Ta,Po,{props:{specPath:e=>Ro(e)?["document","objects","Reference"]:["document","objects","Server"]},init(){this.element=new il},methods:{ObjectElement(e){const t=Ta.compose.methods.ObjectElement.call(this,e);return this.element.filter(Fc).forEach((e=>{e.setMetaProperty("referenced-element","server")})),t}}});class al extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(al.primaryClass)}}gn(al,"primaryClass","components-server-variables");const cl=al,ul=_n(Ta,Po,{props:{specPath:e=>Ro(e)?["document","objects","Reference"]:["document","objects","ServerVariable"]},init(){this.element=new cl},methods:{ObjectElement(e){const t=Ta.compose.methods.ObjectElement.call(this,e);return this.element.filter(Fc).forEach((e=>{e.setMetaProperty("referenced-element","serverVariable")})),t}}});class ll extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(ll.primaryClass)}}gn(ll,"primaryClass","components-channels");const pl=ll,dl=_n(Ta,Po,{props:{specPath:ge(["document","objects","ChannelItem"])},init(){this.element=new pl}});class ml extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(ml.primaryClass)}}gn(ml,"primaryClass","components-messages");const hl=ml,gl=_n(Ta,Po,{props:{specPath:e=>Ro(e)?["document","objects","Reference"]:["document","objects","Message"]},init(){this.element=new hl},methods:{ObjectElement(e){const t=Ta.compose.methods.ObjectElement.call(this,e);return this.element.filter(Fc).forEach((e=>{e.setMetaProperty("referenced-element","message")})),t}}});class _l extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(_l.primaryClass)}}gn(_l,"primaryClass","components-security-schemes");const fl=_l,bl=_n(Ta,Po,{props:{specPath:e=>Ro(e)?["document","objects","Reference"]:["document","objects","SecurityScheme"]},init(){this.element=new fl},methods:{ObjectElement(e){const t=Ta.compose.methods.ObjectElement.call(this,e);return this.element.filter(Fc).forEach((e=>{e.setMetaProperty("referenced-element","securityScheme")})),t}}});class yl extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(yl.primaryClass)}}gn(yl,"primaryClass","components-parameters");const vl=yl,El=_n(Ta,Po,{props:{specPath:e=>Ro(e)?["document","objects","Reference"]:["document","objects","Parameter"]},init(){this.element=new vl},methods:{ObjectElement(e){const t=Ta.compose.methods.ObjectElement.call(this,e);return this.element.filter(Fc).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}});class Sl extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(Sl.primaryClass)}}gn(Sl,"primaryClass","components-correlation-ids");const wl=Sl,Ol=_n(Ta,Po,{props:{specPath:e=>Ro(e)?["document","objects","Reference"]:["document","objects","CorrelationID"]},init(){this.element=new wl},methods:{ObjectElement(e){const t=Ta.compose.methods.ObjectElement.call(this,e);return this.element.filter(Fc).forEach((e=>{e.setMetaProperty("referenced-element","correlationID")})),t}}});class jl extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(jl.primaryClass)}}gn(jl,"primaryClass","components-operation-traits");const xl=jl,Ml=_n(Ta,Po,{props:{specPath:e=>Ro(e)?["document","objects","Reference"]:["document","objects","OperationTrait"]},init(){this.element=new xl},methods:{ObjectElement(e){const t=Ta.compose.methods.ObjectElement.call(this,e);return this.element.filter(Fc).forEach((e=>{e.setMetaProperty("referenced-element","operationTrait")})),t}}});class Pl extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(Pl.primaryClass)}}gn(Pl,"primaryClass","components-message-traits");const Bl=Pl,Al=_n(Ta,Po,{props:{specPath:e=>Ro(e)?["document","objects","Reference"]:["document","objects","MessageTrait"]},init(){this.element=new Bl},methods:{ObjectElement(e){const t=Ta.compose.methods.ObjectElement.call(this,e);return this.element.filter(Fc).forEach((e=>{e.setMetaProperty("referenced-element","messageTrait")})),t}}});class Il extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(Il.primaryClass)}}gn(Il,"primaryClass","components-server-bindings");const Nl=Il,Tl=_n(Ta,Po,{props:{specPath:e=>Ro(e)?["document","objects","Reference"]:["document","objects","ServerBindings"]},init(){this.element=new Nl},methods:{ObjectElement(e){const t=Ta.compose.methods.ObjectElement.call(this,e);return this.element.filter(Fc).forEach((e=>{e.setMetaProperty("referenced-element","serverBindings")})),t}}});class Fl extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(Fl.primaryClass)}}gn(Fl,"primaryClass","components-channel-bindings");const Cl=Fl,Rl=_n(Ta,Po,{props:{specPath:e=>Ro(e)?["document","objects","Reference"]:["document","objects","ChannelBindings"]},init(){this.element=new Cl},methods:{ObjectElement(e){const t=Ta.compose.methods.ObjectElement.call(this,e);return this.element.filter(Fc).forEach((e=>{e.setMetaProperty("referenced-element","channelBindings")})),t}}});class $l extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push($l.primaryClass)}}gn($l,"primaryClass","components-operation-bindings");const ql=$l,kl=_n(Ta,Po,{props:{specPath:e=>Ro(e)?["document","objects","Reference"]:["document","objects","OperationBindings"]},init(){this.element=new ql},methods:{ObjectElement(e){const t=Ta.compose.methods.ObjectElement.call(this,e);return this.element.filter(Fc).forEach((e=>{e.setMetaProperty("referenced-element","operationBindings")})),t}}});class Dl extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(Dl.primaryClass)}}gn(Dl,"primaryClass","components-message-bindings");const Vl=Dl,Ll=_n(Ta,Po,{props:{specPath:e=>Ro(e)?["document","objects","Reference"]:["document","objects","MessageBindings"]},init(){this.element=new Vl},methods:{ObjectElement(e){const t=Ta.compose.methods.ObjectElement.call(this,e);return this.element.filter(Fc).forEach((e=>{e.setMetaProperty("referenced-element","messageBindings")})),t}}}),Ul=_n(ko,Po,{props:{specPath:ge(["document","objects","Operation"])},init(){this.element=new Ja}}),Zl=Po,Hl=Po,Jl=Po;class zl extends Bt.ON{constructor(e,t,n){super(e,t,n),this.classes.push(zl.primaryClass)}}gn(zl,"primaryClass","operation-security");const Wl=zl,Gl=_n(Fo,Po,{init(){this.element=new Wl},methods:{ArrayElement(e){return e.forEach((e=>{if($o(e)){const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}else this.element.push(e)})),this.copyMetaAndAttributes(e,this.element),bn}}}),Kl=_n(Gc,Po,{props:{alternator:[{predicate:Ro,specPath:["document","objects","Reference"]},{predicate:o,specPath:["document","objects","OperationBindings"]}]},methods:{ObjectElement(e){const t=Gc.compose.methods.enter.call(this,e);return Fc(this.element)&&this.element.setMetaProperty("referenced-element","operationBindings"),t}}});class Yl extends Bt.ON{constructor(e,t,n){super(e,t,n),this.classes.push(Yl.primaryClass)}}gn(Yl,"primaryClass","operation-traits");const Ql=Yl,Xl=_n(Fo,Po,{init(){this.element=new Ql},methods:{ArrayElement(e){return e.forEach((e=>{let t;Ro(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),bn}}});class ep extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.classes.push(ep.primaryClass)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}}gn(ep,"primaryClass","operation-message-map");const tp=ep;class np extends Bt.ON{constructor(e,t,n){super(e,t,n),this.classes.push(np.primaryClass)}}gn(np,"primaryClass","operation-message");const sp=np,rp=_n(Fo,Po,{methods:{ObjectElement(e){if(Ro(e))this.element=this.toRefractedElement(["document","objects","Reference"],e),this.element.setMetaProperty("referenced-element","message");else if(kn(e.get("oneOf"))){this.element=new tp;const t=new sp;e.get("oneOf").forEach((e=>{let n;Ro(e)?(n=this.toRefractedElement(["document","objects","Reference"],e),n.setMetaProperty("referenced-element","message")):n=this.toRefractedElement(["document","objects","Message"],e),t.push(n)})),this.element.oneOf=t}else this.element=this.toRefractedElement(["document","objects","Message"],e);return this.copyMetaAndAttributes(e,this.element),bn}}});class ip extends Bt.ON{constructor(e,t,n){super(e,t,n),this.element="tags"}}const op=ip,ap=_n(Fo,Po,{init(){this.element=new op},methods:{ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","Tag"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),bn}}});class cp extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="tag"}get name(){return this.get("name")}set name(e){this.set("name",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}}const up=cp,lp=_n(ko,Po,{props:{specPath:ge(["document","objects","Tag"]),canSupportSpecificationExtensions:!0},init(){this.element=new up}}),pp=Po,dp=Po,mp=_n(Ta,Po,{props:{specPath:ge(["document","objects","ChannelItem"])},init(){this.element=new La}}),hp=_n(ko,Po,{props:{specPath:ge(["document","objects","ChannelBindings"]),canSupportSpecificationExtensions:!0},init(){this.element=new qa}}),gp=_n(ko,Po,{props:{specPath:ge(["document","objects","ChannelItem"]),canSupportSpecificationExtensions:!0},init(){this.element=new Da},methods:{ObjectElement(e){const t=ko.compose.methods.ObjectElement.call(this,e);return Fn(this.element.$ref)&&(this.element.classes.push("reference-element"),this.element.setMetaProperty("referenced-element","channelItem")),t}}}),_p=_n(Po,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),bn}}}),fp=Po;class bp extends Bt.ON{constructor(e,t,n){super(e,t,n),this.classes.push(bp.primaryClass)}}gn(bp,"primaryClass","channel-item-server-names-list");const yp=bp,vp=_n(Fo,Po,{init(){this.element=new yp},methods:{ArrayElement(e){return e.forEach((e=>{const t=e.clone();Fn(t)&&t.classes.push("server-name"),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),bn}}}),Ep=_n(Gc,Po,{props:{alternator:[{predicate:Ro,specPath:["document","objects","Reference"]},{predicate:o,specPath:["document","objects","ChannelBindings"]}]},methods:{ObjectElement(e){const t=Gc.compose.methods.enter.call(this,e);return Fc(this.element)&&this.element.setMetaProperty("referenced-element","channelBindings"),t}}});class Sp extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="messageBindings"}get http(){return this.get("http")}set http(e){this.set("http",e)}get ws(){return this.get("ws")}set ws(e){this.set("ws",e)}get kafka(){return this.get("kafka")}set kafka(e){this.set("kafka",e)}get anypointmq(){return this.get("anypointmq")}set anypointmq(e){this.set("anypointmq",e)}get amqp(){return this.get("amqp")}set amqp(e){this.set("amqp",e)}get amqp1(){return this.get("amqp1")}set amqp1(e){this.set("amqp1",e)}get mqtt(){return this.get("mqtt")}set mqtt(e){this.set("mqtt",e)}get mqtt5(){return this.get("mqtt5")}set mqtt5(e){this.set("mqtt5",e)}get nats(){return this.get("nats")}set nats(e){this.set("nats",e)}get jms(){return this.get("jms")}set jms(e){this.set("jms",e)}get sns(){return this.get("sns")}set sns(e){this.set("sns",e)}get solace(){return this.get("solace")}set solace(e){this.set("solace",e)}get sqs(){return this.get("sqs")}set sqs(e){this.set("sqs",e)}get stomp(){return this.get("stomp")}set stomp(e){this.set("stomp",e)}get redis(){return this.get("redis")}set redis(e){this.set("redis",e)}get mercure(){return this.get("mercure")}set mercure(e){this.set("mercure",e)}get googlepubsub(){return this.get("googlepubsub")}set googlepubsub(e){this.set("googlepubsub",e)}get ibmmq(){return this.get("ibmmq")}set ibmmq(e){this.set("ibmmq",e)}}const wp=Sp,Op=_n(ko,Po,{props:{specPath:ge(["document","objects","MessageBindings"]),canSupportSpecificationExtensions:!0},init(){this.element=new wp}});class jp extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="messageExample"}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get payload(){return this.get("payload")}set payload(e){this.set("payload",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}}const xp=jp,Mp=_n(ko,Po,{props:{specPath:ge(["document","objects","MessageExample"]),canSupportSpecificationExtensions:!0},init(){this.element=new xp}}),Pp=Po,Bp=Po,Ap=Po,Ip=Po;class Np extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="messageTrait"}get messageId(){return this.get("messageId")}set messageId(e){this.set("messageId",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get correlationId(){return this.get("correlationId")}set correlationId(e){this.set("correlationId",e)}get schemaFormat(){return this.get("schemaFormat")}set schemaFormat(e){this.set("schemaFormat",e)}get contentType(){return this.get("contentType")}set contentType(e){this.set("contentType",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}}const Tp=Np,Fp=_n(ko,Po,{props:{specPath:ge(["document","objects","MessageTrait"]),canSupportSpecificationExtensions:!0},init(){this.element=new Tp}}),Cp=Po,Rp=_n(Gc,Po,{props:{alternator:[{predicate:Ro,specPath:["document","objects","Reference"]},{predicate:o,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=Gc.compose.methods.enter.call(this,e);return Fc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),$p=_n(Gc,Po,{props:{alternator:[{predicate:Ro,specPath:["document","objects","Reference"]},{predicate:o,specPath:["document","objects","CorrelationID"]}]},methods:{ObjectElement(e){const t=Gc.compose.methods.enter.call(this,e);return Fc(this.element)&&this.element.setMetaProperty("referenced-element","correlationID"),t}}}),qp=Po,kp=Po,Dp=Po,Vp=Po,Lp=Po,Up=Po,Zp=_n(Gc,Po,{props:{alternator:[{predicate:Ro,specPath:["document","objects","Reference"]},{predicate:o,specPath:["document","objects","MessageBindings"]}]},methods:{ObjectElement(e){const t=Gc.compose.methods.enter.call(this,e);return Fc(this.element)&&this.element.setMetaProperty("referenced-element","messageBindings"),t}}});class Hp extends Bt.ON{constructor(e,t,n){super(e,t,n),this.classes.push(Hp.primaryClass)}}gn(Hp,"primaryClass","message-trait-examples");const Jp=Hp,zp=_n(Fo,Po,{init(){this.element=new Jp},methods:{ArrayElement(e){return e.forEach((e=>{let t;t=qn(e)?this.toRefractedElement(["document","objects","MessageExample"],e):e.clone(),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),bn}}});const Wp=class extends Array{constructor(){super(...arguments),gn(this,"unknownMediaType","application/octet-stream")}filterByFormat(){throw new Error("Not implemented!")}findBy(){throw new Error("Not implemented")}latest(){throw new Error("Not implemented!")}};class Gp extends Wp{filterByFormat(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"generic";const t="generic"===e?"asyncapi;version":e;return this.filter((e=>e.includes(t)))}findBy(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"2.6.0",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"generic";const n="generic"===t?`vnd.aai.asyncapi;version=${e}`:`vnd.aai.asyncapi+${t};version=${e}`;return this.find((e=>e.includes(n)))||this.unknownMediaType}latest(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"generic";return lt(this.filterByFormat(e))}}const Kp=new Gp("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 Yp extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="message"}get messageId(){return this.get("messageId")}set messageId(e){this.set("messageId",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get payload(){return this.get("payload")}set payload(e){this.set("payload",e)}get correlationId(){return this.get("correlationId")}set correlationId(e){this.set("correlationId",e)}get schemaFormat(){return this.get("schemaFormat")}set schemaFormat(e){this.set("schemaFormat",e)}get contentType(){return this.get("contentType")}set contentType(e){this.set("contentType",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get traits(){return this.get("traits")}set traits(e){this.set("traits",e)}}const Qp=Yp,Xp=_n(ko,Po,{props:{specPath:ge(["document","objects","Message"]),canSupportSpecificationExtensions:!0},init(){this.element=new Qp},methods:{ObjectElement(e){var t;const n=ko.compose.methods.ObjectElement.call(this,e),s=this.element.get("payload"),r=qe(Kp.latest(),null===(t=e.get("schemaFormat"))||void 0===t?void 0:t.toValue());if(Kp.includes(r)&&Ro(s)){const e=this.toRefractedElement(["document","objects","Reference"],s);e.meta.set("referenced-element","schema"),this.element.payload=e}else Kp.includes(r)&&qn(this.element.payload)&&(this.element.payload=this.toRefractedElement(["document","objects","Schema"],s));return n}}}),ed=Po,td=_n(Gc,Po,{props:{alternator:[{predicate:Ro,specPath:["document","objects","Reference"]},{predicate:o,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=Gc.compose.methods.enter.call(this,e);return Fc(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),nd=Po,sd=_n(Gc,Po,{props:{alternator:[{predicate:Ro,specPath:["document","objects","Reference"]},{predicate:o,specPath:["document","objects","CorrelationID"]}]},methods:{ObjectElement(e){const t=Gc.compose.methods.enter.call(this,e);return Fc(this.element)&&this.element.setMetaProperty("referenced-element","correlationID"),t}}}),rd=Po,id=Po,od=Po,ad=Po,cd=Po,ud=Po,ld=_n(Gc,Po,{props:{alternator:[{predicate:Ro,specPath:["document","objects","Reference"]},{predicate:o,specPath:["document","objects","MessageBindings"]}]},methods:{ObjectElement(e){const t=Gc.compose.methods.enter.call(this,e);return Fc(this.element)&&this.element.setMetaProperty("referenced-element","messageBindings"),t}}});class pd extends Bt.ON{constructor(e,t,n){super(e,t,n),this.classes.push(pd.primaryClass)}}gn(pd,"primaryClass","message-examples");const dd=pd,md=_n(Fo,Po,{init(){this.element=new dd},methods:{ArrayElement(e){return e.forEach((e=>{let t;t=qn(e)?this.toRefractedElement(["document","objects","MessageExample"],e):e.clone(),this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),bn}}});class hd extends Bt.ON{constructor(e,t,n){super(e,t,n),this.classes.push(hd.primaryClass)}}gn(hd,"primaryClass","message-traits");const gd=hd,_d=_n(Fo,Po,{init(){this.element=new gd},methods:{ArrayElement(e){return e.forEach((e=>{let t;Ro(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),bn}}});class fd extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="operationBindings"}get http(){return this.get("http")}set http(e){this.set("http",e)}get ws(){return this.get("ws")}set ws(e){this.set("ws",e)}get kafka(){return this.get("kafka")}set kafka(e){this.set("kafka",e)}get anypointmq(){return this.get("anypointmq")}set anypointmq(e){this.set("anypointmq",e)}get amqp(){return this.get("amqp")}set amqp(e){this.set("amqp",e)}get amqp1(){return this.get("amqp1")}set amqp1(e){this.set("amqp1",e)}get mqtt(){return this.get("mqtt")}set mqtt(e){this.set("mqtt",e)}get mqtt5(){return this.get("mqtt5")}set mqtt5(e){this.set("mqtt5",e)}get nats(){return this.get("nats")}set nats(e){this.set("nats",e)}get jms(){return this.get("jms")}set jms(e){this.set("jms",e)}get sns(){return this.get("sns")}set sns(e){this.set("sns",e)}get solace(){return this.get("solace")}set solace(e){this.set("solace",e)}get sqs(){return this.get("sqs")}set sqs(e){this.set("sqs",e)}get stomp(){return this.get("stomp")}set stomp(e){this.set("stomp",e)}get redis(){return this.get("redis")}set redis(e){this.set("redis",e)}get mercure(){return this.get("mercure")}set mercure(e){this.set("mercure",e)}get googlepubsub(){return this.get("googlepubsub")}set googlepubsub(e){this.set("googlepubsub",e)}get ibmmq(){return this.get("ibmmq")}set ibmmq(e){this.set("ibmmq",e)}}const bd=fd,yd=_n(ko,Po,{props:{specPath:ge(["document","objects","OperationBindings"]),canSupportSpecificationExtensions:!0},init(){this.element=new bd}});class vd extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="operationTrait"}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get bindings(){return this.get("bindings")}set bindings(e){this.set("bindings",e)}}const Ed=vd,Sd=_n(ko,Po,{props:{specPath:ge(["document","objects","OperationTrait"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ed}}),wd=Po,Od=Po,jd=Po;class xd extends Bt.ON{constructor(e,t,n){super(e,t,n),this.classes.push(xd.primaryClass)}}gn(xd,"primaryClass","operation-trait-security");const Md=xd,Pd=_n(Fo,Po,{init(){this.element=new Md},methods:{ArrayElement(e){return e.forEach((e=>{if($o(e)){const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}else this.element.push(e)})),this.copyMetaAndAttributes(e,this.element),bn}}}),Bd=_n(Gc,Po,{props:{alternator:[{predicate:Ro,specPath:["document","objects","Reference"]},{predicate:o,specPath:["document","objects","OperationBindings"]}]},methods:{ObjectElement(e){const t=Gc.compose.methods.enter.call(this,e);return Fc(this.element)&&this.element.setMetaProperty("referenced-element","operationBindings"),t}}});class Ad extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="amqpChannelBinding",this.classes.push("channel-binding")}get is(){return this.get("is")}set is(e){this.set("is",e)}get exchange(){return this.get("exchange")}set exchange(e){this.set("exchange",e)}get queue(){return this.get("queue")}set queue(e){this.set("queue",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const Id=Ad,Nd=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","amqp","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Id}});class Td extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="amqpMessageBinding",this.classes.push("message-binding")}get contentEncoding(){return this.get("contentEncoding")}set contentEncoding(e){this.set("contentEncoding",e)}get messageType(){return this.get("messageType")}set messageType(e){this.set("messageType",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const Fd=Td,Cd=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","amqp","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Fd}});class Rd extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="amqpOperationBinding",this.classes.push("operation-binding")}get expiration(){return this.get("expiration")}set expiration(e){this.set("expiration",e)}get userId(){return this.get("userId")}set userId(e){this.set("userId",e)}get cc(){return this.get("cc")}set cc(e){this.set("cc",e)}get priority(){return this.get("priority")}set priority(e){this.set("priority",e)}get deliveryMode(){return this.get("deliveryMode")}set deliveryMode(e){this.set("deliveryMode",e)}get mandatory(){return this.get("mandatory")}set mandatory(e){this.set("mandatory",e)}get bcc(){return this.get("bcc")}set bcc(e){this.set("bcc",e)}get replyTo(){return this.get("replyTo")}set replyTo(e){this.set("replyTo",e)}get timestamp(){return this.get("timestamp")}set timestamp(e){this.set("timestamp",e)}get ack(){return this.get("ack")}set ack(e){this.set("ack",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const $d=Rd,qd=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","amqp","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new $d}});class kd extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="amqpServerBinding",this.classes.push("server-binding")}}const Dd=kd,Vd=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","amqp","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Dd}});class Ld extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="amqp1ChannelBinding",this.classes.push("channel-binding")}}const Ud=Ld,Zd=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","amqp1","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Ud}});class Hd extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="amqp1MessageBinding",this.classes.push("message-binding")}}const Jd=Hd,zd=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","amqp1","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Jd}});class Wd extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="amqp1OperationBinding",this.classes.push("operation-binding")}}const Gd=Wd,Kd=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","amqp1","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Gd}});class Yd extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="amqp1ServerBinding",this.classes.push("server-binding")}}const Qd=Yd,Xd=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","amqp1","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Qd}});class em extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="anypointmqChannelBinding",this.classes.push("channel-binding")}get destination(){return this.get("destination")}set destination(e){this.set("destination",e)}get destinationType(){return this.get("destinationType")}set destinationType(e){this.set("destinationType",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const tm=em,nm=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","anypointmq","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new tm}});class sm extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="anypointmqMessageBinding",this.classes.push("message-binding")}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const rm=sm,im=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","anypointmq","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new rm}});class om extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="anypointmqOperationBinding",this.classes.push("operation-binding")}}const am=om,cm=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","anypointmq","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new am}});class um extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="anypointmqServerBinding",this.classes.push("server-binding")}}const lm=um,pm=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","anypointmq","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new lm}});class dm extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="httpChannelBinding",this.classes.push("channel-binding")}}const mm=dm,hm=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","http","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new mm}});class gm extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="httpMessageBinding",this.classes.push("message-binding")}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const _m=gm,fm=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","http","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new _m}});class bm extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="httpOperationBinding",this.classes.push("operation-binding")}get type(){return this.get("type")}set type(e){this.set("type",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get query(){return this.get("query")}set query(e){this.set("query",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const ym=bm,vm=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","http","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new ym}});class Em extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="httpServerBinding",this.classes.push("server-binding")}}const Sm=Em,wm=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","http","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Sm}});class Om extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="googlepubsubChannelBinding",this.classes.push("channel-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}get labels(){return this.get("labels")}set labels(e){this.set("labels",e)}get messageRetentionDuration(){return this.get("messageRetentionDuration")}set messageRetentionDuration(e){this.set("messageRetentionDuration",e)}get messageStoragePolicy(){return this.get("messageStoragePolicy")}set messageStoragePolicy(e){this.set("messageStoragePolicy",e)}get schemaSettings(){return this.get("schemaSettings")}set schemaSettings(e){this.set("schemaSettings",e)}get topic(){return this.get("topic")}set topic(e){this.set("topic",e)}}const jm=Om,xm=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","googlepubsub","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new jm}});class Mm extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="googlepubsubMessageBinding",this.classes.push("message-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}get attributesProp(){return this.get("attributes")}set attributesProp(e){this.set("attributes",e)}get orderingKey(){return this.get("orderingKey")}set orderingKey(e){this.set("orderingKey",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}}const Pm=Mm,Bm=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","googlepubusb","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Pm}});class Am extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="googlepubsubOperationBinding",this.classes.push("operation-binding")}}const Im=Am,Nm=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","googlepubsub","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Im}});class Tm extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="googlepubsubServerBinding",this.classes.push("server-binding")}}const Fm=Tm,Cm=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","googlepubsub","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Fm}});class Rm extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="ibmmqChannelBinding",this.classes.push("channel-binding")}get destinationType(){return this.get("destinationType")}set destinationType(e){this.set("destinationType",e)}get queue(){return this.get("queue")}set queue(e){this.set("queue",e)}get topic(){return this.get("topic")}set topic(e){this.set("topic",e)}get maxMsgLength(){return this.get("maxMsgLength")}set maxMsgLength(e){this.set("maxMsgLength",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const $m=Rm,qm=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","ibmmq","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new $m}});class km extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="ibmmqMessageBinding",this.classes.push("message-binding")}get type(){return this.get("type")}set type(e){this.set("type",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get expiry(){return this.get("expiry")}set expiry(e){this.set("expiry",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const Dm=km,Vm=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","ibmmq","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Dm}});class Lm extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="ibmmqOperationBinding",this.classes.push("operation-binding")}}const Um=Lm,Zm=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","ibmmq","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Um}});class Hm extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="ibmmqServerBinding",this.classes.push("server-binding")}get groupId(){return this.get("groupId")}set groupId(e){this.set("groupId",e)}get ccdtQueueManagerName(){return this.get("ccdtQueueManagerName")}set ccdtQueueManagerName(e){this.set("ccdtQueueManagerName",e)}get cipherSpec(){return this.get("cipherSpec")}set cipherSpec(e){this.set("cipherSpec",e)}get multiEndpointServer(){return this.get("multiEndpointServer")}set multiEndpointServer(e){this.set("multiEndpointServer",e)}get heartBeatInterval(){return this.get("heartBeatInterval")}set heartBeatInterval(e){this.set("heartBeatInterval",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const Jm=Hm,zm=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","ibmmq","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Jm}});class Wm extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="jmsChannelBinding",this.classes.push("channel-binding")}}const Gm=Wm,Km=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","jms","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Gm}});class Ym extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="jmsMessageBinding",this.classes.push("message-binding")}}const Qm=Ym,Xm=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","jms","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Qm}});class eh extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="jmsOperationBinding",this.classes.push("operation-binding")}}const th=eh,nh=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","jms","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new th}});class sh extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="jmsServerBinding",this.classes.push("server-binding")}}const rh=sh,ih=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","jms","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new rh}});class oh extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="kafkaChannelBinding",this.classes.push("channel-binding")}get topic(){return this.get("topic")}set topic(e){this.set("topic",e)}get partitions(){return this.get("partitions")}set partitions(e){this.set("partitions",e)}get replicas(){return this.get("replicas")}set replicas(e){this.set("replicas",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const ah=oh,ch=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","kafka","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new ah}});class uh extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="kafkaMessageBinding",this.classes.push("message-binding")}get key(){return this.get("key")}set key(e){this.set("key",e)}get schemaIdLocation(){return this.get("schemaIdLocation")}set schemaIdLocation(e){this.set("schemaIdLocation",e)}get schemaIdPayloadEncoding(){return this.get("schemaIdPayloadEncoding")}set schemaIdPayloadEncoding(e){this.set("schemaIdPayloadEncoding",e)}get schemaLookupStrategy(){return this.get("schemaLookupStrategy")}set schemaLookupStrategy(e){this.set("schemaLookupStrategy",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const lh=uh,ph=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","kafka","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new lh}});class dh extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="kafkaOperationBinding",this.classes.push("operation-binding")}get groupId(){return this.get("groupId")}set groupId(e){this.set("groupId",e)}get clientId(){return this.get("clientId")}set clientId(e){this.set("clientId",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const mh=dh,hh=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","kafka","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new mh}});class gh extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="kafkaServerBinding",this.classes.push("server-binding")}get schemaRegistryUrl(){return this.get("schemaRegistryUrl")}set schemaRegistryUrl(e){this.set("schemaRegistryUrl",e)}get schemaRegistryVendor(){return this.get("schemaRegistryVendor")}set schemaRegistryVendor(e){this.set("schemaRegistryVendor",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const _h=gh,fh=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","kafka","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new _h}});class bh extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="mercureChannelBinding",this.classes.push("channel-binding")}}const yh=bh,vh=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","mercure","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new yh}});class Eh extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="mercureMessageBinding",this.classes.push("message-binding")}}const Sh=Eh,wh=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","mercure","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Sh}});class Oh extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="mercureOperationBinding",this.classes.push("operation-binding")}}const jh=Oh,xh=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","mercure","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new jh}});class Mh extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="mercureServerBinding",this.classes.push("server-binding")}}const Ph=Mh,Bh=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","mercure","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Ph}});class Ah extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="mqttChannelBinding",this.classes.push("channel-binding")}}const Ih=Ah,Nh=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","mqtt","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Ih}});class Th extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="mqttMessageBinding",this.classes.push("message-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const Fh=Th,Ch=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","mqtt","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Fh}});class Rh extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="mqttOperationBinding",this.classes.push("operation-binding")}get qos(){return this.get("qos")}set qos(e){this.set("qos",e)}get retain(){return this.get("retain")}set retain(e){this.set("retain",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const $h=Rh,qh=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","mqtt","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new $h}});class kh extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="mqttServerBinding",this.classes.push("server-binding")}get clientId(){return this.get("clientId")}set clientId(e){this.set("clientId",e)}get cleanSession(){return this.get("cleanSession")}set cleanSession(e){this.set("cleanSession",e)}get lastWill(){return this.get("lastWill")}set lastWill(e){this.set("lastWill",e)}get keepAlive(){return this.get("keepAlive")}set keepAlive(e){this.set("keepAlive",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const Dh=kh,Vh=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","mqtt","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Dh}});class Lh extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="mqtt5ChannelBinding",this.classes.push("channel-binding")}}const Uh=Lh,Zh=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","mqtt5","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Uh}});class Hh extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="mqtt5MessageBinding",this.classes.push("message-binding")}}const Jh=Hh,zh=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","mqtt5","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Jh}});class Wh extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="mqtt5OperationBinding",this.classes.push("operation-binding")}}const Gh=Wh,Kh=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","mqtt5","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Gh}});class Yh extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="mqtt5ServerBinding",this.classes.push("server-binding")}}const Qh=Yh,Xh=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","mqtt5","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Qh}});class eg extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="natsChannelBinding",this.classes.push("channel-binding")}}const tg=eg,ng=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","nats","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new tg}});class sg extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="natsMessageBinding",this.classes.push("message-binding")}}const rg=sg,ig=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","nats","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new rg}});class og extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="natsOperationBinding",this.classes.push("operation-binding")}get queue(){return this.get("queue")}set queue(e){this.set("queue",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const ag=og,cg=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","nats","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new ag}});class ug extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="natsServerBinding",this.classes.push("server-binding")}}const lg=ug,pg=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","nats","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new lg}});class dg extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="pulsarChannelBinding",this.classes.push("channel-binding")}get namespace(){return this.get("namespace")}set namespace(e){this.set("namespace",e)}get persistence(){return this.get("persistence")}set persistence(e){this.set("persistence",e)}get compaction(){return this.get("compaction")}set compaction(e){this.set("compaction",e)}get"geo-replication"(){return this.get("compaction")}set"geo-replication"(e){this.set("geo-replication",e)}get retention(){return this.get("retention")}set retention(e){this.set("retention",e)}get ttl(){return this.get("ttl")}set ttl(e){this.set("ttl",e)}get deduplication(){return this.get("deduplication")}set deduplication(e){this.set("deduplication",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const mg=dg,hg=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","pulsar","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new mg}});class gg extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="pulsarMessageBinding",this.classes.push("message-binding")}}const _g=gg,fg=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","pulsar","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new _g}});class bg extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="pulsarOperationBinding",this.classes.push("operation-binding")}}const yg=bg,vg=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","pulsar","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new yg}});class Eg extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="pulsarServerBinding",this.classes.push("server-binding")}get tenant(){return this.get("tenant")}set tenant(e){this.set("tenant",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const Sg=Eg,wg=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","pulsar","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Sg}});class Og extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="redisChannelBinding",this.classes.push("channel-binding")}}const jg=Og,xg=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","redis","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new jg}});class Mg extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="redisMessageBinding",this.classes.push("message-binding")}}const Pg=Mg,Bg=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","redis","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Pg}});class Ag extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="redisOperationBinding",this.classes.push("operation-binding")}}const Ig=Ag,Ng=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","redis","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Ig}});class Tg extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="redisServerBinding",this.classes.push("server-binding")}}const Fg=Tg,Cg=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","redis","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Fg}});class Rg extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="snsChannelBinding",this.classes.push("channel-binding")}}const $g=Rg,qg=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","sns","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new $g}});class kg extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="snsMessageBinding",this.classes.push("message-binding")}}const Dg=kg,Vg=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","sns","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Dg}});class Lg extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="snsOperationBinding",this.classes.push("operation-binding")}}const Ug=Lg,Zg=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","sns","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Ug}});class Hg extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="snsServerBinding",this.classes.push("server-binding")}}const Jg=Hg,zg=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","sns","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Jg}});class Wg extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="solaceChannelBinding",this.classes.push("channel-binding")}}const Gg=Wg,Kg=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","solace","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Gg}});class Yg extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="solaceMessageBinding",this.classes.push("message-binding")}}const Qg=Yg,Xg=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","solace","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new Qg}});class e_ extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="solaceOperationBinding",this.classes.push("operation-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}get destinations(){return this.get("destinations")}set destinations(e){this.set("destinations",e)}}const t_=e_,n_=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","solace","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new t_}});class s_ extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="solaceServerBinding",this.classes.push("server-binding")}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}get msgVpn(){return this.get("msgVpn")}set msgVpn(e){this.set("msgVpn",e)}}const r_=s_,i_=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","solace","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new r_}});class o_ extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="sqsChannelBinding",this.classes.push("channel-binding")}}const a_=o_,c_=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","sqs","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new a_}});class u_ extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="sqsMessageBinding",this.classes.push("message-binding")}}const l_=u_,p_=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","sqs","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new l_}});class d_ extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="sqsOperationBinding",this.classes.push("operation-binding")}}const m_=d_,h_=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","sqs","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new m_}});class g_ extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="sqsServerBinding",this.classes.push("server-binding")}}const __=g_,f_=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","sqs","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new __}});class b_ extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="stompChannelBinding",this.classes.push("channel-binding")}}const y_=b_,v_=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","stomp","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new y_}});class E_ extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="stompMessageBinding",this.classes.push("message-binding")}}const S_=E_,w_=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","stomp","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new S_}});class O_ extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="stompOperationBinding",this.classes.push("operation-binding")}}const j_=O_,x_=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","stomp","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new j_}});class M_ extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="stompServerBinding",this.classes.push("server-binding")}}const P_=M_,B_=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","stomp","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new P_}});class A_ extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="webSocketChannelBinding",this.classes.push("channel-binding")}get method(){return this.get("method")}set method(e){this.set("method",e)}get query(){return this.get("query")}set query(e){this.set("query",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get bindingVersion(){return this.get("bindingVersion")}set bindingVersion(e){this.set("bindingVersion",e)}}const I_=A_,N_=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","ws","ChannelBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new I_}});class T_ extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="webSocketMessageBinding",this.classes.push("message-binding")}}const F_=T_,C_=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","ws","MessageBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new F_}});class R_ extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="webSocketOperationBinding",this.classes.push("operation-binding")}}const $_=R_,q_=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","ws","OperationBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new $_}});class k_ extends Bt.Sb{constructor(e,t,n){super(e,t,n),this.element="webSocketServerBinding",this.classes.push("server-binding")}}const D_=k_,V_=_n(ko,Po,{props:{specPath:ge(["document","objects","bindings","ws","ServerBinding"]),canSupportSpecificationExtensions:!1},init(){this.element=new D_}});function L_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function U_(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L_(Object(n),!0).forEach((function(t){gn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Z_={$visitor:vu,fixedFields:{$ref:Eu}},H_={$visitor:Su,fixedFields:U_(U_({},Uu),{},{allOf:Pu,anyOf:Au,oneOf:Nu,items:qu,properties:Lu,patternProperties:Du,dependencies:Ru,definitions:Fu,discriminator:xu,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},deprecated:ju})},J_={visitors:{value:Po,document:{objects:{AsyncApi:{$visitor:Lo,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:Ho},Identifier:{$visitor:Wo},Info:{$visitor:Yo,fixedFields:{title:Qo,description:Xo,termsOfService:ea,version:ta,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"}}},Contact:{$visitor:ra,fixedFields:{name:ia,url:oa,email:aa}},License:{$visitor:ba,fixedFields:{name:ya,url:va}},Servers:{$visitor:Uc},Server:{$visitor:Zc,fixedFields:{url:Hc,protocol:Jc,protocolVersion:zc,description:Wc,variables:Xc,security:nu,tags:{$ref:"#/visitors/document/objects/Tags"},bindings:Kc}},ServerVariable:{$visitor:su,fixedFields:{enum:ru,default:iu,description:ou,examples:au}},DefaultContentType:{$visitor:ga},Channels:{$visitor:mp},ChannelItem:{$visitor:gp,fixedFields:{$ref:_p,description:fp,servers:vp,subscribe:{$ref:"#/visitors/document/objects/Operation"},publish:{$ref:"#/visitors/document/objects/Operation"},parameters:{$ref:"#/visitors/document/objects/Parameters"},bindings:Ep}},Operation:{$visitor:Ul,fixedFields:{operationId:Zl,summary:Hl,description:Jl,security:Gl,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:Kl,traits:Xl,message:rp}},OperationTrait:{$visitor:Sd,fixedFields:{operationId:wd,summary:Od,description:jd,security:Pd,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:Bd}},Message:{$visitor:Xp,fixedFields:{messageId:ed,headers:td,payload:nd,correlationId:sd,schemaFormat:rd,contentType:id,name:od,title:ad,summary:cd,description:ud,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:ld,examples:md,traits:_d}},MessageTrait:{$visitor:Fp,fixedFields:{messageId:Cp,headers:Rp,correlationId:$p,schemaFormat:qp,contentType:kp,name:Dp,title:Vp,summary:Lp,description:Up,tags:{$ref:"#/visitors/document/objects/Tags"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},bindings:Zp,examples:zp}},MessageExample:{$visitor:Mp,fixedFields:{headers:Pp,payload:Bp,name:Ap,summary:Ip}},Tags:{$visitor:ap},Tag:{$visitor:lp,fixedFields:{name:pp,description:dp,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},ExternalDocumentation:{$visitor:Yu,fixedFields:{description:Qu,url:Xu}},Components:{$visitor:el,fixedFields:{schemas:sl,servers:ol,serverVariables:ul,channels:dl,messages:gl,securitySchemes:bl,parameters:El,correlationIds:Ol,operationTraits:Ml,messageTraits:Al,serverBindings:Tl,channelBindings:Rl,operationBindings:kl,messageBindings:Ll}},JSONReference:Z_,Reference:Z_,JSONSchema:H_,Schema:H_,LinkDescription:xo.visitors.document.objects.LinkDescription,SecurityScheme:{$visitor:pu,fixedFields:{type:du,description:mu,name:hu,in:gu,scheme:_u,bearerFormat:fu,flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:bu}},SecurityRequirement:{$visitor:yu},OAuthFlows:{$visitor:wa,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:xa,fixedFields:{authorizationUrl:Ma,tokenUrl:Pa,refreshUrl:Ba,scopes:Fa}},ServerBindings:{$visitor:cu,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:Zu},Parameter:{$visitor:Hu,fixedFields:{description:Ju,schema:Wu,location:zu}},ChannelBindings:{$visitor:hp,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:yd,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:Op,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:la,fixedFields:{description:pa,location:da}},bindings:{http:{ServerBinding:{$visitor:wm},ChannelBinding:{$visitor:hm},OperationBinding:{$visitor:vm,fixedFields:{type:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},query:Ou,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:fm,fixedFields:{headers:Ou,bindingVersion:{$ref:"#/visitors/value"}}}},ws:{ServerBinding:{$visitor:V_},ChannelBinding:{$visitor:N_,fixedFields:{method:{$ref:"#/visitors/value"},query:Ou,headers:Ou,bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:q_},MessageBinding:{$visitor:C_}},kafka:{ServerBinding:{$visitor:fh,fixedFields:{schemaRegistryUrl:{$ref:"#/visitors/value"},schemaRegistryVendor:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:ch,fixedFields:{topic:{$ref:"#/visitors/value"},partitions:{$ref:"#/visitors/value"},replicas:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:hh,fixedFields:{groupId:Ou,clientId:Ou,bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:ph,fixedFields:{key:Ou,schemaIdLocation:{$ref:"#/visitors/value"},schemaIdPayloadEncoding:{$ref:"#/visitors/value"},schemaLookupStrategy:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},anypointmq:{ServerBinding:{$visitor:pm},ChannelBinding:{$visitor:nm,fixedFields:{destination:{$ref:"#/visitors/value"},destinationType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:cm},MessageBinding:{$visitor:im,fixedFields:{headers:Ou,bindingVersion:{$ref:"#/visitors/value"}}}},amqp:{ServerBinding:{$visitor:Vd},ChannelBinding:{$visitor:Nd,fixedFields:{is:{$ref:"#/visitors/value"},exchange:{$ref:"#/visitors/value"},queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:qd,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:Cd,fixedFields:{contentEncoding:{$ref:"#/visitors/value"},messageType:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}}},amqp1:{ServerBinding:{$visitor:Xd},ChannelBinding:{$visitor:Zd},OperationBinding:{$visitor:Kd},MessageBinding:{$visitor:zd}},mqtt:{ServerBinding:{$visitor:Vh,fixedFields:{clientId:{$ref:"#/visitors/value"},cleanSession:{$ref:"#/visitors/value"},lastWill:{$ref:"#/visitors/value"},keepAlive:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:Nh},OperationBinding:{$visitor:qh,fixedFields:{qos:{$ref:"#/visitors/value"},retain:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:Ch,fixedFields:{bindingVersion:{$ref:"#/visitors/value"}}}},mqtt5:{ServerBinding:{$visitor:Xh},ChannelBinding:{$visitor:Zh},OperationBinding:{$visitor:Kh},MessageBinding:{$visitor:zh}},nats:{ServerBinding:{$visitor:pg},ChannelBinding:{$visitor:ng},OperationBinding:{$visitor:cg,fixedFields:{queue:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:ig}},pulsar:{ServerBinding:{$visitor:wg,fixedFields:{tenant:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:hg,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:vg},MessageBinding:{$visitor:fg}},jms:{ServerBinding:{$visitor:ih},ChannelBinding:{$visitor:Km},OperationBinding:{$visitor:nh},MessageBinding:{$visitor:Xm}},sns:{ServerBinding:{$visitor:zg},ChannelBinding:{$visitor:qg},OperationBinding:{$visitor:Zg},MessageBinding:{$visitor:Vg}},solace:{ServerBinding:{$visitor:i_,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},msgVpn:{$ref:"#/visitors/value"}}},ChannelBinding:{$visitor:Kg},OperationBinding:{$visitor:n_,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},destinations:{$ref:"#/visitors/value"}}},MessageBinding:{$visitor:Xg}},sqs:{ServerBinding:{$visitor:f_},ChannelBinding:{$visitor:c_},OperationBinding:{$visitor:h_},MessageBinding:{$visitor:p_}},stomp:{ServerBinding:{$visitor:B_},ChannelBinding:{$visitor:v_},OperationBinding:{$visitor:x_},MessageBinding:{$visitor:w_}},redis:{ServerBinding:{$visitor:Cg},ChannelBinding:{$visitor:xg},OperationBinding:{$visitor:Ng},MessageBinding:{$visitor:Bg}},mercure:{ServerBinding:{$visitor:Bh},ChannelBinding:{$visitor:vh},OperationBinding:{$visitor:xh},MessageBinding:{$visitor:wh}},googlepubsub:{ServerBinding:{$visitor:Cm},ChannelBinding:{$visitor:xm,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:Nm},MessageBinding:{$visitor:Bm,fixedFields:{bindingVersion:{$ref:"#/visitors/value"},attributes:{$ref:"#/visitors/value"},orderingKey:{$ref:"#/visitors/value"},schema:{$ref:"#/visitors/value"}}}},ibmmq:{ServerBinding:{$visitor:zm,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:Vm,fixedFields:{type:{$ref:"#/visitors/value"},headers:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},expiry:{$ref:"#/visitors/value"},bindingVersion:{$ref:"#/visitors/value"}}},OperationBinding:{$visitor:Zm}}}},extension:{$visitor:Co}}}},z_={namespace:e=>{const{base:t}=e;return t.register("asyncApi2",Vo),t.register("asyncApiVersion",Zo),t.register("channelBindings",qa),t.register("channelItem",Da),t.register("channels",La),t.register("components",Za),t.register("contact",sa),t.register("correlationID",ua),t.register("defaultContentType",ha),t.register("externalDocumentation",Ku),t.register("identifier",zo),t.register("info",Ko),t.register("license",fa),t.register("message",Qp),t.register("messageBindings",wp),t.register("messageExample",xp),t.register("messageTrait",Tp),t.register("oAuthFlow",ja),t.register("oAuthFlows",Sa),t.register("operation",Ja),t.register("operationBindings",bd),t.register("operationTrait",Ed),t.register("parameter",Wa),t.register("parameters",Ka),t.register("reference",Qa),t.register("schema",pc),t.register("securityRequirement",mc),t.register("securityScheme",lu),t.register("server",gc),t.register("serverBindings",fc),t.register("servers",Ra),t.register("serverVariable",yc),t.register("tag",up),t.register("tags",op),t.register("amqpChannelBinding",Id),t.register("amqpMessageBinding",Fd),t.register("amqpOperationBinding",$d),t.register("amqpServerBinding",Dd),t.register("amqp1ChannelBinding",Ud),t.register("amqp1MessageBinding",Jd),t.register("amqp1OperationBinding",Gd),t.register("amqp1ServerBinding",Qd),t.register("anypointmqChannelBinding",tm),t.register("anypointmqMessageBinding",rm),t.register("anypointmqOperationBinding",am),t.register("anypointmqServerBinding",lm),t.register("googlepubsubChannelBinding",jm),t.register("googlepubsubMessageBinding",Pm),t.register("googlepubsubOperationBinding",Im),t.register("googlepubsubServerBinding",Fm),t.register("httpChannelBinding",mm),t.register("httpMessageBinding",_m),t.register("httpOperationBinding",ym),t.register("httpServerBinding",Sm),t.register("ibmmqChannelBinding",$m),t.register("ibmmqMessageBinding",Dm),t.register("ibmmqOperationBinding",Um),t.register("ibmmqServerBinding",Jm),t.register("jmsChannelBinding",Gm),t.register("jmsMessageBinding",Qm),t.register("jmsOperationBinding",th),t.register("jmsServerBinding",rh),t.register("kafkaChannelBinding",ah),t.register("kafkaMessageBinding",lh),t.register("kafkaOperationBinding",mh),t.register("kafkaServerBinding",_h),t.register("mercureChannelBinding",yh),t.register("mercureMessageBinding",Sh),t.register("mercureOperationBinding",jh),t.register("mercureServerBinding",Ph),t.register("mqttChannelBinding",Ih),t.register("mqttMessageBinding",Fh),t.register("mqttOperationBinding",$h),t.register("mqttServerBinding",Dh),t.register("mqtt5ChannelBinding",Uh),t.register("mqtt5MessageBinding",Jh),t.register("mqtt5OperationBinding",Gh),t.register("mqtt5ServerBinding",Qh),t.register("natsChannelBinding",tg),t.register("natsMessageBinding",rg),t.register("natsOperationBinding",ag),t.register("natsServerBinding",lg),t.register("pulsarChannelBinding",mg),t.register("pulsarMessageBinding",_g),t.register("pulsarOperationBinding",yg),t.register("pulsarServerBinding",Sg),t.register("redisChannelBinding",jg),t.register("redisMessageBinding",Pg),t.register("redisOperationBinding",Ig),t.register("redisServerBinding",Fg),t.register("snsChannelBinding",$g),t.register("snsMessageBinding",Dg),t.register("snsOperationBinding",Ug),t.register("snsServerBinding",Jg),t.register("solaceChannelBinding",Gg),t.register("solaceMessageBinding",Qg),t.register("solaceOperationBinding",t_),t.register("solaceServerBinding",r_),t.register("sqsChannelBinding",a_),t.register("sqsMessageBinding",l_),t.register("sqsOperationBinding",m_),t.register("sqsServerBinding",__),t.register("stompChannelBinding",y_),t.register("stompMessageBinding",S_),t.register("stompOperationBinding",j_),t.register("stompServerBinding",P_),t.register("webSocketChannelBinding",I_),t.register("webSocketMessageBinding",F_),t.register("webSocketOperationBinding",$_),t.register("webSocketServerBinding",D_),t}};function W_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function G_(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?W_(Object(n),!0).forEach((function(t){gn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):W_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const K_=()=>{const e=Qt(z_);return{predicates:G_(G_({},r),{},{isStringElement:Fn}),namespace:e}};function Y_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function Q_(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Y_(Object(n),!0).forEach((function(t){gn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Y_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const X_=function(e){let{specPath:t=["visitors","document","objects","AsyncApi","$visitor"],plugins:n=[]}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const s=(0,Bt.Qc)(e),r=lr(J_),i=cs(t,[],r);return rs(s,i,{state:{specObj:r}}),ps(i.element,n,{toolboxCreator:K_,visitorOptions:{keyMap:Io,nodeTypeGetter:Ao}})},ef=e=>function(t){return X_(t,Q_(Q_({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),{},{specPath:e}))};Vo.refract=ef(["visitors","document","objects","AsyncApi","$visitor"]),Zo.refract=ef(["visitors","document","objects","AsyncApiVersion","$visitor"]),qa.refract=ef(["visitors","document","objects","ChannelBindings","$visitor"]),Da.refract=ef(["visitors","document","objects","ChannelItem","$visitor"]),La.refract=ef(["visitors","document","objects","Channels","$visitor"]),Za.refract=ef(["visitors","document","objects","Components","$visitor"]),sa.refract=ef(["visitors","document","objects","Contact","$visitor"]),ua.refract=ef(["visitors","document","objects","CorrelationID","$visitor"]),ha.refract=ef(["visitors","document","objects","DefaultContentType","$visitor"]),Ku.refract=ef(["visitors","document","objects","ExternalDocumentation","$visitor"]),zo.refract=ef(["visitors","document","objects","Identifier","$visitor"]),Ko.refract=ef(["visitors","document","objects","Info","$visitor"]),fa.refract=ef(["visitors","document","objects","License","$visitor"]),Qp.refract=ef(["visitors","document","objects","Message","$visitor"]),wp.refract=ef(["visitors","document","objects","MessageBindings","$visitor"]),xp.refract=ef(["visitors","document","objects","MessageExample","$visitor"]),Tp.refract=ef(["visitors","document","objects","MessageTrait","$visitor"]),ja.refract=ef(["visitors","document","objects","OAuthFlow","$visitor"]),Sa.refract=ef(["visitors","document","objects","OAuthFlows","$visitor"]),Ja.refract=ef(["visitors","document","objects","Operation","$visitor"]),bd.refract=ef(["visitors","document","objects","OperationBindings","$visitor"]),Ed.refract=ef(["visitors","document","objects","OperationTrait","$visitor"]),Wa.refract=ef(["visitors","document","objects","Parameter","$visitor"]),Ka.refract=ef(["visitors","document","objects","Parameters","$visitor"]),Qa.refract=ef(["visitors","document","objects","Reference","$visitor"]),pc.refract=ef(["visitors","document","objects","Schema","$visitor"]),mc.refract=ef(["visitors","document","objects","SecurityRequirement","$visitor"]),lu.refract=ef(["visitors","document","objects","SecurityScheme","$visitor"]),gc.refract=ef(["visitors","document","objects","Server","$visitor"]),fc.refract=ef(["visitors","document","objects","ServerBindings","$visitor"]),Ra.refract=ef(["visitors","document","objects","Servers","$visitor"]),yc.refract=ef(["visitors","document","objects","ServerVariable","$visitor"]),up.refract=ef(["visitors","document","objects","Tag","$visitor"]),op.refract=ef(["visitors","document","objects","Tags","$visitor"]),Id.refract=ef(["visitors","document","objects","bindings","amqp","ChannelBinding","$visitor"]),Fd.refract=ef(["visitors","document","objects","bindings","amqp","MessageBinding","$visitor"]),$d.refract=ef(["visitors","document","objects","bindings","amqp","OperationBinding","$visitor"]),Dd.refract=ef(["visitors","document","objects","bindings","amqp","ServerBinding","$visitor"]),Ud.refract=ef(["visitors","document","objects","bindings","amqp1","ChannelBinding","$visitor"]),Jd.refract=ef(["visitors","document","objects","bindings","amqp1","MessageBinding","$visitor"]),Gd.refract=ef(["visitors","document","objects","bindings","amqp1","OperationBinding","$visitor"]),Qd.refract=ef(["visitors","document","objects","bindings","amqp1","ServerBinding","$visitor"]),mm.refract=ef(["visitors","document","objects","bindings","http","ChannelBinding","$visitor"]),_m.refract=ef(["visitors","document","objects","bindings","http","MessageBinding","$visitor"]),ym.refract=ef(["visitors","document","objects","bindings","http","OperationBinding","$visitor"]),Sm.refract=ef(["visitors","document","objects","bindings","http","ServerBinding","$visitor"]),jm.refract=ef(["visitors","document","objects","bindings","googlepubsub","ChannelBinding","$visitor"]),Pm.refract=ef(["visitors","document","objects","bindings","googlepubsub","MessageBinding","$visitor"]),Im.refract=ef(["visitors","document","objects","bindings","googlepubsub","OperationBinding","$visitor"]),Fm.refract=ef(["visitors","document","objects","bindings","googlepubsub","ServerBinding","$visitor"]),$m.refract=ef(["visitors","document","objects","bindings","ibmmq","ChannelBinding","$visitor"]),Dm.refract=ef(["visitors","document","objects","bindings","ibmmq","MessageBinding","$visitor"]),Um.refract=ef(["visitors","document","objects","bindings","ibmmq","OperationBinding","$visitor"]),Jm.refract=ef(["visitors","document","objects","bindings","ibmmq","ServerBinding","$visitor"]),Gm.refract=ef(["visitors","document","objects","bindings","jms","ChannelBinding","$visitor"]),Qm.refract=ef(["visitors","document","objects","bindings","jms","MessageBinding","$visitor"]),th.refract=ef(["visitors","document","objects","bindings","jms","OperationBinding","$visitor"]),rh.refract=ef(["visitors","document","objects","bindings","jms","ServerBinding","$visitor"]),ah.refract=ef(["visitors","document","objects","bindings","kafka","ChannelBinding","$visitor"]),lh.refract=ef(["visitors","document","objects","bindings","kafka","MessageBinding","$visitor"]),mh.refract=ef(["visitors","document","objects","bindings","kafka","OperationBinding","$visitor"]),_h.refract=ef(["visitors","document","objects","bindings","kafka","ServerBinding","$visitor"]),tm.refract=ef(["visitors","document","objects","bindings","anypointmq","ChannelBinding","$visitor"]),rm.refract=ef(["visitors","document","objects","bindings","anypointmq","MessageBinding","$visitor"]),am.refract=ef(["visitors","document","objects","bindings","anypointmq","OperationBinding","$visitor"]),lm.refract=ef(["visitors","document","objects","bindings","anypointmq","ServerBinding","$visitor"]),yh.refract=ef(["visitors","document","objects","bindings","mercure","ChannelBinding","$visitor"]),Sh.refract=ef(["visitors","document","objects","bindings","mercure","MessageBinding","$visitor"]),jh.refract=ef(["visitors","document","objects","bindings","mercure","OperationBinding","$visitor"]),Ph.refract=ef(["visitors","document","objects","bindings","mercure","ServerBinding","$visitor"]),Ih.refract=ef(["visitors","document","objects","bindings","mqtt","ChannelBinding","$visitor"]),Fh.refract=ef(["visitors","document","objects","bindings","mqtt","MessageBinding","$visitor"]),$h.refract=ef(["visitors","document","objects","bindings","mqtt","OperationBinding","$visitor"]),Dh.refract=ef(["visitors","document","objects","bindings","mqtt","ServerBinding","$visitor"]),Uh.refract=ef(["visitors","document","objects","bindings","mqtt5","ChannelBinding","$visitor"]),Jh.refract=ef(["visitors","document","objects","bindings","mqtt5","MessageBinding","$visitor"]),Gh.refract=ef(["visitors","document","objects","bindings","mqtt5","OperationBinding","$visitor"]),Qh.refract=ef(["visitors","document","objects","bindings","mqtt5","ServerBinding","$visitor"]),tg.refract=ef(["visitors","document","objects","bindings","nats","ChannelBinding","$visitor"]),rg.refract=ef(["visitors","document","objects","bindings","nats","MessageBinding","$visitor"]),ag.refract=ef(["visitors","document","objects","bindings","nats","OperationBinding","$visitor"]),lg.refract=ef(["visitors","document","objects","bindings","nats","ServerBinding","$visitor"]),mg.refract=ef(["visitors","document","objects","bindings","pulsar","ChannelBinding","$visitor"]),_g.refract=ef(["visitors","document","objects","bindings","pulsar","MessageBinding","$visitor"]),yg.refract=ef(["visitors","document","objects","bindings","pulsar","OperationBinding","$visitor"]),Sg.refract=ef(["visitors","document","objects","bindings","pulsar","ServerBinding","$visitor"]),jg.refract=ef(["visitors","document","objects","bindings","redis","ChannelBinding","$visitor"]),Pg.refract=ef(["visitors","document","objects","bindings","redis","MessageBinding","$visitor"]),Ig.refract=ef(["visitors","document","objects","bindings","redis","OperationBinding","$visitor"]),Fg.refract=ef(["visitors","document","objects","bindings","redis","ServerBinding","$visitor"]),$g.refract=ef(["visitors","document","objects","bindings","sns","ChannelBinding","$visitor"]),Dg.refract=ef(["visitors","document","objects","bindings","sns","MessageBinding","$visitor"]),Ug.refract=ef(["visitors","document","objects","bindings","sns","OperationBinding","$visitor"]),Jg.refract=ef(["visitors","document","objects","bindings","sns","ServerBinding","$visitor"]),Gg.refract=ef(["visitors","document","objects","bindings","solace","ChannelBinding","$visitor"]),Qg.refract=ef(["visitors","document","objects","bindings","solace","MessageBinding","$visitor"]),t_.refract=ef(["visitors","document","objects","bindings","solace","OperationBinding","$visitor"]),r_.refract=ef(["visitors","document","objects","bindings","solace","ServerBinding","$visitor"]),a_.refract=ef(["visitors","document","objects","bindings","sqs","ChannelBinding","$visitor"]),l_.refract=ef(["visitors","document","objects","bindings","sqs","MessageBinding","$visitor"]),m_.refract=ef(["visitors","document","objects","bindings","sqs","OperationBinding","$visitor"]),__.refract=ef(["visitors","document","objects","bindings","sqs","ServerBinding","$visitor"]),y_.refract=ef(["visitors","document","objects","bindings","stomp","ChannelBinding","$visitor"]),S_.refract=ef(["visitors","document","objects","bindings","stomp","MessageBinding","$visitor"]),j_.refract=ef(["visitors","document","objects","bindings","stomp","OperationBinding","$visitor"]),P_.refract=ef(["visitors","document","objects","bindings","stomp","ServerBinding","$visitor"]),I_.refract=ef(["visitors","document","objects","bindings","ws","ChannelBinding","$visitor"]),F_.refract=ef(["visitors","document","objects","bindings","ws","MessageBinding","$visitor"]),$_.refract=ef(["visitors","document","objects","bindings","ws","OperationBinding","$visitor"]),D_.refract=ef(["visitors","document","objects","bindings","ws","ServerBinding","$visitor"]);const tf=new Gp(...Kp.filterByFormat("generic"),...Kp.filterByFormat("json")),nf=/"asyncapi"\s*:\s*"(?<version_json>2\.(?:[1-9]\d*|0)\.(?:[1-9]\d*|0))"/,sf=async e=>nf.test(e)&&await(async e=>{if(!cr.test(e))return!1;try{return"ERROR"!==(await cn(e)).rootNode.type}catch{return!1}})(e),rf=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=ft({},"refractorOpts",t),s=ht(["refractorOpts"],t),r=await async function(e){let{sourceMap:t=!1,syntacticAnalysis:n="direct"}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const s=await cn(e);let r;return r="indirect"===n?ar(s,{sourceMap:t}):Es(s,{sourceMap:t}),r}(e,s),{result:i}=r;if(Pt(i)){const e=Vo.refract(i,n);e.classes.push("result"),r.replaceResult(e)}return r},of=Qt(z_)})(),__webpack_exports__})()));