@swagger-api/apidom-parser-adapter-openapi-yaml-3-1 0.70.2 → 0.71.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see apidom-parser-adapter-openapi-yaml-3-1.browser.min.js.LICENSE.txt */
2
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.apidomParserAdapterOpenApiYaml3_1=t():e.apidomParserAdapterOpenApiYaml3_1=t()}(self,(()=>(()=>{var __webpack_modules__={8385:(e,t,r)=>{var n=r(6174);e.exports=n},5271:(e,t,r)=>{var n=r(7820);e.exports=n},7574:(e,t,r)=>{var n=r(2);e.exports=n},33:(e,t,r)=>{var n=r(5636);e.exports=n},9821:(e,t,r)=>{var n=r(2285);r(9031),e.exports=n},8008:(e,t,r)=>{var n=r(8535);e.exports=n},164:(e,t,r)=>{var n=r(6042);e.exports=n},2089:(e,t,r)=>{r(2276);var n=r(5607);e.exports=n("Array").indexOf},2604:(e,t,r)=>{var n=r(8902),s=r(2089),i=Array.prototype;e.exports=function(e){var t=e.indexOf;return e===i||n(i,e)&&t===i.indexOf?s:t}},3512:(e,t,r)=>{r(297);var n=r(7545).Object,s=e.exports=function(e,t,r){return n.defineProperty(e,t,r)};n.defineProperty.sham&&(s.sham=!0)},2921:(e,t,r)=>{r(6187);var n=r(7545);e.exports=n.Object.getOwnPropertySymbols},8651:(e,t,r)=>{r(2647);var n=r(7545);e.exports=n.Object.keys},5008:(e,t,r)=>{r(9106),r(6663),r(6187),r(9781),r(492),r(6681),r(9594),r(3665),r(9017),r(1250),r(9786),r(503),r(6565),r(9322),r(3610),r(6886),r(3514),r(8671),r(8556),r(1367);var n=r(7545);e.exports=n.Symbol},994:(e,t,r)=>{r(8939),r(6663),r(5454),r(3665);var n=r(9207);e.exports=n.f("iterator")},290:(e,t,r)=>{r(2432),r(3610);var n=r(9207);e.exports=n.f("toPrimitive")},2747:(e,t,r)=>{var n=r(8385);e.exports=n},229:(e,t,r)=>{var n=r(5271);e.exports=n},5090:(e,t,r)=>{var n=r(7574);e.exports=n},5483:(e,t,r)=>{var n=r(33);e.exports=n},2185:(e,t,r)=>{var n=r(9821);r(177),r(2725),r(1806),r(6658),r(4212),r(8658),r(1875),r(4592),r(6680),e.exports=n},9982:(e,t,r)=>{var n=r(8008);e.exports=n},8241:(e,t,r)=>{var n=r(164);e.exports=n},6235:(e,t,r)=>{var n=r(6447),s=r(9288),i=TypeError;e.exports=function(e){if(n(e))return e;throw i(s(e)+" is not a function")}},7757:(e,t,r)=>{var n=r(6447),s=String,i=TypeError;e.exports=function(e){if("object"==typeof e||n(e))return e;throw i("Can't set "+s(e)+" as a prototype")}},7423:e=>{e.exports=function(){}},1138:(e,t,r)=>{var n=r(5744),s=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw i(s(e)+" is not an object")}},8180:(e,t,r)=>{var n=r(101),s=r(7739),i=r(4104),o=function(e){return function(t,r,o){var a,c=n(t),l=i(c),u=s(o,l);if(e&&r!=r){for(;l>u;)if((a=c[u++])!=a)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===r)return e||u||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},454:(e,t,r)=>{var n=r(8043),s=r(4120),i=r(2202),o=r(1795),a=r(4104),c=r(1321),l=s([].push),u=function(e){var t=1==e,r=2==e,s=3==e,u=4==e,p=6==e,m=7==e,d=5==e||p;return function(h,_,f,g){for(var y,b,v=o(h),E=i(v),w=n(_,f),x=a(E),S=0,O=g||c,j=t?O(h,x):r||m?O(h,0):void 0;x>S;S++)if((d||S in E)&&(b=w(y=E[S],S,v),e))if(t)j[S]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return S;case 2:l(j,y)}else switch(e){case 4:return!1;case 7:l(j,y)}return p?-1:s||u?u:j}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},242:(e,t,r)=>{var n=r(6192),s=r(8182),i=r(4218),o=s("species");e.exports=function(e){return i>=51||!n((function(){var t=[];return(t.constructor={})[o]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},424:(e,t,r)=>{"use strict";var n=r(6192);e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){return 1},1)}))}},1923:(e,t,r)=>{var n=r(7739),s=r(4104),i=r(9361),o=Array,a=Math.max;e.exports=function(e,t,r){for(var c=s(e),l=n(t,c),u=n(void 0===r?c:r,c),p=o(a(u-l,0)),m=0;l<u;l++,m++)i(p,m,e[l]);return p.length=m,p}},3096:(e,t,r)=>{var n=r(4120);e.exports=n([].slice)},3712:(e,t,r)=>{var n=r(4770),s=r(2091),i=r(5744),o=r(8182)("species"),a=Array;e.exports=function(e){var t;return n(e)&&(t=e.constructor,(s(t)&&(t===a||n(t.prototype))||i(t)&&null===(t=t[o]))&&(t=void 0)),void 0===t?a:t}},1321:(e,t,r)=>{var n=r(3712);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},9272:(e,t,r)=>{var n=r(4120),s=n({}.toString),i=n("".slice);e.exports=function(e){return i(s(e),8,-1)}},4696:(e,t,r)=>{var n=r(3471),s=r(6447),i=r(9272),o=r(8182)("toStringTag"),a=Object,c="Arguments"==i(function(){return arguments}());e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=a(e),o))?r:c?i(t):"Object"==(n=i(t))&&s(t.callee)?"Arguments":n}},4635:(e,t,r)=>{var n=r(6192);e.exports=!n((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,r)=>{var n=r(69),s=r(2760),i=r(774);e.exports=n?function(e,t,r){return s.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},774:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},9361:(e,t,r)=>{"use strict";var n=r(77),s=r(2760),i=r(774);e.exports=function(e,t,r){var o=n(t);o in e?s.f(e,o,i(0,r)):e[o]=r}},2807:(e,t,r)=>{var n=r(2760);e.exports=function(e,t,r){return n.f(e,t,r)}},9362:(e,t,r)=>{var n=r(8711);e.exports=function(e,t,r,s){return s&&s.enumerable?e[t]=r:n(e,t,r),e}},5098:(e,t,r)=>{var n=r(8576),s=Object.defineProperty;e.exports=function(e,t){try{s(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},69:(e,t,r)=>{var n=r(6192);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8382:e=>{var t="object"==typeof document&&document.all,r=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:r}},7449:(e,t,r)=>{var n=r(8576),s=r(5744),i=n.document,o=s(i)&&s(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,r)=>{var n,s,i=r(8576),o=r(8989),a=i.process,c=i.Deno,l=a&&a.versions||c&&c.version,u=l&&l.v8;u&&(s=(n=u.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!s&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(s=+n[1]),e.exports=s},5607:(e,t,r)=>{var n=r(7545);e.exports=function(e){return n[e+"Prototype"]}},2952:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3085:(e,t,r)=>{"use strict";var n=r(8576),s=r(6298),i=r(4914),o=r(6447),a=r(5141).f,c=r(9245),l=r(7545),u=r(8043),p=r(8711),m=r(4500),d=function(e){var t=function(r,n,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(r);case 2:return new e(r,n)}return new e(r,n,i)}return s(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var r,s,h,_,f,g,y,b,v,E=e.target,w=e.global,x=e.stat,S=e.proto,O=w?n:x?n[E]:(n[E]||{}).prototype,j=w?l:l[E]||p(l,E,{})[E],P=j.prototype;for(_ in t)s=!(r=c(w?_:E+(x?".":"#")+_,e.forced))&&O&&m(O,_),g=j[_],s&&(y=e.dontCallGetSet?(v=a(O,_))&&v.value:O[_]),f=s&&y?y:t[_],s&&typeof g==typeof f||(b=e.bind&&s?u(f,n):e.wrap&&s?d(f):S&&o(f)?i(f):f,(e.sham||f&&f.sham||g&&g.sham)&&p(b,"sham",!0),p(j,_,b),S&&(m(l,h=E+"Prototype")||p(l,h,{}),p(l[h],_,f),e.real&&P&&(r||!P[_])&&p(P,_,f)))}},6192:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},6298:(e,t,r)=>{var n=r(2784),s=Function.prototype,i=s.apply,o=s.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(i):function(){return o.apply(i,arguments)})},8043:(e,t,r)=>{var n=r(4914),s=r(6235),i=r(2784),o=n(n.bind);e.exports=function(e,t){return s(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}},2784:(e,t,r)=>{var n=r(6192);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},8922:(e,t,r)=>{var n=r(2784),s=Function.prototype.call;e.exports=n?s.bind(s):function(){return s.apply(s,arguments)}},2282:(e,t,r)=>{var n=r(69),s=r(4500),i=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,a=s(i,"name"),c=a&&"something"===function(){}.name,l=a&&(!n||n&&o(i,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:l}},6419:(e,t,r)=>{var n=r(4120),s=r(6235);e.exports=function(e,t,r){try{return n(s(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},4914:(e,t,r)=>{var n=r(9272),s=r(4120);e.exports=function(e){if("Function"===n(e))return s(e)}},4120:(e,t,r)=>{var n=r(2784),s=Function.prototype,i=s.call,o=n&&s.bind.bind(i,i);e.exports=n?o:function(e){return function(){return i.apply(e,arguments)}}},150:(e,t,r)=>{var n=r(7545),s=r(8576),i=r(6447),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e])||o(s[e]):n[e]&&n[e][t]||s[e]&&s[e][t]}},9202:(e,t,r)=>{var n=r(4120),s=r(4770),i=r(6447),o=r(9272),a=r(4845),c=n([].push);e.exports=function(e){if(i(e))return e;if(s(e)){for(var t=e.length,r=[],n=0;n<t;n++){var l=e[n];"string"==typeof l?c(r,l):"number"!=typeof l&&"Number"!=o(l)&&"String"!=o(l)||c(r,a(l))}var u=r.length,p=!0;return function(e,t){if(p)return p=!1,t;if(s(this))return t;for(var n=0;n<u;n++)if(r[n]===e)return t}}}},5037:(e,t,r)=>{var n=r(6235),s=r(5646);e.exports=function(e,t){var r=e[t];return s(r)?void 0:n(r)}},8576:function(e,t,r){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||this||Function("return this")()},4500:(e,t,r)=>{var n=r(4120),s=r(1795),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(s(e),t)}},4535:e=>{e.exports={}},7403:(e,t,r)=>{var n=r(150);e.exports=n("document","documentElement")},188:(e,t,r)=>{var n=r(69),s=r(6192),i=r(7449);e.exports=!n&&!s((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},2202:(e,t,r)=>{var n=r(4120),s=r(6192),i=r(9272),o=Object,a=n("".split);e.exports=s((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?a(e,""):o(e)}:o},9516:(e,t,r)=>{var n=r(4120),s=r(6447),i=r(6434),o=n(Function.toString);s(i.inspectSource)||(i.inspectSource=function(e){return o(e)}),e.exports=i.inspectSource},3326:(e,t,r)=>{var n,s,i,o=r(5278),a=r(8576),c=r(5744),l=r(8711),u=r(4500),p=r(6434),m=r(9766),d=r(4535),h="Object already initialized",_=a.TypeError,f=a.WeakMap;if(o||p.state){var g=p.state||(p.state=new f);g.get=g.get,g.has=g.has,g.set=g.set,n=function(e,t){if(g.has(e))throw _(h);return t.facade=e,g.set(e,t),t},s=function(e){return g.get(e)||{}},i=function(e){return g.has(e)}}else{var y=m("state");d[y]=!0,n=function(e,t){if(u(e,y))throw _(h);return t.facade=e,l(e,y,t),t},s=function(e){return u(e,y)?e[y]:{}},i=function(e){return u(e,y)}}e.exports={set:n,get:s,has:i,enforce:function(e){return i(e)?s(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=s(t)).type!==e)throw _("Incompatible receiver, "+e+" required");return r}}}},4770:(e,t,r)=>{var n=r(9272);e.exports=Array.isArray||function(e){return"Array"==n(e)}},6447:(e,t,r)=>{var n=r(8382),s=n.all;e.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===s}:function(e){return"function"==typeof e}},2091:(e,t,r)=>{var n=r(4120),s=r(6192),i=r(6447),o=r(4696),a=r(150),c=r(9516),l=function(){},u=[],p=a("Reflect","construct"),m=/^\s*(?:class|function)\b/,d=n(m.exec),h=!m.exec(l),_=function(e){if(!i(e))return!1;try{return p(l,u,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 h||!!d(m,c(e))}catch(e){return!0}};f.sham=!0,e.exports=!p||s((function(){var e;return _(_.call)||!_(Object)||!_((function(){e=!0}))||e}))?f:_},9245:(e,t,r)=>{var n=r(6192),s=r(6447),i=/#|\.prototype\./,o=function(e,t){var r=c[a(e)];return r==u||r!=l&&(s(t)?n(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=o.data={},l=o.NATIVE="N",u=o.POLYFILL="P";e.exports=o},5646:e=>{e.exports=function(e){return null==e}},5744:(e,t,r)=>{var n=r(6447),s=r(8382),i=s.all;e.exports=s.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===i}:function(e){return"object"==typeof e?null!==e:n(e)}},5546:e=>{e.exports=!0},3236:(e,t,r)=>{var n=r(150),s=r(6447),i=r(8902),o=r(615),a=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return s(t)&&i(t.prototype,a(e))}},5695:(e,t,r)=>{"use strict";var n=r(4413).IteratorPrototype,s=r(2853),i=r(774),o=r(1284),a=r(7771),c=function(){return this};e.exports=function(e,t,r,l){var u=t+" Iterator";return e.prototype=s(n,{next:i(+!l,r)}),o(e,u,!1,!0),a[u]=c,e}},5297:(e,t,r)=>{"use strict";var n=r(3085),s=r(8922),i=r(5546),o=r(2282),a=r(6447),c=r(5695),l=r(9341),u=r(4469),p=r(1284),m=r(8711),d=r(9362),h=r(8182),_=r(7771),f=r(4413),g=o.PROPER,y=o.CONFIGURABLE,b=f.IteratorPrototype,v=f.BUGGY_SAFARI_ITERATORS,E=h("iterator"),w="keys",x="values",S="entries",O=function(){return this};e.exports=function(e,t,r,o,h,f,j){c(r,t,o);var P,M,A,F=function(e){if(e===h&&C)return C;if(!v&&e in N)return N[e];switch(e){case w:case x:case S:return function(){return new r(this,e)}}return function(){return new r(this)}},I=t+" Iterator",T=!1,N=e.prototype,R=N[E]||N["@@iterator"]||h&&N[h],C=!v&&R||F(h),k="Array"==t&&N.entries||R;if(k&&(P=l(k.call(new e)))!==Object.prototype&&P.next&&(i||l(P)===b||(u?u(P,b):a(P[E])||d(P,E,O)),p(P,I,!0,!0),i&&(_[I]=O)),g&&h==x&&R&&R.name!==x&&(!i&&y?m(N,"name",x):(T=!0,C=function(){return s(R,this)})),h)if(M={values:F(x),keys:f?C:F(w),entries:F(S)},j)for(A in M)(v||T||!(A in N))&&d(N,A,M[A]);else n({target:t,proto:!0,forced:v||T},M);return i&&!j||N[E]===C||d(N,E,C,{name:h}),_[t]=C,M}},4413:(e,t,r)=>{"use strict";var n,s,i,o=r(6192),a=r(6447),c=r(5744),l=r(2853),u=r(9341),p=r(9362),m=r(8182),d=r(5546),h=m("iterator"),_=!1;[].keys&&("next"in(i=[].keys())?(s=u(u(i)))!==Object.prototype&&(n=s):_=!0),!c(n)||o((function(){var e={};return n[h].call(e)!==e}))?n={}:d&&(n=l(n)),a(n[h])||p(n,h,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:_}},7771:e=>{e.exports={}},4104:(e,t,r)=>{var n=r(8445);e.exports=function(e){return n(e.length)}},7679:e=>{var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},2853:(e,t,r)=>{var n,s=r(1138),i=r(1187),o=r(2952),a=r(4535),c=r(7403),l=r(7449),u=r(9766),p="prototype",m="script",d=u("IE_PROTO"),h=function(){},_=function(e){return"<"+m+">"+e+"</"+m+">"},f=function(e){e.write(_("")),e.close();var t=e.parentWindow.Object;return e=null,t},g=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;g="undefined"!=typeof document?document.domain&&n?f(n):(t=l("iframe"),r="java"+m+":",t.style.display="none",c.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(_("document.F=Object")),e.close(),e.F):f(n);for(var s=o.length;s--;)delete g[p][o[s]];return g()};a[d]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(h[p]=s(e),r=new h,h[p]=null,r[d]=e):r=g(),void 0===t?r:i.f(r,t)}},1187:(e,t,r)=>{var n=r(69),s=r(9600),i=r(2760),o=r(1138),a=r(101),c=r(7653);t.f=n&&!s?Object.defineProperties:function(e,t){o(e);for(var r,n=a(t),s=c(t),l=s.length,u=0;l>u;)i.f(e,r=s[u++],n[r]);return e}},2760:(e,t,r)=>{var n=r(69),s=r(188),i=r(9600),o=r(1138),a=r(77),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,p="enumerable",m="configurable",d="writable";t.f=n?i?function(e,t,r){if(o(e),t=a(t),o(r),"function"==typeof e&&"prototype"===t&&"value"in r&&d in r&&!r[d]){var n=u(e,t);n&&n[d]&&(e[t]=r.value,r={configurable:m in r?r[m]:n[m],enumerable:p in r?r[p]:n[p],writable:!1})}return l(e,t,r)}:l:function(e,t,r){if(o(e),t=a(t),o(r),s)try{return l(e,t,r)}catch(e){}if("get"in r||"set"in r)throw c("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},5141:(e,t,r)=>{var n=r(69),s=r(8922),i=r(6007),o=r(774),a=r(101),c=r(77),l=r(4500),u=r(188),p=Object.getOwnPropertyDescriptor;t.f=n?p:function(e,t){if(e=a(e),t=c(t),u)try{return p(e,t)}catch(e){}if(l(e,t))return o(!s(i.f,e,t),e[t])}},4052:(e,t,r)=>{var n=r(9272),s=r(101),i=r(2092).f,o=r(1923),a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"Window"==n(e)?function(e){try{return i(e)}catch(e){return o(a)}}(e):i(s(e))}},2092:(e,t,r)=>{var n=r(7934),s=r(2952).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,s)}},4750:(e,t)=>{t.f=Object.getOwnPropertySymbols},9341:(e,t,r)=>{var n=r(4500),s=r(6447),i=r(1795),o=r(9766),a=r(4635),c=o("IE_PROTO"),l=Object,u=l.prototype;e.exports=a?l.getPrototypeOf:function(e){var t=i(e);if(n(t,c))return t[c];var r=t.constructor;return s(r)&&t instanceof r?r.prototype:t instanceof l?u:null}},8902:(e,t,r)=>{var n=r(4120);e.exports=n({}.isPrototypeOf)},7934:(e,t,r)=>{var n=r(4120),s=r(4500),i=r(101),o=r(8180).indexOf,a=r(4535),c=n([].push);e.exports=function(e,t){var r,n=i(e),l=0,u=[];for(r in n)!s(a,r)&&s(n,r)&&c(u,r);for(;t.length>l;)s(n,r=t[l++])&&(~o(u,r)||c(u,r));return u}},7653:(e,t,r)=>{var n=r(7934),s=r(2952);e.exports=Object.keys||function(e){return n(e,s)}},6007:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,s=n&&!r.call({1:2},1);t.f=s?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},4469:(e,t,r)=>{var n=r(6419),s=r(1138),i=r(7757);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return s(r),i(n),t?e(r,n):r.__proto__=n,r}}():void 0)},158:(e,t,r)=>{"use strict";var n=r(3471),s=r(4696);e.exports=n?{}.toString:function(){return"[object "+s(this)+"]"}},380:(e,t,r)=>{var n=r(8922),s=r(6447),i=r(5744),o=TypeError;e.exports=function(e,t){var r,a;if("string"===t&&s(r=e.toString)&&!i(a=n(r,e)))return a;if(s(r=e.valueOf)&&!i(a=n(r,e)))return a;if("string"!==t&&s(r=e.toString)&&!i(a=n(r,e)))return a;throw o("Can't convert object to primitive value")}},7545:e=>{e.exports={}},3209:(e,t,r)=>{var n=r(5646),s=TypeError;e.exports=function(e){if(n(e))throw s("Can't call method on "+e);return e}},1284:(e,t,r)=>{var n=r(3471),s=r(2760).f,i=r(8711),o=r(4500),a=r(158),c=r(8182)("toStringTag");e.exports=function(e,t,r,l){if(e){var u=r?e:e.prototype;o(u,c)||s(u,c,{configurable:!0,value:t}),l&&!n&&i(u,"toString",a)}}},9766:(e,t,r)=>{var n=r(8717),s=r(2759),i=n("keys");e.exports=function(e){return i[e]||(i[e]=s(e))}},6434:(e,t,r)=>{var n=r(8576),s=r(5098),i="__core-js_shared__",o=n[i]||s(i,{});e.exports=o},8717:(e,t,r)=>{var n=r(5546),s=r(6434);(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.30.2",mode:n?"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,r)=>{var n=r(4120),s=r(1941),i=r(4845),o=r(3209),a=n("".charAt),c=n("".charCodeAt),l=n("".slice),u=function(e){return function(t,r){var n,u,p=i(o(t)),m=s(r),d=p.length;return m<0||m>=d?e?"":void 0:(n=c(p,m))<55296||n>56319||m+1===d||(u=c(p,m+1))<56320||u>57343?e?a(p,m):n:e?l(p,m,m+2):u-56320+(n-55296<<10)+65536}};e.exports={codeAt:u(!1),charAt:u(!0)}},6770:(e,t,r)=>{var n=r(4218),s=r(6192),i=r(8576).String;e.exports=!!Object.getOwnPropertySymbols&&!s((function(){var e=Symbol();return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},3407:(e,t,r)=>{var n=r(8922),s=r(150),i=r(8182),o=r(9362);e.exports=function(){var e=s("Symbol"),t=e&&e.prototype,r=t&&t.valueOf,a=i("toPrimitive");t&&!t[a]&&o(t,a,(function(e){return n(r,this)}),{arity:1})}},31:(e,t,r)=>{var n=r(6770);e.exports=n&&!!Symbol.for&&!!Symbol.keyFor},7739:(e,t,r)=>{var n=r(1941),s=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?s(r+t,0):i(r,t)}},101:(e,t,r)=>{var n=r(2202),s=r(3209);e.exports=function(e){return n(s(e))}},1941:(e,t,r)=>{var n=r(7679);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},8445:(e,t,r)=>{var n=r(1941),s=Math.min;e.exports=function(e){return e>0?s(n(e),9007199254740991):0}},1795:(e,t,r)=>{var n=r(3209),s=Object;e.exports=function(e){return s(n(e))}},7888:(e,t,r)=>{var n=r(8922),s=r(5744),i=r(3236),o=r(5037),a=r(380),c=r(8182),l=TypeError,u=c("toPrimitive");e.exports=function(e,t){if(!s(e)||i(e))return e;var r,c=o(e,u);if(c){if(void 0===t&&(t="default"),r=n(c,e,t),!s(r)||i(r))return r;throw l("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},77:(e,t,r)=>{var n=r(7888),s=r(3236);e.exports=function(e){var t=n(e,"string");return s(t)?t:t+""}},3471:(e,t,r)=>{var n={};n[r(8182)("toStringTag")]="z",e.exports="[object z]"===String(n)},4845:(e,t,r)=>{var n=r(4696),s=String;e.exports=function(e){if("Symbol"===n(e))throw TypeError("Cannot convert a Symbol value to a string");return s(e)}},9288:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},2759:(e,t,r)=>{var n=r(4120),s=0,i=Math.random(),o=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++s+i,36)}},615:(e,t,r)=>{var n=r(6770);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},9600:(e,t,r)=>{var n=r(69),s=r(6192);e.exports=n&&s((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5278:(e,t,r)=>{var n=r(8576),s=r(6447),i=n.WeakMap;e.exports=s(i)&&/native code/.test(String(i))},8332:(e,t,r)=>{var n=r(7545),s=r(4500),i=r(9207),o=r(2760).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});s(t,e)||o(t,e,{value:i.f(e)})}},9207:(e,t,r)=>{var n=r(8182);t.f=n},8182:(e,t,r)=>{var n=r(8576),s=r(8717),i=r(4500),o=r(2759),a=r(6770),c=r(615),l=n.Symbol,u=s("wks"),p=c?l.for||l:l&&l.withoutSetter||o;e.exports=function(e){return i(u,e)||(u[e]=a&&i(l,e)?l[e]:p("Symbol."+e)),u[e]}},9106:(e,t,r)=>{"use strict";var n=r(3085),s=r(6192),i=r(4770),o=r(5744),a=r(1795),c=r(4104),l=r(9425),u=r(9361),p=r(1321),m=r(242),d=r(8182),h=r(4218),_=d("isConcatSpreadable"),f=h>=51||!s((function(){var e=[];return e[_]=!1,e.concat()[0]!==e})),g=function(e){if(!o(e))return!1;var t=e[_];return void 0!==t?!!t:i(e)};n({target:"Array",proto:!0,arity:1,forced:!f||!m("concat")},{concat:function(e){var t,r,n,s,i,o=a(this),m=p(o,0),d=0;for(t=-1,n=arguments.length;t<n;t++)if(g(i=-1===t?o:arguments[t]))for(s=c(i),l(d+s),r=0;r<s;r++,d++)r in i&&u(m,d,i[r]);else l(d+1),u(m,d++,i);return m.length=d,m}})},2276:(e,t,r)=>{"use strict";var n=r(3085),s=r(4914),i=r(8180).indexOf,o=r(424),a=s([].indexOf),c=!!a&&1/a([1],1,-0)<0;n({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,r)=>{"use strict";var n=r(101),s=r(7423),i=r(7771),o=r(3326),a=r(2760).f,c=r(5297),l=r(7271),u=r(5546),p=r(69),m="Array Iterator",d=o.set,h=o.getterFor(m);e.exports=c(Array,"Array",(function(e,t){d(this,{type:m,target:n(e),index:0,kind:t})}),(function(){var e=h(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,l(void 0,!0)):l("keys"==r?n:"values"==r?t[n]:[n,t[n]],!1)}),"values");var _=i.Arguments=i.Array;if(s("keys"),s("values"),s("entries"),!u&&p&&"values"!==_.name)try{a(_,"name",{value:"values"})}catch(e){}},2432:()=>{},9704:(e,t,r)=>{var n=r(3085),s=r(150),i=r(6298),o=r(8922),a=r(4120),c=r(6192),l=r(6447),u=r(3236),p=r(3096),m=r(9202),d=r(6770),h=String,_=s("JSON","stringify"),f=a(/./.exec),g=a("".charAt),y=a("".charCodeAt),b=a("".replace),v=a(1..toString),E=/[\uD800-\uDFFF]/g,w=/^[\uD800-\uDBFF]$/,x=/^[\uDC00-\uDFFF]$/,S=!d||c((function(){var e=s("Symbol")();return"[null]"!=_([e])||"{}"!=_({a:e})||"{}"!=_(Object(e))})),O=c((function(){return'"\\udf06\\ud834"'!==_("\udf06\ud834")||'"\\udead"'!==_("\udead")})),j=function(e,t){var r=p(arguments),n=m(t);if(l(n)||void 0!==e&&!u(e))return r[1]=function(e,t){if(l(n)&&(t=o(n,this,h(e),t)),!u(t))return t},i(_,null,r)},P=function(e,t,r){var n=g(r,t-1),s=g(r,t+1);return f(w,e)&&!f(x,s)||f(x,e)&&!f(w,n)?"\\u"+v(y(e,0),16):e};_&&n({target:"JSON",stat:!0,arity:3,forced:S||O},{stringify:function(e,t,r){var n=p(arguments),s=i(S?j:_,null,n);return O&&"string"==typeof s?b(s,E,P):s}})},8671:(e,t,r)=>{var n=r(8576);r(1284)(n.JSON,"JSON",!0)},8556:()=>{},297:(e,t,r)=>{var n=r(3085),s=r(69),i=r(2760).f;n({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!s},{defineProperty:i})},7895:(e,t,r)=>{var n=r(3085),s=r(6770),i=r(6192),o=r(4750),a=r(1795);n({target:"Object",stat:!0,forced:!s||i((function(){o.f(1)}))},{getOwnPropertySymbols:function(e){var t=o.f;return t?t(a(e)):[]}})},2647:(e,t,r)=>{var n=r(3085),s=r(1795),i=r(7653);n({target:"Object",stat:!0,forced:r(6192)((function(){i(1)}))},{keys:function(e){return i(s(e))}})},6663:()=>{},1367:()=>{},5454:(e,t,r)=>{"use strict";var n=r(863).charAt,s=r(4845),i=r(3326),o=r(5297),a=r(7271),c="String Iterator",l=i.set,u=i.getterFor(c);o(String,"String",(function(e){l(this,{type:c,string:s(e),index:0})}),(function(){var e,t=u(this),r=t.string,s=t.index;return s>=r.length?a(void 0,!0):(e=n(r,s),t.index+=e.length,a(e,!1))}))},9781:(e,t,r)=>{r(8332)("asyncIterator")},9351:(e,t,r)=>{"use strict";var n=r(3085),s=r(8576),i=r(8922),o=r(4120),a=r(5546),c=r(69),l=r(6770),u=r(6192),p=r(4500),m=r(8902),d=r(1138),h=r(101),_=r(77),f=r(4845),g=r(774),y=r(2853),b=r(7653),v=r(2092),E=r(4052),w=r(4750),x=r(5141),S=r(2760),O=r(1187),j=r(6007),P=r(9362),M=r(2807),A=r(8717),F=r(9766),I=r(4535),T=r(2759),N=r(8182),R=r(9207),C=r(8332),k=r(3407),$=r(1284),D=r(3326),q=r(454).forEach,B=F("hidden"),L="Symbol",V="prototype",U=D.set,H=D.getterFor(L),G=Object[V],Z=s.Symbol,z=Z&&Z[V],W=s.TypeError,J=s.QObject,K=x.f,X=S.f,Y=E.f,Q=j.f,ee=o([].push),te=A("symbols"),re=A("op-symbols"),ne=A("wks"),se=!J||!J[V]||!J[V].findChild,ie=c&&u((function(){return 7!=y(X({},"a",{get:function(){return X(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=K(G,t);n&&delete G[t],X(e,t,r),n&&e!==G&&X(G,t,n)}:X,oe=function(e,t){var r=te[e]=y(z);return U(r,{type:L,tag:e,description:t}),c||(r.description=t),r},ae=function(e,t,r){e===G&&ae(re,t,r),d(e);var n=_(t);return d(r),p(te,n)?(r.enumerable?(p(e,B)&&e[B][n]&&(e[B][n]=!1),r=y(r,{enumerable:g(0,!1)})):(p(e,B)||X(e,B,g(1,{})),e[B][n]=!0),ie(e,n,r)):X(e,n,r)},ce=function(e,t){d(e);var r=h(t),n=b(r).concat(me(r));return q(n,(function(t){c&&!i(le,r,t)||ae(e,t,r[t])})),e},le=function(e){var t=_(e),r=i(Q,this,t);return!(this===G&&p(te,t)&&!p(re,t))&&(!(r||!p(this,t)||!p(te,t)||p(this,B)&&this[B][t])||r)},ue=function(e,t){var r=h(e),n=_(t);if(r!==G||!p(te,n)||p(re,n)){var s=K(r,n);return!s||!p(te,n)||p(r,B)&&r[B][n]||(s.enumerable=!0),s}},pe=function(e){var t=Y(h(e)),r=[];return q(t,(function(e){p(te,e)||p(I,e)||ee(r,e)})),r},me=function(e){var t=e===G,r=Y(t?re:h(e)),n=[];return q(r,(function(e){!p(te,e)||t&&!p(G,e)||ee(n,te[e])})),n};l||(P(z=(Z=function(){if(m(z,this))throw W("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?f(arguments[0]):void 0,t=T(e),r=function(e){this===G&&i(r,re,e),p(this,B)&&p(this[B],t)&&(this[B][t]=!1),ie(this,t,g(1,e))};return c&&se&&ie(G,t,{configurable:!0,set:r}),oe(t,e)})[V],"toString",(function(){return H(this).tag})),P(Z,"withoutSetter",(function(e){return oe(T(e),e)})),j.f=le,S.f=ae,O.f=ce,x.f=ue,v.f=E.f=pe,w.f=me,R.f=function(e){return oe(N(e),e)},c&&(M(z,"description",{configurable:!0,get:function(){return H(this).description}}),a||P(G,"propertyIsEnumerable",le,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!l,sham:!l},{Symbol:Z}),q(b(ne),(function(e){C(e)})),n({target:L,stat:!0,forced:!l},{useSetter:function(){se=!0},useSimple:function(){se=!1}}),n({target:"Object",stat:!0,forced:!l,sham:!c},{create:function(e,t){return void 0===t?y(e):ce(y(e),t)},defineProperty:ae,defineProperties:ce,getOwnPropertyDescriptor:ue}),n({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:pe}),k(),$(Z,L),I[B]=!0},492:()=>{},9148:(e,t,r)=>{var n=r(3085),s=r(150),i=r(4500),o=r(4845),a=r(8717),c=r(31),l=a("string-to-symbol-registry"),u=a("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!c},{for:function(e){var t=o(e);if(i(l,t))return l[t];var r=s("Symbol")(t);return l[t]=r,u[r]=t,r}})},6681:(e,t,r)=>{r(8332)("hasInstance")},9594:(e,t,r)=>{r(8332)("isConcatSpreadable")},3665:(e,t,r)=>{r(8332)("iterator")},6187:(e,t,r)=>{r(9351),r(9148),r(5991),r(9704),r(7895)},5991:(e,t,r)=>{var n=r(3085),s=r(4500),i=r(3236),o=r(9288),a=r(8717),c=r(31),l=a("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!c},{keyFor:function(e){if(!i(e))throw TypeError(o(e)+" is not a symbol");if(s(l,e))return l[e]}})},1250:(e,t,r)=>{r(8332)("matchAll")},9017:(e,t,r)=>{r(8332)("match")},9786:(e,t,r)=>{r(8332)("replace")},503:(e,t,r)=>{r(8332)("search")},6565:(e,t,r)=>{r(8332)("species")},9322:(e,t,r)=>{r(8332)("split")},3610:(e,t,r)=>{var n=r(8332),s=r(3407);n("toPrimitive"),s()},6886:(e,t,r)=>{var n=r(150),s=r(8332),i=r(1284);s("toStringTag"),i(n("Symbol"),"Symbol")},3514:(e,t,r)=>{r(8332)("unscopables")},177:(e,t,r)=>{r(8332)("asyncDispose")},9031:(e,t,r)=>{r(8332)("dispose")},2725:(e,t,r)=>{var n=r(3085),s=r(150),i=r(4120),o=s("Symbol"),a=o.keyFor,c=i(o.prototype.valueOf);n({target:"Symbol",stat:!0},{isRegistered:function(e){try{return void 0!==a(c(e))}catch(e){return!1}}})},1806:(e,t,r)=>{for(var n=r(3085),s=r(8717),i=r(150),o=r(4120),a=r(3236),c=r(8182),l=i("Symbol"),u=l.isWellKnown,p=i("Object","getOwnPropertyNames"),m=o(l.prototype.valueOf),d=s("wks"),h=0,_=p(l),f=_.length;h<f;h++)try{var g=_[h];a(l[g])&&c(g)}catch(e){}n({target:"Symbol",stat:!0,forced:!0},{isWellKnown:function(e){if(u&&u(e))return!0;try{for(var t=m(e),r=0,n=p(d),s=n.length;r<s;r++)if(d[n[r]]==t)return!0}catch(e){}return!1}})},6658:(e,t,r)=>{r(8332)("matcher")},4212:(e,t,r)=>{r(8332)("metadataKey")},1875:(e,t,r)=>{r(8332)("metadata")},8658:(e,t,r)=>{r(8332)("observable")},4592:(e,t,r)=>{r(8332)("patternMatch")},6680:(e,t,r)=>{r(8332)("replaceAll")},162:(e,t,r)=>{r(8939);var n=r(7365),s=r(8576),i=r(4696),o=r(8711),a=r(7771),c=r(8182)("toStringTag");for(var l in n){var u=s[l],p=u&&u.prototype;p&&i(p)!==c&&o(p,c,l),a[l]=a.Array}},6174:(e,t,r)=>{var n=r(2604);e.exports=n},7820:(e,t,r)=>{var n=r(3512);e.exports=n},2:(e,t,r)=>{var n=r(2921);e.exports=n},5636:(e,t,r)=>{var n=r(8651);e.exports=n},2285:(e,t,r)=>{var n=r(5008);r(162),e.exports=n},8535:(e,t,r)=>{var n=r(994);r(162),e.exports=n},6042:(e,t,r)=>{var n=r(290);e.exports=n},9515:(e,t,r)=>{var n=r(8761)(r(7772),"DataView");e.exports=n},9612:(e,t,r)=>{var n=r(2118),s=r(6909),i=r(8138),o=r(4174),a=r(7942);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},235:(e,t,r)=>{var n=r(3945),s=r(1846),i=r(8028),o=r(2344),a=r(4769);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},326:(e,t,r)=>{var n=r(8761)(r(7772),"Map");e.exports=n},6738:(e,t,r)=>{var n=r(2411),s=r(6417),i=r(6928),o=r(9493),a=r(4150);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},1985:(e,t,r)=>{var n=r(8761)(r(7772),"Promise");e.exports=n},2143:(e,t,r)=>{var n=r(8761)(r(7772),"Set");e.exports=n},5386:(e,t,r)=>{var n=r(6738),s=r(2842),i=r(2482);function o(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}o.prototype.add=o.prototype.push=s,o.prototype.has=i,e.exports=o},6571:(e,t,r)=>{var n=r(235),s=r(5243),i=r(2858),o=r(4417),a=r(8605),c=r(1418);function l(e){var t=this.__data__=new n(e);this.size=t.size}l.prototype.clear=s,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=c,e.exports=l},857:(e,t,r)=>{var n=r(7772).Symbol;e.exports=n},9162:(e,t,r)=>{var n=r(7772).Uint8Array;e.exports=n},3215:(e,t,r)=>{var n=r(8761)(r(7772),"WeakMap");e.exports=n},7552:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,s=0,i=[];++r<n;){var o=e[r];t(o,r,e)&&(i[s++]=o)}return i}},1634:(e,t,r)=>{var n=r(6473),s=r(9631),i=r(6152),o=r(3226),a=r(9045),c=r(7598),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=i(e),u=!r&&s(e),p=!r&&!u&&o(e),m=!r&&!u&&!p&&c(e),d=r||u||p||m,h=d?n(e.length,String):[],_=h.length;for(var f in e)!t&&!l.call(e,f)||d&&("length"==f||p&&("offset"==f||"parent"==f)||m&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||a(f,_))||h.push(f);return h}},5067:e=>{e.exports=function(e,t){for(var r=-1,n=t.length,s=e.length;++r<n;)e[s+r]=t[r];return e}},7064:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},2218:(e,t,r)=>{var n=r(1225);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},1897:(e,t,r)=>{var n=r(5067),s=r(6152);e.exports=function(e,t,r){var i=t(e);return s(e)?i:n(i,r(e))}},3366:(e,t,r)=>{var n=r(857),s=r(2107),i=r(7157),o=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?s(e):i(e)}},5183:(e,t,r)=>{var n=r(3366),s=r(5125);e.exports=function(e){return s(e)&&"[object Arguments]"==n(e)}},8746:(e,t,r)=>{var n=r(1952),s=r(5125);e.exports=function e(t,r,i,o,a){return t===r||(null==t||null==r||!s(t)&&!s(r)?t!=t&&r!=r:n(t,r,i,o,e,a))}},1952:(e,t,r)=>{var n=r(6571),s=r(4871),i=r(1491),o=r(7416),a=r(940),c=r(6152),l=r(3226),u=r(7598),p="[object Arguments]",m="[object Array]",d="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,_,f,g){var y=c(e),b=c(t),v=y?m:a(e),E=b?m:a(t),w=(v=v==p?d:v)==d,x=(E=E==p?d:E)==d,S=v==E;if(S&&l(e)){if(!l(t))return!1;y=!0,w=!1}if(S&&!w)return g||(g=new n),y||u(e)?s(e,t,r,_,f,g):i(e,t,v,r,_,f,g);if(!(1&r)){var O=w&&h.call(e,"__wrapped__"),j=x&&h.call(t,"__wrapped__");if(O||j){var P=O?e.value():e,M=j?t.value():t;return g||(g=new n),f(P,M,r,_,g)}}return!!S&&(g||(g=new n),o(e,t,r,_,f,g))}},6840:(e,t,r)=>{var n=r(1049),s=r(7394),i=r(9259),o=r(7035),a=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,u=c.toString,p=l.hasOwnProperty,m=RegExp("^"+u.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||s(e))&&(n(e)?m:a).test(o(e))}},5522:(e,t,r)=>{var n=r(3366),s=r(1158),i=r(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)&&s(e.length)&&!!o[n(e)]}},6411:(e,t,r)=>{var n=r(6001),s=r(4248),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return s(e);var t=[];for(var r in Object(e))i.call(e,r)&&"constructor"!=r&&t.push(r);return t}},6473:e=>{e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},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,r)=>{var n=r(7772)["__core-js_shared__"];e.exports=n},4871:(e,t,r)=>{var n=r(5386),s=r(7064),i=r(9950);e.exports=function(e,t,r,o,a,c){var l=1&r,u=e.length,p=t.length;if(u!=p&&!(l&&p>u))return!1;var m=c.get(e),d=c.get(t);if(m&&d)return m==t&&d==e;var h=-1,_=!0,f=2&r?new n:void 0;for(c.set(e,t),c.set(t,e);++h<u;){var g=e[h],y=t[h];if(o)var b=l?o(y,g,h,t,e,c):o(g,y,h,e,t,c);if(void 0!==b){if(b)continue;_=!1;break}if(f){if(!s(t,(function(e,t){if(!i(f,t)&&(g===e||a(g,e,r,o,c)))return f.push(t)}))){_=!1;break}}else if(g!==y&&!a(g,y,r,o,c)){_=!1;break}}return c.delete(e),c.delete(t),_}},1491:(e,t,r)=>{var n=r(857),s=r(9162),i=r(1225),o=r(4871),a=r(5179),c=r(4207),l=n?n.prototype:void 0,u=l?l.valueOf:void 0;e.exports=function(e,t,r,n,l,p,m){switch(r){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 s(e),new s(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=a;case"[object Set]":var h=1&n;if(d||(d=c),e.size!=t.size&&!h)return!1;var _=m.get(e);if(_)return _==t;n|=2,m.set(e,t);var f=o(d(e),d(t),n,l,p,m);return m.delete(e),f;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},7416:(e,t,r)=>{var n=r(3483),s=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,i,o,a){var c=1&r,l=n(e),u=l.length;if(u!=n(t).length&&!c)return!1;for(var p=u;p--;){var m=l[p];if(!(c?m in t:s.call(t,m)))return!1}var d=a.get(e),h=a.get(t);if(d&&h)return d==t&&h==e;var _=!0;a.set(e,t),a.set(t,e);for(var f=c;++p<u;){var g=e[m=l[p]],y=t[m];if(i)var b=c?i(y,g,m,t,e,a):i(g,y,m,e,t,a);if(!(void 0===b?g===y||o(g,y,r,i,a):b)){_=!1;break}f||(f="constructor"==m)}if(_&&!f){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||(_=!1)}return a.delete(e),a.delete(t),_}},1242:(e,t,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},3483:(e,t,r)=>{var n=r(1897),s=r(633),i=r(249);e.exports=function(e){return n(e,i,s)}},7937:(e,t,r)=>{var n=r(8304);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},8761:(e,t,r)=>{var n=r(6840),s=r(8109);e.exports=function(e,t){var r=s(e,t);return n(r)?r:void 0}},2107:(e,t,r)=>{var n=r(857),s=Object.prototype,i=s.hasOwnProperty,o=s.toString,a=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),r=e[a];try{e[a]=void 0;var n=!0}catch(e){}var s=o.call(e);return n&&(t?e[a]=r:delete e[a]),s}},633:(e,t,r)=>{var n=r(7552),s=r(981),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,a=o?function(e){return null==e?[]:(e=Object(e),n(o(e),(function(t){return i.call(e,t)})))}:s;e.exports=a},940:(e,t,r)=>{var n=r(9515),s=r(326),i=r(1985),o=r(2143),a=r(3215),c=r(3366),l=r(7035),u="[object Map]",p="[object Promise]",m="[object Set]",d="[object WeakMap]",h="[object DataView]",_=l(n),f=l(s),g=l(i),y=l(o),b=l(a),v=c;(n&&v(new n(new ArrayBuffer(1)))!=h||s&&v(new s)!=u||i&&v(i.resolve())!=p||o&&v(new o)!=m||a&&v(new a)!=d)&&(v=function(e){var t=c(e),r="[object Object]"==t?e.constructor:void 0,n=r?l(r):"";if(n)switch(n){case _:return h;case f:return u;case g:return p;case y:return m;case b:return d}return t}),e.exports=v},8109:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},2118:(e,t,r)=>{var n=r(9191);e.exports=function(){this.__data__=n?n(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,r)=>{var n=r(9191),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return s.call(t,e)?t[e]:void 0}},4174:(e,t,r)=>{var n=r(9191),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:s.call(t,e)}},7942:(e,t,r)=>{var n=r(9191);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},9045:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,r){var n=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<r}},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,r)=>{var n,s=r(4019),i=(n=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!i&&i in e}},6001:e=>{var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},3945:e=>{e.exports=function(){this.__data__=[],this.size=0}},1846:(e,t,r)=>{var n=r(2218),s=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0)&&(r==t.length-1?t.pop():s.call(t,r,1),--this.size,!0)}},8028:(e,t,r)=>{var n=r(2218);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},2344:(e,t,r)=>{var n=r(2218);e.exports=function(e){return n(this.__data__,e)>-1}},4769:(e,t,r)=>{var n=r(2218);e.exports=function(e,t){var r=this.__data__,s=n(r,e);return s<0?(++this.size,r.push([e,t])):r[s][1]=t,this}},2411:(e,t,r)=>{var n=r(9612),s=r(235),i=r(326);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||s),string:new n}}},6417:(e,t,r)=>{var n=r(7937);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},6928:(e,t,r)=>{var n=r(7937);e.exports=function(e){return n(this,e).get(e)}},9493:(e,t,r)=>{var n=r(7937);e.exports=function(e){return n(this,e).has(e)}},4150:(e,t,r)=>{var n=r(7937);e.exports=function(e,t){var r=n(this,e),s=r.size;return r.set(e,t),this.size+=r.size==s?0:1,this}},5179:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}},9191:(e,t,r)=>{var n=r(8761)(Object,"create");e.exports=n},4248:(e,t,r)=>{var n=r(241)(Object.keys,Object);e.exports=n},4146:(e,t,r)=>{e=r.nmd(e);var n=r(1242),s=t&&!t.nodeType&&t,i=s&&e&&!e.nodeType&&e,o=i&&i.exports===s&&n.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(r){return e(t(r))}}},7772:(e,t,r)=>{var n=r(1242),s="object"==typeof self&&self&&self.Object===Object&&self,i=n||s||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,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},5243:(e,t,r)=>{var n=r(235);e.exports=function(){this.__data__=new n,this.size=0}},2858:e=>{e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},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,r)=>{var n=r(235),s=r(326),i=r(6738);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var o=r.__data__;if(!s||o.length<199)return o.push([e,t]),this.size=++r.size,this;r=this.__data__=new i(o)}return r.set(e,t),this.size=r.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,r)=>{var n=r(5183),s=r(5125),i=Object.prototype,o=i.hasOwnProperty,a=i.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(e){return s(e)&&o.call(e,"callee")&&!a.call(e,"callee")};e.exports=c},6152:e=>{var t=Array.isArray;e.exports=t},7878:(e,t,r)=>{var n=r(1049),s=r(1158);e.exports=function(e){return null!=e&&s(e.length)&&!n(e)}},4335:(e,t,r)=>{var n=r(3366),s=r(5125);e.exports=function(e){return!0===e||!1===e||s(e)&&"[object Boolean]"==n(e)}},3226:(e,t,r)=>{e=r.nmd(e);var n=r(7772),s=r(6330),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?n.Buffer:void 0,c=(a?a.isBuffer:void 0)||s;e.exports=c},8149:(e,t,r)=>{var n=r(8746);e.exports=function(e,t){return n(e,t)}},1049:(e,t,r)=>{var n=r(3366),s=r(9259);e.exports=function(e){if(!s(e))return!1;var t=n(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,r)=>{var n=r(3366),s=r(5125);e.exports=function(e){return"number"==typeof e||s(e)&&"[object Number]"==n(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,r)=>{var n=r(3366),s=r(6152),i=r(5125);e.exports=function(e){return"string"==typeof e||!s(e)&&i(e)&&"[object String]"==n(e)}},7598:(e,t,r)=>{var n=r(5522),s=r(7826),i=r(4146),o=i&&i.isTypedArray,a=o?s(o):n;e.exports=a},249:(e,t,r)=>{var n=r(1634),s=r(6411),i=r(7878);e.exports=function(e){return i(e)?n(e):s(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,r)=>{const n=r(1570);function s(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 r=[];return this.forEach((n=>{const s=e.bind(t)(n);s&&r.push(s)})),r}filter(e,t){return e=s(e),new i(this.elements.filter(e,t))}reject(e,t){return e=s(e),new i(this.elements.filter(n(e),t))}find(e,t){return e=s(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,r)=>{const n=r(5877),s=r(5505),i=r(537),o=r(4335),a=r(9259),c=r(2947),l=r(3756);class u{constructor(e){this.elementMap={},this.elementDetection=[],this.Element=l.Element,this.KeyValuePair=l.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",l.NullElement).register("string",l.StringElement).register("number",l.NumberElement).register("boolean",l.BooleanElement).register("array",l.ArrayElement).register("object",l.ObjectElement).register("member",l.MemberElement).register("ref",l.RefElement).register("link",l.LinkElement),this.detect(n,l.NullElement,!1).detect(s,l.StringElement,!1).detect(i,l.NumberElement,!1).detect(o,l.BooleanElement,!1).detect(Array.isArray,l.ArrayElement,!1).detect(a,l.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,r){return void 0===r||r?this.elementDetection.unshift([e,t]):this.elementDetection.push([e,t]),this}toElement(e){if(e instanceof this.Element)return e;let t;for(let r=0;r<this.elementDetection.length;r+=1){const n=this.elementDetection[r][0],s=this.elementDetection[r][1];if(n(e)){t=new s(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=u,e.exports=u},3853:(e,t,r)=>{const n=r(1570),s=r(1178);class i extends s{map(e,t){return this.elements.map((r=>e.bind(t)(r.value,r.key,r)))}filter(e,t){return new i(this.elements.filter((r=>e.bind(t)(r.value,r.key,r))))}reject(e,t){return this.filter(n(e.bind(t)))}forEach(e,t){return this.elements.forEach(((r,n)=>{e.bind(t)(r.value,r.key,r,n)}))}keys(){return this.map(((e,t)=>t.toValue()))}values(){return this.map((e=>e.toValue()))}}e.exports=i},3756:(e,t,r)=>{const n=r(6420),s=r(4152),i=r(9542),o=r(3710),a=r(3312),c=r(1641),l=r(8858),u=r(3860),p=r(5202),m=r(2320),d=r(1178),h=r(3853),_=r(3026);function f(e){if(e instanceof n)return e;if("string"==typeof e)return new i(e);if("number"==typeof e)return new o(e);if("boolean"==typeof e)return new a(e);if(null===e)return new s;if(Array.isArray(e))return new c(e.map(f));if("object"==typeof e){return new u(e)}return e}n.prototype.ObjectElement=u,n.prototype.RefElement=m,n.prototype.MemberElement=l,n.prototype.refract=f,d.prototype.refract=f,e.exports={Element:n,NullElement:s,StringElement:i,NumberElement:o,BooleanElement:a,ArrayElement:c,MemberElement:l,ObjectElement:u,LinkElement:p,RefElement:m,refract:f,ArraySlice:d,ObjectSlice:h,KeyValuePair:_}},5202:(e,t,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e||[],t,r),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,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e||[],t,r),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,r)=>{const n=r(5140),s=r(3756);t.lS=n,r(3026),s.ArraySlice,s.ObjectSlice,t.W_=s.Element,t.RP=s.StringElement,t.VL=s.NumberElement,t.hh=s.BooleanElement,t.zr=s.NullElement,t.ON=s.ArrayElement,t.Sb=s.ObjectElement,t.c6=s.MemberElement,t.tK=s.RefElement,t.EA=s.LinkElement,t.Qc=s.refract,r(2947),r(8910)},1641:(e,t,r)=>{const n=r(1570),s=r(6420),i=r(1178);class o extends s{constructor(e,t,r){super(e||[],t,r),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 r=[];return this.forEach((n=>{const s=e.bind(t)(n);s&&r.push(s)})),r}filter(e,t){return new i(this.content.filter(e,t))}reject(e,t){return this.filter(n(e),t)}reduce(e,t){let r,n;void 0!==t?(r=0,n=this.refract(t)):(r=1,n="object"===this.primitive()?this.first.value:this.first);for(let t=r;t<this.length;t+=1){const r=this.content[t];n="object"===this.primitive()?this.refract(e(n,r.value,r.key,r,this)):this.refract(e(n,r,t,this))}return n}forEach(e,t){this.content.forEach(((r,n)=>{e.bind(t)(r,this.refract(n))}))}shift(){return this.content.shift()}unshift(e){this.content.unshift(this.refract(e))}push(e){return this.content.push(this.refract(e)),this}add(e){this.push(e)}findElements(e,t){const r=t||{},n=!!r.recursive,s=void 0===r.results?[]:r.results;return this.forEach(((t,r,i)=>{n&&void 0!==t.findElements&&t.findElements(e,{results:s,recursive:n}),e(t,r,i)&&s.push(t)})),s}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,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e,t,r),this.element="boolean"}primitive(){return"boolean"}}},6420:(e,t,r)=>{const n=r(8149),s=r(3026),i=r(1178);class o{constructor(e,t,r){t&&(this.meta=t),r&&(this.attributes=r),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 s?{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 r=new i;const n=(e,t)=>(e.push(t),e),o=(e,r)=>{r.element===t&&e.push(r);const i=r.findRecursive(t);return i&&i.reduce(n,e),r.content instanceof s&&(r.content.key&&o(e,r.content.key),r.content.value&&o(e,r.content.value)),e};return this.content&&(this.content.element&&o(r,this.content),Array.isArray(this.content)&&this.content.reduce(o,r)),e.isEmpty||(r=r.filter((t=>{let r=t.parents.map((e=>e.element));for(const t in e){const n=e[t],s=r.indexOf(n);if(-1===s)return!1;r=r.splice(0,s)}return!0}))),r}set(e){return this.content=e,this}equals(e){return n(this.toValue(),e)}getMetaProperty(e,t){if(!this.meta.hasKey(e)){if(this.isFrozen){const e=this.refract(t);return e.freeze(),e}this.meta.set(e,t)}return this.meta.get(e)}setMetaProperty(e,t){this.meta.set(e,t)}get element(){return this._storedElement||"element"}set element(e){this._storedElement=e}get content(){return this._content}set content(e){if(e instanceof o)this._content=e;else if(e instanceof i)this.content=e.elements;else if("string"==typeof e||"number"==typeof e||"boolean"==typeof e||"null"===e||null==e)this._content=e;else if(e instanceof s)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 s){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,r)=>{const n=r(3026),s=r(6420);e.exports=class extends s{constructor(e,t,r,s){super(new n,r,s),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,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e||null,t,r),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},3710:(e,t,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e,t,r),this.element="number"}primitive(){return"number"}}},3860:(e,t,r)=>{const n=r(1570),s=r(9259),i=r(1641),o=r(8858),a=r(3853);e.exports=class extends i{constructor(e,t,r){super(e||[],t,r),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((r=>r.key.toValue()!==e||(t=r,!1))),t}getKey(e){const t=this.getMember(e);if(t)return t.key}set(e,t){if(s(e))return Object.keys(e).forEach((t=>{this.set(t,e[t])})),this;const r=e,n=this.getMember(r);return n?n.value=t:this.content.push(new o(r,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((r=>e.bind(t)(r.value,r.key,r)))}compactMap(e,t){const r=[];return this.forEach(((n,s,i)=>{const o=e.bind(t)(n,s,i);o&&r.push(o)})),r}filter(e,t){return new a(this.content).filter(e,t)}reject(e,t){return this.filter(n(e),t)}forEach(e,t){return this.content.forEach((r=>e.bind(t)(r.value,r.key,r)))}}},9542:(e,t,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e,t,r),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},8910:(e,t,r)=>{const n=r(2947);e.exports=class extends n{serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);let t;e._attributes&&e.attributes.get("variable")&&(t=e.attributes.get("variable"));const r={element:e.element};e._meta&&e._meta.length>0&&(r.meta=this.serialiseObject(e.meta));const n="enum"===e.element||-1!==e.attributes.keys().indexOf("enumerations");if(n){const t=this.enumSerialiseAttributes(e);t&&(r.attributes=t)}else if(e._attributes&&e._attributes.length>0){let{attributes:n}=e;n.get("metadata")&&(n=n.clone(),n.set("meta",n.get("metadata")),n.remove("metadata")),"member"===e.element&&t&&(n=n.clone(),n.remove("variable")),n.length>0&&(r.attributes=this.serialiseObject(n))}if(n)r.content=this.enumSerialiseContent(e,r);else if(this[`${e.element}SerialiseContent`])r.content=this[`${e.element}SerialiseContent`](e,r);else if(void 0!==e.content){let n;t&&e.content.key?(n=e.content.clone(),n.key.attributes.set("variable",t),n=this.serialiseContent(n)):n=this.serialiseContent(e.content),this.shouldSerialiseContent(e,n)&&(r.content=n)}else this.shouldSerialiseContent(e,e.content)&&e instanceof this.namespace.elements.Array&&(r.content=[]);return r}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(),r=t.remove("enumerations")||new this.namespace.elements.Array([]),n=t.get("default");let s=t.get("samples")||new this.namespace.elements.Array([]);if(n&&n.content&&(n.content.attributes&&n.content.attributes.remove("typeAttributes"),t.set("default",new this.namespace.elements.Array([n.content]))),s.forEach((e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")})),e.content&&0!==r.length&&s.unshift(e.content),s=s.map((e=>e instanceof this.namespace.elements.Array?[e]:new this.namespace.elements.Array([e.content]))),s.length&&t.set("samples",s),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),r=new t;r.element!==e.element&&(r.element=e.element),e.meta&&this.deserialiseObject(e.meta,r.meta),e.attributes&&this.deserialiseObject(e.attributes,r.attributes);const n=this.deserialiseContent(e.content);if(void 0===n&&null!==r.content||(r.content=n),"enum"===r.element){r.content&&r.attributes.set("enumerations",r.content);let e=r.attributes.get("samples");if(r.attributes.remove("samples"),e){const n=e;e=new this.namespace.elements.Array,n.forEach((n=>{n.forEach((n=>{const s=new t(n);s.element=r.element,e.push(s)}))}));const s=e.shift();r.content=s?s.content:void 0,r.attributes.set("samples",e)}else r.content=void 0;let n=r.attributes.get("default");if(n&&n.length>0){n=n.get(0);const e=new t(n);e.element=r.element,r.attributes.set("default",e)}}else if("dataStructure"===r.element&&Array.isArray(r.content))[r.content]=r.content;else if("category"===r.element){const e=r.attributes.get("meta");e&&(r.attributes.set("metadata",e),r.attributes.remove("meta"))}else"member"===r.element&&r.key&&r.key._attributes&&r.key._attributes.getValue("variable")&&(r.attributes.set("variable",r.key.attributes.get("variable")),r.key.attributes.remove("variable"));return r}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,r)=>{if(e){const n=r.toValue();t[n]=this.convertKeyToRefract(n,e)}})),t}deserialiseObject(e,t){Object.keys(e).forEach((r=>{t.set(r,this.deserialise(e[r]))}))}}},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 r=this.serialiseContent(e.content);return void 0!==r&&(t.content=r),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 r=this.deserialiseContent(e.content);return void 0===r&&null!==t.content||(t.content=r),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,r)=>{e&&(t[r.toValue()]=this.serialise(e))})),0!==Object.keys(t).length)return t}deserialiseObject(e,t){Object.keys(e).forEach((r=>{t.set(r,this.deserialise(e[r]))}))}}},6591:e=>{!function(){"use strict";var t,r,n,s,i,o="properties",a="deepProperties",c="propertyDescriptors",l="staticProperties",u="staticDeepProperties",p="staticPropertyDescriptors",m="configuration",d="deepConfiguration",h="deepProps",_="deepStatics",f="deepConf",g="initializers",y="methods",b="composers",v="compose";function E(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[])}function w(e,t){return Array.prototype.slice.call(arguments,2).reduce(e,t)}var x=w.bind(0,(function(e,t){if(t)for(var r=E(t),n=0;n<r.length;n+=1)Object.defineProperty(e,r[n],Object.getOwnPropertyDescriptor(t,r[n]));return e}));function S(e){return"function"==typeof e}function O(e){return e&&"object"==typeof e||S(e)}function j(e){return e&&"object"==typeof e&&e.__proto__==Object.prototype}var P=w.bind(0,(function e(r,n){if(n===t)return r;if(Array.isArray(n))return(Array.isArray(r)?r:[]).concat(n);if(!j(n))return n;for(var s,i,o=E(n),a=0;a<o.length;)s=o[a++],(i=Object.getOwnPropertyDescriptor(n,s)).hasOwnProperty("value")?i.value!==t&&(r[s]=e(j(r[s])||Array.isArray(n[s])?r[s]:{},n[s])):Object.defineProperty(r,s,i);return r}));function M(){return(r=Array.prototype.concat.apply([],arguments).filter((function(e,t,r){return S(e)&&r.indexOf(e)===t}))).length?r:t}function A(e,t){function n(r,n){O(t[r])&&(O(e[r])||(e[r]={}),(n||x)(e[r],t[r]))}function s(n){(r=M(e[n],t[n]))&&(e[n]=r)}return t&&O(t=t[v]||t)&&(n(y),n(o),n(a,P),n(c),n(l),n(u,P),n(p),n(m),n(d,P),s(g),s(b)),e}function F(){return function(e){return r=function e(r){var n,s,i=e[v]||{},l={__proto__:i[y]},u=i[g],p=Array.prototype.slice.apply(arguments),m=i[a];if(m&&P(l,m),(m=i[o])&&x(l,m),(m=i[c])&&Object.defineProperties(l,m),!u||!u.length)return l;for(r===t&&(r={}),i=0;i<u.length;)S(n=u[i++])&&(l=(s=n.call(l,r,{instance:l,stamp:e,args:p}))===t?l:s);return l},(n=e[u])&&P(r,n),(n=e[l])&&x(r,n),(n=e[p])&&Object.defineProperties(r,n),n=S(r[v])?r[v]:F,x(r[v]=function(){return n.apply(this,arguments)},e),r}(Array.prototype.concat.apply([this],arguments).reduce(A,{}))}function I(e){return S(e)&&S(e[v])}var T={};function N(e,i){return function(){return(s={})[e]=i.apply(t,Array.prototype.concat.apply([{}],arguments)),((r=this)&&r[v]||n).call(r,s)}}T[y]=N(y,x),T[o]=T.props=N(o,x),T[g]=T.init=N(g,M),T[b]=N(b,M),T[a]=T[h]=N(a,P),T[l]=T.statics=N(l,x),T[u]=T[_]=N(u,P),T[m]=T.conf=N(m,x),T[d]=T[f]=N(d,P),T[c]=N(c,x),T[p]=N(p,x),n=T[v]=x((function(){for(var e,E,w=0,S=[],j=arguments,A=this;w<j.length;)O(e=j[w++])&&S.push(I(e)?e:((s={})[y]=(E=e)[y]||t,n=E.props,s[o]=O((r=E[o])||n)?x({},n,r):t,s[g]=M(E.init,E[g]),s[b]=M(E[b]),n=E[h],s[a]=O((r=E[a])||n)?P({},n,r):t,s[c]=E[c],n=E.statics,s[l]=O((r=E[l])||n)?x({},n,r):t,n=E[_],s[u]=O((r=E[u])||n)?P({},n,r):t,r=E[p],s[p]=O((n=E.name&&{name:{value:E.name}})||r)?x({},r,n):t,n=E.conf,s[m]=O((r=E[m])||n)?x({},n,r):t,n=E[f],s[d]=O((r=E[d])||n)?P({},n,r):t,s));if(e=F.apply(A||i,S),A&&S.unshift(A),Array.isArray(j=e[v][b]))for(w=0;w<j.length;)e=I(A=j[w++]({stamp:e,composables:S}))?A:e;return e}),T),T.create=function(){return this.apply(t,arguments)},(s={})[l]=T,i=F(s),n[v]=n.bind(),n.version="4.3.2","object"!=typeof t?e.exports=n:self.stampit=n}()},2396:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.MalformedUnicode="MALFORMED_UNICODE",e.MalformedHexadecimal="MALFORMED_HEXADECIMAL",e.CodePointLimit="CODE_POINT_LIMIT",e.OctalDeprecation="OCTAL_DEPRECATION",e.EndOfString="END_OF_STRING"}(r=t.ErrorType||(t.ErrorType={})),t.errorMessages=new Map([[r.MalformedUnicode,"malformed Unicode character escape sequence"],[r.MalformedHexadecimal,"malformed hexadecimal character escape sequence"],[r.CodePointLimit,"Unicode codepoint must not be greater than 0x10FFFF in escape sequence"],[r.OctalDeprecation,'"0"-prefixed octal literals and octal escape sequences are deprecated; for octal literals use the "0o" prefix instead'],[r.EndOfString,"malformed escape sequence at end of string"]])},2770:(e,t,r)=>{"use strict";const n=r(2396);function s(e,t,r){const s=function(e){return e.match(/[^a-f0-9]/i)?NaN:parseInt(e,16)}(e);if(Number.isNaN(s)||void 0!==r&&r!==e.length)throw new SyntaxError(n.errorMessages.get(t));return s}function i(e,t){const r=s(e,n.ErrorType.MalformedUnicode,4);if(void 0!==t){const e=s(t,n.ErrorType.MalformedUnicode,4);return String.fromCharCode(r,e)}return String.fromCharCode(r)}n.ErrorType,n.errorMessages;const o=new Map([["b","\b"],["f","\f"],["n","\n"],["r","\r"],["t","\t"],["v","\v"],["0","\0"]]);const a=/\\(?:(\\)|x([\s\S]{0,2})|u(\{[^}]*\}?)|u([\s\S]{4})\\u([^{][\s\S]{0,3})|u([\s\S]{0,4})|([0-3]?[0-7]{1,2})|([\s\S])|$)/g;function c(e,t=!1){return e.replace(a,(function(e,r,a,c,l,u,p,m,d){if(void 0!==r)return"\\";if(void 0!==a)return function(e){const t=s(e,n.ErrorType.MalformedHexadecimal,2);return String.fromCharCode(t)}(a);if(void 0!==c)return function(e){if("{"!==(t=e).charAt(0)||"}"!==t.charAt(t.length-1))throw new SyntaxError(n.errorMessages.get(n.ErrorType.MalformedUnicode));var t;const r=s(e.slice(1,-1),n.ErrorType.MalformedUnicode);try{return String.fromCodePoint(r)}catch(e){throw e instanceof RangeError?new SyntaxError(n.errorMessages.get(n.ErrorType.CodePointLimit)):e}}(c);if(void 0!==l)return i(l,u);if(void 0!==p)return i(p);if("0"===m)return"\0";if(void 0!==m)return function(e,t=!1){if(t)throw new SyntaxError(n.errorMessages.get(n.ErrorType.OctalDeprecation));const r=parseInt(e,8);return String.fromCharCode(r)}(m,!t);if(void 0!==d)return h=d,o.get(h)||h;var h;throw new SyntaxError(n.errorMessages.get(n.ErrorType.EndOfString))}))}t.S6=c},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,r)=>{e=isFileURI(e)?new URL(e):nodePath.normalize(e),fs.readFile(e,(function(e,n){e?r(e):t(n.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,r)=>{var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="arraybuffer",n.onload=()=>{200==n.status||0==n.status&&n.response?t(n.response):r()},n.onerror=r,n.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,r){for(var n=t+r,s=t;e[s]&&!(s>=n);)++s;if(s-t>16&&e.buffer&&UTF8Decoder)return UTF8Decoder.decode(e.subarray(t,s));for(var i="";t<s;){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 l=o-65536;i+=String.fromCharCode(55296|l>>10,56320|1023&l)}}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,r,n){if(!(n>0))return 0;for(var s=r,i=r+n-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(r>=i)break;t[r++]=a}else if(a<=2047){if(r+1>=i)break;t[r++]=192|a>>6,t[r++]=128|63&a}else if(a<=65535){if(r+2>=i)break;t[r++]=224|a>>12,t[r++]=128|a>>6&63,t[r++]=128|63&a}else{if(r+3>=i)break;t[r++]=240|a>>18,t[r++]=128|a>>12&63,t[r++]=128|a>>6&63,t[r++]=128|63&a}}return t[r]=0,r-s}function stringToUTF8(e,t,r){return stringToUTF8Array(e,HEAPU8,t,r)}function lengthBytesUTF8(e){for(var t=0,r=0;r<e.length;++r){var n=e.charCodeAt(r);n<=127?t++:n<=2047?t+=2:n>=55296&&n<=57343?(t+=4,++r):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 r=e.exports;r=relocateExports(r,1024);var n=getDylinkMetadata(t);n.neededDynlibs&&(dynamicLibraries=n.neededDynlibs.concat(dynamicLibraries)),mergeLibSymbols(r,"main"),Module.asm=r,addOnInit(Module.asm.__wasm_call_ctors),__RELOC_FUNCS__.push(Module.asm.__wasm_apply_data_relocs),removeRunDependency("wasm-instantiate")}function r(e){t(e.instance,e.module)}function n(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?n(r):fetch(wasmBinaryFile,{credentials:"same-origin"}).then((function(t){return WebAssembly.instantiateStreaming(t,e).then(r,(function(e){return err("wasm streaming compile failed: "+e),err("falling back to ArrayBuffer instantiation"),n(r)}))})),{}}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 r=GOT[t];return r||(r=GOT[t]=new WebAssembly.Global({value:"i32",mutable:!0})),CurrentModuleWeakSymbols.has(t)||(r.required=!0),r}};function callRuntimeCallbacks(e){for(;e.length>0;)e.shift()(Module)}function getDylinkMetadata(e){var t=0,r=0;function n(){for(var r=0,n=1;;){var s=e[t++];if(r+=(127&s)*n,n*=128,!(128&s))break}return r}function s(){var r=n();return UTF8ArrayToString(e,(t+=r)-r,r)}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"),r=(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=n();r=t+c,o=s()}var l={neededDynlibs:[],tlsExports:new Set,weakImports:new Set};if("dylink"==o){l.memorySize=n(),l.memoryAlign=n(),l.tableSize=n(),l.tableAlign=n();for(var u=n(),p=0;p<u;++p){var m=s();l.neededDynlibs.push(m)}}else for(i("dylink.0"!==o);t<r;){var d=e[t++],h=n();if(1===d)l.memorySize=n(),l.memoryAlign=n(),l.tableSize=n(),l.tableAlign=n();else if(2===d)for(u=n(),p=0;p<u;++p)m=s(),l.neededDynlibs.push(m);else if(3===d)for(var _=n();_--;){var f=s();256&n()&&l.tlsExports.add(f)}else if(4===d)for(_=n();_--;)s(),f=s(),1==(3&n())&&l.weakImports.add(f);else t+=h}return l}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 r in e)if(e.hasOwnProperty(r)){asmLibraryArg.hasOwnProperty(r)||(asmLibraryArg[r]=e[r]);var n=asmjsMangle(r);Module.hasOwnProperty(n)||(Module[n]=e[r]),"__main_argc_argv"==r&&(Module._main=e[r])}}var LDSO={loadedLibsByName:{},loadedLibsByHandle:{}};function dynCallLegacy(e,t,r){var n=Module["dynCall_"+e];return r&&r.length?n.apply(null,[t].concat(r)):n.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,r){return e.includes("j")?dynCallLegacy(e,t,r):getWasmTableEntry(t).apply(null,r)}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,r=t+e+15&-16;return ___heap_base=r,GOT.__heap_base.value=r,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"},r={parameters:[],results:"v"==e[0]?[]:[t[e[0]]]},n=1;n<e.length;++n)r.parameters.push(t[e[n]]),"j"===e[n]&&r.parameters.push("i32");return r}function generateFuncType(e,t){var r=e.slice(0,1),n=e.slice(1),s={i:127,p:127,j:126,f:125,d:124};t.push(96),uleb128Encode(n.length,t);for(var i=0;i<n.length;++i)t.push(s[n[i]]);"v"==r?t.push(0):t.push(1,s[r])}function convertJsFunctionToWasm(e,t){if("function"==typeof WebAssembly.Function)return new WebAssembly.Function(sigToWasmTypes(t),e);var r=[1];generateFuncType(t,r);var n=[0,97,115,109,1,0,0,0,1];uleb128Encode(r.length,n),n.push.apply(n,r),n.push(2,7,1,1,101,1,102,0,0,7,5,1,1,102,0,0);var s=new WebAssembly.Module(new Uint8Array(n));return new WebAssembly.Instance(s,{e:{f:e}}).exports.f}function updateTableMap(e,t){if(functionsInTableMap)for(var r=e;r<e+t;r++){var n=getWasmTableEntry(r);n&&functionsInTableMap.set(n,r)}}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 r=getEmptyTableSlot();try{setWasmTableEntry(r,e)}catch(n){if(!(n instanceof TypeError))throw n;setWasmTableEntry(r,convertJsFunctionToWasm(e,t))}return functionsInTableMap.set(e,r),r}function updateGOT(e,t){for(var r in e)if(!isInternalSym(r)){var n=e[r];r.startsWith("orig$")&&(r=r.split("$")[1],t=!0),GOT[r]||(GOT[r]=new WebAssembly.Global({value:"i32",mutable:!0})),(t||0==GOT[r].value)&&("function"==typeof n?GOT[r].value=addFunction(n):"number"==typeof n?GOT[r].value=n:err("unhandled export type for `"+r+"`: "+typeof n))}}function relocateExports(e,t,r){var n={};for(var s in e){var i=e[s];"object"==typeof i&&(i=i.value),"number"==typeof i&&(i+=t),n[s]=i}return updateGOT(n,r),n}function resolveGlobalSymbol(e,t){var r;return t&&(r=asmLibraryArg["orig$"+e]),r||(r=asmLibraryArg[e])&&r.stub&&(r=void 0),r||(r=Module[asmjsMangle(e)]),!r&&e.startsWith("invoke_")&&(r=createInvokeFunction(e.split("_")[1])),r}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 r||(r=resolveSymbol(t)),r.apply(null,arguments)}),e[t]);var r}},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,r){t=t||{global:!0,nodelete:!0};var n=LDSO.loadedLibsByName[e];if(n)return t.global&&!n.global&&(n.global=!0,"loading"!==n.module&&mergeLibSymbols(n.module,e)),t.nodelete&&n.refcount!==1/0&&(n.refcount=1/0),n.refcount++,r&&(LDSO.loadedLibsByHandle[r]=n),!t.loadAsync||Promise.resolve(!0);function s(e){if(t.fs&&t.fs.findObject(e)){var r=t.fs.readFile(e,{encoding:"binary"});return r instanceof Uint8Array||(r=new Uint8Array(r)),t.loadAsync?Promise.resolve(r):r}if(e=locateFile(e),t.loadAsync)return new Promise((function(t,r){readAsync(e,(e=>t(new Uint8Array(e))),r)}));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 n=preloadedWasm[e];return t.loadAsync?Promise.resolve(n):n}return t.loadAsync?s(e).then((function(e){return loadWebAssemblyModule(e,t,r)})):loadWebAssemblyModule(s(e),t,r)}function o(t){n.global&&mergeLibSymbols(t,e),n.module=t}return n={refcount:t.nodelete?1/0:1,name:e,module:"loading",global:t.global},LDSO.loadedLibsByName[e]=n,r&&(LDSO.loadedLibsByHandle[r]=n),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,r="i8"){switch(r.endsWith("*")&&(r="*"),r){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: "+r)}}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,r){HEAPU8.copyWithin(e,t,t+r)}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 r,n=getHeapMax();if(e>n)return!1;for(var s=1;s<=4;s*=2){var i=t*(1+.2/s);if(i=Math.min(i,e+100663296),emscripten_realloc_buffer(Math.min(n,(r=Math.max(e,i))+(65536-r%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,r){if(PATH.isAbs(t))return t;var n;if(n=-100===e?FS.cwd():SYSCALLS.getStreamFromFD(e).path,0==t.length){if(!r)throw new FS.ErrnoError(44);return n}return PATH.join2(n,t)},doStat:function(e,t,r){try{var n=e(t)}catch(e){if(e&&e.node&&PATH.normalize(t)!==PATH.normalize(FS.getPath(e.node)))return-54;throw e}HEAP32[r>>2]=n.dev,HEAP32[r+8>>2]=n.ino,HEAP32[r+12>>2]=n.mode,HEAPU32[r+16>>2]=n.nlink,HEAP32[r+20>>2]=n.uid,HEAP32[r+24>>2]=n.gid,HEAP32[r+28>>2]=n.rdev,tempI64=[n.size>>>0,(tempDouble=n.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[r+40>>2]=tempI64[0],HEAP32[r+44>>2]=tempI64[1],HEAP32[r+48>>2]=4096,HEAP32[r+52>>2]=n.blocks;var s=n.atime.getTime(),i=n.mtime.getTime(),o=n.ctime.getTime();return tempI64=[Math.floor(s/1e3)>>>0,(tempDouble=Math.floor(s/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[r+56>>2]=tempI64[0],HEAP32[r+60>>2]=tempI64[1],HEAPU32[r+64>>2]=s%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[r+72>>2]=tempI64[0],HEAP32[r+76>>2]=tempI64[1],HEAPU32[r+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[r+88>>2]=tempI64[0],HEAP32[r+92>>2]=tempI64[1],HEAPU32[r+96>>2]=o%1e3*1e3,tempI64=[n.ino>>>0,(tempDouble=n.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[r+104>>2]=tempI64[0],HEAP32[r+108>>2]=tempI64[1],0},doMsync:function(e,t,r,n,s){if(!FS.isFile(t.node.mode))throw new FS.ErrnoError(43);if(2&n)return 0;var i=HEAPU8.slice(e,e+r);FS.msync(t,i,s,r,n)},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,r,n,s){try{var i=convertI32PairToI53Checked(t,r);if(isNaN(i))return 61;var o=SYSCALLS.getStreamFromFD(e);return FS.llseek(o,i,n),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[s>>2]=tempI64[0],HEAP32[s+4>>2]=tempI64[1],o.getdents&&0===i&&0===n&&(o.getdents=null),0}catch(e){if("undefined"==typeof FS||!(e instanceof FS.ErrnoError))throw e;return e.errno}}function doWritev(e,t,r,n){for(var s=0,i=0;i<r;i++){var o=HEAPU32[t>>2],a=HEAPU32[t+4>>2];t+=8;var c=FS.write(e,HEAP8,o,a,n);if(c<0)return-1;s+=c,void 0!==n&&(n+=c)}return s}function _fd_write(e,t,r,n){try{var s=doWritev(SYSCALLS.getStreamFromFD(e),t,r);return HEAPU32[n>>2]=s,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 r=UTF8ToString(t);currentLogCallback(r,0!==e)}}function _tree_sitter_parse_callback(e,t,r,n,s){var i=currentParseCallback(t,{row:r,column:n});"string"==typeof i?(setValue(s,i.length,"i32"),stringToUTF16(i,e,10240)):setValue(s,0,"i32")}function handleException(e){if(e instanceof ExitStatus||"unwind"==e)return EXITSTATUS;quit_(1,e)}function allocateUTF8OnStack(e){var t=lengthBytesUTF8(e)+1,r=stackAlloc(t);return stringToUTF8Array(e,HEAP8,r,t),r}function stringToUTF16(e,t,r){if(void 0===r&&(r=2147483647),r<2)return 0;for(var n=t,s=(r-=2)<2*e.length?r/2:e.length,i=0;i<s;++i){var o=e.charCodeAt(i);HEAP16[t>>1]=o,t+=2}return HEAP16[t>>1]=0,t-n}function AsciiToString(e){for(var t="";;){var r=HEAPU8[e++>>0];if(!r)return t;t+=String.fromCharCode(r)}}_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 r=e.length,n=stackAlloc(4*(r+1)),s=n>>2;e.forEach((e=>{HEAP32[s++]=allocateUTF8OnStack(e)})),HEAP32[s]=0;try{var i=t(r,n);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 r=C._ts_language_version(t);if(r<MIN_COMPATIBLE_VERSION||VERSION<r)throw new Error(`Incompatible language version ${r}. 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,r){if("string"==typeof e)currentParseCallback=(t,r,n)=>e.slice(t,n);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 n=0,s=0;if(r&&r.includedRanges){n=r.includedRanges.length,s=C._calloc(n,SIZE_OF_RANGE);let e=s;for(let t=0;t<n;t++)marshalRange(e,r.includedRanges[t]),e+=SIZE_OF_RANGE}const i=C._ts_parser_parse_wasm(this[0],this[1],t?t[0]:0,s,n);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,r,n){assertInternal(e),this[0]=t,this.language=r,this.textCallback=n}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"),r=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),n=new Array(t);if(t>0){let e=r;for(let r=0;r<t;r++)n[r]=unmarshalRange(e),e+=SIZE_OF_RANGE;C._free(r)}return n}}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 r=t;for(let t=0;t<e;t++)this._children[t]=unmarshalNode(this.tree,r),r+=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 r=t;for(let t=0;t<e;t++)this._namedChildren[t]=unmarshalNode(this.tree,r),r+=SIZE_OF_NODE;C._free(t)}}return this._namedChildren}descendantsOfType(e,t,r){Array.isArray(e)||(e=[e]),t||(t=ZERO_POINT),r||(r=ZERO_POINT);const n=[],s=this.tree.language.types;for(let t=0,r=s.length;t<r;t++)e.includes(s[t])&&n.push(t);const i=C._malloc(SIZE_OF_INT*n.length);for(let e=0,t=n.length;e<t;e++)setValue(i+e*SIZE_OF_INT,n[e],"i32");marshalNode(this),C._ts_node_descendants_of_type_wasm(this.tree[0],i,n.length,t.row,t.column,r.row,r.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 r=TRANSFER_BUFFER+SIZE_OF_NODE;return setValue(r,e,"i32"),setValue(r+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 r=TRANSFER_BUFFER+SIZE_OF_NODE;return setValue(r,e,"i32"),setValue(r+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 r=TRANSFER_BUFFER+SIZE_OF_NODE;return marshalPoint(r,e),marshalPoint(r+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 r=TRANSFER_BUFFER+SIZE_OF_NODE;return marshalPoint(r,e),marshalPoint(r+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 r=lengthBytesUTF8(e),n=C._malloc(r+1);stringToUTF8(e,n,r+1);const s=C._ts_language_symbol_for_name(this[0],n,r,t);return C._free(n),s||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),r=C._malloc(t+1);stringToUTF8(e,r,t+1);const n=C._ts_query_new(this[0],r,t,TRANSFER_BUFFER,TRANSFER_BUFFER+SIZE_OF_INT);if(!n){const t=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),n=UTF8ToString(r,getValue(TRANSFER_BUFFER,"i32")).length,s=e.substr(n,100).split("\n")[0];let i,o=s.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 ${n}: '${s}'...`),o="";break;default:i=new SyntaxError(`Bad syntax at offset ${n}: '${s}'...`),o=""}throw i.index=n,i.length=o.length,C._free(r),i}const s=C._ts_query_string_count(n),i=C._ts_query_capture_count(n),o=C._ts_query_pattern_count(n),a=new Array(i),c=new Array(s);for(let e=0;e<i;e++){const t=C._ts_query_capture_name_for_id(n,e,TRANSFER_BUFFER),r=getValue(TRANSFER_BUFFER,"i32");a[e]=UTF8ToString(t,r)}for(let e=0;e<s;e++){const t=C._ts_query_string_value_for_id(n,e,TRANSFER_BUFFER),r=getValue(TRANSFER_BUFFER,"i32");c[e]=UTF8ToString(t,r)}const l=new Array(o),u=new Array(o),p=new Array(o),m=new Array(o),d=new Array(o);for(let e=0;e<o;e++){const t=C._ts_query_predicates_for_pattern(n,e,TRANSFER_BUFFER),r=getValue(TRANSFER_BUFFER,"i32");m[e]=[],d[e]=[];const s=[];let i=t;for(let t=0;t<r;t++){const t=getValue(i,"i32");i+=SIZE_OF_INT;const r=getValue(i,"i32");if(i+=SIZE_OF_INT,t===PREDICATE_STEP_TYPE_CAPTURE)s.push({type:"capture",name:a[r]});else if(t===PREDICATE_STEP_TYPE_STRING)s.push({type:"string",value:c[r]});else if(s.length>0){if("string"!==s[0].type)throw new Error("Predicates must begin with a literal value");const t=s[0].value;let r=!0;switch(t){case"not-eq?":r=!1;case"eq?":if(3!==s.length)throw new Error("Wrong number of arguments to `#eq?` predicate. Expected 2, got "+(s.length-1));if("capture"!==s[1].type)throw new Error(`First argument of \`#eq?\` predicate must be a capture. Got "${s[1].value}"`);if("capture"===s[2].type){const t=s[1].name,n=s[2].name;d[e].push((function(e){let s,i;for(const r of e)r.name===t&&(s=r.node),r.name===n&&(i=r.node);return void 0===s||void 0===i||s.text===i.text===r}))}else{const t=s[1].name,n=s[2].value;d[e].push((function(e){for(const s of e)if(s.name===t)return s.node.text===n===r;return!0}))}break;case"not-match?":r=!1;case"match?":if(3!==s.length)throw new Error(`Wrong number of arguments to \`#match?\` predicate. Expected 2, got ${s.length-1}.`);if("capture"!==s[1].type)throw new Error(`First argument of \`#match?\` predicate must be a capture. Got "${s[1].value}".`);if("string"!==s[2].type)throw new Error(`Second argument of \`#match?\` predicate must be a string. Got @${s[2].value}.`);const n=s[1].name,i=new RegExp(s[2].value);d[e].push((function(e){for(const t of e)if(t.name===n)return i.test(t.node.text)===r;return!0}));break;case"set!":if(s.length<2||s.length>3)throw new Error(`Wrong number of arguments to \`#set!\` predicate. Expected 1 or 2. Got ${s.length-1}.`);if(s.some((e=>"string"!==e.type)))throw new Error('Arguments to `#set!` predicate must be a strings.".');l[e]||(l[e]={}),l[e][s[1].value]=s[2]?s[2].value:null;break;case"is?":case"is-not?":if(s.length<2||s.length>3)throw new Error(`Wrong number of arguments to \`#${t}\` predicate. Expected 1 or 2. Got ${s.length-1}.`);if(s.some((e=>"string"!==e.type)))throw new Error(`Arguments to \`#${t}\` predicate must be a strings.".`);const o="is?"===t?u:p;o[e]||(o[e]={}),o[e][s[1].value]=s[2]?s[2].value:null;break;default:m[e].push({operator:t,operands:s.slice(1)})}s.length=0}}Object.freeze(l[e]),Object.freeze(u[e]),Object.freeze(p[e])}return C._free(r),new Query(INTERNAL,n,a,d,m,Object.freeze(l),Object.freeze(u),Object.freeze(p))}static load(e){let t;if(e instanceof Uint8Array)t=Promise.resolve(e);else{const r=e;if("undefined"!=typeof process&&process.versions&&process.versions.node){const e=__webpack_require__(5530);t=Promise.resolve(e.readFileSync(r))}else t=fetch(r).then((e=>e.arrayBuffer().then((t=>{if(e.ok)return new Uint8Array(t);{const r=new TextDecoder("utf-8").decode(t);throw new Error(`Language.load failed with status ${e.status}.\n\n${r}`)}}))))}const r="function"==typeof loadSideModule?loadSideModule:loadWebAssemblyModule;return t.then((e=>r(e,{loadAsync:!0}))).then((e=>{const t=Object.keys(e),r=t.find((e=>LANGUAGE_FUNCTION_REGEX.test(e)&&!e.includes("external_scanner_")));r||console.log(`Couldn't find language function in WASM file. Symbols:\n${JSON.stringify(t,null,2)}`);const n=e[r]();return new Language(INTERNAL,n)}))}}class Query{constructor(e,t,r,n,s,i,o,a){assertInternal(e),this[0]=t,this.captureNames=r,this.textPredicates=n,this.predicates=s,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,r,n){t||(t=ZERO_POINT),r||(r=ZERO_POINT),n||(n={});let s=n.matchLimit;if(void 0===s)s=0;else if("number"!=typeof s)throw new Error("Arguments must be numbers");marshalNode(e),C._ts_query_matches_wasm(this[0],e.tree[0],t.row,t.column,r.row,r.column,s);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 l=0,u=o;for(let t=0;t<i;t++){const r=getValue(u,"i32");u+=SIZE_OF_INT;const n=getValue(u,"i32");u+=SIZE_OF_INT;const s=new Array(n);if(u=unmarshalCaptures(this,e.tree,u,s),this.textPredicates[r].every((e=>e(s)))){c[l++]={pattern:r,captures:s};const e=this.setProperties[r];e&&(c[t].setProperties=e);const n=this.assertedProperties[r];n&&(c[t].assertedProperties=n);const i=this.refutedProperties[r];i&&(c[t].refutedProperties=i)}}return c.length=l,C._free(o),c}captures(e,t,r,n){t||(t=ZERO_POINT),r||(r=ZERO_POINT),n||(n={});let s=n.matchLimit;if(void 0===s)s=0;else if("number"!=typeof s)throw new Error("Arguments must be numbers");marshalNode(e),C._ts_query_captures_wasm(this[0],e.tree[0],t.row,t.column,r.row,r.column,s);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 l=[];let u=o;for(let t=0;t<i;t++){const t=getValue(u,"i32");u+=SIZE_OF_INT;const r=getValue(u,"i32");u+=SIZE_OF_INT;const n=getValue(u,"i32");if(u+=SIZE_OF_INT,l.length=r,u=unmarshalCaptures(this,e.tree,u,l),this.textPredicates[t].every((e=>e(l)))){const e=l[n],r=this.setProperties[t];r&&(e.setProperties=r);const s=this.assertedProperties[t];s&&(e.assertedProperties=s);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,r){const n=r-t;let s=e.textCallback(t,null,r);for(t+=s.length;t<r;){const n=e.textCallback(t,null,r);if(!(n&&n.length>0))break;t+=n.length,s+=n}return t>r&&(s=s.slice(0,n)),s}function unmarshalCaptures(e,t,r,n){for(let s=0,i=n.length;s<i;s++){const i=getValue(r,"i32"),o=unmarshalNode(t,r+=SIZE_OF_INT);r+=SIZE_OF_NODE,n[s]={name:e.captureNames[i],node:o}}return r}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 r=getValue(t,"i32");if(0===r)return null;const n=getValue(t+=SIZE_OF_INT,"i32"),s=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=r,a.startIndex=n,a.startPosition={row:s,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 r=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(r.exports,r,r.exports,__webpack_require__),r.loaded=!0,r.exports}__webpack_require__.d=(e,t)=>{for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__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 r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&!e;)e=r[n--].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:()=>Yf,detectionRegExp:()=>Xf,mediaTypes:()=>Kf,namespace:()=>eg,parse:()=>Qf});var e={};__webpack_require__.r(e),__webpack_require__.d(e,{hasElementSourceMap:()=>Cs,includesClasses:()=>$s,includesSymbols:()=>ks,isAnnotationElement:()=>Fs,isArrayElement:()=>js,isBooleanElement:()=>Ss,isCommentElement:()=>Is,isElement:()=>vs,isLinkElement:()=>Ms,isMemberElement:()=>Ps,isNullElement:()=>xs,isNumberElement:()=>ws,isObjectElement:()=>Os,isParseResultElement:()=>Ts,isPrimitiveElement:()=>Rs,isRefElement:()=>As,isSourceMapElement:()=>Ns,isStringElement:()=>Es});var t={};__webpack_require__.r(t),__webpack_require__.d(t,{isJSONReferenceElement:()=>xa,isJSONSchemaElement:()=>wa,isLinkDescriptionElement:()=>Oa,isMediaElement:()=>Sa});var r={};__webpack_require__.r(r),__webpack_require__.d(r,{isOpenApi3_0LikeElement:()=>Qa,isOpenApiExtension:()=>oc,isParameterLikeElement:()=>ec,isReferenceLikeElement:()=>tc,isRequestBodyLikeElement:()=>rc,isResponseLikeElement:()=>nc,isServerLikeElement:()=>sc,isTagLikeElement:()=>ic});var n={};__webpack_require__.r(n),__webpack_require__.d(n,{isBooleanJsonSchemaElement:()=>yl,isCallbackElement:()=>Jc,isComponentsElement:()=>Kc,isContactElement:()=>Xc,isExampleElement:()=>Yc,isExternalDocumentationElement:()=>Qc,isHeaderElement:()=>el,isInfoElement:()=>tl,isLicenseElement:()=>rl,isLinkElement:()=>nl,isLinkElementExternal:()=>sl,isMediaTypeElement:()=>wl,isOpenApi3_0Element:()=>ol,isOpenapiElement:()=>il,isOperationElement:()=>al,isParameterElement:()=>cl,isPathItemElement:()=>ll,isPathItemElementExternal:()=>ul,isPathsElement:()=>pl,isReferenceElement:()=>ml,isReferenceElementExternal:()=>dl,isRequestBodyElement:()=>hl,isResponseElement:()=>_l,isResponsesElement:()=>fl,isSchemaElement:()=>gl,isSecurityRequirementElement:()=>bl,isServerElement:()=>vl,isServerVariableElement:()=>El});var s={};__webpack_require__.r(s),__webpack_require__.d(s,{isBooleanJsonSchemaElement:()=>Yh,isCallbackElement:()=>Mh,isComponentsElement:()=>Ah,isContactElement:()=>Fh,isExampleElement:()=>Ih,isExternalDocumentationElement:()=>Th,isHeaderElement:()=>Nh,isInfoElement:()=>Rh,isJsonSchemaDialectElement:()=>Ch,isLicenseElement:()=>kh,isLinkElement:()=>$h,isLinkElementExternal:()=>Dh,isMediaTypeElement:()=>r_,isOpenApi3_1Element:()=>Bh,isOpenapiElement:()=>qh,isOperationElement:()=>Lh,isParameterElement:()=>Vh,isPathItemElement:()=>Uh,isPathItemElementExternal:()=>Hh,isPathsElement:()=>Gh,isReferenceElement:()=>Zh,isReferenceElementExternal:()=>zh,isRequestBodyElement:()=>Wh,isResponseElement:()=>Jh,isResponsesElement:()=>Kh,isSchemaElement:()=>Xh,isSecurityRequirementElement:()=>Qh,isServerElement:()=>e_,isServerVariableElement:()=>t_});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(r){return 0===arguments.length||a(r)?t:e.apply(this,arguments)}}function l(e){return function t(r,n){switch(arguments.length){case 0:return t;case 1:return a(r)?t:c((function(t){return e(r,t)}));default:return a(r)&&a(n)?t:a(r)?c((function(t){return e(t,n)})):a(n)?c((function(t){return e(r,t)})):e(r,n)}}}const u=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function p(e,t,r){return function(){if(0===arguments.length)return r();var n=arguments[arguments.length-1];if(!u(n)){for(var s=0;s<e.length;){if("function"==typeof n[e[s]])return n[e[s]].apply(n,Array.prototype.slice.call(arguments,0,-1));s+=1}if(function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}(n))return t.apply(null,Array.prototype.slice.call(arguments,0,-1))(n)}return r.apply(this,arguments)}}function m(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}const d=function(){return this.xf["@@transducer/init"]()},h=function(e){return this.xf["@@transducer/result"](e)};var _=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=d,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=m(this.xf["@@transducer/step"](e,!1))),e},e}();function f(e){return function(t){return new _(e,t)}}const g=l(p(["all"],f,(function(e,t){for(var r=0;r<t.length;){if(!e(t[r]))return!1;r+=1}return!0})));function y(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,r){return t.apply(this,arguments)};case 3:return function(e,r,n){return t.apply(this,arguments)};case 4:return function(e,r,n,s){return t.apply(this,arguments)};case 5:return function(e,r,n,s,i){return t.apply(this,arguments)};case 6:return function(e,r,n,s,i,o){return t.apply(this,arguments)};case 7:return function(e,r,n,s,i,o,a){return t.apply(this,arguments)};case 8:return function(e,r,n,s,i,o,a,c){return t.apply(this,arguments)};case 9:return function(e,r,n,s,i,o,a,c,l){return t.apply(this,arguments)};case 10:return function(e,r,n,s,i,o,a,c,l,u){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function b(e,t,r){return function(){for(var n=[],s=0,i=e,o=0;o<t.length||s<arguments.length;){var c;o<t.length&&(!a(t[o])||s>=arguments.length)?c=t[o]:(c=arguments[s],s+=1),n[o]=c,a(c)||(i-=1),o+=1}return i<=0?r.apply(this,n):y(i,b(e,n,r))}}const v=l((function(e,t){return 1===e?c(t):y(e,b(e,[],t))}));function E(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}function w(e,t,r){for(var n=0,s=r.length;n<s;){if(e(t,r[n]))return!0;n+=1}return!1}function x(e,t){return Object.prototype.hasOwnProperty.call(t,e)}const S="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};var O=Object.prototype.toString;const j=function(){return"[object Arguments]"===O.call(arguments)?function(e){return"[object Arguments]"===O.call(e)}:function(e){return x("callee",e)}}();var P=!{toString:null}.propertyIsEnumerable("toString"),M=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],A=function(){return arguments.propertyIsEnumerable("length")}(),F=function(e,t){for(var r=0;r<e.length;){if(e[r]===t)return!0;r+=1}return!1};const I="function"!=typeof Object.keys||A?c((function(e){if(Object(e)!==e)return[];var t,r,n=[],s=A&&j(e);for(t in e)!x(t,e)||s&&"length"===t||(n[n.length]=t);if(P)for(r=M.length-1;r>=0;)x(t=M[r],e)&&!F(n,t)&&(n[n.length]=t),r-=1;return n})):c((function(e){return Object(e)!==e?[]:Object.keys(e)}));const T=c((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function N(e,t,r,n){var s=E(e);function i(e,t){return R(e,t,r.slice(),n.slice())}return!w((function(e,t){return!w(i,t,e)}),E(t),s)}function R(e,t,r,n){if(S(e,t))return!0;var s,i,o=T(e);if(o!==T(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"===(s=e.constructor,null==(i=String(s).match(/^function (\w*)/))?"":i[1]))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!S(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!S(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var a=r.length-1;a>=0;){if(r[a]===e)return n[a]===t;a-=1}switch(o){case"Map":return e.size===t.size&&N(e.entries(),t.entries(),r.concat([e]),n.concat([t]));case"Set":return e.size===t.size&&N(e.values(),t.values(),r.concat([e]),n.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var c=I(e);if(c.length!==I(t).length)return!1;var l=r.concat([e]),u=n.concat([t]);for(a=c.length-1;a>=0;){var p=c[a];if(!x(p,t)||!R(t[p],e[p],l,u))return!1;a-=1}return!0}const C=l((function(e,t){return R(e,t,[],[])}));function k(e,t){return function(e,t,r){var n,s;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(n=1/t;r<e.length;){if(0===(s=e[r])&&1/s===n)return r;r+=1}return-1}if(t!=t){for(;r<e.length;){if("number"==typeof(s=e[r])&&s!=s)return r;r+=1}return-1}return e.indexOf(t,r);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,r);case"object":if(null===t)return e.indexOf(t,r)}for(;r<e.length;){if(C(e[r],t))return r;r+=1}return-1}(t,e,0)>=0}function $(e,t){for(var r=0,n=t.length,s=Array(n);r<n;)s[r]=e(t[r]),r+=1;return s}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 q=function(e){return(e<10?"0":"")+e};const B="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+q(e.getUTCMonth()+1)+"-"+q(e.getUTCDate())+"T"+q(e.getUTCHours())+":"+q(e.getUTCMinutes())+":"+q(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function L(e,t,r){for(var n=0,s=r.length;n<s;)t=e(t,r[n]),n+=1;return t}function V(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"]=d,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 H(e){return function(t){return new U(e,t)}}const G=l(p(["fantasy-land/filter","filter"],H,(function(e,t){return V(t)?L((function(r,n){return e(t[n])&&(r[n]=t[n]),r}),{},I(t)):function(e,t){for(var r=0,n=t.length,s=[];r<n;)e(t[r])&&(s[s.length]=t[r]),r+=1;return s}(e,t)})));const Z=l((function(e,t){return G((r=e,function(){return!r.apply(this,arguments)}),t);var r}));function z(e,t){var r=function(r){var n=t.concat([e]);return k(r,n)?"<Circular>":z(r,n)},n=function(e,t){return $((function(t){return D(t)+": "+r(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+$(r,e).join(", ")+"))";case"[object Array]":return"["+$(r,e).concat(n(e,Z((function(e){return/^\d+$/.test(e)}),I(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+r(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?r(NaN):D(B(e)))+")";case"[object Map]":return"new Map("+r(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+r(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+r(Array.from(e).sort())+")";case"[object String]":return"object"==typeof e?"new String("+r(e.valueOf())+")":D(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var s=e.toString();if("[object Object]"!==s)return s}return"{"+n(e,I(e)).join(", ")+"}"}}const W=c((function(e){return z(e,[])}));const J=l((function(e,t){if(e===t)return t;function r(e,t){if(e>t!=t>e)return t>e?t:e}var n=r(e,t);if(void 0!==n)return n;var s=r(typeof e,typeof t);if(void 0!==s)return s===typeof e?e:t;var i=W(e),o=r(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"]=d,e.prototype["@@transducer/result"]=h,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const X=l(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 L((function(r,n){return r[n]=e(t[n]),r}),{},I(t));default:return $(e,t)}}))),Y=Number.isInteger||function(e){return e<<0===e};function Q(e){return"[object String]"===Object.prototype.toString.call(e)}const ee=l((function(e,t){var r=e<0?t.length+e:e;return Q(t)?t.charAt(r):t[r]}));const te=l((function(e,t){if(null!=t)return Y(e)?ee(e,t):t[e]}));const re=l((function(e,t){return X(te(e),t)}));function ne(e){return function t(r,n,s){switch(arguments.length){case 0:return t;case 1:return a(r)?t:l((function(t,n){return e(r,t,n)}));case 2:return a(r)&&a(n)?t:a(r)?l((function(t,r){return e(t,n,r)})):a(n)?l((function(t,n){return e(r,t,n)})):c((function(t){return e(r,n,t)}));default:return a(r)&&a(n)&&a(s)?t:a(r)&&a(n)?l((function(t,r){return e(t,r,s)})):a(r)&&a(s)?l((function(t,r){return e(t,n,r)})):a(n)&&a(s)?l((function(t,n){return e(r,t,n)})):a(r)?c((function(t){return e(t,n,s)})):a(n)?c((function(t){return e(r,t,s)})):a(s)?c((function(t){return e(r,n,t)})):e(r,n,s)}}}const se=c((function(e){return!!u(e)||!!e&&("object"==typeof e&&(!Q(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,r){return function(n,s,i){if(se(i))return e(n,s,i);if(null==i)return s;if("function"==typeof i["fantasy-land/reduce"])return t(n,s,i,"fantasy-land/reduce");if(null!=i[ie])return r(n,s,i[ie]());if("function"==typeof i.next)return r(n,s,i);if("function"==typeof i.reduce)return t(n,s,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function ae(e,t,r){for(var n=0,s=r.length;n<s;){if((t=e["@@transducer/step"](t,r[n]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n+=1}return e["@@transducer/result"](t)}const ce=l((function(e,t){return y(e.length,(function(){return e.apply(t,arguments)}))}));function le(e,t,r){for(var n=r.next();!n.done;){if((t=e["@@transducer/step"](t,n.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n=r.next()}return e["@@transducer/result"](t)}function ue(e,t,r,n){return e["@@transducer/result"](r[n](ce(e["@@transducer/step"],e),t))}const pe=oe(ae,ue,le);var me=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();function de(e){return new me(e)}const he=ne((function(e,t,r){return pe("function"==typeof e?de(e):e,t,r)}));const _e=c((function(e){return v(he(J,0,re("length",e)),(function(){for(var t=0,r=e.length;t<r;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0}))}));const fe=c((function(e){return function(){return e}}));const ge=c((function(e){return v(he(J,0,re("length",e)),(function(){for(var t=0,r=e.length;t<r;){if(e[t].apply(this,arguments))return!0;t+=1}return!1}))}));function ye(e,t,r){for(var n=r.next();!n.done;)t=e(t,n.value),n=r.next();return t}function be(e,t,r,n){return r[n](e,t)}const ve=oe(L,be,ye);const Ee=l((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(r){return e(r)(t(r))}:ve((function(e,r){return function(e,t){var r;t=t||[];var n=(e=e||[]).length,s=t.length,i=[];for(r=0;r<n;)i[i.length]=e[r],r+=1;for(r=0;r<s;)i[i.length]=t[r],r+=1;return i}(e,X(r,t))}),[],e)}));const we=l((function(e,t){return e.apply(this,t)}));function xe(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const Se=l((function(e,t){return e&&t}));const Oe=l((function(e,t){var r=v(e,t);return v(e,(function(){return L(Ee,X(r,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const je=c((function(e){return Oe(e.length,e)}));const Pe=l((function(e,t){return xe(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:je(Se)(e,t)}));const Me=c((function(e){return function(t,r){return e(t,r)?-1:e(r,t)?1:0}}));const Ae=je(c((function(e){return!e})));function Fe(e,t){return function(){return t.call(this,e.apply(this,arguments))}}function Ie(e,t){return function(){var r=arguments.length;if(0===r)return t();var n=arguments[r-1];return u(n)||"function"!=typeof n[e]?t.apply(this,arguments):n[e].apply(n,Array.prototype.slice.call(arguments,0,r-1))}}const Te=ne(Ie("slice",(function(e,t,r){return Array.prototype.slice.call(r,e,t)})));const Ne=c(Ie("tail",Te(1,1/0)));function Re(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return y(arguments[0].length,he(Fe,arguments[0],Ne(arguments)))}const Ce=c((function(e){return Q(e)?e.split("").reverse().join(""):Array.prototype.slice.call(e,0).reverse()}));function ke(){if(0===arguments.length)throw new Error("compose requires at least one argument");return Re.apply(this,Ce(arguments))}const $e=l((function(e,t){if(u(e)){if(u(t))return e.concat(t);throw new TypeError(W(t)+" is not an array")}if(Q(e)){if(Q(t))return e+t;throw new TypeError(W(t)+" is not a string")}if(null!=e&&xe(e["fantasy-land/concat"]))return e["fantasy-land/concat"](t);if(null!=e&&xe(e.concat))return e.concat(t);throw new TypeError(W(e)+' does not have a method named "concat" or "fantasy-land/concat"')}));const De=l((function(e,t){return v(he(J,0,re("length",t)),(function(){var r=arguments,n=this;return e.apply(n,$((function(e){return e.apply(n,r)}),t))}))}));const qe=c((function(e){return v(e.length,e)}));const Be=l((function(e,t){return null==t||t!=t?e:t}));function Le(e,t,r){var n,s=typeof e;switch(s){case"string":case"number":return 0===e&&1/e==-1/0?!!r._items["-0"]||(t&&(r._items["-0"]=!0),!1):null!==r._nativeSet?t?(n=r._nativeSet.size,r._nativeSet.add(e),r._nativeSet.size===n):r._nativeSet.has(e):s in r._items?e in r._items[s]||(t&&(r._items[s][e]=!0),!1):(t&&(r._items[s]={},r._items[s][e]=!0),!1);case"boolean":if(s in r._items){var i=e?1:0;return!!r._items[s][i]||(t&&(r._items[s][i]=!0),!1)}return t&&(r._items[s]=e?[!1,!0]:[!0,!1]),!1;case"function":return null!==r._nativeSet?t?(n=r._nativeSet.size,r._nativeSet.add(e),r._nativeSet.size===n):r._nativeSet.has(e):s in r._items?!!k(e,r._items[s])||(t&&r._items[s].push(e),!1):(t&&(r._items[s]=[e]),!1);case"undefined":return!!r._items[s]||(t&&(r._items[s]=!0),!1);case"object":if(null===e)return!!r._items.null||(t&&(r._items.null=!0),!1);default:return(s=Object.prototype.toString.call(e))in r._items?!!k(e,r._items[s])||(t&&r._items[s].push(e),!1):(t&&(r._items[s]=[e]),!1)}}const Ve=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}return e.prototype.add=function(e){return!Le(e,!0,this)},e.prototype.has=function(e){return Le(e,!1,this)},e}();const Ue=l((function(e,t){for(var r=[],n=0,s=e.length,i=t.length,o=new Ve,a=0;a<i;a+=1)o.add(t[a]);for(;n<s;)o.add(e[n])&&(r[r.length]=e[n]),n+=1;return r}));var He=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=d,e.prototype["@@transducer/result"]=h,e.prototype["@@transducer/step"]=function(e,t){this.i+=1;var r=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?m(r):r},e}();function Ge(e){return function(t){return new He(e,t)}}const Ze=l(p(["take"],Ge,(function(e,t){return Te(0,e<0?1/0:e,t)})));var ze=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=d,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 We(e){return function(t){return new ze(e,t)}}const Je=l(p(["dropWhile"],We,(function(e,t){for(var r=0,n=t.length;r<n&&e(t[r]);)r+=1;return Te(r,1/0,t)})));const Ke=l((function(e,t){return e||t}));const Xe=l((function(e,t){return xe(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:je(Ke)(e,t)}));var Ye=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():u(e)?[]:Q(e)?"":V(e)?{}:j(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 Qe=Ye;const et=c((function(e){return v(e.length,(function(t,r){var n=Array.prototype.slice.call(arguments,0);return n[0]=r,n[1]=t,e.apply(this,n)}))}));const tt=l((function(e,t){return e>t}));const rt=c((function(e){return null==e}));const nt=l((function(e,t){if(0===e.length||rt(t))return!1;for(var r=t,n=0;n<e.length;){if(rt(r)||!x(e[n],r))return!1;r=r[e[n]],n+=1}return!0}));const st=l((function(e,t){return nt([e],t)}));const it=ee(0);var ot=function(e,t){switch(arguments.length){case 0:return ot;case 1:return function t(r){return 0===arguments.length?t:S(e,r)};default:return S(e,t)}};const at=ot;function ct(e){return e}const lt=c(ct);const ut=ne((function(e,t,r){return v(Math.max(e.length,t.length,r.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):r.apply(this,arguments)}))}));const pt=l(k);const mt=Te(0,-1);const dt="function"==typeof Object.assign?Object.assign:function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1,n=arguments.length;r<n;){var s=arguments[r];if(null!=s)for(var i in s)x(i,s)&&(t[i]=s[i]);r+=1}return t};const ht=l((function(e,t){return v(e+1,(function(){var r=arguments[e];if(null!=r&&xe(r[t]))return r[t].apply(r,Array.prototype.slice.call(arguments,0,e));throw new TypeError(W(r)+' does not have a method named "'+t+'"')}))}));const _t=c((function(e){return null!=e&&C(e,Qe(e))}));const ft=ht(1,"join");const gt=ee(-1);const yt=l((function(e,t){return e.map((function(e){for(var r,n=t,s=0;s<e.length;){if(null==n)return;r=e[s],n=Y(r)?ee(r,n):n[r],s+=1}return n}))}));const bt=l((function(e,t){return yt([e],t)[0]}));const vt=l((function(e,t){return L((function(r,n){return r[n]=e(t[n],n,t),r}),{},I(t))}));const Et=l((function(e,t){return dt({},e,t)}));const wt=l((function(e,t){for(var r={},n={},s=0,i=e.length;s<i;)n[e[s]]=1,s+=1;for(var o in t)n.hasOwnProperty(o)||(r[o]=t[o]);return r}));const xt=ne((function(e,t,r){return Be(e,bt(t,r))}));const St=ne((function(e,t,r){return e(bt(t,r))}));const Ot=l((function(e,t){for(var r={},n=0;n<e.length;)e[n]in t&&(r[e[n]]=t[e[n]]),n+=1;return r}));const jt=ne((function(e,t,r){return Be(e,te(t,r))}));const Pt=ne((function(e,t,r){return e(te(t,r))}));function Mt(e){return"[object Number]"===Object.prototype.toString.call(e)}const At=l((function(e,t){if(!Mt(e)||!Mt(t))throw new TypeError("Both arguments to range must be numbers");for(var r=[],n=e;n<t;)r.push(n),n+=1;return r}));const Ft=c(m);const It=ne((function(e,t,r){return r.replace(e,t)}));var Tt=l((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const Nt=Tt;const Rt=ht(1,"split");const Ct=l((function(e,t){return C(Ze(e.length,t),e)}));const kt=l((function(e,t){if(r=e,"[object RegExp]"!==Object.prototype.toString.call(r))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+W(e));var r;return function(e){return new RegExp(e.source,e.flags?e.flags:(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":"")+(e.dotAll?"s":""))}(e).test(t)}));const $t=v(4,(function(e,t,r,n){return pe(e("function"==typeof t?de(t):t),r,n)}));var Dt="\t\n\v\f\r                 \u2028\u2029\ufeff";const qt=c("function"==typeof String.prototype.trim&&!Dt.trim()&&"​".trim()?function(e){return e.trim()}:function(e){var t=new RegExp("^["+Dt+"]["+Dt+"]*"),r=new RegExp("["+Dt+"]["+Dt+"]*$");return e.replace(t,"").replace(r,"")});const Bt=fe(void 0);const Lt=C(Bt());const Vt=Ae(Lt);var Ut=__webpack_require__(7952);const Ht=C(null);const Gt=Ae(Ht);function Zt(e){return Zt="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},Zt(e)}const zt=function(e){return"object"===Zt(e)};const Wt=v(1,Pe(Gt,zt));const Jt=v(1,Re(T,at("GeneratorFunction")));const Kt=v(1,Re(T,at("AsyncFunction")));const Xt=ge([Re(T,at("Function")),Jt,Kt]);var Yt=Re(T,at("Object")),Qt=Re(W,C(W(Object))),er=St(Pe(Xt,Qt),["constructor"]);const tr=v(1,(function(e){if(!Wt(e)||!Yt(e))return!1;var t=Object.getPrototypeOf(e);return!!Ht(t)||er(t)}));class rr extends Ut.RP{constructor(e,t,r){super(e,t,r),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const nr=rr;class sr extends Ut.RP{constructor(e,t,r){super(e,t,r),this.element="comment"}}const ir=sr;class or extends Ut.ON{constructor(e,t,r){super(e,t,r),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(Lt(t))return!1;const r=this.content.findIndex((e=>e===t));return-1!==r&&(this.content[r]=e,!0)}}const ar=or;class cr extends Ut.ON{constructor(e,t,r){super(e,t,r),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 Ut.ON([e.start.row,e.start.column,e.start.char]),r=new Ut.ON([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),r.classes.push("position"),this.push(t).push(r)}}const lr=cr;class ur extends Ut.lS{constructor(){super(),this.register("annotation",nr),this.register("comment",ir),this.register("parseResult",ar),this.register("sourceMap",lr)}}const pr=new ur,mr=e=>{const t=new ur;return tr(e)&&t.use(e),t},dr=pr;const hr=v(1,Re(T,at("String"))),_r=__webpack_require__.p+"3055f0c5f4843ded29b10894f35a54d2.wasm",fr=globalThis.fetch;Xt(fr)&&(globalThis.fetch=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return hr(t[0])&&t[0].endsWith("tree-sitter.wasm")?fr.apply(globalThis,[_r,Ne(t)]):fr.apply(globalThis,t)});var gr=__webpack_require__(9794);const yr=__webpack_require__.p+"c0da590675c708b5efeb89f8248097c1.wasm";let br=null,vr=null;const Er=async e=>{if(null===br&&null===vr)vr=gr.init().then((()=>gr.Language.load(yr))).then((e=>{const t=new gr;return t.setLanguage(e),t})).finally((()=>{vr=null})),br=await vr;else if(null===br&&null!==vr)br=await vr;else if(null===br)throw new Error("Error while initializing web-tree-sitter");return br.parse(e)};var wr=__webpack_require__(6591);const xr=wr({props:{type:null,position:null,children:[]},init(){let{children:e=[],position:t=null,isMissing:r=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{stamp:n={}}=arguments.length>1?arguments[1]:void 0;this.type=n.type,this.isMissing=r,this.children=e,this.position=t},methods:{clone(){const e=Object.create(Object.getPrototypeOf(this));return Object.getOwnPropertyNames(this).forEach((t=>{const r=Object.getOwnPropertyDescriptor(this,t);Object.defineProperty(e,t,r)})),e}}});let Sr=function(e){return e.Scalar="Scalar",e.Sequence="Sequence",e.Mapping="Mapping",e}({});const Or=wr(xr,{statics:{type:"tag"},props:{explicitName:"",kind:null},init(){let{explicitName:e,kind:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.explicitName=e,this.kind=t}});const jr=C("");const Pr=v(1,Re(T,at("Number")));var Mr=Pe(Pr,isFinite);var Ar=v(1,Mr);const Fr=Xt(Number.isFinite)?v(1,ce(Number.isFinite,Number)):Ar;var Ir=Pe(Fr,De(C,[Math.floor,lt]));var Tr=v(1,Ir);const Nr=Xt(Number.isInteger)?v(1,ce(Number.isInteger,Number)):Tr;const Rr=Ae(Fr);const Cr=v(1,Pe(Pr,tt(0)));const kr=function(e,t){var r=Number(t);if(r!==t&&(r=0),Cr(r))throw new RangeError("repeat count must be non-negative");if(Rr(r))throw new RangeError("repeat count must be less than infinity");if(r=Math.floor(r),0===e.length||0===r)return"";if(e.length*r>=1<<28)throw new RangeError("repeat count must not overflow maximum string size");var n=e.length*r;r=Math.floor(Math.log(r)/Math.log(2));for(var s=e;r;)s+=e,r-=1;return s+=s.substring(0,n-s.length)};var $r=qe(kr),Dr=et(ht(1,"repeat"));const qr=Xt(String.prototype.repeat)?Dr:$r;var Br=It(/[\s\uFEFF\xA0]+$/,""),Lr=ht(0,"trimEnd");const Vr=Xt(String.prototype.trimEnd)?Lr:Br;var Ur=It(/^[\s\uFEFF\xA0]+/,""),Hr=ht(0,"trimStart");const Gr=Xt(String.prototype.trimStart)?Hr:Ur;const Zr=et(pt);const zr=qe((function(e,t){return Re(Rt(""),Je(Zr(e)),ft(""))(t)}));const Wr=et($e);var Jr=__webpack_require__(2770);const Kr=/^(?<style>[|>])(?<chomping>[+-]?)(?<indentation>[0-9]*)\s/,Xr=e=>{const t=(e=>{const t=e.match(Kr),r=xt("",["groups","indentation"],t);return jr(r)?void 0:parseInt(r,10)})(e);if(Nr(t))return qr(" ",t);const r=xt("",[1],e.split("\n")),n=xt(0,["groups","indentation","length"],r.match(/^(?<indentation>[ ]*)/));return qr(" ",n)},Yr=e=>{const t=e.match(Kr),r=xt("",["groups","chomping"],t);return jr(r)?void 0:r},Qr=(e,t)=>Lt(e)?`${Vr(t)}\n`:"-"===e?Vr(t):t,en=e=>e.replace(/\r\n/g,"\n"),tn=e=>e.replace(/(\n)?\n([^\n]+)/g,((e,t,r)=>t?e:` ${r.trimStart()}`)).replace(/[\n]{2}/g,"\n"),rn=qe(((e,t)=>t.replace(new RegExp(`^${e}`),"").replace(new RegExp(`${e}$`),""))),nn=Re(en,qt,tn,Rt("\n"),X(Gr),ft("\n")),sn=Re(en,qt,rn("'"),tn,Rt("\n"),X(Gr),ft("\n")),on=Re(en,qt,rn('"'),(e=>e.replace(/\\\n\s*/g,"")),tn,Jr.S6,Rt("\n"),X(Gr),ft("\n"));let an=function(e){return e.Plain="Plain",e.SingleQuoted="SingleQuoted",e.DoubleQuoted="DoubleQuoted",e.Literal="Literal",e.Folded="Folded",e.Explicit="Explicit",e.SinglePair="SinglePair",e.NextLine="NextLine",e.InLine="InLine",e}({}),cn=function(e){return e.Flow="Flow",e.Block="Block",e}({});const ln=wr({props:{styleGroup:null,style:null}}),un=wr({methods:{test:e=>e.tag.kind===Sr.Scalar&&"string"==typeof e.content,canonicalFormat(e){let t=e.content;const r=e.clone();return e.style===an.Plain?t=nn(e.content):e.style===an.SingleQuoted?t=sn(e.content):e.style===an.DoubleQuoted?t=on(e.content):e.style===an.Literal?t=(e=>{const t=Xr(e),r=Yr(e),n=en(e),s=Ne(n.split("\n")),i=ke(X(zr(t)),X(Wr("\n"))),o=$t(i,$e,"",s);return Qr(r,o)})(e.content):e.style===an.Folded&&(t=(e=>{const t=Xr(e),r=Yr(e),n=en(e),s=Ne(n.split("\n")),i=ke(X(zr(t)),X(Wr("\n"))),o=$t(i,$e,"",s),a=tn(o);return Qr(r,a)})(e.content)),r.content=t,r},resolve:e=>e}}),pn=wr(un,{props:{tag:""}}),mn=wr(pn,{statics:{uri:"tag:yaml.org,2002:map"},init(e,t){let{stamp:r}=t;this.tag=r.uri},methods:{test:e=>e.tag.kind===Sr.Mapping,resolve:e=>e}}),dn=wr(pn,{statics:{uri:"tag:yaml.org,2002:seq"},init(e,t){let{stamp:r}=t;this.tag=r.uri},methods:{test:e=>e.tag.kind===Sr.Sequence,resolve:e=>e}}),hn=wr(pn,{statics:{uri:"tag:yaml.org,2002:str"},init(e,t){let{stamp:r}=t;this.tag=r.uri},methods:{resolve:e=>e}}),_n=wr({props:{tags:[],tagDirectives:[]},init(){this.tags=[],this.tagDirectives=[],this.registerTag(mn()),this.registerTag(dn()),this.registerTag(hn())},methods:{toSpecificTagName(e){let t=e.tag.explicitName;return"!"===e.tag.explicitName?e.tag.kind===Sr.Scalar?t=hn.uri:e.tag.kind===Sr.Sequence?t=dn.uri:e.tag.kind===Sr.Mapping&&(t=mn.uri):e.tag.explicitName.startsWith("!<")?t=e.tag.explicitName.replace(/^!</,"").replace(/>$/,""):e.tag.explicitName.startsWith("!!")&&(t=`tag:yaml.org,2002:${e.tag.explicitName.replace(/^!!/,"")}`),t},registerTagDirective(e){this.tagDirectives.push({handle:e.parameters.handle,prefix:e.parameters.prefix})},registerTag(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?this.tags.unshift(e):this.tags.push(e),this},overrideTag(e){return this.tags=this.tags.filter((t=>t.tag===e.tag)),this.tags.push(e),this},resolve(e){const t=this.toSpecificTagName(e);if("?"===t)return e;let r=e;e.tag.kind===Sr.Scalar&&(r=un().canonicalFormat(e));const n=this.tags.find((e=>(null==e?void 0:e.tag)===t));if(void 0===n)throw new Error(`Tag "${t}" couldn't be resolved`);if(!n.test(r))throw new Error(`Node couldn't be resolved against tag "${t}"`);return n.resolve(r)}}}),fn=_n,gn=wr(pn,{statics:{uri:"tag:yaml.org,2002:bool"},init(e,t){let{stamp:r}=t;this.tag=r.uri},methods:{test:e=>/^(true|false)$/.test(e.content),resolve(e){const t="true"===e.content,r=e.clone();return r.content=t,r}}}),yn=wr(pn,{statics:{uri:"tag:yaml.org,2002:float"},init(e,t){let{stamp:r}=t;this.tag=r.uri},methods:{test:e=>/^-?(0|[1-9][0-9]*)(\.[0-9]*)?([eE][-+]?[0-9]+)?$/.test(e.content),resolve(e){const t=parseFloat(e.content),r=e.clone();return r.content=t,r}}}),bn=wr(pn,{statics:{uri:"tag:yaml.org,2002:int"},init(e,t){let{stamp:r}=t;this.tag=r.uri},methods:{test:e=>/^-?(0|[1-9][0-9]*)$/.test(e.content),resolve(e){const t=parseInt(e.content,10),r=e.clone();return r.content=t,r}}}),vn=wr(pn,{statics:{uri:"tag:yaml.org,2002:null"},init(e,t){let{stamp:r}=t;this.tag=r.uri},methods:{test:e=>/^null$/.test(e.content),resolve(e){const t=e.clone();return t.content=null,t}}}),En=wr(fn,{init(){this.registerTag(gn(),!0),this.registerTag(yn(),!0),this.registerTag(bn(),!0),this.registerTag(vn(),!0)},methods:{toSpecificTagName(e){let t=fn.compose.methods.toSpecificTagName.call(this,e);if("?"===t)if(e.tag.vkind===Sr.Sequence)t=dn.uri;else if(e.tag.kind===Sr.Mapping)t=mn.uri;else if(e.tag.kind===Sr.Scalar){const r=this.tags.find((t=>t.test(e)));t=(null==r?void 0:r.tag)||"?"}return t}}}),wn=En,xn=(e,t,r)=>{const n=e[t];if(null!=n){if(!r&&"function"==typeof n)return n;const e=r?n.leave:n.enter;if("function"==typeof e)return e}else{const n=r?e.leave:e.enter;if(null!=n){if("function"==typeof n)return n;const e=n[t];if("function"==typeof e)return e}}return null},Sn={},On=e=>null==e?void 0:e.type,jn=e=>"string"==typeof On(e),Pn=function(e,t){let{keyMap:r=null,state:n={},breakSymbol:s=Sn,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=xn,nodeTypeGetter:c=On,nodePredicate:l=jn,detectCycles:u=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const p=r||{};let m,d,h=Array.isArray(e),_=[e],f=-1,g=[];const y=[],b=[];let v=e;do{f+=1;const e=f===_.length;let r,E;const w=e&&0!==g.length;if(e){if(r=0===b.length?void 0:y.pop(),E=d,d=b.pop(),w){E=h?E.slice():Object.create(Object.getPrototypeOf(E),Object.getOwnPropertyDescriptors(E));let e=0;for(let t=0;t<g.length;t+=1){let r=g[t][0];const n=g[t][1];h&&(r-=e),h&&n===i?(E.splice(r,1),e+=1):E[r]=n}}f=m.index,_=m.keys,g=m.edits,h=m.inArray,m=m.prev}else{if(r=d?h?f:_[f]:void 0,E=d?d[r]:v,E===i||void 0===E)continue;d&&y.push(r)}if(b.includes(E))continue;let x;if(!Array.isArray(E)){if(!l(E))throw new Error(`Invalid AST Node: ${JSON.stringify(E)}`);if(u&&b.includes(E)){y.pop();continue}const i=a(t,c(E),e);if(i){for(const[e,r]of Object.entries(n))t[e]=r;if(x=i.call(t,E,r,d,y,b),x===s)break;if(x===o){if(!e){y.pop();continue}}else if(void 0!==x&&(g.push([r,x]),!e)){if(!l(x)){y.pop();continue}E=x}}}void 0===x&&w&&g.push([r,E]),e||(m={inArray:h,index:f,keys:_,edits:g,prev:m},h=Array.isArray(E),_=h?E:p[c(E)]||[],f=-1,g=[],d&&b.push(d),d=E)}while(void 0!==m);return 0!==g.length&&([,v]=g[g.length-1]),v};Pn[Symbol.for("nodejs.util.promisify.custom")]=async function(e,t){let{keyMap:r=null,state:n={},breakSymbol:s=Sn,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=xn,nodeTypeGetter:c=On,nodePredicate:l=jn,detectCycles:u=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const p=r||{};let m,d,h=Array.isArray(e),_=[e],f=-1,g=[];const y=[],b=[];let v=e;do{f+=1;const e=f===_.length;let r,E;const w=e&&0!==g.length;if(e){if(r=0===b.length?void 0:y.pop(),E=d,d=b.pop(),w){E=h?E.slice():Object.create(Object.getPrototypeOf(E),Object.getOwnPropertyDescriptors(E));let e=0;for(let t=0;t<g.length;t+=1){let r=g[t][0];const n=g[t][1];h&&(r-=e),h&&n===i?(E.splice(r,1),e+=1):E[r]=n}}f=m.index,_=m.keys,g=m.edits,h=m.inArray,m=m.prev}else{if(r=d?h?f:_[f]:void 0,E=d?d[r]:v,E===i||void 0===E)continue;d&&y.push(r)}let x;if(!Array.isArray(E)){if(!l(E))throw new Error(`Invalid AST Node: ${JSON.stringify(E)}`);if(u&&b.includes(E)){y.pop();continue}const i=a(t,c(E),e);if(i){for(const[e,r]of Object.entries(n))t[e]=r;if(x=await i.call(t,E,r,d,y,b),x===s)break;if(x===o){if(!e){y.pop();continue}}else if(void 0!==x&&(g.push([r,x]),!e)){if(!l(x)){y.pop();continue}E=x}}}void 0===x&&w&&g.push([r,E]),e||(m={inArray:h,index:f,keys:_,edits:g,prev:m},h=Array.isArray(E),_=h?E:p[c(E)]||[],f=-1,g=[],d&&b.push(d),d=E)}while(void 0!==m);return 0!==g.length&&([,v]=g[g.length-1]),v};const Mn=wr({statics:{type:"point"},props:{type:"point",row:null,column:null,char:null},init(){let{row:e=null,column:t=null,char:r=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.row=e,this.column=t,this.char=r}}),An=wr({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}}),Fn=wr(xr,{statics:{type:"anchor"},props:{name:null},init(){let{name:e=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.name=e}}),In=wr(xr,{props:{anchor:null,tag:null,style:null,styleGroup:null},init(){let{anchor:e=null,tag:t=null,style:r=null,styleGroup:n=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.anchor=e,this.tag=t,this.style=r,this.styleGroup=n}}),Tn=In,Nn=wr(Tn,{statics:{type:"scalar"},props:{content:""},init(){let{content:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.content=e}}),Rn=wr(xr,{statics:{type:"literal"},props:{value:null},init(){let{value:e=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.value=e}}),Cn=(e,t)=>(null==t?void 0:t.type)===e,kn=(Cn.bind(void 0,"literal"),Cn.bind(void 0,"position"),Cn.bind(void 0,"point"),Cn.bind(void 0,"parseResult"),Cn.bind(void 0,"stream"),Cn.bind(void 0,"document")),$n=Cn.bind(void 0,"mapping"),Dn=Cn.bind(void 0,"sequence"),qn=Cn.bind(void 0,"keyValuePair"),Bn=(Cn.bind(void 0,"tag"),Cn.bind(void 0,"scalar")),Ln=Cn.bind(void 0,"alias"),Vn=(Cn.bind(void 0,"directive"),Cn.bind(void 0,"comment")),Un=wr(xr,{statics:{type:"stream"},propertyDescriptors:{content:{get(){return Array.isArray(this.children)?this.children.filter((e=>kn(e)||Vn(e))):[]},enumerable:!0}}}),Hn=wr(xr,{statics:{type:"parseResult"},methods:{get rootNode(){return it(this.children)}}}),Gn=wr(xr,{statics:{type:"directive"},props:{name:null,parameters:null},init(){let{name:e=null,parameters:t={}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.name=e,this.parameters=Et({version:null,handle:null,prefix:null},t)}}),Zn=wr(xr,{statics:{type:"document"}}),zn=wr(Tn,{}),Wn=wr(zn,{statics:{type:"mapping"},propertyDescriptors:{content:{get(){return Array.isArray(this.children)?this.children.filter(qn):[]},enumerable:!0}}}),Jn=wr(xr,ln,{statics:{type:"keyValuePair"},propertyDescriptors:{key:{get(){return this.children.filter((e=>Bn(e)||$n(e)||Dn(e)))[0]},enumerable:!0},value:{get(){const{key:e,children:t}=this;return t.filter((t=>(t=>t!==e)(t)&&(e=>Bn(e)||$n(e)||Dn(e)||Ln(e))(t)))[0]},enumerable:!0}}}),Kn=wr(zn,{statics:{type:"sequence"},propertyDescriptors:{content:{get(){const{children:e}=this;return Array.isArray(e)?e.filter((e=>Dn(e)||$n(e)||Bn(e)||Ln(e))):[]},enumerable:!0}}}),Xn=wr(xr,{statics:{type:"comment"},props:{content:null},init(){let{content:e=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.content=e}}),Yn=wr(xr,{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}}),Qn={stream:["children"],document:["children"],mapping:["children"],keyValuePair:["children"],sequence:["children"],error:["children"]},es=e=>Array.isArray(e)||jn(e),ts=wr({props:{schema:null},init(){const e=e=>{if(null===e)return null;const t=Mn({row:e.startPosition.row,column:e.startPosition.column,char:e.startIndex}),r=Mn({row:e.endPosition.row,column:e.endPosition.column,char:e.endIndex});return An({start:t,end:r})},t=t=>{var r;let{previousSibling:n}=t;for(;null!==n&&"tag"!==n.type;)({previousSibling:n}=n);const s=null!==(r=n)&&void 0!==r&&r.text||"plain_scalar"===t.type?"?":"!",i=t.type.endsWith("mapping")?Sr.Mapping:t.type.endsWith("sequence")?Sr.Sequence:Sr.Scalar,o=e(n);return Or({explicitName:s,kind:i,position:o})},r=t=>{let{previousSibling:r}=t;for(;null!==r&&"anchor"!==r.type;)({previousSibling:r}=r);return null===r?null:Fn({name:r.text,position:e(r)})},n=e=>t=>"string"==typeof(null==t?void 0:t.type)&&t.type.endsWith(e),s=n("scalar"),i=n("mapping"),o=n("sequence"),a=(e,t)=>{var r;return`${e}Node`in t?t[`${e}Node`]:"childForFieldName"in t?null===(r=t.childForFieldName)||void 0===r?void 0:r.call(t,e):null},c=e=>{if("block_mapping_pair"!==e.type&&"flow_pair"!==e.type)return!1;return null===a("key",e)},l=e=>{if("block_mapping_pair"!==e.type&&"flow_pair"!==e.type)return!1;return null===a("value",e)},u=t=>{const r=Mn({row:t.startPosition.row,column:t.startPosition.column,char:t.startIndex}),s=a("key",t),i=(null==s?void 0:s.children)||[],o=i.find(n("tag")),c=i.find(n("anchor")),l=Or(void 0!==o?{explicitName:o.text,kind:Sr.Scalar,position:e(o)}:{explicitName:"?",kind:Sr.Scalar}),u=void 0!==c?Fn({name:c.text,position:e(c)}):null;return Nn({content:"",position:An({start:r,end:r}),tag:l,anchor:u,styleGroup:cn.Flow,style:an.Plain})},p=t=>{const r=Mn({row:t.endPosition.row,column:t.endPosition.column,char:t.endIndex}),s=a("value",t),i=(null==s?void 0:s.children)||[],o=i.find(n("tag")),c=i.find(n("anchor")),l=Or(void 0!==o?{explicitName:o.text,kind:Sr.Scalar,position:e(o)}:{explicitName:"?",kind:Sr.Scalar}),u=void 0!==c?Fn({name:c.text,position:e(c)}):null;return Nn({content:"",position:An({start:r,end:r}),tag:l,anchor:u,styleGroup:cn.Flow,style:an.Plain})};this.enter=function(t){if("function"==typeof t.isNamed&&!t.isNamed()||!1===t.isNamed){const r=e(t),n=t.type||t.text,s=t.isMissing();return Rn({value:n,position:r,isMissing:s})}},this.stream={enter(t){const r=e(t);return Un({children:t.children,position:r,isMissing:t.isMissing()})},leave:e=>Hn({children:[e]})},this.yaml_directive={enter(t){var r;const n=e(t),s=(null==t||null===(r=t.firstNamedChild)||void 0===r?void 0:r.text)||null;return Gn({position:n,name:"%YAML",parameters:{version:s}})}},this.tag_directive={enter(t){const r=e(t),n=t.child(0),s=t.child(1),i=Gn({position:r,name:"%TAG",parameters:{handle:(null==n?void 0:n.text)||null,prefix:(null==s?void 0:s.text)||null}});return this.schema.registerTagDirective(i),i}},this.reserved_directive={enter(t){const r=e(t),n=t.child(0),s=t.child(1),i=t.child(2);return Gn({position:r,name:(null==n?void 0:n.text)||null,parameters:{handle:(null==s?void 0:s.text)||null,prefix:(null==i?void 0:i.text)||null}})}},this.document={enter(t){const r=e(t);return Zn({children:t.children,position:r,isMissing:t.isMissing()})},leave(e){e.children=e.children.flat()}},this.block_node={enter:e=>e.children},this.flow_node={enter(e){const[n]=e.children.slice(-1);if(s(n)||i(n)||o(n))return e.children;const a=Mn({row:n.endPosition.row,column:n.endPosition.column,char:n.endIndex}),c=Nn({content:"",anchor:r(n),tag:t(n),position:An({start:a,end:a}),styleGroup:cn.Flow,style:an.Plain});return[...e.children,c]}},this.tag={enter:()=>null},this.anchor={enter:()=>null},this.block_mapping={enter(n){const s=e(n),i=t(n),o=r(n),a=Wn({children:n.children,position:s,anchor:o,tag:i,styleGroup:cn.Block,style:an.NextLine,isMissing:n.isMissing()});return this.schema.resolve(a)}},this.block_mapping_pair={enter(t){const r=e(t),n=[...t.children];if(c(t)){const e=u(t);n.unshift(e)}if(l(t)){const e=p(t);n.push(e)}return Jn({children:n,position:r,styleGroup:cn.Block,isMissing:t.isMissing()})}},this.flow_mapping={enter(n){const s=e(n),i=t(n),o=r(n),a=Wn({children:n.children,position:s,anchor:o,tag:i,styleGroup:cn.Flow,style:an.Explicit,isMissing:n.isMissing()});return this.schema.resolve(a)}},this.flow_pair={enter(t){const r=e(t),n=[...t.children];if(c(t)){const e=u(t);n.unshift(e)}if(l(t)){const e=p(t);n.push(e)}return Jn({children:n,position:r,styleGroup:cn.Flow,isMissing:t.isMissing()})}},this.keyValuePair={leave(e){e.children=e.children.flat()}},this.block_sequence={enter(n){const s=e(n),i=t(n),o=r(n),a=Kn({children:n.children,position:s,anchor:o,tag:i,styleGroup:cn.Block,style:an.NextLine});return this.schema.resolve(a)}},this.block_sequence_item={enter(e){if(e.children.length>1)return e.children;const t=Mn({row:e.endPosition.row,column:e.endPosition.column,char:e.endIndex});return[Nn({content:"",anchor:null,tag:Or({explicitName:"?",kind:Sr.Scalar}),position:An({start:t,end:t}),styleGroup:cn.Flow,style:an.Plain})]}},this.flow_sequence={enter(n){const s=e(n),i=t(n),o=r(n),a=Kn({children:n.children.flat(),position:s,anchor:o,tag:i,styleGroup:cn.Flow,style:an.Explicit});return this.schema.resolve(a)}},this.sequence={leave(e){e.children=e.children.flat(1/0)}},this.plain_scalar={enter(n){const s=e(n),i=t(n),o=r(n),a=Nn({content:n.text,anchor:o,tag:i,position:s,styleGroup:cn.Flow,style:an.Plain});return this.schema.resolve(a)}},this.single_quote_scalar={enter(n){const s=e(n),i=t(n),o=r(n),a=Nn({content:n.text,anchor:o,tag:i,position:s,styleGroup:cn.Flow,style:an.SingleQuoted});return this.schema.resolve(a)}},this.double_quote_scalar={enter(n){const s=e(n),i=t(n),o=r(n),a=Nn({content:n.text,anchor:o,tag:i,position:s,styleGroup:cn.Flow,style:an.DoubleQuoted});return this.schema.resolve(a)}},this.block_scalar={enter(n){const s=e(n),i=t(n),o=r(n),a=n.text.startsWith("|")?an.Literal:n.text.startsWith(">")?an.Folded:null,c=Nn({content:n.text,anchor:o,tag:i,position:s,styleGroup:cn.Block,style:a});return this.schema.resolve(c)}},this.comment={enter:e=>Xn({content:e.text})},this.ERROR=function(t,r,n,s){const i=e(t),o=Yn({children:t.children,position:i,isUnexpected:!t.hasError(),isMissing:t.isMissing(),value:t.text});return 0===s.length?Hn({children:[o]}):o}}}),rs=ts;var ns=__webpack_require__(229),ss=__webpack_require__(2185),is=__webpack_require__(9982);function os(e){return os="function"==typeof ss&&"symbol"==typeof is?function(e){return typeof e}:function(e){return e&&"function"==typeof ss&&e.constructor===ss&&e!==ss.prototype?"symbol":typeof e},os(e)}var as=__webpack_require__(8241);function cs(e){var t=function(e,t){if("object"!==os(e)||null===e)return e;var r=e[as];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==os(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===os(t)?t:String(t)}function ls(e,t,r){return(t=cs(t))in e?ns(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var us=__webpack_require__(5090),ps=__webpack_require__(2747),ms=__webpack_require__(5483);function ds(e,t){if(null==e)return{};var r,n,s=function(e,t){if(null==e)return{};var r,n,s={},i=ms(e);for(n=0;n<i.length;n++)r=i[n],ps(t).call(t,r)>=0||(s[r]=e[r]);return s}(e,t);if(us){var i=us(e);for(n=0;n<i.length;n++)r=i[n],ps(t).call(t,r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(s[r]=e[r])}return s}const hs=(e,t)=>"function"==typeof(null==t?void 0:t[e]),_s=e=>null!=e&&Object.prototype.hasOwnProperty.call(e,"_storedElement")&&Object.prototype.hasOwnProperty.call(e,"_content"),fs=(e,t)=>{var r;return(null==t||null===(r=t.primitive)||void 0===r?void 0:r.call(t))===e},gs=(e,t)=>{var r,n;return(null==t||null===(r=t.classes)||void 0===r||null===(n=r.includes)||void 0===n?void 0:n.call(r,e))||!1},ys=(e,t)=>(null==t?void 0:t.element)===e,bs=e=>e({hasMethod:hs,hasBasicElementProps:_s,primitiveEq:fs,isElementType:ys,hasClass:gs}),vs=bs((e=>{let{hasBasicElementProps:t,primitiveEq:r}=e;return e=>e instanceof Ut.W_||t(e)&&r(void 0,e)})),Es=bs((e=>{let{hasBasicElementProps:t,primitiveEq:r}=e;return e=>e instanceof Ut.RP||t(e)&&r("string",e)})),ws=bs((e=>{let{hasBasicElementProps:t,primitiveEq:r}=e;return e=>e instanceof Ut.VL||t(e)&&r("number",e)})),xs=bs((e=>{let{hasBasicElementProps:t,primitiveEq:r}=e;return e=>e instanceof Ut.zr||t(e)&&r("null",e)})),Ss=bs((e=>{let{hasBasicElementProps:t,primitiveEq:r}=e;return e=>e instanceof Ut.hh||t(e)&&r("boolean",e)})),Os=bs((e=>{let{hasBasicElementProps:t,primitiveEq:r,hasMethod:n}=e;return e=>e instanceof Ut.Sb||t(e)&&r("object",e)&&n("keys",e)&&n("values",e)&&n("items",e)})),js=bs((e=>{let{hasBasicElementProps:t,primitiveEq:r,hasMethod:n}=e;return e=>e instanceof Ut.ON&&!(e instanceof Ut.Sb)||t(e)&&r("array",e)&&n("push",e)&&n("unshift",e)&&n("map",e)&&n("reduce",e)})),Ps=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Ut.c6||t(e)&&r("member",e)&&n(void 0,e)})),Ms=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Ut.EA||t(e)&&r("link",e)&&n(void 0,e)})),As=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Ut.tK||t(e)&&r("ref",e)&&n(void 0,e)})),Fs=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof nr||t(e)&&r("annotation",e)&&n("array",e)})),Is=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof ir||t(e)&&r("comment",e)&&n("string",e)})),Ts=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof ar||t(e)&&r("parseResult",e)&&n("array",e)})),Ns=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof lr||t(e)&&r("sourceMap",e)&&n("array",e)})),Rs=e=>ys("object",e)||ys("array",e)||ys("boolean",e)||ys("number",e)||ys("string",e)||ys("null",e)||ys("member",e),Cs=e=>{var t,r;return Ns(null==e||null===(t=e.meta)||void 0===t||null===(r=t.get)||void 0===r?void 0:r.call(t,"sourceMap"))},ks=(e,t)=>{if(0===e.length)return!0;const r=t.attributes.get("symbols");return!!js(r)&&g(Zr(r.toValue()),e)},$s=(e,t)=>0===e.length||g(Zr(t.classes.toValue()),e),Ds=["keyMap"],qs=["keyMap"];function Bs(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ls(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Bs(Object(r),!0).forEach((function(t){ls(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Bs(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const Vs=e=>Os(e)?"ObjectElement":js(e)?"ArrayElement":Ps(e)?"MemberElement":Es(e)?"StringElement":Ss(e)?"BooleanElement":ws(e)?"NumberElement":xs(e)?"NullElement":Ms(e)?"LinkElement":As(e)?"RefElement":void 0,Us=Re(Vs,hr),Hs={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]},Gs=(wr({props:{result:[],predicate:i,returnOnTrue:void 0,returnOnFalse:void 0},init(){let{predicate:e=this.predicate,returnOnTrue:t=this.returnOnTrue,returnOnFalse:r=this.returnOnFalse}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.result=[],this.predicate=e,this.returnOnTrue=t,this.returnOnFalse=r},methods:{enter(e){return this.predicate(e)?(this.result.push(e),this.returnOnTrue):this.returnOnFalse}}}),function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{keyMap:n=Hs}=r,s=ds(r,Ds);return Pn(e,t,Ls({keyMap:n,nodeTypeGetter:Vs,nodePredicate:Us},s))});Gs[Symbol.for("nodejs.util.promisify.custom")]=async function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{keyMap:n=Hs}=r,s=ds(r,qs);return Pn[Symbol.for("nodejs.util.promisify.custom")](e,t,Ls({keyMap:n,nodeTypeGetter:Vs,nodePredicate:Us},s))};const Zs=Ae(Xt);const zs=v(1,Xt(Array.isArray)?Array.isArray:Re(T,at("Array")));const Ws=Pe(zs,_t);const Js=v(3,(function(e,t,r){var n=bt(e,r),s=bt(mt(e),r);if(!Zs(n)&&!Ws(e)){var i=ce(n,s);return we(i,t)}}));function Ks(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const Xs=()=>({predicates:function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ks(Object(r),!0).forEach((function(t){ls(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ks(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e),namespace:dr}),Ys=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(0===t.length)return e;const n=jt(Xs,"toolboxCreator",r),s=jt({},"visitorOptions",r),i=jt(Vs,"nodeTypeGetter",s),o=n(),a=t.map((e=>e(o))),c=function(e){let{visitFnGetter:t=xn,nodeTypeGetter:r=On}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=new Array(e.length);return{enter(s){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==n[i]){const a=t(e[i],r(s),!1);if("function"==typeof a){const t=a.call(e[i],s,...o);if(!1===t)n[i]=s;else if(t===Sn)n[i]=Sn;else if(void 0!==t)return t}}},leave(s){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==n[i]){const a=t(e[i],r(s),!0);if("function"==typeof a){const t=a.call(e[i],s,...o);if(t===Sn)n[i]=Sn;else if(void 0!==t&&!1!==t)return t}}else n[i]===s&&(n[i]=null)}}}(a.map(jt({},"visitor")),{nodeTypeGetter:i});a.forEach(Js(["pre"],[]));const l=Gs(e,c,s);return a.forEach(Js(["post"],[])),l};function Qs(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ei(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Qs(Object(r),!0).forEach((function(t){ls(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Qs(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const ti=(e,t)=>{let{Type:r,plugins:n=[]}=t;const s=new r(e);return Ys(s,n,{toolboxCreator:Xs,visitorOptions:{nodeTypeGetter:Vs}})},ri=e=>function(t){return ti(t,ei(ei({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),{},{Type:e}))};function ni(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}Ut.Sb.refract=ri(Ut.Sb),Ut.ON.refract=ri(Ut.ON),Ut.RP.refract=ri(Ut.RP),Ut.hh.refract=ri(Ut.hh),Ut.zr.refract=ri(Ut.zr),Ut.VL.refract=ri(Ut.VL),Ut.EA.refract=ri(Ut.EA),Ut.tK.refract=ri(Ut.tK),nr.refract=ri(nr),ir.refract=ri(ir),ar.refract=ri(ar),lr.refract=ri(lr);const si=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ni(Object(r),!0).forEach((function(t){ls(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ni(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({stream:["children"],document:["children"],mapping:["children"],keyValuePair:["children"],sequence:["children"],error:["children"]},Hs),ii=e=>vs(e)?Vs(e):On(e),oi=e=>vs(e)||jn(e)||Array.isArray(e),ai=wr({props:{sourceMap:!1,processedDocumentCount:0,annotations:[],namespace:null},init(){const e=(e,t)=>{if(!this.sourceMap)return;const r=new lr;r.position=e.position,r.astNode=e,t.meta.set("sourceMap",r)};this.namespace=mr(),this.annotations=[],this.stream={leave(e){const t=new ar;t._content=e.children.flat(1);const r=t.findElements(Rs);if(r.length>0){r[0].classes.push("result")}return this.annotations.forEach((e=>{t.push(e)})),this.annotations=[],t}},this.comment=function(t){if(0===this.processedDocumentCount){const r=new ir(t.content);return e(t,r),r}return null},this.document=function(t){const r=1===this.processedDocumentCount,n=this.processedDocumentCount>=1;if(r){const r=new nr("Only first document within YAML stream will be used. Rest will be discarded.");r.classes.push("warning"),e(t,r),this.annotations.push(r)}return n?null:(this.processedDocumentCount+=1,t.children)},this.mapping=function(t){const r=new Ut.Sb;return r._content=t.children,e(t,r),r},this.keyValuePair=function(t){const r=new Ut.c6;return r.content.key=t.key,r.content.value=t.value,e(t,r),t.children.filter((e=>"error"===e.type)).forEach((e=>{this.error(e,t,[],[t])})),r},this.sequence=function(t){const r=new Ut.ON;return r._content=t.children,e(t,r),r},this.scalar=function(t){const r=this.namespace.toElement(t.content);return""===t.content&&t.style===an.Plain&&(r.classes.push("yaml-e-node"),r.classes.push("yaml-e-scalar")),e(t,r),r},this.literal=function(t){if(t.isMissing){const r=`(Missing ${t.value})`,n=new nr(r);n.classes.push("warning"),e(t,n),this.annotations.push(n)}return null},this.error=function(t,r,n,s){const i=t.isUnexpected?`(Unexpected ${t.value})`:`(Error ${t.value})`,o=new nr(i);if(o.classes.push("error"),e(t,o),0===s.length){const e=new ar;return e.push(o),e}return this.annotations.push(o),null}}}),ci=function(e){let{sourceMap:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=rs(),n=ai(),s=wn(),i=Pn(e.rootNode,r,{keyMap:Qn,nodePredicate:es,state:{schema:s,sourceMap:t}});return Pn(i.rootNode,n,{keyMap:si,nodeTypeGetter:ii,nodePredicate:oi,state:{sourceMap:t}})};class li extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.element="callback"}}const ui=li;class pi extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.element="components"}get schemas(){return this.get("schemas")}set schemas(e){this.set("schemas",e)}get responses(){return this.get("responses")}set responses(e){this.set("responses",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get requestBodies(){return this.get("requestBodies")}set requestBodies(e){this.set("requestBodies",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get securitySchemes(){return this.get("securitySchemes")}set securitySchemes(e){this.set("securitySchemes",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get callbacks(){return this.get("callbacks")}set callbacks(e){this.set("callbacks",e)}}const mi=pi;class di extends Ut.Sb{constructor(e,t,r){super(e,t,r),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 hi=di;class _i extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.element="discriminator"}get propertyName(){return this.get("propertyName")}set propertyName(e){this.set("propertyName",e)}get mapping(){return this.get("mapping")}set mapping(e){this.set("mapping",e)}}const fi=_i;class gi extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.element="encoding"}get contentType(){return this.get("contentType")}set contentType(e){this.set("contentType",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowedReserved(){return this.get("allowedReserved")}set allowedReserved(e){this.set("allowedReserved",e)}}const yi=gi;class bi extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.element="example"}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 value(){return this.get("value")}set value(e){this.set("value",e)}get externalValue(){return this.get("externalValue")}set externalValue(e){this.set("externalValue",e)}}const vi=bi;class Ei extends Ut.Sb{constructor(e,t,r){super(e,t,r),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 wi=Ei;class xi extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.element="header"}get required(){return this.hasKey("required")?this.get("required"):new Ut.hh(!1)}set required(e){this.set("required",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new Ut.hh(!1)}set deprecated(e){this.set("deprecated",e)}get allowEmptyValue(){return this.get("allowEmptyValue")}set allowEmptyValue(e){this.set("allowEmptyValue",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowReserved(){return this.get("allowReserved")}set allowReserved(e){this.set("allowReserved",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}}Object.defineProperty(xi.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0});const Si=xi;class Oi extends Ut.Sb{constructor(e,t,r){super(e,t,r),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 contact(){return this.get("contact")}set contact(e){this.set("contact",e)}get license(){return this.get("license")}set license(e){this.set("license",e)}get version(){return this.get("version")}set version(e){this.set("version",e)}}const ji=Oi;class Pi extends Ut.Sb{constructor(e,t,r){super(e,t,r),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 Mi=Pi;class Ai extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.element="link"}get operationRef(){return this.get("operationRef")}set operationRef(e){this.set("operationRef",e)}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get operation(){var e,t;return Es(this.operationRef)?null===(e=this.operationRef)||void 0===e?void 0:e.meta.get("operation"):Es(this.operationId)?null===(t=this.operationId)||void 0===t?void 0:t.meta.get("operation"):void 0}set operation(e){this.set("operation",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get server(){return this.get("server")}set server(e){this.set("server",e)}}const Fi=Ai;class Ii extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.element="mediaType"}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get encoding(){return this.get("encoding")}set encoding(e){this.set("encoding",e)}}const Ti=Ii;class Ni extends Ut.Sb{constructor(e,t,r){super(e,t,r),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 Ri=Ni;class Ci extends Ut.Sb{constructor(e,t,r){super(e,t,r),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 ki=Ci;class $i extends Ut.RP{constructor(e,t,r){super(e,t,r),this.element="openapi",this.classes.push("spec-version"),this.classes.push("version")}}const Di=$i;class qi extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.element="openApi3_0",this.classes.push("api")}get openapi(){return this.get("openapi")}set openapi(e){this.set("openapi",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 paths(){return this.get("paths")}set paths(e){this.set("paths",e)}get components(){return this.get("components")}set components(e){this.set("components",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)}}const Bi=qi;class Li extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.element="operation"}get tags(){return this.get("tags")}set tags(e){this.set("tags",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)}set externalDocs(e){this.set("externalDocs",e)}get externalDocs(){return this.get("externalDocs")}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}get responses(){return this.get("responses")}set responses(e){this.set("responses",e)}get callbacks(){return this.get("callbacks")}set callbacks(e){this.set("callbacks",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new Ut.hh(!1)}set deprecated(e){this.set("deprecated",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get servers(){return this.get("severs")}set servers(e){this.set("servers",e)}}const Vi=Li;class Ui extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.element="parameter"}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 required(){return this.hasKey("required")?this.get("required"):new Ut.hh(!1)}set required(e){this.set("required",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new Ut.hh(!1)}set deprecated(e){this.set("deprecated",e)}get allowEmptyValue(){return this.get("allowEmptyValue")}set allowEmptyValue(e){this.set("allowEmptyValue",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowReserved(){return this.get("allowReserved")}set allowReserved(e){this.set("allowReserved",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}}Object.defineProperty(Ui.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0});const Hi=Ui;class Gi extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.element="pathItem"}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",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 GET(){return this.get("get")}set GET(e){this.set("GET",e)}get PUT(){return this.get("put")}set PUT(e){this.set("PUT",e)}get POST(){return this.get("post")}set POST(e){this.set("POST",e)}get DELETE(){return this.get("delete")}set DELETE(e){this.set("DELETE",e)}get OPTIONS(){return this.get("options")}set OPTIONS(e){this.set("OPTIONS",e)}get HEAD(){return this.get("head")}set HEAD(e){this.set("HEAD",e)}get PATCH(){return this.get("patch")}set PATCH(e){this.set("PATCH",e)}get TRACE(){return this.get("trace")}set TRACE(e){this.set("TRACE",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}}const Zi=Gi;class zi extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.element="paths"}}const Wi=zi;class Ji extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.element="reference",this.classes.push("openapi-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const Ki=Ji;class Xi extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.element="requestBody"}get description(){return this.get("description")}set description(e){this.set("description",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}get required(){return this.hasKey("required")?this.get("required"):new Ut.hh(!1)}set required(e){this.set("required",e)}}const Yi=Xi;class Qi extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.element="response"}get description(){return this.get("description")}set description(e){this.set("description",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}}const eo=Qi;class to extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.element="responses"}get default(){return this.get("default")}set default(e){this.set("default",e)}}const ro=to;class no extends Ut.Sb{constructor(e,t,r){super(e,t,r),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 so=no;class io extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const oo=io;class ao extends Ut.Sb{constructor(e,t,r){super(e,t,r),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 co=ao;class lo extends Ut.Sb{constructor(e,t,r){super(e,t,r),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 uo=lo,po=(e,t)=>{const r=Be(e,t);return vt((e=>{if(tr(e)&&st("$ref",e)&&Pt(hr,"$ref",e)){const t=bt(["$ref"],e),n=zr("#/",t);return bt(n.split("/"),r)}return tr(e)?po(e,r):e}),e)},mo=wr({props:{element:null},methods:{copyMetaAndAttributes(e,t){Cs(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),ho=wr(mo,{methods:{enter(e){return this.element=e.clone(),Sn}}});const _o=fe(Bt());function fo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const go=e=>{if(vs(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},yo=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?fo(Object(r),!0).forEach((function(t){ls(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fo(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"]},Hs);function bo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function vo(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?bo(Object(r),!0).forEach((function(t){ls(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):bo(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const Eo=wr(mo,{props:{specObj:null,passingOptionsNames:["specObj"]},init(e){let{specObj:t=this.specObj}=e;this.specObj=t},methods:{retrievePassingOptions(){return Ot(this.passingOptionsNames,this)},retrieveFixedFields(e){return Re(bt(["visitors",...e,"fixedFields"]),I)(this.specObj)},retrieveVisitor(e){return St(Xt,["visitors",...e],this.specObj)?bt(["visitors",...e],this.specObj):bt(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=this.retrievePassingOptions();return this.retrieveVisitor(e)(vo(vo({},r),t))},toRefractedElement(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=this.retrieveVisitorInstance(e,r),s=Object.getPrototypeOf(n);return Lt(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===s?t.clone():(Gs(t,n,vo({keyMap:yo,nodeTypeGetter:go},r)),n.element)}}}),wo=wr(Eo,{props:{specPath:_o,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),r=this.retrieveFixedFields(t);return e.forEach(((e,n,s)=>{if(Es(n)&&r.includes(n.toValue())&&!this.ignoredFields.includes(n.toValue())){const r=this.toRefractedElement([...t,"fixedFields",n.toValue()],e),i=new Ut.c6(n.clone(),r);this.copyMetaAndAttributes(s,i),i.classes.push("fixed-field"),this.element.content.push(i)}else this.ignoredFields.includes(n.toValue())||this.element.content.push(s.clone())})),this.copyMetaAndAttributes(e,this.element),Sn}}}),xo=wr(wo,ho,{props:{specPath:fe(["document","objects","JSONSchema"])},init(){this.element=new so}}),So=ho,Oo=ho,jo=ho,Po=ho,Mo=ho,Ao=ho,Fo=ho,Io=ho,To=ho,No=ho,Ro=wr({props:{parent:null},init(e){let{parent:t=this.parent}=e;this.parent=t,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),Co=e=>Os(e)&&e.hasKey("$ref"),ko=wr(Eo,Ro,ho,{methods:{ObjectElement(e){const t=Co(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),Sn},ArrayElement(e){return this.element=new Ut.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=Co(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),Sn}}}),$o=ho,Do=ho,qo=ho,Bo=ho,Lo=ho,Vo=wr(ho,{methods:{ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-required"),Sn}}});const Uo=Ae(v(1,Pe(Gt,Xe(zt,Xt))));const Ho=Ae(_t);const Go=_e([hr,Uo,Ho]),Zo=wr(Eo,{props:{fieldPatternPredicate:i,specPath:_o,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,r)=>{if(!this.ignoredFields.includes(t.toValue())&&this.fieldPatternPredicate(t.toValue())){const n=this.specPath(e),s=this.toRefractedElement(n,e),i=new Ut.c6(t.clone(),s);this.copyMetaAndAttributes(r,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(t.toValue())||this.element.content.push(r.clone())})),this.copyMetaAndAttributes(e,this.element),Sn}}}),zo=wr(Zo,{props:{fieldPatternPredicate:Go}}),Wo=wr(zo,Ro,ho,{props:{specPath:e=>Co(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new Ut.Sb,this.element.classes.push("json-schema-properties")}}),Jo=wr(zo,Ro,ho,{props:{specPath:e=>Co(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new Ut.Sb,this.element.classes.push("json-schema-patternProperties")}}),Ko=wr(zo,Ro,ho,{props:{specPath:e=>Co(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new Ut.Sb,this.element.classes.push("json-schema-dependencies")}}),Xo=wr(ho,{methods:{ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-enum"),Sn}}}),Yo=wr(ho,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-type"),Sn},ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-type"),Sn}}}),Qo=wr(Eo,Ro,ho,{init(){this.element=new Ut.ON,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Co(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),Sn}}}),ea=wr(Eo,Ro,ho,{init(){this.element=new Ut.ON,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Co(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),Sn}}}),ta=wr(Eo,Ro,ho,{init(){this.element=new Ut.ON,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Co(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),Sn}}}),ra=wr(zo,Ro,ho,{props:{specPath:e=>Co(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new Ut.Sb,this.element.classes.push("json-schema-definitions")}}),na=ho,sa=ho,ia=ho,oa=ho,aa=ho,ca=wr(Eo,Ro,ho,{init(){this.element=new Ut.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),Sn}}}),la=ho,ua=wr(wo,ho,{props:{specPath:fe(["document","objects","JSONReference"])},init(){this.element=new oo},methods:{ObjectElement(e){const t=wo.compose.methods.ObjectElement.call(this,e);return Es(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),pa=wr(ho,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),Sn}}});const ma=Ae(rt);const da=Pe(zs,Ho);function ha(e){return function(e){if(Array.isArray(e))return _a(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 _a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _a(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 _a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var fa=Re(Nt(Me((function(e,t){return e.length>t.length}))),it,te("length")),ga=qe((function(e,t,r){var n=r.apply(void 0,ha(e));return ma(n)?Ft(n):t}));const ya=ut(da,(function(e){var t=fa(e);return v(t,(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return he(ga(r),void 0,e)}))}),Bt),ba=wr(Eo,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((e=>{let{predicate:t,specPath:r}=e;return ut(t,fe(r),Bt)})),r=ya(t)(e);return this.element=this.toRefractedElement(r,e),Sn}}}),va=wr(ba,{props:{alternator:[{predicate:Co,specPath:["document","objects","JSONReference"]},{predicate:o,specPath:["document","objects","JSONSchema"]}]}}),Ea={visitors:{value:ho,JSONSchemaOrJSONReferenceVisitor:va,document:{objects:{JSONSchema:{$visitor:xo,fixedFields:{id:So,$schema:Oo,multipleOf:jo,maximum:Po,exclusiveMaximum:Mo,minimum:Ao,exclusiveMinimum:Fo,maxLength:Io,minLength:To,pattern:No,additionalItems:va,items:ko,maxItems:$o,minItems:Do,uniqueItems:qo,maxProperties:Bo,minProperties:Lo,required:Vo,properties:Wo,additionalProperties:va,patternProperties:Jo,dependencies:Ko,enum:Xo,type:Yo,allOf:Qo,anyOf:ea,oneOf:ta,not:va,definitions:ra,title:na,description:sa,default:ia,format:oa,base:aa,links:ca,media:{$ref:"#/visitors/document/objects/Media"},readOnly:la}},JSONReference:{$visitor:ua,fixedFields:{$ref:pa}},Media:{$visitor:wr(wo,ho,{props:{specPath:fe(["document","objects","Media"])},init(){this.element=new co}}),fixedFields:{binaryEncoding:ho,type:ho}},LinkDescription:{$visitor:wr(wo,ho,{props:{specPath:fe(["document","objects","LinkDescription"])},init(){this.element=new uo}}),fixedFields:{href:ho,rel:ho,title:ho,targetSchema:va,mediaType:ho,method:ho,encType:ho,schema:va}}}}}},wa=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof so||t(e)&&r("JSONSchemaDraft4",e)&&n("object",e)})),xa=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof oo||t(e)&&r("JSONReference",e)&&n("object",e)})),Sa=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof co||t(e)&&r("media",e)&&n("object",e)})),Oa=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof uo||t(e)&&r("linkDescription",e)&&n("object",e)})),ja={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",so),t.register("jSONReference",oo),t.register("media",co),t.register("linkDescription",uo),t}};function Pa(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ma(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Pa(Object(r),!0).forEach((function(t){ls(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Pa(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const Aa=()=>{const e=mr(ja);return{predicates:Ma(Ma({},t),{},{isStringElement:Es}),namespace:e}};function Fa(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const Ia=function(e){let{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=Ea}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const s=(0,Ut.Qc)(e),i=po(n),o=Js(t,[],i);return Gs(s,o,{state:{specObj:i}}),Ys(o.element,r,{toolboxCreator:Aa,visitorOptions:{keyMap:yo,nodeTypeGetter:go}})},Ta=e=>function(t){return Ia(t,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Fa(Object(r),!0).forEach((function(t){ls(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Fa(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({specPath:e},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))};so.refract=Ta(["visitors","document","objects","JSONSchema","$visitor"]),oo.refract=Ta(["visitors","document","objects","JSONReference","$visitor"]),co.refract=Ta(["visitors","document","objects","Media","$visitor"]),uo.refract=Ta(["visitors","document","objects","LinkDescription","$visitor"]);const Na=class extends so{constructor(e,t,r){super(e,t,r),this.element="schema",this.classes.push("json-schema-draft-4")}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 additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get nullable(){return this.get("nullable")}set nullable(e){this.set("nullable",e)}get discriminator(){return this.get("discriminator")}set discriminator(e){this.set("discriminator",e)}get writeOnly(){return this.get("writeOnly")}set writeOnly(e){this.set("writeOnly",e)}get xml(){return this.get("xml")}set xml(e){this.set("xml",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get deprecated(){return this.get("deprecated")}set deprecated(e){this.set("deprecated",e)}};class Ra extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.element="securityRequirement"}}const Ca=Ra;class ka extends Ut.Sb{constructor(e,t,r){super(e,t,r),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 $a=ka;class Da extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.element="server"}get url(){return this.get("url")}set url(e){this.set("url",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)}}const qa=Da;class Ba extends Ut.Sb{constructor(e,t,r){super(e,t,r),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)}}const La=Ba;class Va extends Ut.Sb{constructor(e,t,r){super(e,t,r),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 Ua=Va;class Ha extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.element="xml"}get name(){return this.get("name")}set name(e){this.set("name",e)}get namespace(){return this.get("namespace")}set namespace(e){this.set("namespace",e)}get prefix(){return this.get("prefix")}set prefix(e){this.set("prefix",e)}get attribute(){return this.get("attribute")}set attribute(e){this.set("attribute",e)}get wrapped(){return this.get("wrapped")}set wrapped(e){this.set("wrapped",e)}}const Ga=Ha,Za=wr({props:{element:null},methods:{copyMetaAndAttributes(e,t){Cs(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}});function za(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const Wa=e=>{if(vs(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Ja=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?za(Object(r),!0).forEach((function(t){ls(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):za(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({CallbackElement:["content"],ComponentsElement:["content"],ContactElement:["content"],DiscriminatorElement:["content"],Encoding:["content"],Example:["content"],ExternalDocumentationElement:["content"],HeaderElement:["content"],InfoElement:["content"],LicenseElement:["content"],MediaTypeElement:["content"],OAuthFlowElement:["content"],OAuthFlowsElement:["content"],OpenApi3_0Element:["content"],OperationElement:["content"],ParameterElement:["content"],PathItemElement:["content"],PathsElement:["content"],ReferenceElement:["content"],RequestBodyElement:["content"],ResponseElement:["content"],ResponsesElement:["content"],SchemaElement:["content"],SecurityRequirementElement:["content"],SecuritySchemeElement:["content"],ServerElement:["content"],ServerVariableElement:["content"],TagElement:["content"]},Hs);function Ka(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Xa(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ka(Object(r),!0).forEach((function(t){ls(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ka(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const Ya=wr(Za,{props:{passingOptionsNames:["specObj","openApiGenericElement","openApiSemanticElement"],specObj:null,openApiGenericElement:null,openApiSemanticElement:null},init(e){let{specObj:t=this.specObj,openApiGenericElement:r=this.openApiGenericElement,openApiSemanticElement:n=this.openApiSemanticElement}=e;this.specObj=t,this.openApiGenericElement=r,this.openApiSemanticElement=n},methods:{retrievePassingOptions(){return Ot(this.passingOptionsNames,this)},retrieveFixedFields(e){return Re(bt(["visitors",...e,"fixedFields"]),I)(this.specObj)},retrieveVisitor(e){return St(Xt,["visitors",...e],this.specObj)?bt(["visitors",...e],this.specObj):bt(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=this.retrievePassingOptions();return this.retrieveVisitor(e)(Xa(Xa({},r),t))},toRefractedElement(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=this.retrieveVisitorInstance(e,r),s=Object.getPrototypeOf(n);return Lt(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===s?t.clone():(Gs(t,n,Xa({keyMap:Ja,nodeTypeGetter:Wa},r)),n.element)}}}),Qa=e=>Os(e)&&e.hasKey("openapi")&&e.hasKey("info"),ec=e=>Os(e)&&e.hasKey("name")&&e.hasKey("in"),tc=e=>Os(e)&&e.hasKey("$ref"),rc=e=>Os(e)&&e.hasKey("content"),nc=e=>Os(e)&&e.hasKey("description"),sc=Os,ic=Os,oc=e=>Es(e.key)&&Ct("x-",e.key.toValue()),ac=wr(Ya,{props:{specPath:_o,ignoredFields:[],canSupportSpecificationExtensions:!0,specificationExtensionPredicate:oc},init(){let{specPath:e=this.specPath,ignoredFields:t=this.ignoredFields,canSupportSpecificationExtensions:r=this.canSupportSpecificationExtensions,specificationExtensionPredicate:n=this.specificationExtensionPredicate}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.specPath=e,this.ignoredFields=t,this.canSupportSpecificationExtensions=r,this.specificationExtensionPredicate=n},methods:{ObjectElement(e){const t=this.specPath(e),r=this.retrieveFixedFields(t);return e.forEach(((e,n,s)=>{if(Es(n)&&r.includes(n.toValue())&&!this.ignoredFields.includes(n.toValue())){const r=this.toRefractedElement([...t,"fixedFields",n.toValue()],e),i=new Ut.c6(n.clone(),r);this.copyMetaAndAttributes(s,i),i.classes.push("fixed-field"),this.element.content.push(i)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(s)){const e=this.toRefractedElement(["document","extension"],s);this.element.content.push(e)}else this.ignoredFields.includes(n.toValue())||this.element.content.push(s.clone())})),this.copyMetaAndAttributes(e,this.element),Sn}}}),cc=wr(Za,{methods:{enter(e){return this.element=e.clone(),Sn}}}),lc=wr(ac,cc,{props:{specPath:fe(["document","objects","OpenApi"]),canSupportSpecificationExtensions:!0},init(){this.element=new Bi},methods:{ObjectElement(e){return this.unrefractedElement=e,ac.compose.methods.ObjectElement.call(this,e)}}}),uc=wr(Ya,cc,{methods:{StringElement(e){const t=new Di(e.toValue());return this.copyMetaAndAttributes(e,t),this.element=t,Sn}}}),pc=wr(Ya,{methods:{MemberElement(e){return this.element=e.clone(),this.element.classes.push("specification-extension"),Sn}}}),mc=wr(ac,cc,{props:{specPath:fe(["document","objects","Info"]),canSupportSpecificationExtensions:!0},init(){this.element=new ji}}),dc=cc,hc=cc,_c=cc,fc=wr(cc,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("api-version"),this.element.classes.push("version"),Sn}}}),gc=wr(ac,cc,{props:{specPath:fe(["document","objects","Contact"]),canSupportSpecificationExtensions:!0},init(){this.element=new hi}}),yc=cc,bc=cc,vc=cc,Ec=wr(ac,cc,{props:{specPath:fe(["document","objects","License"]),canSupportSpecificationExtensions:!0},init(){this.element=new Mi}}),wc=cc,xc=cc,Sc=wr(ac,cc,{props:{specPath:fe(["document","objects","Link"]),canSupportSpecificationExtensions:!0},init(){this.element=new Fi},methods:{ObjectElement(e){const t=ac.compose.methods.ObjectElement.call(this,e);return(Es(this.element.operationId)||Es(this.element.operationRef))&&this.element.classes.push("reference-element"),t}}}),Oc=wr(cc,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),Sn}}}),jc=wr(cc,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),Sn}}}),Pc=wr(Ya,{props:{fieldPatternPredicate:i,specPath:_o,ignoredFields:[],canSupportSpecificationExtensions:!1,specificationExtensionPredicate:oc},init(){let{specPath:e=this.specPath,ignoredFields:t=this.ignoredFields,canSupportSpecificationExtensions:r=this.canSupportSpecificationExtensions,specificationExtensionPredicate:n=this.specificationExtensionPredicate}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.specPath=e,this.ignoredFields=t,this.canSupportSpecificationExtensions=r,this.specificationExtensionPredicate=n},methods:{ObjectElement(e){return e.forEach(((e,t,r)=>{if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(r)){const e=this.toRefractedElement(["document","extension"],r);this.element.content.push(e)}else if(!this.ignoredFields.includes(t.toValue())&&this.fieldPatternPredicate(t.toValue())){const n=this.specPath(e),s=this.toRefractedElement(n,e),i=new Ut.c6(t.clone(),s);this.copyMetaAndAttributes(r,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(t.toValue())||this.element.content.push(r.clone())})),this.copyMetaAndAttributes(e,this.element),Sn}}}),Mc=wr(Pc,{props:{fieldPatternPredicate:Go}});class Ac extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Ac.primaryClass)}}ls(Ac,"primaryClass","link-parameters");const Fc=Ac,Ic=wr(Mc,cc,{props:{specPath:fe(["value"])},init(){this.element=new Fc}}),Tc=cc,Nc=cc,Rc=wr(ac,cc,{props:{specPath:fe(["document","objects","Server"]),canSupportSpecificationExtensions:!0},init(){this.element=new qa}}),Cc=wr(cc,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("server-url"),Sn}}}),kc=cc;class $c extends Ut.ON{constructor(e,t,r){super(e,t,r),this.classes.push($c.primaryClass)}}ls($c,"primaryClass","servers");const Dc=$c,qc=wr(Ya,cc,{init(){this.element=new Dc},methods:{ArrayElement(e){return e.forEach((e=>{const t=sc(e)?["document","objects","Server"]:["value"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),Sn}}}),Bc=wr(ac,cc,{props:{specPath:fe(["document","objects","ServerVariable"]),canSupportSpecificationExtensions:!0},init(){this.element=new La}}),Lc=cc,Vc=cc,Uc=cc;class Hc extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Hc.primaryClass)}}ls(Hc,"primaryClass","server-variables");const Gc=Hc,Zc=wr(Mc,cc,{props:{specPath:fe(["document","objects","ServerVariable"])},init(){this.element=new Gc}}),zc=wr(ac,cc,{props:{specPath:fe(["document","objects","MediaType"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ti}}),Wc=wr(Ya,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((e=>{let{predicate:t,specPath:r}=e;return ut(t,fe(r),Bt)})),r=ya(t)(e);return this.element=this.toRefractedElement(r,e),Sn}}}),Jc=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof ui||t(e)&&r("callback",e)&&n("object",e)})),Kc=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof mi||t(e)&&r("components",e)&&n("object",e)})),Xc=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof hi||t(e)&&r("contact",e)&&n("object",e)})),Yc=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof vi||t(e)&&r("example",e)&&n("object",e)})),Qc=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof wi||t(e)&&r("externalDocumentation",e)&&n("object",e)})),el=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Si||t(e)&&r("header",e)&&n("object",e)})),tl=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof ji||t(e)&&r("info",e)&&n("object",e)})),rl=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Mi||t(e)&&r("license",e)&&n("object",e)})),nl=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Fi||t(e)&&r("link",e)&&n("object",e)})),sl=e=>{if(!nl(e))return!1;if(!Es(e.operationRef))return!1;const t=e.operationRef.toValue();return"string"==typeof t&&t.length>0&&!t.startsWith("#")},il=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Di||t(e)&&r("openapi",e)&&n("string",e)})),ol=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n,hasClass:s}=e;return e=>e instanceof Bi||t(e)&&r("openApi3_0",e)&&n("object",e)&&s("api",e)})),al=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Vi||t(e)&&r("operation",e)&&n("object",e)})),cl=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Hi||t(e)&&r("parameter",e)&&n("object",e)})),ll=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Zi||t(e)&&r("pathItem",e)&&n("object",e)})),ul=e=>{if(!ll(e))return!1;if(!Es(e.$ref))return!1;const t=e.$ref.toValue();return"string"==typeof t&&t.length>0&&!t.startsWith("#")},pl=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Wi||t(e)&&r("paths",e)&&n("object",e)})),ml=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Ki||t(e)&&r("reference",e)&&n("object",e)})),dl=e=>{if(!ml(e))return!1;if(!Es(e.$ref))return!1;const t=e.$ref.toValue();return"string"==typeof t&&t.length>0&&!t.startsWith("#")},hl=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Yi||t(e)&&r("requestBody",e)&&n("object",e)})),_l=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof eo||t(e)&&r("response",e)&&n("object",e)})),fl=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof ro||t(e)&&r("responses",e)&&n("object",e)})),gl=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Na||t(e)&&r("schema",e)&&n("object",e)})),yl=e=>Ss(e)&&e.classes.includes("boolean-json-schema"),bl=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Ca||t(e)&&r("securityRequirement",e)&&n("object",e)})),vl=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof qa||t(e)&&r("server",e)&&n("object",e)})),El=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof La||t(e)&&r("serverVariable",e)&&n("object",e)})),wl=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Ti||t(e)&&r("mediaType",e)&&n("object",e)})),xl=wr(Wc,cc,{props:{alternator:[{predicate:tc,specPath:["document","objects","Reference"]},{predicate:o,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=Wc.compose.methods.enter.call(this,e);return ml(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),Sl=cc,Ol=wr(Mc,cc,{props:{specPath:e=>tc(e)?["document","objects","Reference"]:["document","objects","Example"],canSupportSpecificationExtensions:!0},init(){this.element=new Ut.Sb,this.element.classes.push("examples")},methods:{ObjectElement(e){const t=Mc.compose.methods.ObjectElement.call(this,e);return this.element.filter(ml).forEach((e=>{e.setMetaProperty("referenced-element","example")})),t}}});class jl extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(jl.primaryClass),this.classes.push("examples")}}ls(jl,"primaryClass","media-type-examples");const Pl=jl,Ml=wr(Ol,{init(){this.element=new Pl}});class Al extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Al.primaryClass)}}ls(Al,"primaryClass","media-type-encoding");const Fl=Al,Il=wr(Mc,cc,{props:{specPath:fe(["document","objects","Encoding"])},init(){this.element=new Fl}}),Tl=wr(Mc,cc,{props:{specPath:fe(["value"])},init(){this.element=new Ca}});class Nl extends Ut.ON{constructor(e,t,r){super(e,t,r),this.classes.push(Nl.primaryClass)}}ls(Nl,"primaryClass","security");const Rl=Nl,Cl=wr(Ya,cc,{init(){this.element=new Rl},methods:{ArrayElement(e){return e.forEach((e=>{if(Os(e)){const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}else this.element.push(e.clone())})),this.copyMetaAndAttributes(e,this.element),Sn}}}),kl=wr(ac,cc,{props:{specPath:fe(["document","objects","Components"]),canSupportSpecificationExtensions:!0},init(){this.element=new mi}}),$l=wr(ac,cc,{props:{specPath:fe(["document","objects","Tag"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ua}}),Dl=cc,ql=cc,Bl=wr(ac,cc,{props:{specPath:fe(["document","objects","Reference"]),canSupportSpecificationExtensions:!1},init(){this.element=new Ki},methods:{ObjectElement(e){const t=ac.compose.methods.ObjectElement.call(this,e);return Es(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),Ll=wr(cc,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),Sn}}}),Vl=wr(ac,cc,{props:{specPath:fe(["document","objects","Parameter"]),canSupportSpecificationExtensions:!0},init(){this.element=new Hi},methods:{ObjectElement(e){const t=ac.compose.methods.ObjectElement.call(this,e);return Os(this.element.contentProp)&&this.element.contentProp.filter(wl).forEach(((e,t)=>{e.setMetaProperty("media-type",t.toValue())})),t}}}),Ul=cc,Hl=cc,Gl=cc,Zl=cc,zl=cc,Wl=cc,Jl=cc,Kl=cc,Xl=cc,Yl=wr(Wc,cc,{props:{alternator:[{predicate:tc,specPath:["document","objects","Reference"]},{predicate:o,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=Wc.compose.methods.enter.call(this,e);return ml(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),Ql=wr(ac,cc,{props:{specPath:fe(["document","objects","Header"]),canSupportSpecificationExtensions:!0},init(){this.element=new Si}}),eu=cc,tu=cc,ru=cc,nu=cc,su=cc,iu=cc,ou=cc,au=wr(Wc,cc,{props:{alternator:[{predicate:tc,specPath:["document","objects","Reference"]},{predicate:o,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=Wc.compose.methods.enter.call(this,e);return ml(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),cu=cc;class lu extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(lu.primaryClass),this.classes.push("examples")}}ls(lu,"primaryClass","header-examples");const uu=lu,pu=wr(Ol,{init(){this.element=new uu}}),mu=wr(Mc,cc,{props:{specPath:fe(["document","objects","MediaType"])},init(){this.element=new Ut.Sb,this.element.classes.push("content")}});class du extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(du.primaryClass),this.classes.push("content")}}ls(du,"primaryClass","header-content");const hu=du,_u=wr(mu,{init(){this.element=new hu}}),fu=wr(ac,cc,{props:{specPath:fe(["document","objects","Schema"]),canSupportSpecificationExtensions:!0},init(){this.element=new Na}}),{items:gu}=Ea.visitors.document.objects.JSONSchema.fixedFields,yu=wr(gu,{methods:{ObjectElement(e){const t=gu.compose.methods.ObjectElement.call(this,e);return ml(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t},ArrayElement(e){return this.element=e.clone(),Sn}}}),{properties:bu}=Ea.visitors.document.objects.JSONSchema.fixedFields,vu=wr(bu,{methods:{ObjectElement(e){const t=bu.compose.methods.ObjectElement.call(this,e);return this.element.filter(ml).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{type:Eu}=Ea.visitors.document.objects.JSONSchema.fixedFields,wu=wr(Eu,{methods:{ArrayElement(e){return this.element=e.clone(),Sn}}}),xu=cc,Su=cc,Ou=cc,ju=cc,{JSONSchemaOrJSONReferenceVisitor:Pu}=Ea.visitors,Mu=wr(Pu,{methods:{ObjectElement(e){const t=Pu.compose.methods.enter.call(this,e);return ml(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),Au=Object.fromEntries(Object.entries(Ea.visitors.document.objects.JSONSchema.fixedFields).map((e=>{let[t,r]=e;return r===Ea.visitors.JSONSchemaOrJSONReferenceVisitor?[t,Mu]:[t,r]}))),Fu=wr(ac,cc,{props:{specPath:fe(["document","objects","Discriminator"]),canSupportSpecificationExtensions:!1},init(){this.element=new fi}}),Iu=cc;class Tu extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Tu.primaryClass)}}ls(Tu,"primaryClass","discriminator-mapping");const Nu=Tu,Ru=wr(Mc,cc,{props:{specPath:fe(["value"])},init(){this.element=new Nu}}),Cu=wr(ac,cc,{props:{specPath:fe(["document","objects","XML"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ga}}),ku=cc,$u=cc,Du=cc,qu=cc,Bu=cc,Lu=cc;class Vu extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Vu.primaryClass),this.classes.push("examples")}}ls(Vu,"primaryClass","parameter-examples");const Uu=Vu,Hu=wr(Ol,{init(){this.element=new Uu}});class Gu extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Gu.primaryClass),this.classes.push("content")}}ls(Gu,"primaryClass","parameter-content");const Zu=Gu,zu=wr(mu,{init(){this.element=new Zu}});class Wu extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Wu.primaryClass)}}ls(Wu,"primaryClass","components-schemas");const Ju=Wu,Ku=wr(Mc,cc,{props:{specPath:e=>tc(e)?["document","objects","Reference"]:["document","objects","Schema"]},init(){this.element=new Ju},methods:{ObjectElement(e){const t=Mc.compose.methods.ObjectElement.call(this,e);return this.element.filter(ml).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}});class Xu extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Xu.primaryClass)}}ls(Xu,"primaryClass","components-responses");const Yu=Xu,Qu=wr(Mc,cc,{props:{specPath:e=>tc(e)?["document","objects","Reference"]:["document","objects","Response"]},init(){this.element=new Yu},methods:{ObjectElement(e){const t=Mc.compose.methods.ObjectElement.call(this,e);return this.element.filter(ml).forEach((e=>{e.setMetaProperty("referenced-element","response")})),this.element.filter(_l).forEach(((e,t)=>{e.setMetaProperty("http-status-code",t.toValue())})),t}}});class ep extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(ep.primaryClass),this.classes.push("parameters")}}ls(ep,"primaryClass","components-parameters");const tp=ep,rp=wr(Mc,cc,{props:{specPath:e=>tc(e)?["document","objects","Reference"]:["document","objects","Parameter"]},init(){this.element=new tp},methods:{ObjectElement(e){const t=Mc.compose.methods.ObjectElement.call(this,e);return this.element.filter(ml).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}});class np extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(np.primaryClass),this.classes.push("examples")}}ls(np,"primaryClass","components-examples");const sp=np,ip=wr(Mc,cc,{props:{specPath:e=>tc(e)?["document","objects","Reference"]:["document","objects","Example"]},init(){this.element=new sp},methods:{ObjectElement(e){const t=Mc.compose.methods.ObjectElement.call(this,e);return this.element.filter(ml).forEach((e=>{e.setMetaProperty("referenced-element","example")})),t}}});class op extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(op.primaryClass)}}ls(op,"primaryClass","components-request-bodies");const ap=op,cp=wr(Mc,cc,{props:{specPath:e=>tc(e)?["document","objects","Reference"]:["document","objects","RequestBody"]},init(){this.element=new ap},methods:{ObjectElement(e){const t=Mc.compose.methods.ObjectElement.call(this,e);return this.element.filter(ml).forEach((e=>{e.setMetaProperty("referenced-element","requestBody")})),t}}});class lp extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(lp.primaryClass)}}ls(lp,"primaryClass","components-headers");const up=lp,pp=wr(Mc,cc,{props:{specPath:e=>tc(e)?["document","objects","Reference"]:["document","objects","Header"]},init(){this.element=new up},methods:{ObjectElement(e){const t=Mc.compose.methods.ObjectElement.call(this,e);return this.element.filter(ml).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.filter(el).forEach(((e,t)=>{e.setMetaProperty("header-name",t.toValue())})),t}}});class mp extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(mp.primaryClass)}}ls(mp,"primaryClass","components-security-schemes");const dp=mp,hp=wr(Mc,cc,{props:{specPath:e=>tc(e)?["document","objects","Reference"]:["document","objects","SecurityScheme"]},init(){this.element=new dp},methods:{ObjectElement(e){const t=Mc.compose.methods.ObjectElement.call(this,e);return this.element.filter(ml).forEach((e=>{e.setMetaProperty("referenced-element","securityScheme")})),t}}});class _p extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(_p.primaryClass)}}ls(_p,"primaryClass","components-links");const fp=_p,gp=wr(Mc,cc,{props:{specPath:e=>tc(e)?["document","objects","Reference"]:["document","objects","Link"]},init(){this.element=new fp},methods:{ObjectElement(e){const t=Mc.compose.methods.ObjectElement.call(this,e);return this.element.filter(ml).forEach((e=>{e.setMetaProperty("referenced-element","link")})),t}}});class yp extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(yp.primaryClass)}}ls(yp,"primaryClass","components-callbacks");const bp=yp,vp=wr(Mc,cc,{props:{specPath:e=>tc(e)?["document","objects","Reference"]:["document","objects","Callback"]},init(){this.element=new bp},methods:{ObjectElement(e){const t=Mc.compose.methods.ObjectElement.call(this,e);return this.element.filter(ml).forEach((e=>{e.setMetaProperty("referenced-element","callback")})),t}}}),Ep=wr(ac,cc,{props:{specPath:fe(["document","objects","Example"]),canSupportSpecificationExtensions:!0},init(){this.element=new vi},methods:{ObjectElement(e){const t=ac.compose.methods.ObjectElement.call(this,e);return Es(this.element.externalValue)&&this.element.classes.push("reference-element"),t}}}),wp=cc,xp=cc,Sp=cc,Op=wr(cc,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),Sn}}}),jp=wr(ac,cc,{props:{specPath:fe(["document","objects","ExternalDocumentation"]),canSupportSpecificationExtensions:!0},init(){this.element=new wi}}),Pp=cc,Mp=cc,Ap=wr(ac,cc,{props:{specPath:fe(["document","objects","Encoding"]),canSupportSpecificationExtensions:!0},init(){this.element=new yi},methods:{ObjectElement(e){const t=ac.compose.methods.ObjectElement.call(this,e);return Os(this.element.headers)&&this.element.headers.filter(el).forEach(((e,t)=>{e.setMetaProperty("header-name",t.toValue())})),t}}}),Fp=cc;class Ip extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Ip.primaryClass)}}ls(Ip,"primaryClass","encoding-headers");const Tp=Ip,Np=wr(Mc,cc,{props:{specPath:e=>tc(e)?["document","objects","Reference"]:["document","objects","Header"]},init(){this.element=new Tp},methods:{ObjectElement(e){const t=Mc.compose.methods.ObjectElement.call(this,e);return this.element.filter(ml).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.forEach(((e,t)=>{if(!el(e))return;const r=t.toValue();e.setMetaProperty("headerName",r)})),t}}}),Rp=cc,Cp=cc,kp=cc,$p=wr(Pc,cc,{props:{fieldPatternPredicate:kt(/^\/(?<path>.*)$/),specPath:fe(["document","objects","PathItem"]),canSupportSpecificationExtensions:!0},init(){this.element=new Wi},methods:{ObjectElement(e){const t=Pc.compose.methods.ObjectElement.call(this,e);return this.element.filter(ll).forEach(((e,t)=>{e.setMetaProperty("path",t.clone())})),t}}}),Dp=wr(ac,cc,{props:{specPath:fe(["document","objects","RequestBody"])},init(){this.element=new Yi},methods:{ObjectElement(e){const t=ac.compose.methods.ObjectElement.call(this,e);return Os(this.element.contentProp)&&this.element.contentProp.filter(wl).forEach(((e,t)=>{e.setMetaProperty("media-type",t.toValue())})),t}}}),qp=cc;class Bp extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Bp.primaryClass),this.classes.push("content")}}ls(Bp,"primaryClass","request-body-content");const Lp=Bp,Vp=wr(mu,{init(){this.element=new Lp}}),Up=cc,Hp=wr(Pc,cc,{props:{fieldPatternPredicate:kt(/{(?<expression>.*)}/),specPath:fe(["document","objects","PathItem"]),canSupportSpecificationExtensions:!0},init(){this.element=new ui},methods:{ObjectElement(e){const t=Mc.compose.methods.ObjectElement.call(this,e);return this.element.filter(ll).forEach(((e,t)=>{e.setMetaProperty("runtime-expression",t.toValue())})),t}}}),Gp=wr(ac,cc,{props:{specPath:fe(["document","objects","Response"])},init(){this.element=new eo},methods:{ObjectElement(e){const t=ac.compose.methods.ObjectElement.call(this,e);return Os(this.element.contentProp)&&this.element.contentProp.filter(wl).forEach(((e,t)=>{e.setMetaProperty("media-type",t.toValue())})),Os(this.element.headers)&&this.element.headers.filter(el).forEach(((e,t)=>{e.setMetaProperty("header-name",t.toValue())})),t}}}),Zp=cc;class zp extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(zp.primaryClass)}}ls(zp,"primaryClass","response-headers");const Wp=zp,Jp=wr(Mc,cc,{props:{specPath:e=>tc(e)?["document","objects","Reference"]:["document","objects","Header"]},init(){this.element=new Wp},methods:{ObjectElement(e){const t=Mc.compose.methods.ObjectElement.call(this,e);return this.element.filter(ml).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.forEach(((e,t)=>{if(!el(e))return;const r=t.toValue();e.setMetaProperty("header-name",r)})),t}}});class Kp extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Kp.primaryClass),this.classes.push("content")}}ls(Kp,"primaryClass","response-content");const Xp=Kp,Yp=wr(mu,{init(){this.element=new Xp}});class Qp extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Qp.primaryClass)}}ls(Qp,"primaryClass","response-links");const em=Qp,tm=wr(Mc,cc,{props:{specPath:e=>tc(e)?["document","objects","Reference"]:["document","objects","Link"]},init(){this.element=new em},methods:{ObjectElement(e){const t=Mc.compose.methods.ObjectElement.call(this,e);return this.element.filter(ml).forEach((e=>{e.setMetaProperty("referenced-element","link")})),t}}}),rm=wr(ac,Pc,{props:{specPathFixedFields:_o,specPathPatternedFields:_o},methods:{ObjectElement(e){const{specPath:t,ignoredFields:r}=this;try{this.specPath=this.specPathFixedFields;const t=this.retrieveFixedFields(this.specPath(e));this.ignoredFields=[...r,...Ue(e.keys(),t)],ac.compose.methods.ObjectElement.call(this,e),this.specPath=this.specPathPatternedFields,this.ignoredFields=t,Pc.compose.methods.ObjectElement.call(this,e)}catch(e){throw this.specPath=t,e}return Sn}}}),nm=wr(rm,cc,{props:{specPathFixedFields:fe(["document","objects","Responses"]),specPathPatternedFields:e=>tc(e)?["document","objects","Reference"]:["document","objects","Response"],fieldPatternPredicate:kt(new RegExp(`^(1XX|2XX|3XX|4XX|5XX|${At(100,600).join("|")})$`)),canSupportSpecificationExtensions:!0},init(){this.element=new ro},methods:{ObjectElement(e){const t=rm.compose.methods.ObjectElement.call(this,e);return this.element.filter(ml).forEach((e=>{e.setMetaProperty("referenced-element","response")})),this.element.filter(_l).forEach(((e,t)=>{const r=t.clone();this.fieldPatternPredicate(r.toValue())&&e.setMetaProperty("http-status-code",r)})),t}}}),sm=wr(Wc,cc,{props:{alternator:[{predicate:tc,specPath:["document","objects","Reference"]},{predicate:o,specPath:["document","objects","Response"]}]},methods:{ObjectElement(e){const t=Wc.compose.methods.enter.call(this,e);return ml(this.element)?this.element.setMetaProperty("referenced-element","response"):_l(this.element)&&this.element.setMetaProperty("http-status-code","default"),t}}}),im=wr(ac,cc,{props:{specPath:fe(["document","objects","Operation"])},init(){this.element=new Vi}});class om extends Ut.ON{constructor(e,t,r){super(e,t,r),this.classes.push(om.primaryClass)}}ls(om,"primaryClass","operation-tags");const am=om,cm=wr(cc,{init(){this.element=new am},methods:{ArrayElement(e){return this.element=this.element.concat(e.clone()),Sn}}}),lm=cc,um=cc,pm=cc;class mm extends Ut.ON{constructor(e,t,r){super(e,t,r),this.classes.push(mm.primaryClass),this.classes.push("parameters")}}ls(mm,"primaryClass","operation-parameters");const dm=mm,hm=wr(Ya,cc,{init(){this.element=new Ut.ON,this.element.classes.push("parameters")},methods:{ArrayElement(e){return e.forEach((e=>{const t=tc(e)?["document","objects","Reference"]:["document","objects","Parameter"],r=this.toRefractedElement(t,e);ml(r)&&r.setMetaProperty("referenced-element","parameter"),this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),Sn}}}),_m=wr(hm,{init(){this.element=new dm}}),fm=wr(Wc,{props:{alternator:[{predicate:tc,specPath:["document","objects","Reference"]},{predicate:o,specPath:["document","objects","RequestBody"]}]},methods:{ObjectElement(e){const t=Wc.compose.methods.enter.call(this,e);return ml(this.element)&&this.element.setMetaProperty("referenced-element","requestBody"),t}}});class gm extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(gm.primaryClass)}}ls(gm,"primaryClass","operation-callbacks");const ym=gm,bm=wr(Mc,cc,{props:{specPath:e=>tc(e)?["document","objects","Reference"]:["document","objects","Callback"]},init(){this.element=new ym},methods:{ObjectElement(e){const t=Mc.compose.methods.ObjectElement.call(this,e);return this.element.filter(ml).forEach((e=>{e.setMetaProperty("referenced-element","callback")})),t}}}),vm=cc;class Em extends Ut.ON{constructor(e,t,r){super(e,t,r),this.classes.push(Em.primaryClass),this.classes.push("security")}}ls(Em,"primaryClass","operation-security");const wm=Em,xm=wr(Ya,cc,{init(){this.element=new wm},methods:{ArrayElement(e){return e.forEach((e=>{const t=Os(e)?["document","objects","SecurityRequirement"]:["value"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),Sn}}});class Sm extends Ut.ON{constructor(e,t,r){super(e,t,r),this.classes.push(Sm.primaryClass),this.classes.push("servers")}}ls(Sm,"primaryClass","operation-servers");const Om=Sm,jm=wr(qc,{init(){this.element=new Om}}),Pm=wr(ac,cc,{props:{specPath:fe(["document","objects","PathItem"])},init(){this.element=new Zi},methods:{ObjectElement(e){const t=ac.compose.methods.ObjectElement.call(this,e);return this.element.filter(al).forEach(((e,t)=>{const r=t.clone();r.content=r.toValue().toUpperCase(),e.setMetaProperty("http-method",r)})),Es(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),Mm=wr(cc,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),Sn}}}),Am=cc,Fm=cc;class Im extends Ut.ON{constructor(e,t,r){super(e,t,r),this.classes.push(Im.primaryClass),this.classes.push("servers")}}ls(Im,"primaryClass","path-item-servers");const Tm=Im,Nm=wr(qc,{init(){this.element=new Tm}});class Rm extends Ut.ON{constructor(e,t,r){super(e,t,r),this.classes.push(Rm.primaryClass),this.classes.push("parameters")}}ls(Rm,"primaryClass","path-item-parameters");const Cm=Rm,km=wr(hm,{init(){this.element=new Cm}}),$m=wr(ac,cc,{props:{specPath:fe(["document","objects","SecurityScheme"]),canSupportSpecificationExtensions:!0},init(){this.element=new $a}}),Dm=cc,qm=cc,Bm=cc,Lm=cc,Vm=cc,Um=cc,Hm=cc,Gm=wr(ac,cc,{props:{specPath:fe(["document","objects","OAuthFlows"]),canSupportSpecificationExtensions:!0},init(){this.element=new ki}}),Zm=wr(ac,cc,{props:{specPath:fe(["document","objects","OAuthFlow"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ri}}),zm=cc,Wm=cc,Jm=cc;class Km extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Km.primaryClass)}}ls(Km,"primaryClass","oauth-flow-scopes");const Xm=Km,Ym=wr(Mc,cc,{props:{specPath:fe(["value"])},init(){this.element=new Xm}});class Qm extends Ut.ON{constructor(e,t,r){super(e,t,r),this.classes.push(Qm.primaryClass)}}ls(Qm,"primaryClass","tags");const ed=Qm,td=wr(Ya,cc,{init(){this.element=new ed},methods:{ArrayElement(e){return e.forEach((e=>{const t=ic(e)?["document","objects","Tag"]:["value"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),Sn}}});function rd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function nd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?rd(Object(r),!0).forEach((function(t){ls(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const sd={$visitor:Bl,fixedFields:{$ref:Ll}},id={$visitor:fu,fixedFields:nd(nd({},Au),{},{items:yu,properties:vu,type:wu,nullable:xu,discriminator:{$ref:"#/visitors/document/objects/Discriminator"},writeOnly:Su,xml:{$ref:"#/visitors/document/objects/XML"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},example:Ou,deprecated:ju})},od={visitors:{value:cc,document:{objects:{OpenApi:{$visitor:lc,fixedFields:{openapi:uc,info:{$ref:"#/visitors/document/objects/Info"},servers:qc,paths:{$ref:"#/visitors/document/objects/Paths"},components:{$ref:"#/visitors/document/objects/Components"},security:Cl,tags:td,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:mc,fixedFields:{title:dc,description:hc,termsOfService:_c,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"},version:fc}},Contact:{$visitor:gc,fixedFields:{name:yc,url:bc,email:vc}},License:{$visitor:Ec,fixedFields:{name:wc,url:xc}},Server:{$visitor:Rc,fixedFields:{url:Cc,description:kc,variables:Zc}},ServerVariable:{$visitor:Bc,fixedFields:{enum:Lc,default:Vc,description:Uc}},Components:{$visitor:kl,fixedFields:{schemas:Ku,responses:Qu,parameters:rp,examples:ip,requestBodies:cp,headers:pp,securitySchemes:hp,links:gp,callbacks:vp}},Paths:{$visitor:$p},PathItem:{$visitor:Pm,fixedFields:{$ref:Mm,summary:Am,description:Fm,get:{$ref:"#/visitors/document/objects/Operation"},put:{$ref:"#/visitors/document/objects/Operation"},post:{$ref:"#/visitors/document/objects/Operation"},delete:{$ref:"#/visitors/document/objects/Operation"},options:{$ref:"#/visitors/document/objects/Operation"},head:{$ref:"#/visitors/document/objects/Operation"},patch:{$ref:"#/visitors/document/objects/Operation"},trace:{$ref:"#/visitors/document/objects/Operation"},servers:Nm,parameters:km}},Operation:{$visitor:im,fixedFields:{tags:cm,summary:lm,description:um,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:pm,parameters:_m,requestBody:fm,responses:{$ref:"#/visitors/document/objects/Responses"},callbacks:bm,deprecated:vm,security:xm,servers:jm}},ExternalDocumentation:{$visitor:jp,fixedFields:{description:Pp,url:Mp}},Parameter:{$visitor:Vl,fixedFields:{name:Ul,in:Hl,description:Gl,required:Zl,deprecated:zl,allowEmptyValue:Wl,style:Jl,explode:Kl,allowReserved:Xl,schema:Yl,example:Lu,examples:Hu,content:zu}},RequestBody:{$visitor:Dp,fixedFields:{description:qp,content:Vp,required:Up}},MediaType:{$visitor:zc,fixedFields:{schema:xl,example:Sl,examples:Ml,encoding:Il}},Encoding:{$visitor:Ap,fixedFields:{contentType:Fp,headers:Np,style:Rp,explode:Cp,allowReserved:kp}},Responses:{$visitor:nm,fixedFields:{default:sm}},Response:{$visitor:Gp,fixedFields:{description:Zp,headers:Jp,content:Yp,links:tm}},Callback:{$visitor:Hp},Example:{$visitor:Ep,fixedFields:{summary:wp,description:xp,value:Sp,externalValue:Op}},Link:{$visitor:Sc,fixedFields:{operationRef:Oc,operationId:jc,parameters:Ic,requestBody:Tc,description:Nc,server:{$ref:"#/visitors/document/objects/Server"}}},Header:{$visitor:Ql,fixedFields:{description:eu,required:tu,deprecated:ru,allowEmptyValue:nu,style:su,explode:iu,allowReserved:ou,schema:au,example:cu,examples:pu,content:_u}},Tag:{$visitor:$l,fixedFields:{name:Dl,description:ql,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},JSONReference:sd,Reference:sd,JSONSchema:id,Schema:id,LinkDescription:Ea.visitors.document.objects.LinkDescription,Media:Ea.visitors.document.objects.Media,Discriminator:{$visitor:Fu,fixedFields:{propertyName:Iu,mapping:Ru}},XML:{$visitor:Cu,fixedFields:{name:ku,namespace:$u,prefix:Du,attribute:qu,wrapped:Bu}},SecurityScheme:{$visitor:$m,fixedFields:{type:Dm,description:qm,name:Bm,in:Lm,scheme:Vm,bearerFormat:Um,flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:Hm}},OAuthFlows:{$visitor:Gm,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:Zm,fixedFields:{authorizationUrl:zm,tokenUrl:Wm,refreshUrl:Jm,scopes:Ym}},SecurityRequirement:{$visitor:Tl}},extension:{$visitor:pc}}}},ad={namespace:e=>{const{base:t}=e;return t.register("callback",ui),t.register("components",mi),t.register("contact",hi),t.register("discriminator",fi),t.register("encoding",yi),t.register("example",vi),t.register("externalDocumentation",wi),t.register("header",Si),t.register("info",ji),t.register("license",Mi),t.register("link",Fi),t.register("mediaType",Ti),t.register("oAuthFlow",Ri),t.register("oAuthFlows",ki),t.register("openapi",Di),t.register("openApi3_0",Bi),t.register("operation",Vi),t.register("parameter",Hi),t.register("pathItem",Zi),t.register("paths",Wi),t.register("reference",Ki),t.register("requestBody",Yi),t.register("response",eo),t.register("responses",ro),t.register("schema",Na),t.register("securityRequirement",Ca),t.register("securityScheme",$a),t.register("server",qa),t.register("serverVariable",La),t.register("tag",Ua),t.register("xml",Ga),t}};function cd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ld(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?cd(Object(r),!0).forEach((function(t){ls(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):cd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const ud=()=>{const e=mr(ad);return{predicates:ld(ld(ld({},r),n),{},{isStringElement:Es}),namespace:e}};function pd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const md=function(e){let{specPath:t=["visitors","document","objects","OpenApi","$visitor"],plugins:r=[]}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(0,Ut.Qc)(e),s=po(od),i=Js(t,[],s);return Gs(n,i,{state:{specObj:s}}),Ys(i.element,r,{toolboxCreator:ud,visitorOptions:{keyMap:Ja,nodeTypeGetter:Wa}})},dd=e=>function(t){return md(t,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?pd(Object(r),!0).forEach((function(t){ls(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):pd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({specPath:e},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))};ui.refract=dd(["visitors","document","objects","Callback","$visitor"]),mi.refract=dd(["visitors","document","objects","Components","$visitor"]),hi.refract=dd(["visitors","document","objects","Contact","$visitor"]),vi.refract=dd(["visitors","document","objects","Example","$visitor"]),fi.refract=dd(["visitors","document","objects","Discriminator","$visitor"]),yi.refract=dd(["visitors","document","objects","Encoding","$visitor"]),wi.refract=dd(["visitors","document","objects","ExternalDocumentation","$visitor"]),Si.refract=dd(["visitors","document","objects","Header","$visitor"]),ji.refract=dd(["visitors","document","objects","Info","$visitor"]),Mi.refract=dd(["visitors","document","objects","License","$visitor"]),Fi.refract=dd(["visitors","document","objects","Link","$visitor"]),Ti.refract=dd(["visitors","document","objects","MediaType","$visitor"]),Ri.refract=dd(["visitors","document","objects","OAuthFlow","$visitor"]),ki.refract=dd(["visitors","document","objects","OAuthFlows","$visitor"]),Di.refract=dd(["visitors","document","objects","OpenApi","fixedFields","openapi"]),Bi.refract=dd(["visitors","document","objects","OpenApi","$visitor"]),Vi.refract=dd(["visitors","document","objects","Operation","$visitor"]),Hi.refract=dd(["visitors","document","objects","Parameter","$visitor"]),Zi.refract=dd(["visitors","document","objects","PathItem","$visitor"]),Wi.refract=dd(["visitors","document","objects","Paths","$visitor"]),Ki.refract=dd(["visitors","document","objects","Reference","$visitor"]),Yi.refract=dd(["visitors","document","objects","RequestBody","$visitor"]),eo.refract=dd(["visitors","document","objects","Response","$visitor"]),ro.refract=dd(["visitors","document","objects","Responses","$visitor"]),Na.refract=dd(["visitors","document","objects","Schema","$visitor"]),Ca.refract=dd(["visitors","document","objects","SecurityRequirement","$visitor"]),$a.refract=dd(["visitors","document","objects","SecurityScheme","$visitor"]),qa.refract=dd(["visitors","document","objects","Server","$visitor"]),La.refract=dd(["visitors","document","objects","ServerVariable","$visitor"]),Ua.refract=dd(["visitors","document","objects","Tag","$visitor"]),Ga.refract=dd(["visitors","document","objects","XML","$visitor"]);const hd=class extends ui{};const _d=class extends mi{get pathItems(){return this.get("pathItems")}set pathItems(e){this.set("pathItems",e)}};const fd=class extends hi{};const gd=class extends fi{};const yd=class extends yi{};const bd=class extends vi{};const vd=class extends wi{};const Ed=class extends Si{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}};const wd=class extends ji{get license(){return this.get("license")}set license(e){this.set("license",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}};class xd extends Ut.RP{constructor(e,t,r){super(e,t,r),this.element="jsonSchemaDialect"}}ls(xd,"default",new xd("https://spec.openapis.org/oas/3.1/dialect/base"));const Sd=xd;const Od=class extends Mi{get identifier(){return this.get("identifier")}set identifier(e){this.set("identifier",e)}};const jd=class extends Fi{};const Pd=class extends Ti{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}};const Md=class extends Ri{};const Ad=class extends ki{};const Fd=class extends Di{};class Id extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.element="openApi3_1",this.classes.push("api")}get openapi(){return this.get("openapi")}set openapi(e){this.set("openapi",e)}get info(){return this.get("info")}set info(e){this.set("info",e)}get jsonSchemaDialect(){return this.get("jsonSchemaDialect")}set jsonSchemaDialect(e){this.set("jsonSchemaDialect",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get paths(){return this.get("paths")}set paths(e){this.set("paths",e)}get components(){return this.get("components")}set components(e){this.set("components",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 webhooks(){return this.get("webhooks")}set webhooks(e){this.set("webhooks",e)}}const Td=Id;const Nd=class extends Vi{get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}};const Rd=class extends Hi{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}};const Cd=class extends Zi{get GET(){return this.get("get")}set GET(e){this.set("GET",e)}get PUT(){return this.get("put")}set PUT(e){this.set("PUT",e)}get POST(){return this.get("post")}set POST(e){this.set("POST",e)}get DELETE(){return this.get("delete")}set DELETE(e){this.set("DELETE",e)}get OPTIONS(){return this.get("options")}set OPTIONS(e){this.set("OPTIONS",e)}get HEAD(){return this.get("head")}set HEAD(e){this.set("HEAD",e)}get PATCH(){return this.get("patch")}set PATCH(e){this.set("PATCH",e)}get TRACE(){return this.get("trace")}set TRACE(e){this.set("TRACE",e)}};const kd=class extends Wi{};class $d extends Ki{}Object.defineProperty($d.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0}),Object.defineProperty($d.prototype,"summary",{get(){return this.get("summary")},set(e){this.set("summary",e)},enumerable:!0});const Dd=$d;const qd=class extends Yi{};const Bd=class extends eo{};const Ld=class extends ro{};class Vd extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.element="schema"}get $schema(){return this.get("$schema")}set $schema(e){this.set("$schema",e)}get $vocabulary(){return this.get("$vocabulary")}set $vocabulary(e){this.set("$vocabulary",e)}get $id(){return this.get("$id")}set $id(e){this.set("$id",e)}get $anchor(){return this.get("$anchor")}set $anchor(e){this.set("$anchor",e)}get $dynamicAnchor(){return this.get("$dynamicAnchor")}set $dynamicAnchor(e){this.set("$dynamicAnchor",e)}get $dynamicRef(){return this.get("$dynamicRef")}set $dynamicRef(e){this.set("$dynamicRef",e)}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}get $defs(){return this.get("$defs")}set $defs(e){this.set("$defs",e)}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",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 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 dependentSchemas(){return this.get("dependentSchemas")}set dependentSchemas(e){this.set("dependentSchemas",e)}get prefixItems(){return this.get("prefixItems")}set prefixItems(e){this.set("prefixItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get containsProp(){return this.get("contains")}set containsProp(e){this.set("contains",e)}get properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get propertyNames(){return this.get("propertyNames")}set propertyNames(e){this.set("propertyNames",e)}get unevaluatedItems(){return this.get("unevaluatedItems")}set unevaluatedItems(e){this.set("unevaluatedItems",e)}get unevaluatedProperties(){return this.get("unevaluatedProperties")}set unevaluatedProperties(e){this.set("unevaluatedProperties",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get const(){return this.get("const")}set const(e){this.set("const",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 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 maxContains(){return this.get("maxContains")}set maxContains(e){this.set("maxContains",e)}get minContains(){return this.get("minContains")}set minContains(e){this.set("minContains",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 dependentRequired(){return this.get("dependentRequired")}set dependentRequired(e){this.set("dependentRequired",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 deprecated(){return this.get("deprecated")}set deprecated(e){this.set("deprecated",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}get writeOnly(){return this.get("writeOnly")}set writeOnly(e){this.set("writeOnly",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get format(){return this.get("format")}set format(e){this.set("format",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 contentSchema(){return this.get("contentSchema")}set contentSchema(e){this.set("contentSchema",e)}get discriminator(){return this.get("discriminator")}set discriminator(e){this.set("discriminator",e)}get xml(){return this.get("xml")}set xml(e){this.set("xml",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}}const Ud=Vd;const Hd=class extends Ca{};const Gd=class extends $a{};const Zd=class extends qa{};const zd=class extends La{};const Wd=class extends Ua{};const Jd=class extends Ga{},Kd=wr(ac,cc,{props:{specPath:fe(["document","objects","OpenApi"]),canSupportSpecificationExtensions:!0},init(){this.element=new Td,this.openApiSemanticElement=this.element},methods:{ObjectElement(e){return this.openApiGenericElement=e,ac.compose.methods.ObjectElement.call(this,e)}}}),{visitors:{document:{objects:{Info:{$visitor:Xd}}}}}=od,Yd=wr(Xd,{init(){this.element=new wd}}),Qd=cc,{visitors:{document:{objects:{Contact:{$visitor:eh}}}}}=od,th=wr(eh,{init(){this.element=new fd}}),{visitors:{document:{objects:{License:{$visitor:rh}}}}}=od,nh=wr(rh,{init(){this.element=new Od}}),sh=cc,{visitors:{document:{objects:{Link:{$visitor:ih}}}}}=od,oh=wr(ih,{init(){this.element=new jd}}),ah=wr(Ya,cc,{methods:{StringElement(e){const t=new Sd(e.toValue());return this.copyMetaAndAttributes(e,t),this.element=t,Sn}}}),{visitors:{document:{objects:{Server:{$visitor:ch}}}}}=od,lh=wr(ch,{init(){this.element=new Zd}}),{visitors:{document:{objects:{ServerVariable:{$visitor:uh}}}}}=od,ph=wr(uh,{init(){this.element=new zd}}),{visitors:{document:{objects:{MediaType:{$visitor:mh}}}}}=od,dh=wr(mh,{init(){this.element=new Pd}}),{visitors:{document:{objects:{SecurityRequirement:{$visitor:hh}}}}}=od,_h=wr(hh,{init(){this.element=new Hd}}),{visitors:{document:{objects:{Components:{$visitor:fh}}}}}=od,gh=wr(fh,{init(){this.element=new _d}}),{visitors:{document:{objects:{Tag:{$visitor:yh}}}}}=od,bh=wr(yh,{init(){this.element=new Wd}}),{visitors:{document:{objects:{Reference:{$visitor:vh}}}}}=od,Eh=wr(vh,{init(){this.element=new Dd}}),wh=cc,xh=cc,{visitors:{document:{objects:{Parameter:{$visitor:Sh}}}}}=od,Oh=wr(Sh,{init(){this.element=new Rd}}),{visitors:{document:{objects:{Header:{$visitor:jh}}}}}=od,Ph=wr(jh,{init(){this.element=new Ed}}),Mh=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof hd||t(e)&&r("callback",e)&&n("object",e)})),Ah=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof _d||t(e)&&r("components",e)&&n("object",e)})),Fh=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof fd||t(e)&&r("contact",e)&&n("object",e)})),Ih=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof bd||t(e)&&r("example",e)&&n("object",e)})),Th=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof vd||t(e)&&r("externalDocumentation",e)&&n("object",e)})),Nh=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Ed||t(e)&&r("header",e)&&n("object",e)})),Rh=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof wd||t(e)&&r("info",e)&&n("object",e)})),Ch=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Sd||t(e)&&r("jsonSchemaDialect",e)&&n("string",e)})),kh=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Od||t(e)&&r("license",e)&&n("object",e)})),$h=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof jd||t(e)&&r("link",e)&&n("object",e)})),Dh=e=>{if(!$h(e))return!1;if(!Es(e.operationRef))return!1;const t=e.operationRef.toValue();return"string"==typeof t&&t.length>0&&!t.startsWith("#")},qh=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Fd||t(e)&&r("openapi",e)&&n("string",e)})),Bh=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n,hasClass:s}=e;return e=>e instanceof Td||t(e)&&r("openApi3_1",e)&&n("object",e)&&s("api",e)})),Lh=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Nd||t(e)&&r("operation",e)&&n("object",e)})),Vh=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Rd||t(e)&&r("parameter",e)&&n("object",e)})),Uh=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Cd||t(e)&&r("pathItem",e)&&n("object",e)})),Hh=e=>{if(!Uh(e))return!1;if(!Es(e.$ref))return!1;const t=e.$ref.toValue();return"string"==typeof t&&t.length>0&&!t.startsWith("#")},Gh=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof kd||t(e)&&r("paths",e)&&n("object",e)})),Zh=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Dd||t(e)&&r("reference",e)&&n("object",e)})),zh=e=>{if(!Zh(e))return!1;if(!Es(e.$ref))return!1;const t=e.$ref.toValue();return"string"==typeof t&&t.length>0&&!t.startsWith("#")},Wh=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof qd||t(e)&&r("requestBody",e)&&n("object",e)})),Jh=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Bd||t(e)&&r("response",e)&&n("object",e)})),Kh=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Ld||t(e)&&r("responses",e)&&n("object",e)})),Xh=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Ud||t(e)&&r("schema",e)&&n("object",e)})),Yh=e=>Ss(e)&&e.classes.includes("boolean-json-schema"),Qh=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Hd||t(e)&&r("securityRequirement",e)&&n("object",e)})),e_=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Zd||t(e)&&r("server",e)&&n("object",e)})),t_=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof zd||t(e)&&r("serverVariable",e)&&n("object",e)})),r_=bs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Pd||t(e)&&r("mediaType",e)&&n("object",e)})),n_=wr({props:{parent:null},init(e){let{parent:t=this.parent}=e;this.parent=t,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),s_=wr(ac,n_,cc,{props:{specPath:fe(["document","objects","Schema"]),canSupportSpecificationExtensions:!0},init(){const e=()=>{let e;return e=null!==this.openApiSemanticElement&&Ch(this.openApiSemanticElement.jsonSchemaDialect)?this.openApiSemanticElement.jsonSchemaDialect.toValue():null!==this.openApiGenericElement&&Es(this.openApiGenericElement.get("jsonSchemaDialect"))?this.openApiGenericElement.get("jsonSchemaDialect").toValue():Sd.default.toValue(),e},t=t=>{if(Ht(this.parent)&&!Es(t.get("$schema")))this.element.setMetaProperty("inherited$schema",e());else if(Xh(this.parent)&&!Es(t.get("$schema"))){var r,n;const e=Be(null===(r=this.parent.meta.get("inherited$schema"))||void 0===r?void 0:r.toValue(),null===(n=this.parent.$schema)||void 0===n?void 0:n.toValue());this.element.setMetaProperty("inherited$schema",e)}},r=e=>{var t;const r=null!==this.parent?this.parent.getMetaProperty("inherited$id",[]).clone():new Ut.ON,n=null===(t=e.get("$id"))||void 0===t?void 0:t.toValue();Go(n)&&r.push(n),this.element.setMetaProperty("inherited$id",r)};this.ObjectElement=function(e){this.element=new Ud,t(e),r(e),this.parent=this.element;const n=ac.compose.methods.ObjectElement.call(this,e);return Es(this.element.$ref)&&(this.element.classes.push("reference-element"),this.element.setMetaProperty("referenced-element","schema")),n},this.BooleanElement=function(e){return this.element=e.clone(),this.element.classes.push("boolean-json-schema"),Sn}}}),i_=cc,o_=wr(cc,{methods:{ObjectElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-$vocabulary"),Sn}}}),a_=cc,c_=cc,l_=cc,u_=cc,p_=wr(cc,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),Sn}}}),m_=wr(Mc,n_,cc,{props:{specPath:fe(["document","objects","Schema"])},init(){this.element=new Ut.Sb,this.element.classes.push("json-schema-$defs")}}),d_=cc,h_=wr(Ya,n_,cc,{init(){this.element=new Ut.ON,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach((e=>{if(Os(e)){const t=this.toRefractedElement(["document","objects","Schema"],e);this.element.push(t)}else{const t=e.clone();this.element.push(t)}})),this.copyMetaAndAttributes(e,this.element),Sn}}}),__=wr(Ya,n_,cc,{init(){this.element=new Ut.ON,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach((e=>{if(Os(e)){const t=this.toRefractedElement(["document","objects","Schema"],e);this.element.push(t)}else{const t=e.clone();this.element.push(t)}})),this.copyMetaAndAttributes(e,this.element),Sn}}}),f_=wr(Ya,n_,cc,{init(){this.element=new Ut.ON,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach((e=>{if(Os(e)){const t=this.toRefractedElement(["document","objects","Schema"],e);this.element.push(t)}else{const t=e.clone();this.element.push(t)}})),this.copyMetaAndAttributes(e,this.element),Sn}}}),g_=wr(Mc,n_,cc,{props:{specPath:fe(["document","objects","Schema"])},init(){this.element=new Ut.Sb,this.element.classes.push("json-schema-dependentSchemas")}}),y_=wr(Ya,n_,cc,{init(){this.element=new Ut.ON,this.element.classes.push("json-schema-prefixItems")},methods:{ArrayElement(e){return e.forEach((e=>{if(Os(e)){const t=this.toRefractedElement(["document","objects","Schema"],e);this.element.push(t)}else{const t=e.clone();this.element.push(t)}})),this.copyMetaAndAttributes(e,this.element),Sn}}}),b_=wr(Mc,n_,cc,{props:{specPath:fe(["document","objects","Schema"])},init(){this.element=new Ut.Sb,this.element.classes.push("json-schema-properties")}}),v_=wr(Mc,n_,cc,{props:{specPath:fe(["document","objects","Schema"])},init(){this.element=new Ut.Sb,this.element.classes.push("json-schema-patternProperties")}}),E_=wr(cc,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-type"),Sn},ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-type"),Sn}}}),w_=wr(cc,{methods:{ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-enum"),Sn}}}),x_=cc,S_=cc,O_=cc,j_=cc,P_=cc,M_=cc,A_=cc,F_=cc,I_=cc,T_=cc,N_=cc,R_=cc,C_=cc,k_=cc,$_=cc,D_=cc,q_=wr(cc,{methods:{ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-required"),Sn}}}),B_=wr(cc,{methods:{ObjectElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-dependentRequired"),Sn}}}),L_=cc,V_=cc,U_=cc,H_=cc,G_=cc,Z_=cc,z_=wr(cc,{methods:{ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-examples"),Sn}}}),W_=cc,J_=cc,K_=cc,X_=cc,{visitors:{document:{objects:{Discriminator:{$visitor:Y_}}}}}=od,Q_=wr(Y_,{props:{canSupportSpecificationExtensions:!0},init(){this.element=new gd}}),{visitors:{document:{objects:{XML:{$visitor:ef}}}}}=od,tf=wr(ef,{init(){this.element=new Jd}}),rf=wr(Mc,cc,{props:{specPath:fe(["document","objects","Schema"])},init(){this.element=new Ju}});class nf extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(nf.primaryClass)}}ls(nf,"primaryClass","components-path-items");const sf=nf,of=wr(Mc,cc,{props:{specPath:e=>tc(e)?["document","objects","Reference"]:["document","objects","PathItem"]},init(){this.element=new sf},methods:{ObjectElement(e){const t=Mc.compose.methods.ObjectElement.call(this,e);return this.element.filter(Zh).forEach((e=>{e.setMetaProperty("referenced-element","pathItem")})),t}}}),{visitors:{document:{objects:{Example:{$visitor:af}}}}}=od,cf=wr(af,{init(){this.element=new bd}}),{visitors:{document:{objects:{ExternalDocumentation:{$visitor:lf}}}}}=od,uf=wr(lf,{init(){this.element=new vd}}),{visitors:{document:{objects:{Encoding:{$visitor:pf}}}}}=od,mf=wr(pf,{init(){this.element=new yd}}),{visitors:{document:{objects:{Paths:{$visitor:df}}}}}=od,hf=wr(df,{init(){this.element=new kd}}),{visitors:{document:{objects:{RequestBody:{$visitor:_f}}}}}=od,ff=wr(_f,{init(){this.element=new qd}}),{visitors:{document:{objects:{Callback:{$visitor:gf}}}}}=od,yf=wr(gf,{props:{specPath:e=>tc(e)?["document","objects","Reference"]:["document","objects","PathItem"]},init(){this.element=new hd},methods:{ObjectElement(e){const t=gf.compose.methods.ObjectElement.call(this,e);return this.element.filter(Zh).forEach((e=>{e.setMetaProperty("referenced-element","pathItem")})),t}}}),{visitors:{document:{objects:{Response:{$visitor:bf}}}}}=od,vf=wr(bf,{init(){this.element=new Bd}}),{visitors:{document:{objects:{Responses:{$visitor:Ef}}}}}=od,wf=wr(Ef,{init(){this.element=new Ld}}),{visitors:{document:{objects:{Operation:{$visitor:xf}}}}}=od,Sf=wr(xf,{init(){this.element=new Nd}}),{visitors:{document:{objects:{PathItem:{$visitor:Of}}}}}=od,jf=wr(Of,{init(){this.element=new Cd}}),{visitors:{document:{objects:{SecurityScheme:{$visitor:Pf}}}}}=od,Mf=wr(Pf,{init(){this.element=new Gd}}),{visitors:{document:{objects:{OAuthFlows:{$visitor:Af}}}}}=od,Ff=wr(Af,{init(){this.element=new Ad}}),{visitors:{document:{objects:{OAuthFlow:{$visitor:If}}}}}=od,Tf=wr(If,{init(){this.element=new Md}});class Nf extends Ut.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Nf.primaryClass)}}ls(Nf,"primaryClass","webhooks");const Rf=Nf,Cf=wr(Mc,cc,{props:{specPath:e=>tc(e)?["document","objects","Reference"]:["document","objects","PathItem"]},init(){this.element=new Rf},methods:{ObjectElement(e){const t=Mc.compose.methods.ObjectElement.call(this,e);return this.element.filter(Zh).forEach((e=>{e.setMetaProperty("referenced-element","pathItem")})),this.element.filter(Uh).forEach(((e,t)=>{e.setMetaProperty("webhook-name",t.toValue())})),t}}}),kf={visitors:{value:od.visitors.value,document:{objects:{OpenApi:{$visitor:Kd,fixedFields:{openapi:od.visitors.document.objects.OpenApi.fixedFields.openapi,info:{$ref:"#/visitors/document/objects/Info"},jsonSchemaDialect:ah,servers:od.visitors.document.objects.OpenApi.fixedFields.servers,paths:{$ref:"#/visitors/document/objects/Paths"},webhooks:Cf,components:{$ref:"#/visitors/document/objects/Components"},security:od.visitors.document.objects.OpenApi.fixedFields.security,tags:od.visitors.document.objects.OpenApi.fixedFields.tags,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:Yd,fixedFields:{title:od.visitors.document.objects.Info.fixedFields.title,description:od.visitors.document.objects.Info.fixedFields.description,summary:Qd,termsOfService:od.visitors.document.objects.Info.fixedFields.termsOfService,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"},version:od.visitors.document.objects.Info.fixedFields.version}},Contact:{$visitor:th,fixedFields:{name:od.visitors.document.objects.Contact.fixedFields.name,url:od.visitors.document.objects.Contact.fixedFields.url,email:od.visitors.document.objects.Contact.fixedFields.email}},License:{$visitor:nh,fixedFields:{name:od.visitors.document.objects.License.fixedFields.name,identifier:sh,url:od.visitors.document.objects.License.fixedFields.url}},Server:{$visitor:lh,fixedFields:{url:od.visitors.document.objects.Server.fixedFields.url,description:od.visitors.document.objects.Server.fixedFields.description,variables:od.visitors.document.objects.Server.fixedFields.variables}},ServerVariable:{$visitor:ph,fixedFields:{enum:od.visitors.document.objects.ServerVariable.fixedFields.enum,default:od.visitors.document.objects.ServerVariable.fixedFields.default,description:od.visitors.document.objects.ServerVariable.fixedFields.description}},Components:{$visitor:gh,fixedFields:{schemas:rf,responses:od.visitors.document.objects.Components.fixedFields.responses,parameters:od.visitors.document.objects.Components.fixedFields.parameters,examples:od.visitors.document.objects.Components.fixedFields.examples,requestBodies:od.visitors.document.objects.Components.fixedFields.requestBodies,headers:od.visitors.document.objects.Components.fixedFields.headers,securitySchemes:od.visitors.document.objects.Components.fixedFields.securitySchemes,links:od.visitors.document.objects.Components.fixedFields.links,callbacks:od.visitors.document.objects.Components.fixedFields.callbacks,pathItems:of}},Paths:{$visitor:hf},PathItem:{$visitor:jf,fixedFields:{$ref:od.visitors.document.objects.PathItem.fixedFields.$ref,summary:od.visitors.document.objects.PathItem.fixedFields.summary,description:od.visitors.document.objects.PathItem.fixedFields.description,get:{$ref:"#/visitors/document/objects/Operation"},put:{$ref:"#/visitors/document/objects/Operation"},post:{$ref:"#/visitors/document/objects/Operation"},delete:{$ref:"#/visitors/document/objects/Operation"},options:{$ref:"#/visitors/document/objects/Operation"},head:{$ref:"#/visitors/document/objects/Operation"},patch:{$ref:"#/visitors/document/objects/Operation"},trace:{$ref:"#/visitors/document/objects/Operation"},servers:od.visitors.document.objects.PathItem.fixedFields.servers,parameters:od.visitors.document.objects.PathItem.fixedFields.parameters}},Operation:{$visitor:Sf,fixedFields:{tags:od.visitors.document.objects.Operation.fixedFields.tags,summary:od.visitors.document.objects.Operation.fixedFields.summary,description:od.visitors.document.objects.Operation.fixedFields.description,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:od.visitors.document.objects.Operation.fixedFields.operationId,parameters:od.visitors.document.objects.Operation.fixedFields.parameters,requestBody:od.visitors.document.objects.Operation.fixedFields.requestBody,responses:{$ref:"#/visitors/document/objects/Responses"},callbacks:od.visitors.document.objects.Operation.fixedFields.callbacks,deprecated:od.visitors.document.objects.Operation.fixedFields.deprecated,security:od.visitors.document.objects.Operation.fixedFields.security,servers:od.visitors.document.objects.Operation.fixedFields.servers}},ExternalDocumentation:{$visitor:uf,fixedFields:{description:od.visitors.document.objects.ExternalDocumentation.fixedFields.description,url:od.visitors.document.objects.ExternalDocumentation.fixedFields.url}},Parameter:{$visitor:Oh,fixedFields:{name:od.visitors.document.objects.Parameter.fixedFields.name,in:od.visitors.document.objects.Parameter.fixedFields.in,description:od.visitors.document.objects.Parameter.fixedFields.description,required:od.visitors.document.objects.Parameter.fixedFields.required,deprecated:od.visitors.document.objects.Parameter.fixedFields.deprecated,allowEmptyValue:od.visitors.document.objects.Parameter.fixedFields.allowEmptyValue,style:od.visitors.document.objects.Parameter.fixedFields.style,explode:od.visitors.document.objects.Parameter.fixedFields.explode,allowReserved:od.visitors.document.objects.Parameter.fixedFields.allowReserved,schema:{$ref:"#/visitors/document/objects/Schema"},example:od.visitors.document.objects.Parameter.fixedFields.example,examples:od.visitors.document.objects.Parameter.fixedFields.examples,content:od.visitors.document.objects.Parameter.fixedFields.content}},RequestBody:{$visitor:ff,fixedFields:{description:od.visitors.document.objects.RequestBody.fixedFields.description,content:od.visitors.document.objects.RequestBody.fixedFields.content,required:od.visitors.document.objects.RequestBody.fixedFields.required}},MediaType:{$visitor:dh,fixedFields:{schema:{$ref:"#/visitors/document/objects/Schema"},example:od.visitors.document.objects.MediaType.fixedFields.example,examples:od.visitors.document.objects.MediaType.fixedFields.examples,encoding:od.visitors.document.objects.MediaType.fixedFields.encoding}},Encoding:{$visitor:mf,fixedFields:{contentType:od.visitors.document.objects.Encoding.fixedFields.contentType,headers:od.visitors.document.objects.Encoding.fixedFields.headers,style:od.visitors.document.objects.Encoding.fixedFields.style,explode:od.visitors.document.objects.Encoding.fixedFields.explode,allowReserved:od.visitors.document.objects.Encoding.fixedFields.allowReserved}},Responses:{$visitor:wf,fixedFields:{default:od.visitors.document.objects.Responses.fixedFields.default}},Response:{$visitor:vf,fixedFields:{description:od.visitors.document.objects.Response.fixedFields.description,headers:od.visitors.document.objects.Response.fixedFields.headers,content:od.visitors.document.objects.Response.fixedFields.content,links:od.visitors.document.objects.Response.fixedFields.links}},Callback:{$visitor:yf},Example:{$visitor:cf,fixedFields:{summary:od.visitors.document.objects.Example.fixedFields.summary,description:od.visitors.document.objects.Example.fixedFields.description,value:od.visitors.document.objects.Example.fixedFields.value,externalValue:od.visitors.document.objects.Example.fixedFields.externalValue}},Link:{$visitor:oh,fixedFields:{operationRef:od.visitors.document.objects.Link.fixedFields.operationRef,operationId:od.visitors.document.objects.Link.fixedFields.operationId,parameters:od.visitors.document.objects.Link.fixedFields.parameters,requestBody:od.visitors.document.objects.Link.fixedFields.requestBody,description:od.visitors.document.objects.Link.fixedFields.description,server:{$ref:"#/visitors/document/objects/Server"}}},Header:{$visitor:Ph,fixedFields:{description:od.visitors.document.objects.Header.fixedFields.description,required:od.visitors.document.objects.Header.fixedFields.required,deprecated:od.visitors.document.objects.Header.fixedFields.deprecated,allowEmptyValue:od.visitors.document.objects.Header.fixedFields.allowEmptyValue,style:od.visitors.document.objects.Header.fixedFields.style,explode:od.visitors.document.objects.Header.fixedFields.explode,allowReserved:od.visitors.document.objects.Header.fixedFields.allowReserved,schema:{$ref:"#/visitors/document/objects/Schema"},example:od.visitors.document.objects.Header.fixedFields.example,examples:od.visitors.document.objects.Header.fixedFields.examples,content:od.visitors.document.objects.Header.fixedFields.content}},Tag:{$visitor:bh,fixedFields:{name:od.visitors.document.objects.Tag.fixedFields.name,description:od.visitors.document.objects.Tag.fixedFields.description,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Reference:{$visitor:Eh,fixedFields:{$ref:od.visitors.document.objects.Reference.fixedFields.$ref,summary:wh,description:xh}},Schema:{$visitor:s_,fixedFields:{$schema:i_,$vocabulary:o_,$id:a_,$anchor:c_,$dynamicAnchor:l_,$dynamicRef:u_,$ref:p_,$defs:m_,$comment:d_,allOf:h_,anyOf:__,oneOf:f_,not:{$ref:"#/visitors/document/objects/Schema"},if:{$ref:"#/visitors/document/objects/Schema"},then:{$ref:"#/visitors/document/objects/Schema"},else:{$ref:"#/visitors/document/objects/Schema"},dependentSchemas:g_,prefixItems:y_,items:{$ref:"#/visitors/document/objects/Schema"},contains:{$ref:"#/visitors/document/objects/Schema"},properties:b_,patternProperties:v_,additionalProperties:{$ref:"#/visitors/document/objects/Schema"},propertyNames:{$ref:"#/visitors/document/objects/Schema"},unevaluatedItems:{$ref:"#/visitors/document/objects/Schema"},unevaluatedProperties:{$ref:"#/visitors/document/objects/Schema"},type:E_,enum:w_,const:x_,multipleOf:S_,maximum:O_,exclusiveMaximum:j_,minimum:P_,exclusiveMinimum:M_,maxLength:A_,minLength:F_,pattern:I_,maxItems:T_,minItems:N_,uniqueItems:R_,maxContains:C_,minContains:k_,maxProperties:$_,minProperties:D_,required:q_,dependentRequired:B_,title:L_,description:V_,default:U_,deprecated:H_,readOnly:G_,writeOnly:Z_,examples:z_,format:W_,contentEncoding:J_,contentMediaType:K_,contentSchema:{$ref:"#/visitors/document/objects/Schema"},discriminator:{$ref:"#/visitors/document/objects/Discriminator"},xml:{$ref:"#/visitors/document/objects/XML"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},example:X_}},Discriminator:{$visitor:Q_,fixedFields:{propertyName:od.visitors.document.objects.Discriminator.fixedFields.propertyName,mapping:od.visitors.document.objects.Discriminator.fixedFields.mapping}},XML:{$visitor:tf,fixedFields:{name:od.visitors.document.objects.XML.fixedFields.name,namespace:od.visitors.document.objects.XML.fixedFields.namespace,prefix:od.visitors.document.objects.XML.fixedFields.prefix,attribute:od.visitors.document.objects.XML.fixedFields.attribute,wrapped:od.visitors.document.objects.XML.fixedFields.wrapped}},SecurityScheme:{$visitor:Mf,fixedFields:{type:od.visitors.document.objects.SecurityScheme.fixedFields.type,description:od.visitors.document.objects.SecurityScheme.fixedFields.description,name:od.visitors.document.objects.SecurityScheme.fixedFields.name,in:od.visitors.document.objects.SecurityScheme.fixedFields.in,scheme:od.visitors.document.objects.SecurityScheme.fixedFields.scheme,bearerFormat:od.visitors.document.objects.SecurityScheme.fixedFields.bearerFormat,flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:od.visitors.document.objects.SecurityScheme.fixedFields.openIdConnectUrl}},OAuthFlows:{$visitor:Ff,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:Tf,fixedFields:{authorizationUrl:od.visitors.document.objects.OAuthFlow.fixedFields.authorizationUrl,tokenUrl:od.visitors.document.objects.OAuthFlow.fixedFields.tokenUrl,refreshUrl:od.visitors.document.objects.OAuthFlow.fixedFields.refreshUrl,scopes:od.visitors.document.objects.OAuthFlow.fixedFields.scopes}},SecurityRequirement:{$visitor:_h}},extension:{$visitor:od.visitors.document.extension.$visitor}}}};function $f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const Df=e=>{if(vs(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},qf=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$f(Object(r),!0).forEach((function(t){ls(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({CallbackElement:["content"],ComponentsElement:["content"],ContactElement:["content"],DiscriminatorElement:["content"],Encoding:["content"],Example:["content"],ExternalDocumentationElement:["content"],HeaderElement:["content"],InfoElement:["content"],LicenseElement:["content"],MediaTypeElement:["content"],OAuthFlowElement:["content"],OAuthFlowsElement:["content"],OpenApi3_1Element:["content"],OperationElement:["content"],ParameterElement:["content"],PathItemElement:["content"],PathsElement:["content"],ReferenceElement:["content"],RequestBodyElement:["content"],ResponseElement:["content"],ResponsesElement:["content"],SchemaElement:["content"],SecurityRequirementElement:["content"],SecuritySchemeElement:["content"],ServerElement:["content"],ServerVariableElement:["content"],TagElement:["content"]},Hs),Bf={namespace:e=>{const{base:t}=e;return t.register("callback",hd),t.register("components",_d),t.register("contact",fd),t.register("discriminator",gd),t.register("encoding",yd),t.register("example",bd),t.register("externalDocumentation",vd),t.register("header",Ed),t.register("info",wd),t.register("jsonSchemaDialect",Sd),t.register("license",Od),t.register("link",jd),t.register("mediaType",Pd),t.register("oAuthFlow",Md),t.register("oAuthFlows",Ad),t.register("openapi",Fd),t.register("openApi3_1",Td),t.register("operation",Nd),t.register("parameter",Rd),t.register("pathItem",Cd),t.register("paths",kd),t.register("reference",Dd),t.register("requestBody",qd),t.register("response",Bd),t.register("responses",Ld),t.register("schema",Ud),t.register("securityRequirement",Hd),t.register("securityScheme",Gd),t.register("server",Zd),t.register("serverVariable",zd),t.register("tag",Wd),t.register("xml",Jd),t}};function Lf(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Vf(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Lf(Object(r),!0).forEach((function(t){ls(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Lf(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const Uf=()=>{const e=mr(Bf);return{predicates:Vf(Vf({},s),{},{isStringElement:Es,isArrayElement:js,isObjectElement:Os,includesClasses:$s}),namespace:e}};function Hf(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const Gf=function(e){let{specPath:t=["visitors","document","objects","OpenApi","$visitor"],plugins:r=[]}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(0,Ut.Qc)(e),s=po(kf),i=Js(t,[],s);return Gs(n,i,{state:{specObj:s}}),Ys(i.element,r,{toolboxCreator:Uf,visitorOptions:{keyMap:qf,nodeTypeGetter:Df}})},Zf=e=>function(t){return Gf(t,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Hf(Object(r),!0).forEach((function(t){ls(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Hf(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({specPath:e},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))};hd.refract=Zf(["visitors","document","objects","Callback","$visitor"]),_d.refract=Zf(["visitors","document","objects","Components","$visitor"]),fd.refract=Zf(["visitors","document","objects","Contact","$visitor"]),bd.refract=Zf(["visitors","document","objects","Example","$visitor"]),gd.refract=Zf(["visitors","document","objects","Discriminator","$visitor"]),yd.refract=Zf(["visitors","document","objects","Encoding","$visitor"]),vd.refract=Zf(["visitors","document","objects","ExternalDocumentation","$visitor"]),Ed.refract=Zf(["visitors","document","objects","Header","$visitor"]),wd.refract=Zf(["visitors","document","objects","Info","$visitor"]),Sd.refract=Zf(["visitors","document","objects","OpenApi","fixedFields","jsonSchemaDialect"]),Od.refract=Zf(["visitors","document","objects","License","$visitor"]),jd.refract=Zf(["visitors","document","objects","Link","$visitor"]),Pd.refract=Zf(["visitors","document","objects","MediaType","$visitor"]),Md.refract=Zf(["visitors","document","objects","OAuthFlow","$visitor"]),Ad.refract=Zf(["visitors","document","objects","OAuthFlows","$visitor"]),Fd.refract=Zf(["visitors","document","objects","OpenApi","fixedFields","openapi"]),Td.refract=Zf(["visitors","document","objects","OpenApi","$visitor"]),Nd.refract=Zf(["visitors","document","objects","Operation","$visitor"]),Rd.refract=Zf(["visitors","document","objects","Parameter","$visitor"]),Cd.refract=Zf(["visitors","document","objects","PathItem","$visitor"]),kd.refract=Zf(["visitors","document","objects","Paths","$visitor"]),Dd.refract=Zf(["visitors","document","objects","Reference","$visitor"]),qd.refract=Zf(["visitors","document","objects","RequestBody","$visitor"]),Bd.refract=Zf(["visitors","document","objects","Response","$visitor"]),Ld.refract=Zf(["visitors","document","objects","Responses","$visitor"]),Ud.refract=Zf(["visitors","document","objects","Schema","$visitor"]),Hd.refract=Zf(["visitors","document","objects","SecurityRequirement","$visitor"]),Gd.refract=Zf(["visitors","document","objects","SecurityScheme","$visitor"]),Zd.refract=Zf(["visitors","document","objects","Server","$visitor"]),zd.refract=Zf(["visitors","document","objects","ServerVariable","$visitor"]),Wd.refract=Zf(["visitors","document","objects","Tag","$visitor"]),Jd.refract=Zf(["visitors","document","objects","XML","$visitor"]);const zf=class extends Array{constructor(){super(...arguments),ls(this,"unknownMediaType","application/octet-stream")}filterByFormat(){throw new Error("Not implemented!")}findBy(){throw new Error("Not implemented")}latest(){throw new Error("Not implemented!")}};class Wf extends zf{filterByFormat(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"generic";const t="generic"===e?"openapi;version":e;return this.filter((e=>e.includes(t)))}findBy(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"3.1.0",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"generic";const r="generic"===t?`vnd.oai.openapi;version=${e}`:`vnd.oai.openapi+${t};version=${e}`;return this.find((e=>e.includes(r)))||this.unknownMediaType}latest(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"generic";return gt(this.filterByFormat(e))}}const Jf=new Wf("application/vnd.oai.openapi;version=3.1.0","application/vnd.oai.openapi+json;version=3.1.0","application/vnd.oai.openapi+yaml;version=3.1.0"),Kf=new Wf(...Jf.filterByFormat("generic"),...Jf.filterByFormat("yaml")),Xf=/(?<YAML>^(["']?)openapi\2\s*:\s*(["']?)(?<version_yaml>3\.1\.(?:[1-9]\d*|0))\3(?:\s+|$))|(?<JSON>"openapi"\s*:\s*"(?<version_json>3\.1\.(?:[1-9]\d*|0))")/m,Yf=async e=>Xf.test(e)&&await(async e=>{try{return"ERROR"!==(await Er(e)).rootNode.type}catch{return!1}})(e),Qf=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=jt({},"refractorOpts",t),n=wt(["refractorOpts"],t),s=await async function(e){let{sourceMap:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=await Er(e);return ci(r,{sourceMap:t})}(e,n),{result:i}=s;if(Vt(i)){const e=Td.refract(i,r);e.classes.push("result"),s.replaceResult(e)}return s},eg=mr(Bf)})(),__webpack_exports__})()));
2
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.apidomParserAdapterOpenApiYaml3_1=t():e.apidomParserAdapterOpenApiYaml3_1=t()}(self,(()=>(()=>{var e={8385:(e,t,r)=>{var n=r(6174);e.exports=n},5271:(e,t,r)=>{var n=r(7820);e.exports=n},7574:(e,t,r)=>{var n=r(2);e.exports=n},33:(e,t,r)=>{var n=r(5636);e.exports=n},9821:(e,t,r)=>{var n=r(2285);r(7148),r(9031),r(1875),e.exports=n},8008:(e,t,r)=>{var n=r(8535);e.exports=n},164:(e,t,r)=>{var n=r(6042);e.exports=n},2089:(e,t,r)=>{r(2276);var n=r(5607);e.exports=n("Array").indexOf},2604:(e,t,r)=>{var n=r(8902),s=r(2089),i=Array.prototype;e.exports=function(e){var t=e.indexOf;return e===i||n(i,e)&&t===i.indexOf?s:t}},3512:(e,t,r)=>{r(297);var n=r(7545).Object,s=e.exports=function(e,t,r){return n.defineProperty(e,t,r)};n.defineProperty.sham&&(s.sham=!0)},2921:(e,t,r)=>{r(6187);var n=r(7545);e.exports=n.Object.getOwnPropertySymbols},8651:(e,t,r)=>{r(2647);var n=r(7545);e.exports=n.Object.keys},5008:(e,t,r)=>{r(9106),r(6663),r(6187),r(9781),r(492),r(6681),r(9594),r(3665),r(9017),r(1250),r(9786),r(503),r(6565),r(9322),r(3610),r(6886),r(3514),r(8671),r(8556),r(1367);var n=r(7545);e.exports=n.Symbol},994:(e,t,r)=>{r(8939),r(6663),r(5454),r(3665);var n=r(9207);e.exports=n.f("iterator")},290:(e,t,r)=>{r(2432),r(3610);var n=r(9207);e.exports=n.f("toPrimitive")},2747:(e,t,r)=>{var n=r(8385);e.exports=n},229:(e,t,r)=>{var n=r(5271);e.exports=n},5090:(e,t,r)=>{var n=r(7574);e.exports=n},5483:(e,t,r)=>{var n=r(33);e.exports=n},2185:(e,t,r)=>{var n=r(9821);r(177),r(3346),r(3520),r(6658),r(8658),r(2725),r(1806),r(4212),r(4592),r(6680),e.exports=n},9982:(e,t,r)=>{var n=r(8008);e.exports=n},8241:(e,t,r)=>{var n=r(164);e.exports=n},6235:(e,t,r)=>{var n=r(6447),s=r(9288),i=TypeError;e.exports=function(e){if(n(e))return e;throw i(s(e)+" is not a function")}},7757:(e,t,r)=>{var n=r(6447),s=String,i=TypeError;e.exports=function(e){if("object"==typeof e||n(e))return e;throw i("Can't set "+s(e)+" as a prototype")}},7423:e=>{e.exports=function(){}},1138:(e,t,r)=>{var n=r(5744),s=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw i(s(e)+" is not an object")}},8180:(e,t,r)=>{var n=r(101),s=r(7739),i=r(4104),o=function(e){return function(t,r,o){var a,c=n(t),l=i(c),u=s(o,l);if(e&&r!=r){for(;l>u;)if((a=c[u++])!=a)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===r)return e||u||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},454:(e,t,r)=>{var n=r(8043),s=r(4120),i=r(2202),o=r(1795),a=r(4104),c=r(1321),l=s([].push),u=function(e){var t=1==e,r=2==e,s=3==e,u=4==e,p=6==e,m=7==e,h=5==e||p;return function(d,f,y,g){for(var _,b,v=o(d),E=i(v),w=n(f,y),x=a(E),j=0,O=g||c,S=t?O(d,x):r||m?O(d,0):void 0;x>j;j++)if((h||j in E)&&(b=w(_=E[j],j,v),e))if(t)S[j]=b;else if(b)switch(e){case 3:return!0;case 5:return _;case 6:return j;case 2:l(S,_)}else switch(e){case 4:return!1;case 7:l(S,_)}return p?-1:s||u?u:S}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},242:(e,t,r)=>{var n=r(6192),s=r(8182),i=r(4218),o=s("species");e.exports=function(e){return i>=51||!n((function(){var t=[];return(t.constructor={})[o]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},424:(e,t,r)=>{"use strict";var n=r(6192);e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){return 1},1)}))}},1923:(e,t,r)=>{var n=r(7739),s=r(4104),i=r(9361),o=Array,a=Math.max;e.exports=function(e,t,r){for(var c=s(e),l=n(t,c),u=n(void 0===r?c:r,c),p=o(a(u-l,0)),m=0;l<u;l++,m++)i(p,m,e[l]);return p.length=m,p}},3096:(e,t,r)=>{var n=r(4120);e.exports=n([].slice)},3712:(e,t,r)=>{var n=r(4770),s=r(2091),i=r(5744),o=r(8182)("species"),a=Array;e.exports=function(e){var t;return n(e)&&(t=e.constructor,(s(t)&&(t===a||n(t.prototype))||i(t)&&null===(t=t[o]))&&(t=void 0)),void 0===t?a:t}},1321:(e,t,r)=>{var n=r(3712);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},9272:(e,t,r)=>{var n=r(4120),s=n({}.toString),i=n("".slice);e.exports=function(e){return i(s(e),8,-1)}},4696:(e,t,r)=>{var n=r(3471),s=r(6447),i=r(9272),o=r(8182)("toStringTag"),a=Object,c="Arguments"==i(function(){return arguments}());e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=a(e),o))?r:c?i(t):"Object"==(n=i(t))&&s(t.callee)?"Arguments":n}},4635:(e,t,r)=>{var n=r(6192);e.exports=!n((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,r)=>{var n=r(69),s=r(2760),i=r(774);e.exports=n?function(e,t,r){return s.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},774:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},9361:(e,t,r)=>{"use strict";var n=r(77),s=r(2760),i=r(774);e.exports=function(e,t,r){var o=n(t);o in e?s.f(e,o,i(0,r)):e[o]=r}},2807:(e,t,r)=>{var n=r(2760);e.exports=function(e,t,r){return n.f(e,t,r)}},9362:(e,t,r)=>{var n=r(8711);e.exports=function(e,t,r,s){return s&&s.enumerable?e[t]=r:n(e,t,r),e}},5098:(e,t,r)=>{var n=r(8576),s=Object.defineProperty;e.exports=function(e,t){try{s(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},69:(e,t,r)=>{var n=r(6192);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8382:e=>{var t="object"==typeof document&&document.all,r=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:r}},7449:(e,t,r)=>{var n=r(8576),s=r(5744),i=n.document,o=s(i)&&s(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,r)=>{var n,s,i=r(8576),o=r(8989),a=i.process,c=i.Deno,l=a&&a.versions||c&&c.version,u=l&&l.v8;u&&(s=(n=u.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!s&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(s=+n[1]),e.exports=s},5607:(e,t,r)=>{var n=r(7545);e.exports=function(e){return n[e+"Prototype"]}},2952:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3085:(e,t,r)=>{"use strict";var n=r(8576),s=r(6298),i=r(4914),o=r(6447),a=r(5141).f,c=r(9245),l=r(7545),u=r(8043),p=r(8711),m=r(4500),h=function(e){var t=function(r,n,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(r);case 2:return new e(r,n)}return new e(r,n,i)}return s(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var r,s,d,f,y,g,_,b,v,E=e.target,w=e.global,x=e.stat,j=e.proto,O=w?n:x?n[E]:(n[E]||{}).prototype,S=w?l:l[E]||p(l,E,{})[E],P=S.prototype;for(f in t)s=!(r=c(w?f:E+(x?".":"#")+f,e.forced))&&O&&m(O,f),g=S[f],s&&(_=e.dontCallGetSet?(v=a(O,f))&&v.value:O[f]),y=s&&_?_:t[f],s&&typeof g==typeof y||(b=e.bind&&s?u(y,n):e.wrap&&s?h(y):j&&o(y)?i(y):y,(e.sham||y&&y.sham||g&&g.sham)&&p(b,"sham",!0),p(S,f,b),j&&(m(l,d=E+"Prototype")||p(l,d,{}),p(l[d],f,y),e.real&&P&&(r||!P[f])&&p(P,f,y)))}},6192:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},6298:(e,t,r)=>{var n=r(2784),s=Function.prototype,i=s.apply,o=s.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(i):function(){return o.apply(i,arguments)})},8043:(e,t,r)=>{var n=r(4914),s=r(6235),i=r(2784),o=n(n.bind);e.exports=function(e,t){return s(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}},2784:(e,t,r)=>{var n=r(6192);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},8922:(e,t,r)=>{var n=r(2784),s=Function.prototype.call;e.exports=n?s.bind(s):function(){return s.apply(s,arguments)}},2282:(e,t,r)=>{var n=r(69),s=r(4500),i=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,a=s(i,"name"),c=a&&"something"===function(){}.name,l=a&&(!n||n&&o(i,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:l}},6419:(e,t,r)=>{var n=r(4120),s=r(6235);e.exports=function(e,t,r){try{return n(s(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},4914:(e,t,r)=>{var n=r(9272),s=r(4120);e.exports=function(e){if("Function"===n(e))return s(e)}},4120:(e,t,r)=>{var n=r(2784),s=Function.prototype,i=s.call,o=n&&s.bind.bind(i,i);e.exports=n?o:function(e){return function(){return i.apply(e,arguments)}}},150:(e,t,r)=>{var n=r(7545),s=r(8576),i=r(6447),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e])||o(s[e]):n[e]&&n[e][t]||s[e]&&s[e][t]}},9202:(e,t,r)=>{var n=r(4120),s=r(4770),i=r(6447),o=r(9272),a=r(4845),c=n([].push);e.exports=function(e){if(i(e))return e;if(s(e)){for(var t=e.length,r=[],n=0;n<t;n++){var l=e[n];"string"==typeof l?c(r,l):"number"!=typeof l&&"Number"!=o(l)&&"String"!=o(l)||c(r,a(l))}var u=r.length,p=!0;return function(e,t){if(p)return p=!1,t;if(s(this))return t;for(var n=0;n<u;n++)if(r[n]===e)return t}}}},5037:(e,t,r)=>{var n=r(6235),s=r(5646);e.exports=function(e,t){var r=e[t];return s(r)?void 0:n(r)}},8576:function(e,t,r){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||this||Function("return this")()},4500:(e,t,r)=>{var n=r(4120),s=r(1795),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(s(e),t)}},4535:e=>{e.exports={}},7403:(e,t,r)=>{var n=r(150);e.exports=n("document","documentElement")},188:(e,t,r)=>{var n=r(69),s=r(6192),i=r(7449);e.exports=!n&&!s((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},2202:(e,t,r)=>{var n=r(4120),s=r(6192),i=r(9272),o=Object,a=n("".split);e.exports=s((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?a(e,""):o(e)}:o},9516:(e,t,r)=>{var n=r(4120),s=r(6447),i=r(6434),o=n(Function.toString);s(i.inspectSource)||(i.inspectSource=function(e){return o(e)}),e.exports=i.inspectSource},3326:(e,t,r)=>{var n,s,i,o=r(5278),a=r(8576),c=r(5744),l=r(8711),u=r(4500),p=r(6434),m=r(9766),h=r(4535),d="Object already initialized",f=a.TypeError,y=a.WeakMap;if(o||p.state){var g=p.state||(p.state=new y);g.get=g.get,g.has=g.has,g.set=g.set,n=function(e,t){if(g.has(e))throw f(d);return t.facade=e,g.set(e,t),t},s=function(e){return g.get(e)||{}},i=function(e){return g.has(e)}}else{var _=m("state");h[_]=!0,n=function(e,t){if(u(e,_))throw f(d);return t.facade=e,l(e,_,t),t},s=function(e){return u(e,_)?e[_]:{}},i=function(e){return u(e,_)}}e.exports={set:n,get:s,has:i,enforce:function(e){return i(e)?s(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=s(t)).type!==e)throw f("Incompatible receiver, "+e+" required");return r}}}},4770:(e,t,r)=>{var n=r(9272);e.exports=Array.isArray||function(e){return"Array"==n(e)}},6447:(e,t,r)=>{var n=r(8382),s=n.all;e.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===s}:function(e){return"function"==typeof e}},2091:(e,t,r)=>{var n=r(4120),s=r(6192),i=r(6447),o=r(4696),a=r(150),c=r(9516),l=function(){},u=[],p=a("Reflect","construct"),m=/^\s*(?:class|function)\b/,h=n(m.exec),d=!m.exec(l),f=function(e){if(!i(e))return!1;try{return p(l,u,e),!0}catch(e){return!1}},y=function(e){if(!i(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!h(m,c(e))}catch(e){return!0}};y.sham=!0,e.exports=!p||s((function(){var e;return f(f.call)||!f(Object)||!f((function(){e=!0}))||e}))?y:f},9245:(e,t,r)=>{var n=r(6192),s=r(6447),i=/#|\.prototype\./,o=function(e,t){var r=c[a(e)];return r==u||r!=l&&(s(t)?n(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=o.data={},l=o.NATIVE="N",u=o.POLYFILL="P";e.exports=o},5646:e=>{e.exports=function(e){return null==e}},5744:(e,t,r)=>{var n=r(6447),s=r(8382),i=s.all;e.exports=s.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===i}:function(e){return"object"==typeof e?null!==e:n(e)}},5546:e=>{e.exports=!0},3236:(e,t,r)=>{var n=r(150),s=r(6447),i=r(8902),o=r(615),a=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return s(t)&&i(t.prototype,a(e))}},5695:(e,t,r)=>{"use strict";var n=r(4413).IteratorPrototype,s=r(2853),i=r(774),o=r(1284),a=r(7771),c=function(){return this};e.exports=function(e,t,r,l){var u=t+" Iterator";return e.prototype=s(n,{next:i(+!l,r)}),o(e,u,!1,!0),a[u]=c,e}},5297:(e,t,r)=>{"use strict";var n=r(3085),s=r(8922),i=r(5546),o=r(2282),a=r(6447),c=r(5695),l=r(9341),u=r(4469),p=r(1284),m=r(8711),h=r(9362),d=r(8182),f=r(7771),y=r(4413),g=o.PROPER,_=o.CONFIGURABLE,b=y.IteratorPrototype,v=y.BUGGY_SAFARI_ITERATORS,E=d("iterator"),w="keys",x="values",j="entries",O=function(){return this};e.exports=function(e,t,r,o,d,y,S){c(r,t,o);var P,A,F,$=function(e){if(e===d&&T)return T;if(!v&&e in M)return M[e];switch(e){case w:case x:case j:return function(){return new r(this,e)}}return function(){return new r(this)}},k=t+" Iterator",I=!1,M=e.prototype,R=M[E]||M["@@iterator"]||d&&M[d],T=!v&&R||$(d),N="Array"==t&&M.entries||R;if(N&&(P=l(N.call(new e)))!==Object.prototype&&P.next&&(i||l(P)===b||(u?u(P,b):a(P[E])||h(P,E,O)),p(P,k,!0,!0),i&&(f[k]=O)),g&&d==x&&R&&R.name!==x&&(!i&&_?m(M,"name",x):(I=!0,T=function(){return s(R,this)})),d)if(A={values:$(x),keys:y?T:$(w),entries:$(j)},S)for(F in A)(v||I||!(F in M))&&h(M,F,A[F]);else n({target:t,proto:!0,forced:v||I},A);return i&&!S||M[E]===T||h(M,E,T,{name:d}),f[t]=T,A}},4413:(e,t,r)=>{"use strict";var n,s,i,o=r(6192),a=r(6447),c=r(5744),l=r(2853),u=r(9341),p=r(9362),m=r(8182),h=r(5546),d=m("iterator"),f=!1;[].keys&&("next"in(i=[].keys())?(s=u(u(i)))!==Object.prototype&&(n=s):f=!0),!c(n)||o((function(){var e={};return n[d].call(e)!==e}))?n={}:h&&(n=l(n)),a(n[d])||p(n,d,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:f}},7771:e=>{e.exports={}},4104:(e,t,r)=>{var n=r(8445);e.exports=function(e){return n(e.length)}},7679:e=>{var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},2853:(e,t,r)=>{var n,s=r(1138),i=r(1187),o=r(2952),a=r(4535),c=r(7403),l=r(7449),u=r(9766),p="prototype",m="script",h=u("IE_PROTO"),d=function(){},f=function(e){return"<"+m+">"+e+"</"+m+">"},y=function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t},g=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;g="undefined"!=typeof document?document.domain&&n?y(n):(t=l("iframe"),r="java"+m+":",t.style.display="none",c.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(f("document.F=Object")),e.close(),e.F):y(n);for(var s=o.length;s--;)delete g[p][o[s]];return g()};a[h]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(d[p]=s(e),r=new d,d[p]=null,r[h]=e):r=g(),void 0===t?r:i.f(r,t)}},1187:(e,t,r)=>{var n=r(69),s=r(9600),i=r(2760),o=r(1138),a=r(101),c=r(7653);t.f=n&&!s?Object.defineProperties:function(e,t){o(e);for(var r,n=a(t),s=c(t),l=s.length,u=0;l>u;)i.f(e,r=s[u++],n[r]);return e}},2760:(e,t,r)=>{var n=r(69),s=r(188),i=r(9600),o=r(1138),a=r(77),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,p="enumerable",m="configurable",h="writable";t.f=n?i?function(e,t,r){if(o(e),t=a(t),o(r),"function"==typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=u(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:m in r?r[m]:n[m],enumerable:p in r?r[p]:n[p],writable:!1})}return l(e,t,r)}:l:function(e,t,r){if(o(e),t=a(t),o(r),s)try{return l(e,t,r)}catch(e){}if("get"in r||"set"in r)throw c("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},5141:(e,t,r)=>{var n=r(69),s=r(8922),i=r(6007),o=r(774),a=r(101),c=r(77),l=r(4500),u=r(188),p=Object.getOwnPropertyDescriptor;t.f=n?p:function(e,t){if(e=a(e),t=c(t),u)try{return p(e,t)}catch(e){}if(l(e,t))return o(!s(i.f,e,t),e[t])}},4052:(e,t,r)=>{var n=r(9272),s=r(101),i=r(2092).f,o=r(1923),a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"Window"==n(e)?function(e){try{return i(e)}catch(e){return o(a)}}(e):i(s(e))}},2092:(e,t,r)=>{var n=r(7934),s=r(2952).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,s)}},4750:(e,t)=>{t.f=Object.getOwnPropertySymbols},9341:(e,t,r)=>{var n=r(4500),s=r(6447),i=r(1795),o=r(9766),a=r(4635),c=o("IE_PROTO"),l=Object,u=l.prototype;e.exports=a?l.getPrototypeOf:function(e){var t=i(e);if(n(t,c))return t[c];var r=t.constructor;return s(r)&&t instanceof r?r.prototype:t instanceof l?u:null}},8902:(e,t,r)=>{var n=r(4120);e.exports=n({}.isPrototypeOf)},7934:(e,t,r)=>{var n=r(4120),s=r(4500),i=r(101),o=r(8180).indexOf,a=r(4535),c=n([].push);e.exports=function(e,t){var r,n=i(e),l=0,u=[];for(r in n)!s(a,r)&&s(n,r)&&c(u,r);for(;t.length>l;)s(n,r=t[l++])&&(~o(u,r)||c(u,r));return u}},7653:(e,t,r)=>{var n=r(7934),s=r(2952);e.exports=Object.keys||function(e){return n(e,s)}},6007:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,s=n&&!r.call({1:2},1);t.f=s?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},4469:(e,t,r)=>{var n=r(6419),s=r(1138),i=r(7757);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return s(r),i(n),t?e(r,n):r.__proto__=n,r}}():void 0)},158:(e,t,r)=>{"use strict";var n=r(3471),s=r(4696);e.exports=n?{}.toString:function(){return"[object "+s(this)+"]"}},380:(e,t,r)=>{var n=r(8922),s=r(6447),i=r(5744),o=TypeError;e.exports=function(e,t){var r,a;if("string"===t&&s(r=e.toString)&&!i(a=n(r,e)))return a;if(s(r=e.valueOf)&&!i(a=n(r,e)))return a;if("string"!==t&&s(r=e.toString)&&!i(a=n(r,e)))return a;throw o("Can't convert object to primitive value")}},7545:e=>{e.exports={}},3209:(e,t,r)=>{var n=r(5646),s=TypeError;e.exports=function(e){if(n(e))throw s("Can't call method on "+e);return e}},1284:(e,t,r)=>{var n=r(3471),s=r(2760).f,i=r(8711),o=r(4500),a=r(158),c=r(8182)("toStringTag");e.exports=function(e,t,r,l){if(e){var u=r?e:e.prototype;o(u,c)||s(u,c,{configurable:!0,value:t}),l&&!n&&i(u,"toString",a)}}},9766:(e,t,r)=>{var n=r(8717),s=r(2759),i=n("keys");e.exports=function(e){return i[e]||(i[e]=s(e))}},6434:(e,t,r)=>{var n=r(8576),s=r(5098),i="__core-js_shared__",o=n[i]||s(i,{});e.exports=o},8717:(e,t,r)=>{var n=r(5546),s=r(6434);(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.31.1",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.1/LICENSE",source:"https://github.com/zloirock/core-js"})},863:(e,t,r)=>{var n=r(4120),s=r(1941),i=r(4845),o=r(3209),a=n("".charAt),c=n("".charCodeAt),l=n("".slice),u=function(e){return function(t,r){var n,u,p=i(o(t)),m=s(r),h=p.length;return m<0||m>=h?e?"":void 0:(n=c(p,m))<55296||n>56319||m+1===h||(u=c(p,m+1))<56320||u>57343?e?a(p,m):n:e?l(p,m,m+2):u-56320+(n-55296<<10)+65536}};e.exports={codeAt:u(!1),charAt:u(!0)}},6770:(e,t,r)=>{var n=r(4218),s=r(6192),i=r(8576).String;e.exports=!!Object.getOwnPropertySymbols&&!s((function(){var e=Symbol();return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},3407:(e,t,r)=>{var n=r(8922),s=r(150),i=r(8182),o=r(9362);e.exports=function(){var e=s("Symbol"),t=e&&e.prototype,r=t&&t.valueOf,a=i("toPrimitive");t&&!t[a]&&o(t,a,(function(e){return n(r,this)}),{arity:1})}},8743:(e,t,r)=>{var n=r(150),s=r(4120),i=n("Symbol"),o=i.keyFor,a=s(i.prototype.valueOf);e.exports=i.isRegisteredSymbol||function(e){try{return void 0!==o(a(e))}catch(e){return!1}}},5128:(e,t,r)=>{for(var n=r(8717),s=r(150),i=r(4120),o=r(3236),a=r(8182),c=s("Symbol"),l=c.isWellKnownSymbol,u=s("Object","getOwnPropertyNames"),p=i(c.prototype.valueOf),m=n("wks"),h=0,d=u(c),f=d.length;h<f;h++)try{var y=d[h];o(c[y])&&a(y)}catch(e){}e.exports=function(e){if(l&&l(e))return!0;try{for(var t=p(e),r=0,n=u(m),s=n.length;r<s;r++)if(m[n[r]]==t)return!0}catch(e){}return!1}},31:(e,t,r)=>{var n=r(6770);e.exports=n&&!!Symbol.for&&!!Symbol.keyFor},7739:(e,t,r)=>{var n=r(1941),s=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?s(r+t,0):i(r,t)}},101:(e,t,r)=>{var n=r(2202),s=r(3209);e.exports=function(e){return n(s(e))}},1941:(e,t,r)=>{var n=r(7679);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},8445:(e,t,r)=>{var n=r(1941),s=Math.min;e.exports=function(e){return e>0?s(n(e),9007199254740991):0}},1795:(e,t,r)=>{var n=r(3209),s=Object;e.exports=function(e){return s(n(e))}},7888:(e,t,r)=>{var n=r(8922),s=r(5744),i=r(3236),o=r(5037),a=r(380),c=r(8182),l=TypeError,u=c("toPrimitive");e.exports=function(e,t){if(!s(e)||i(e))return e;var r,c=o(e,u);if(c){if(void 0===t&&(t="default"),r=n(c,e,t),!s(r)||i(r))return r;throw l("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},77:(e,t,r)=>{var n=r(7888),s=r(3236);e.exports=function(e){var t=n(e,"string");return s(t)?t:t+""}},3471:(e,t,r)=>{var n={};n[r(8182)("toStringTag")]="z",e.exports="[object z]"===String(n)},4845:(e,t,r)=>{var n=r(4696),s=String;e.exports=function(e){if("Symbol"===n(e))throw TypeError("Cannot convert a Symbol value to a string");return s(e)}},9288:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},2759:(e,t,r)=>{var n=r(4120),s=0,i=Math.random(),o=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++s+i,36)}},615:(e,t,r)=>{var n=r(6770);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},9600:(e,t,r)=>{var n=r(69),s=r(6192);e.exports=n&&s((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5278:(e,t,r)=>{var n=r(8576),s=r(6447),i=n.WeakMap;e.exports=s(i)&&/native code/.test(String(i))},8332:(e,t,r)=>{var n=r(7545),s=r(4500),i=r(9207),o=r(2760).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});s(t,e)||o(t,e,{value:i.f(e)})}},9207:(e,t,r)=>{var n=r(8182);t.f=n},8182:(e,t,r)=>{var n=r(8576),s=r(8717),i=r(4500),o=r(2759),a=r(6770),c=r(615),l=n.Symbol,u=s("wks"),p=c?l.for||l:l&&l.withoutSetter||o;e.exports=function(e){return i(u,e)||(u[e]=a&&i(l,e)?l[e]:p("Symbol."+e)),u[e]}},9106:(e,t,r)=>{"use strict";var n=r(3085),s=r(6192),i=r(4770),o=r(5744),a=r(1795),c=r(4104),l=r(9425),u=r(9361),p=r(1321),m=r(242),h=r(8182),d=r(4218),f=h("isConcatSpreadable"),y=d>=51||!s((function(){var e=[];return e[f]=!1,e.concat()[0]!==e})),g=function(e){if(!o(e))return!1;var t=e[f];return void 0!==t?!!t:i(e)};n({target:"Array",proto:!0,arity:1,forced:!y||!m("concat")},{concat:function(e){var t,r,n,s,i,o=a(this),m=p(o,0),h=0;for(t=-1,n=arguments.length;t<n;t++)if(g(i=-1===t?o:arguments[t]))for(s=c(i),l(h+s),r=0;r<s;r++,h++)r in i&&u(m,h,i[r]);else l(h+1),u(m,h++,i);return m.length=h,m}})},2276:(e,t,r)=>{"use strict";var n=r(3085),s=r(4914),i=r(8180).indexOf,o=r(424),a=s([].indexOf),c=!!a&&1/a([1],1,-0)<0;n({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,r)=>{"use strict";var n=r(101),s=r(7423),i=r(7771),o=r(3326),a=r(2760).f,c=r(5297),l=r(7271),u=r(5546),p=r(69),m="Array Iterator",h=o.set,d=o.getterFor(m);e.exports=c(Array,"Array",(function(e,t){h(this,{type:m,target:n(e),index:0,kind:t})}),(function(){var e=d(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,l(void 0,!0)):l("keys"==r?n:"values"==r?t[n]:[n,t[n]],!1)}),"values");var f=i.Arguments=i.Array;if(s("keys"),s("values"),s("entries"),!u&&p&&"values"!==f.name)try{a(f,"name",{value:"values"})}catch(e){}},2432:()=>{},9704:(e,t,r)=>{var n=r(3085),s=r(150),i=r(6298),o=r(8922),a=r(4120),c=r(6192),l=r(6447),u=r(3236),p=r(3096),m=r(9202),h=r(6770),d=String,f=s("JSON","stringify"),y=a(/./.exec),g=a("".charAt),_=a("".charCodeAt),b=a("".replace),v=a(1..toString),E=/[\uD800-\uDFFF]/g,w=/^[\uD800-\uDBFF]$/,x=/^[\uDC00-\uDFFF]$/,j=!h||c((function(){var e=s("Symbol")();return"[null]"!=f([e])||"{}"!=f({a:e})||"{}"!=f(Object(e))})),O=c((function(){return'"\\udf06\\ud834"'!==f("\udf06\ud834")||'"\\udead"'!==f("\udead")})),S=function(e,t){var r=p(arguments),n=m(t);if(l(n)||void 0!==e&&!u(e))return r[1]=function(e,t){if(l(n)&&(t=o(n,this,d(e),t)),!u(t))return t},i(f,null,r)},P=function(e,t,r){var n=g(r,t-1),s=g(r,t+1);return y(w,e)&&!y(x,s)||y(x,e)&&!y(w,n)?"\\u"+v(_(e,0),16):e};f&&n({target:"JSON",stat:!0,arity:3,forced:j||O},{stringify:function(e,t,r){var n=p(arguments),s=i(j?S:f,null,n);return O&&"string"==typeof s?b(s,E,P):s}})},8671:(e,t,r)=>{var n=r(8576);r(1284)(n.JSON,"JSON",!0)},8556:()=>{},297:(e,t,r)=>{var n=r(3085),s=r(69),i=r(2760).f;n({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!s},{defineProperty:i})},7895:(e,t,r)=>{var n=r(3085),s=r(6770),i=r(6192),o=r(4750),a=r(1795);n({target:"Object",stat:!0,forced:!s||i((function(){o.f(1)}))},{getOwnPropertySymbols:function(e){var t=o.f;return t?t(a(e)):[]}})},2647:(e,t,r)=>{var n=r(3085),s=r(1795),i=r(7653);n({target:"Object",stat:!0,forced:r(6192)((function(){i(1)}))},{keys:function(e){return i(s(e))}})},6663:()=>{},1367:()=>{},5454:(e,t,r)=>{"use strict";var n=r(863).charAt,s=r(4845),i=r(3326),o=r(5297),a=r(7271),c="String Iterator",l=i.set,u=i.getterFor(c);o(String,"String",(function(e){l(this,{type:c,string:s(e),index:0})}),(function(){var e,t=u(this),r=t.string,s=t.index;return s>=r.length?a(void 0,!0):(e=n(r,s),t.index+=e.length,a(e,!1))}))},9781:(e,t,r)=>{r(8332)("asyncIterator")},9351:(e,t,r)=>{"use strict";var n=r(3085),s=r(8576),i=r(8922),o=r(4120),a=r(5546),c=r(69),l=r(6770),u=r(6192),p=r(4500),m=r(8902),h=r(1138),d=r(101),f=r(77),y=r(4845),g=r(774),_=r(2853),b=r(7653),v=r(2092),E=r(4052),w=r(4750),x=r(5141),j=r(2760),O=r(1187),S=r(6007),P=r(9362),A=r(2807),F=r(8717),$=r(9766),k=r(4535),I=r(2759),M=r(8182),R=r(9207),T=r(8332),N=r(3407),C=r(1284),q=r(3326),D=r(454).forEach,L=$("hidden"),B="Symbol",V="prototype",U=q.set,z=q.getterFor(B),G=Object[V],W=s.Symbol,H=W&&W[V],J=s.TypeError,K=s.QObject,Z=x.f,X=j.f,Q=E.f,Y=S.f,ee=o([].push),te=F("symbols"),re=F("op-symbols"),ne=F("wks"),se=!K||!K[V]||!K[V].findChild,ie=c&&u((function(){return 7!=_(X({},"a",{get:function(){return X(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=Z(G,t);n&&delete G[t],X(e,t,r),n&&e!==G&&X(G,t,n)}:X,oe=function(e,t){var r=te[e]=_(H);return U(r,{type:B,tag:e,description:t}),c||(r.description=t),r},ae=function(e,t,r){e===G&&ae(re,t,r),h(e);var n=f(t);return h(r),p(te,n)?(r.enumerable?(p(e,L)&&e[L][n]&&(e[L][n]=!1),r=_(r,{enumerable:g(0,!1)})):(p(e,L)||X(e,L,g(1,{})),e[L][n]=!0),ie(e,n,r)):X(e,n,r)},ce=function(e,t){h(e);var r=d(t),n=b(r).concat(me(r));return D(n,(function(t){c&&!i(le,r,t)||ae(e,t,r[t])})),e},le=function(e){var t=f(e),r=i(Y,this,t);return!(this===G&&p(te,t)&&!p(re,t))&&(!(r||!p(this,t)||!p(te,t)||p(this,L)&&this[L][t])||r)},ue=function(e,t){var r=d(e),n=f(t);if(r!==G||!p(te,n)||p(re,n)){var s=Z(r,n);return!s||!p(te,n)||p(r,L)&&r[L][n]||(s.enumerable=!0),s}},pe=function(e){var t=Q(d(e)),r=[];return D(t,(function(e){p(te,e)||p(k,e)||ee(r,e)})),r},me=function(e){var t=e===G,r=Q(t?re:d(e)),n=[];return D(r,(function(e){!p(te,e)||t&&!p(G,e)||ee(n,te[e])})),n};l||(P(H=(W=function(){if(m(H,this))throw J("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?y(arguments[0]):void 0,t=I(e),r=function(e){this===G&&i(r,re,e),p(this,L)&&p(this[L],t)&&(this[L][t]=!1),ie(this,t,g(1,e))};return c&&se&&ie(G,t,{configurable:!0,set:r}),oe(t,e)})[V],"toString",(function(){return z(this).tag})),P(W,"withoutSetter",(function(e){return oe(I(e),e)})),S.f=le,j.f=ae,O.f=ce,x.f=ue,v.f=E.f=pe,w.f=me,R.f=function(e){return oe(M(e),e)},c&&(A(H,"description",{configurable:!0,get:function(){return z(this).description}}),a||P(G,"propertyIsEnumerable",le,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!l,sham:!l},{Symbol:W}),D(b(ne),(function(e){T(e)})),n({target:B,stat:!0,forced:!l},{useSetter:function(){se=!0},useSimple:function(){se=!1}}),n({target:"Object",stat:!0,forced:!l,sham:!c},{create:function(e,t){return void 0===t?_(e):ce(_(e),t)},defineProperty:ae,defineProperties:ce,getOwnPropertyDescriptor:ue}),n({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:pe}),N(),C(W,B),k[L]=!0},492:()=>{},9148:(e,t,r)=>{var n=r(3085),s=r(150),i=r(4500),o=r(4845),a=r(8717),c=r(31),l=a("string-to-symbol-registry"),u=a("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!c},{for:function(e){var t=o(e);if(i(l,t))return l[t];var r=s("Symbol")(t);return l[t]=r,u[r]=t,r}})},6681:(e,t,r)=>{r(8332)("hasInstance")},9594:(e,t,r)=>{r(8332)("isConcatSpreadable")},3665:(e,t,r)=>{r(8332)("iterator")},6187:(e,t,r)=>{r(9351),r(9148),r(5991),r(9704),r(7895)},5991:(e,t,r)=>{var n=r(3085),s=r(4500),i=r(3236),o=r(9288),a=r(8717),c=r(31),l=a("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!c},{keyFor:function(e){if(!i(e))throw TypeError(o(e)+" is not a symbol");if(s(l,e))return l[e]}})},1250:(e,t,r)=>{r(8332)("matchAll")},9017:(e,t,r)=>{r(8332)("match")},9786:(e,t,r)=>{r(8332)("replace")},503:(e,t,r)=>{r(8332)("search")},6565:(e,t,r)=>{r(8332)("species")},9322:(e,t,r)=>{r(8332)("split")},3610:(e,t,r)=>{var n=r(8332),s=r(3407);n("toPrimitive"),s()},6886:(e,t,r)=>{var n=r(150),s=r(8332),i=r(1284);s("toStringTag"),i(n("Symbol"),"Symbol")},3514:(e,t,r)=>{r(8332)("unscopables")},7148:(e,t,r)=>{var n=r(8182),s=r(2760).f,i=n("metadata"),o=Function.prototype;void 0===o[i]&&s(o,i,{value:null})},177:(e,t,r)=>{r(8332)("asyncDispose")},9031:(e,t,r)=>{r(8332)("dispose")},3346:(e,t,r)=>{r(3085)({target:"Symbol",stat:!0},{isRegisteredSymbol:r(8743)})},2725:(e,t,r)=>{r(3085)({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:r(8743)})},3520:(e,t,r)=>{r(3085)({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:r(5128)})},1806:(e,t,r)=>{r(3085)({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:r(5128)})},6658:(e,t,r)=>{r(8332)("matcher")},4212:(e,t,r)=>{r(8332)("metadataKey")},1875:(e,t,r)=>{r(8332)("metadata")},8658:(e,t,r)=>{r(8332)("observable")},4592:(e,t,r)=>{r(8332)("patternMatch")},6680:(e,t,r)=>{r(8332)("replaceAll")},162:(e,t,r)=>{r(8939);var n=r(7365),s=r(8576),i=r(4696),o=r(8711),a=r(7771),c=r(8182)("toStringTag");for(var l in n){var u=s[l],p=u&&u.prototype;p&&i(p)!==c&&o(p,c,l),a[l]=a.Array}},6174:(e,t,r)=>{var n=r(2604);e.exports=n},7820:(e,t,r)=>{var n=r(3512);e.exports=n},2:(e,t,r)=>{var n=r(2921);e.exports=n},5636:(e,t,r)=>{var n=r(8651);e.exports=n},2285:(e,t,r)=>{var n=r(5008);r(162),e.exports=n},8535:(e,t,r)=>{var n=r(994);r(162),e.exports=n},6042:(e,t,r)=>{var n=r(290);e.exports=n},9515:(e,t,r)=>{var n=r(8761)(r(7772),"DataView");e.exports=n},9612:(e,t,r)=>{var n=r(2118),s=r(6909),i=r(8138),o=r(4174),a=r(7942);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},235:(e,t,r)=>{var n=r(3945),s=r(1846),i=r(8028),o=r(2344),a=r(4769);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},326:(e,t,r)=>{var n=r(8761)(r(7772),"Map");e.exports=n},6738:(e,t,r)=>{var n=r(2411),s=r(6417),i=r(6928),o=r(9493),a=r(4150);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},1985:(e,t,r)=>{var n=r(8761)(r(7772),"Promise");e.exports=n},2143:(e,t,r)=>{var n=r(8761)(r(7772),"Set");e.exports=n},5386:(e,t,r)=>{var n=r(6738),s=r(2842),i=r(2482);function o(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}o.prototype.add=o.prototype.push=s,o.prototype.has=i,e.exports=o},6571:(e,t,r)=>{var n=r(235),s=r(5243),i=r(2858),o=r(4417),a=r(8605),c=r(1418);function l(e){var t=this.__data__=new n(e);this.size=t.size}l.prototype.clear=s,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=c,e.exports=l},857:(e,t,r)=>{var n=r(7772).Symbol;e.exports=n},9162:(e,t,r)=>{var n=r(7772).Uint8Array;e.exports=n},3215:(e,t,r)=>{var n=r(8761)(r(7772),"WeakMap");e.exports=n},7552:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,s=0,i=[];++r<n;){var o=e[r];t(o,r,e)&&(i[s++]=o)}return i}},1634:(e,t,r)=>{var n=r(6473),s=r(9631),i=r(6152),o=r(3226),a=r(9045),c=r(7598),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=i(e),u=!r&&s(e),p=!r&&!u&&o(e),m=!r&&!u&&!p&&c(e),h=r||u||p||m,d=h?n(e.length,String):[],f=d.length;for(var y in e)!t&&!l.call(e,y)||h&&("length"==y||p&&("offset"==y||"parent"==y)||m&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||a(y,f))||d.push(y);return d}},5067:e=>{e.exports=function(e,t){for(var r=-1,n=t.length,s=e.length;++r<n;)e[s+r]=t[r];return e}},7064:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},2218:(e,t,r)=>{var n=r(1225);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},1897:(e,t,r)=>{var n=r(5067),s=r(6152);e.exports=function(e,t,r){var i=t(e);return s(e)?i:n(i,r(e))}},3366:(e,t,r)=>{var n=r(857),s=r(2107),i=r(7157),o=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?s(e):i(e)}},5183:(e,t,r)=>{var n=r(3366),s=r(5125);e.exports=function(e){return s(e)&&"[object Arguments]"==n(e)}},8746:(e,t,r)=>{var n=r(1952),s=r(5125);e.exports=function e(t,r,i,o,a){return t===r||(null==t||null==r||!s(t)&&!s(r)?t!=t&&r!=r:n(t,r,i,o,e,a))}},1952:(e,t,r)=>{var n=r(6571),s=r(4871),i=r(1491),o=r(7416),a=r(940),c=r(6152),l=r(3226),u=r(7598),p="[object Arguments]",m="[object Array]",h="[object Object]",d=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,f,y,g){var _=c(e),b=c(t),v=_?m:a(e),E=b?m:a(t),w=(v=v==p?h:v)==h,x=(E=E==p?h:E)==h,j=v==E;if(j&&l(e)){if(!l(t))return!1;_=!0,w=!1}if(j&&!w)return g||(g=new n),_||u(e)?s(e,t,r,f,y,g):i(e,t,v,r,f,y,g);if(!(1&r)){var O=w&&d.call(e,"__wrapped__"),S=x&&d.call(t,"__wrapped__");if(O||S){var P=O?e.value():e,A=S?t.value():t;return g||(g=new n),y(P,A,r,f,g)}}return!!j&&(g||(g=new n),o(e,t,r,f,y,g))}},6840:(e,t,r)=>{var n=r(1049),s=r(7394),i=r(9259),o=r(7035),a=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,u=c.toString,p=l.hasOwnProperty,m=RegExp("^"+u.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||s(e))&&(n(e)?m:a).test(o(e))}},5522:(e,t,r)=>{var n=r(3366),s=r(1158),i=r(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)&&s(e.length)&&!!o[n(e)]}},6411:(e,t,r)=>{var n=r(6001),s=r(4248),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return s(e);var t=[];for(var r in Object(e))i.call(e,r)&&"constructor"!=r&&t.push(r);return t}},6473:e=>{e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},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,r)=>{var n=r(7772)["__core-js_shared__"];e.exports=n},4871:(e,t,r)=>{var n=r(5386),s=r(7064),i=r(9950);e.exports=function(e,t,r,o,a,c){var l=1&r,u=e.length,p=t.length;if(u!=p&&!(l&&p>u))return!1;var m=c.get(e),h=c.get(t);if(m&&h)return m==t&&h==e;var d=-1,f=!0,y=2&r?new n:void 0;for(c.set(e,t),c.set(t,e);++d<u;){var g=e[d],_=t[d];if(o)var b=l?o(_,g,d,t,e,c):o(g,_,d,e,t,c);if(void 0!==b){if(b)continue;f=!1;break}if(y){if(!s(t,(function(e,t){if(!i(y,t)&&(g===e||a(g,e,r,o,c)))return y.push(t)}))){f=!1;break}}else if(g!==_&&!a(g,_,r,o,c)){f=!1;break}}return c.delete(e),c.delete(t),f}},1491:(e,t,r)=>{var n=r(857),s=r(9162),i=r(1225),o=r(4871),a=r(5179),c=r(4207),l=n?n.prototype:void 0,u=l?l.valueOf:void 0;e.exports=function(e,t,r,n,l,p,m){switch(r){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 s(e),new s(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=a;case"[object Set]":var d=1&n;if(h||(h=c),e.size!=t.size&&!d)return!1;var f=m.get(e);if(f)return f==t;n|=2,m.set(e,t);var y=o(h(e),h(t),n,l,p,m);return m.delete(e),y;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},7416:(e,t,r)=>{var n=r(3483),s=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,i,o,a){var c=1&r,l=n(e),u=l.length;if(u!=n(t).length&&!c)return!1;for(var p=u;p--;){var m=l[p];if(!(c?m in t:s.call(t,m)))return!1}var h=a.get(e),d=a.get(t);if(h&&d)return h==t&&d==e;var f=!0;a.set(e,t),a.set(t,e);for(var y=c;++p<u;){var g=e[m=l[p]],_=t[m];if(i)var b=c?i(_,g,m,t,e,a):i(g,_,m,e,t,a);if(!(void 0===b?g===_||o(g,_,r,i,a):b)){f=!1;break}y||(y="constructor"==m)}if(f&&!y){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||(f=!1)}return a.delete(e),a.delete(t),f}},1242:(e,t,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},3483:(e,t,r)=>{var n=r(1897),s=r(633),i=r(249);e.exports=function(e){return n(e,i,s)}},7937:(e,t,r)=>{var n=r(8304);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},8761:(e,t,r)=>{var n=r(6840),s=r(8109);e.exports=function(e,t){var r=s(e,t);return n(r)?r:void 0}},2107:(e,t,r)=>{var n=r(857),s=Object.prototype,i=s.hasOwnProperty,o=s.toString,a=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),r=e[a];try{e[a]=void 0;var n=!0}catch(e){}var s=o.call(e);return n&&(t?e[a]=r:delete e[a]),s}},633:(e,t,r)=>{var n=r(7552),s=r(981),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,a=o?function(e){return null==e?[]:(e=Object(e),n(o(e),(function(t){return i.call(e,t)})))}:s;e.exports=a},940:(e,t,r)=>{var n=r(9515),s=r(326),i=r(1985),o=r(2143),a=r(3215),c=r(3366),l=r(7035),u="[object Map]",p="[object Promise]",m="[object Set]",h="[object WeakMap]",d="[object DataView]",f=l(n),y=l(s),g=l(i),_=l(o),b=l(a),v=c;(n&&v(new n(new ArrayBuffer(1)))!=d||s&&v(new s)!=u||i&&v(i.resolve())!=p||o&&v(new o)!=m||a&&v(new a)!=h)&&(v=function(e){var t=c(e),r="[object Object]"==t?e.constructor:void 0,n=r?l(r):"";if(n)switch(n){case f:return d;case y:return u;case g:return p;case _:return m;case b:return h}return t}),e.exports=v},8109:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},2118:(e,t,r)=>{var n=r(9191);e.exports=function(){this.__data__=n?n(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,r)=>{var n=r(9191),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return s.call(t,e)?t[e]:void 0}},4174:(e,t,r)=>{var n=r(9191),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:s.call(t,e)}},7942:(e,t,r)=>{var n=r(9191);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},9045:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,r){var n=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<r}},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,r)=>{var n,s=r(4019),i=(n=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!i&&i in e}},6001:e=>{var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},3945:e=>{e.exports=function(){this.__data__=[],this.size=0}},1846:(e,t,r)=>{var n=r(2218),s=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0)&&(r==t.length-1?t.pop():s.call(t,r,1),--this.size,!0)}},8028:(e,t,r)=>{var n=r(2218);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},2344:(e,t,r)=>{var n=r(2218);e.exports=function(e){return n(this.__data__,e)>-1}},4769:(e,t,r)=>{var n=r(2218);e.exports=function(e,t){var r=this.__data__,s=n(r,e);return s<0?(++this.size,r.push([e,t])):r[s][1]=t,this}},2411:(e,t,r)=>{var n=r(9612),s=r(235),i=r(326);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||s),string:new n}}},6417:(e,t,r)=>{var n=r(7937);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},6928:(e,t,r)=>{var n=r(7937);e.exports=function(e){return n(this,e).get(e)}},9493:(e,t,r)=>{var n=r(7937);e.exports=function(e){return n(this,e).has(e)}},4150:(e,t,r)=>{var n=r(7937);e.exports=function(e,t){var r=n(this,e),s=r.size;return r.set(e,t),this.size+=r.size==s?0:1,this}},5179:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}},9191:(e,t,r)=>{var n=r(8761)(Object,"create");e.exports=n},4248:(e,t,r)=>{var n=r(241)(Object.keys,Object);e.exports=n},4146:(e,t,r)=>{e=r.nmd(e);var n=r(1242),s=t&&!t.nodeType&&t,i=s&&e&&!e.nodeType&&e,o=i&&i.exports===s&&n.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(r){return e(t(r))}}},7772:(e,t,r)=>{var n=r(1242),s="object"==typeof self&&self&&self.Object===Object&&self,i=n||s||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,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},5243:(e,t,r)=>{var n=r(235);e.exports=function(){this.__data__=new n,this.size=0}},2858:e=>{e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},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,r)=>{var n=r(235),s=r(326),i=r(6738);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var o=r.__data__;if(!s||o.length<199)return o.push([e,t]),this.size=++r.size,this;r=this.__data__=new i(o)}return r.set(e,t),this.size=r.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,r)=>{var n=r(5183),s=r(5125),i=Object.prototype,o=i.hasOwnProperty,a=i.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(e){return s(e)&&o.call(e,"callee")&&!a.call(e,"callee")};e.exports=c},6152:e=>{var t=Array.isArray;e.exports=t},7878:(e,t,r)=>{var n=r(1049),s=r(1158);e.exports=function(e){return null!=e&&s(e.length)&&!n(e)}},4335:(e,t,r)=>{var n=r(3366),s=r(5125);e.exports=function(e){return!0===e||!1===e||s(e)&&"[object Boolean]"==n(e)}},3226:(e,t,r)=>{e=r.nmd(e);var n=r(7772),s=r(6330),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?n.Buffer:void 0,c=(a?a.isBuffer:void 0)||s;e.exports=c},8149:(e,t,r)=>{var n=r(8746);e.exports=function(e,t){return n(e,t)}},1049:(e,t,r)=>{var n=r(3366),s=r(9259);e.exports=function(e){if(!s(e))return!1;var t=n(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,r)=>{var n=r(3366),s=r(5125);e.exports=function(e){return"number"==typeof e||s(e)&&"[object Number]"==n(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,r)=>{var n=r(3366),s=r(6152),i=r(5125);e.exports=function(e){return"string"==typeof e||!s(e)&&i(e)&&"[object String]"==n(e)}},7598:(e,t,r)=>{var n=r(5522),s=r(7826),i=r(4146),o=i&&i.isTypedArray,a=o?s(o):n;e.exports=a},249:(e,t,r)=>{var n=r(1634),s=r(6411),i=r(7878);e.exports=function(e){return i(e)?n(e):s(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,r)=>{const n=r(1570);function s(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 r=[];return this.forEach((n=>{const s=e.bind(t)(n);s&&r.push(s)})),r}filter(e,t){return e=s(e),new i(this.elements.filter(e,t))}reject(e,t){return e=s(e),new i(this.elements.filter(n(e),t))}find(e,t){return e=s(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,r)=>{const n=r(5877),s=r(5505),i=r(537),o=r(4335),a=r(9259),c=r(2947),l=r(3756);class u{constructor(e){this.elementMap={},this.elementDetection=[],this.Element=l.Element,this.KeyValuePair=l.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",l.NullElement).register("string",l.StringElement).register("number",l.NumberElement).register("boolean",l.BooleanElement).register("array",l.ArrayElement).register("object",l.ObjectElement).register("member",l.MemberElement).register("ref",l.RefElement).register("link",l.LinkElement),this.detect(n,l.NullElement,!1).detect(s,l.StringElement,!1).detect(i,l.NumberElement,!1).detect(o,l.BooleanElement,!1).detect(Array.isArray,l.ArrayElement,!1).detect(a,l.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,r){return void 0===r||r?this.elementDetection.unshift([e,t]):this.elementDetection.push([e,t]),this}toElement(e){if(e instanceof this.Element)return e;let t;for(let r=0;r<this.elementDetection.length;r+=1){const n=this.elementDetection[r][0],s=this.elementDetection[r][1];if(n(e)){t=new s(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=u,e.exports=u},3853:(e,t,r)=>{const n=r(1570),s=r(1178);class i extends s{map(e,t){return this.elements.map((r=>e.bind(t)(r.value,r.key,r)))}filter(e,t){return new i(this.elements.filter((r=>e.bind(t)(r.value,r.key,r))))}reject(e,t){return this.filter(n(e.bind(t)))}forEach(e,t){return this.elements.forEach(((r,n)=>{e.bind(t)(r.value,r.key,r,n)}))}keys(){return this.map(((e,t)=>t.toValue()))}values(){return this.map((e=>e.toValue()))}}e.exports=i},3756:(e,t,r)=>{const n=r(6420),s=r(4152),i=r(9542),o=r(3710),a=r(3312),c=r(1641),l=r(8858),u=r(3860),p=r(5202),m=r(2320),h=r(1178),d=r(3853),f=r(3026);function y(e){if(e instanceof n)return e;if("string"==typeof e)return new i(e);if("number"==typeof e)return new o(e);if("boolean"==typeof e)return new a(e);if(null===e)return new s;if(Array.isArray(e))return new c(e.map(y));if("object"==typeof e){return new u(e)}return e}n.prototype.ObjectElement=u,n.prototype.RefElement=m,n.prototype.MemberElement=l,n.prototype.refract=y,h.prototype.refract=y,e.exports={Element:n,NullElement:s,StringElement:i,NumberElement:o,BooleanElement:a,ArrayElement:c,MemberElement:l,ObjectElement:u,LinkElement:p,RefElement:m,refract:y,ArraySlice:h,ObjectSlice:d,KeyValuePair:f}},5202:(e,t,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e||[],t,r),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,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e||[],t,r),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,r)=>{const n=r(5140),s=r(3756);t.lS=n,r(3026),s.ArraySlice,s.ObjectSlice,t.W_=s.Element,t.RP=s.StringElement,t.VL=s.NumberElement,t.hh=s.BooleanElement,t.zr=s.NullElement,t.ON=s.ArrayElement,t.Sb=s.ObjectElement,t.c6=s.MemberElement,t.tK=s.RefElement,t.EA=s.LinkElement,t.Qc=s.refract,r(2947),r(8910)},1641:(e,t,r)=>{const n=r(1570),s=r(6420),i=r(1178);class o extends s{constructor(e,t,r){super(e||[],t,r),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 r=[];return this.forEach((n=>{const s=e.bind(t)(n);s&&r.push(s)})),r}filter(e,t){return new i(this.content.filter(e,t))}reject(e,t){return this.filter(n(e),t)}reduce(e,t){let r,n;void 0!==t?(r=0,n=this.refract(t)):(r=1,n="object"===this.primitive()?this.first.value:this.first);for(let t=r;t<this.length;t+=1){const r=this.content[t];n="object"===this.primitive()?this.refract(e(n,r.value,r.key,r,this)):this.refract(e(n,r,t,this))}return n}forEach(e,t){this.content.forEach(((r,n)=>{e.bind(t)(r,this.refract(n))}))}shift(){return this.content.shift()}unshift(e){this.content.unshift(this.refract(e))}push(e){return this.content.push(this.refract(e)),this}add(e){this.push(e)}findElements(e,t){const r=t||{},n=!!r.recursive,s=void 0===r.results?[]:r.results;return this.forEach(((t,r,i)=>{n&&void 0!==t.findElements&&t.findElements(e,{results:s,recursive:n}),e(t,r,i)&&s.push(t)})),s}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,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e,t,r),this.element="boolean"}primitive(){return"boolean"}}},6420:(e,t,r)=>{const n=r(8149),s=r(3026),i=r(1178);class o{constructor(e,t,r){t&&(this.meta=t),r&&(this.attributes=r),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 s?{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 r=new i;const n=(e,t)=>(e.push(t),e),o=(e,r)=>{r.element===t&&e.push(r);const i=r.findRecursive(t);return i&&i.reduce(n,e),r.content instanceof s&&(r.content.key&&o(e,r.content.key),r.content.value&&o(e,r.content.value)),e};return this.content&&(this.content.element&&o(r,this.content),Array.isArray(this.content)&&this.content.reduce(o,r)),e.isEmpty||(r=r.filter((t=>{let r=t.parents.map((e=>e.element));for(const t in e){const n=e[t],s=r.indexOf(n);if(-1===s)return!1;r=r.splice(0,s)}return!0}))),r}set(e){return this.content=e,this}equals(e){return n(this.toValue(),e)}getMetaProperty(e,t){if(!this.meta.hasKey(e)){if(this.isFrozen){const e=this.refract(t);return e.freeze(),e}this.meta.set(e,t)}return this.meta.get(e)}setMetaProperty(e,t){this.meta.set(e,t)}get element(){return this._storedElement||"element"}set element(e){this._storedElement=e}get content(){return this._content}set content(e){if(e instanceof o)this._content=e;else if(e instanceof i)this.content=e.elements;else if("string"==typeof e||"number"==typeof e||"boolean"==typeof e||"null"===e||null==e)this._content=e;else if(e instanceof s)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 s){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,r)=>{const n=r(3026),s=r(6420);e.exports=class extends s{constructor(e,t,r,s){super(new n,r,s),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,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e||null,t,r),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},3710:(e,t,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e,t,r),this.element="number"}primitive(){return"number"}}},3860:(e,t,r)=>{const n=r(1570),s=r(9259),i=r(1641),o=r(8858),a=r(3853);e.exports=class extends i{constructor(e,t,r){super(e||[],t,r),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((r=>r.key.toValue()!==e||(t=r,!1))),t}getKey(e){const t=this.getMember(e);if(t)return t.key}set(e,t){if(s(e))return Object.keys(e).forEach((t=>{this.set(t,e[t])})),this;const r=e,n=this.getMember(r);return n?n.value=t:this.content.push(new o(r,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((r=>e.bind(t)(r.value,r.key,r)))}compactMap(e,t){const r=[];return this.forEach(((n,s,i)=>{const o=e.bind(t)(n,s,i);o&&r.push(o)})),r}filter(e,t){return new a(this.content).filter(e,t)}reject(e,t){return this.filter(n(e),t)}forEach(e,t){return this.content.forEach((r=>e.bind(t)(r.value,r.key,r)))}}},9542:(e,t,r)=>{const n=r(6420);e.exports=class extends n{constructor(e,t,r){super(e,t,r),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},8910:(e,t,r)=>{const n=r(2947);e.exports=class extends n{serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);let t;e._attributes&&e.attributes.get("variable")&&(t=e.attributes.get("variable"));const r={element:e.element};e._meta&&e._meta.length>0&&(r.meta=this.serialiseObject(e.meta));const n="enum"===e.element||-1!==e.attributes.keys().indexOf("enumerations");if(n){const t=this.enumSerialiseAttributes(e);t&&(r.attributes=t)}else if(e._attributes&&e._attributes.length>0){let{attributes:n}=e;n.get("metadata")&&(n=n.clone(),n.set("meta",n.get("metadata")),n.remove("metadata")),"member"===e.element&&t&&(n=n.clone(),n.remove("variable")),n.length>0&&(r.attributes=this.serialiseObject(n))}if(n)r.content=this.enumSerialiseContent(e,r);else if(this[`${e.element}SerialiseContent`])r.content=this[`${e.element}SerialiseContent`](e,r);else if(void 0!==e.content){let n;t&&e.content.key?(n=e.content.clone(),n.key.attributes.set("variable",t),n=this.serialiseContent(n)):n=this.serialiseContent(e.content),this.shouldSerialiseContent(e,n)&&(r.content=n)}else this.shouldSerialiseContent(e,e.content)&&e instanceof this.namespace.elements.Array&&(r.content=[]);return r}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(),r=t.remove("enumerations")||new this.namespace.elements.Array([]),n=t.get("default");let s=t.get("samples")||new this.namespace.elements.Array([]);if(n&&n.content&&(n.content.attributes&&n.content.attributes.remove("typeAttributes"),t.set("default",new this.namespace.elements.Array([n.content]))),s.forEach((e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")})),e.content&&0!==r.length&&s.unshift(e.content),s=s.map((e=>e instanceof this.namespace.elements.Array?[e]:new this.namespace.elements.Array([e.content]))),s.length&&t.set("samples",s),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),r=new t;r.element!==e.element&&(r.element=e.element),e.meta&&this.deserialiseObject(e.meta,r.meta),e.attributes&&this.deserialiseObject(e.attributes,r.attributes);const n=this.deserialiseContent(e.content);if(void 0===n&&null!==r.content||(r.content=n),"enum"===r.element){r.content&&r.attributes.set("enumerations",r.content);let e=r.attributes.get("samples");if(r.attributes.remove("samples"),e){const n=e;e=new this.namespace.elements.Array,n.forEach((n=>{n.forEach((n=>{const s=new t(n);s.element=r.element,e.push(s)}))}));const s=e.shift();r.content=s?s.content:void 0,r.attributes.set("samples",e)}else r.content=void 0;let n=r.attributes.get("default");if(n&&n.length>0){n=n.get(0);const e=new t(n);e.element=r.element,r.attributes.set("default",e)}}else if("dataStructure"===r.element&&Array.isArray(r.content))[r.content]=r.content;else if("category"===r.element){const e=r.attributes.get("meta");e&&(r.attributes.set("metadata",e),r.attributes.remove("meta"))}else"member"===r.element&&r.key&&r.key._attributes&&r.key._attributes.getValue("variable")&&(r.attributes.set("variable",r.key.attributes.get("variable")),r.key.attributes.remove("variable"));return r}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,r)=>{if(e){const n=r.toValue();t[n]=this.convertKeyToRefract(n,e)}})),t}deserialiseObject(e,t){Object.keys(e).forEach((r=>{t.set(r,this.deserialise(e[r]))}))}}},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 r=this.serialiseContent(e.content);return void 0!==r&&(t.content=r),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 r=this.deserialiseContent(e.content);return void 0===r&&null!==t.content||(t.content=r),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,r)=>{e&&(t[r.toValue()]=this.serialise(e))})),0!==Object.keys(t).length)return t}deserialiseObject(e,t){Object.keys(e).forEach((r=>{t.set(r,this.deserialise(e[r]))}))}}},6591:e=>{!function(){"use strict";var t,r,n,s,i,o="properties",a="deepProperties",c="propertyDescriptors",l="staticProperties",u="staticDeepProperties",p="staticPropertyDescriptors",m="configuration",h="deepConfiguration",d="deepProps",f="deepStatics",y="deepConf",g="initializers",_="methods",b="composers",v="compose";function E(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[])}function w(e,t){return Array.prototype.slice.call(arguments,2).reduce(e,t)}var x=w.bind(0,(function(e,t){if(t)for(var r=E(t),n=0;n<r.length;n+=1)Object.defineProperty(e,r[n],Object.getOwnPropertyDescriptor(t,r[n]));return e}));function j(e){return"function"==typeof e}function O(e){return e&&"object"==typeof e||j(e)}function S(e){return e&&"object"==typeof e&&e.__proto__==Object.prototype}var P=w.bind(0,(function e(r,n){if(n===t)return r;if(Array.isArray(n))return(Array.isArray(r)?r:[]).concat(n);if(!S(n))return n;for(var s,i,o=E(n),a=0;a<o.length;)s=o[a++],(i=Object.getOwnPropertyDescriptor(n,s)).hasOwnProperty("value")?i.value!==t&&(r[s]=e(S(r[s])||Array.isArray(n[s])?r[s]:{},n[s])):Object.defineProperty(r,s,i);return r}));function A(){return(r=Array.prototype.concat.apply([],arguments).filter((function(e,t,r){return j(e)&&r.indexOf(e)===t}))).length?r:t}function F(e,t){function n(r,n){O(t[r])&&(O(e[r])||(e[r]={}),(n||x)(e[r],t[r]))}function s(n){(r=A(e[n],t[n]))&&(e[n]=r)}return t&&O(t=t[v]||t)&&(n(_),n(o),n(a,P),n(c),n(l),n(u,P),n(p),n(m),n(h,P),s(g),s(b)),e}function $(){return function(e){return r=function e(r){var n,s,i=e[v]||{},l={__proto__:i[_]},u=i[g],p=Array.prototype.slice.apply(arguments),m=i[a];if(m&&P(l,m),(m=i[o])&&x(l,m),(m=i[c])&&Object.defineProperties(l,m),!u||!u.length)return l;for(r===t&&(r={}),i=0;i<u.length;)j(n=u[i++])&&(l=(s=n.call(l,r,{instance:l,stamp:e,args:p}))===t?l:s);return l},(n=e[u])&&P(r,n),(n=e[l])&&x(r,n),(n=e[p])&&Object.defineProperties(r,n),n=j(r[v])?r[v]:$,x(r[v]=function(){return n.apply(this,arguments)},e),r}(Array.prototype.concat.apply([this],arguments).reduce(F,{}))}function k(e){return j(e)&&j(e[v])}var I={};function M(e,i){return function(){return(s={})[e]=i.apply(t,Array.prototype.concat.apply([{}],arguments)),((r=this)&&r[v]||n).call(r,s)}}I[_]=M(_,x),I[o]=I.props=M(o,x),I[g]=I.init=M(g,A),I[b]=M(b,A),I[a]=I[d]=M(a,P),I[l]=I.statics=M(l,x),I[u]=I[f]=M(u,P),I[m]=I.conf=M(m,x),I[h]=I[y]=M(h,P),I[c]=M(c,x),I[p]=M(p,x),n=I[v]=x((function(){for(var e,E,w=0,j=[],S=arguments,F=this;w<S.length;)O(e=S[w++])&&j.push(k(e)?e:((s={})[_]=(E=e)[_]||t,n=E.props,s[o]=O((r=E[o])||n)?x({},n,r):t,s[g]=A(E.init,E[g]),s[b]=A(E[b]),n=E[d],s[a]=O((r=E[a])||n)?P({},n,r):t,s[c]=E[c],n=E.statics,s[l]=O((r=E[l])||n)?x({},n,r):t,n=E[f],s[u]=O((r=E[u])||n)?P({},n,r):t,r=E[p],s[p]=O((n=E.name&&{name:{value:E.name}})||r)?x({},r,n):t,n=E.conf,s[m]=O((r=E[m])||n)?x({},n,r):t,n=E[y],s[h]=O((r=E[h])||n)?P({},n,r):t,s));if(e=$.apply(F||i,j),F&&j.unshift(F),Array.isArray(S=e[v][b]))for(w=0;w<S.length;)e=k(F=S[w++]({stamp:e,composables:j}))?F:e;return e}),I),I.create=function(){return this.apply(t,arguments)},(s={})[l]=I,i=$(s),n[v]=n.bind(),n.version="4.3.2","object"!=typeof t?e.exports=n:self.stampit=n}()},2396:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.MalformedUnicode="MALFORMED_UNICODE",e.MalformedHexadecimal="MALFORMED_HEXADECIMAL",e.CodePointLimit="CODE_POINT_LIMIT",e.OctalDeprecation="OCTAL_DEPRECATION",e.EndOfString="END_OF_STRING"}(r=t.ErrorType||(t.ErrorType={})),t.errorMessages=new Map([[r.MalformedUnicode,"malformed Unicode character escape sequence"],[r.MalformedHexadecimal,"malformed hexadecimal character escape sequence"],[r.CodePointLimit,"Unicode codepoint must not be greater than 0x10FFFF in escape sequence"],[r.OctalDeprecation,'"0"-prefixed octal literals and octal escape sequences are deprecated; for octal literals use the "0o" prefix instead'],[r.EndOfString,"malformed escape sequence at end of string"]])},2770:(e,t,r)=>{"use strict";const n=r(2396);function s(e,t,r){const s=function(e){return e.match(/[^a-f0-9]/i)?NaN:parseInt(e,16)}(e);if(Number.isNaN(s)||void 0!==r&&r!==e.length)throw new SyntaxError(n.errorMessages.get(t));return s}function i(e,t){const r=s(e,n.ErrorType.MalformedUnicode,4);if(void 0!==t){const e=s(t,n.ErrorType.MalformedUnicode,4);return String.fromCharCode(r,e)}return String.fromCharCode(r)}n.ErrorType,n.errorMessages;const o=new Map([["b","\b"],["f","\f"],["n","\n"],["r","\r"],["t","\t"],["v","\v"],["0","\0"]]);const a=/\\(?:(\\)|x([\s\S]{0,2})|u(\{[^}]*\}?)|u([\s\S]{4})\\u([^{][\s\S]{0,3})|u([\s\S]{0,4})|([0-3]?[0-7]{1,2})|([\s\S])|$)/g;function c(e,t=!1){return e.replace(a,(function(e,r,a,c,l,u,p,m,h){if(void 0!==r)return"\\";if(void 0!==a)return function(e){const t=s(e,n.ErrorType.MalformedHexadecimal,2);return String.fromCharCode(t)}(a);if(void 0!==c)return function(e){if("{"!==(t=e).charAt(0)||"}"!==t.charAt(t.length-1))throw new SyntaxError(n.errorMessages.get(n.ErrorType.MalformedUnicode));var t;const r=s(e.slice(1,-1),n.ErrorType.MalformedUnicode);try{return String.fromCodePoint(r)}catch(e){throw e instanceof RangeError?new SyntaxError(n.errorMessages.get(n.ErrorType.CodePointLimit)):e}}(c);if(void 0!==l)return i(l,u);if(void 0!==p)return i(p);if("0"===m)return"\0";if(void 0!==m)return function(e,t=!1){if(t)throw new SyntaxError(n.errorMessages.get(n.ErrorType.OctalDeprecation));const r=parseInt(e,8);return String.fromCharCode(r)}(m,!t);if(void 0!==h)return d=h,o.get(d)||d;var d;throw new SyntaxError(n.errorMessages.get(n.ErrorType.EndOfString))}))}t.S6=c},9794:(e,t,r)=>{var n=void 0!==n?n:{},s=function(){var t,s="object"==typeof window?{currentScript:window.document.currentScript}:null;class i{constructor(){this.initialize()}initialize(){throw new Error("cannot construct a Parser before calling `init()`")}static init(o){return t||(n=Object.assign({},n,o),t=new Promise((t=>{var o,a={};for(o in n)n.hasOwnProperty(o)&&(a[o]=n[o]);var c,l,u,p,m=[],h="./this.program",d=function(e,t){throw t};u="object"==typeof window,p="function"==typeof importScripts,c="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,l=!u&&!c&&!p;var f,y,g,_,b,v="";c?(v=p?r(6287).dirname(v)+"/":"//",f=function(e,t){return _||(_=r(5530)),b||(b=r(6287)),e=b.normalize(e),_.readFileSync(e,t?null:"utf8")},g=function(e){var t=f(e,!0);return t.buffer||(t=new Uint8Array(t)),M(t.buffer),t},process.argv.length>1&&(h=process.argv[1].replace(/\\/g,"/")),m=process.argv.slice(2),e.exports=n,d=function(e){process.exit(e)},n.inspect=function(){return"[Emscripten Module object]"}):l?("undefined"!=typeof read&&(f=function(e){return read(e)}),g=function(e){var t;return"function"==typeof readbuffer?new Uint8Array(readbuffer(e)):(M("object"==typeof(t=read(e,"binary"))),t)},"undefined"!=typeof scriptArgs?m=scriptArgs:void 0!==arguments&&(m=arguments),"function"==typeof quit&&(d=function(e){quit(e)}),"undefined"!=typeof print&&("undefined"==typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!=typeof printErr?printErr:print)):(u||p)&&(p?v=self.location.href:void 0!==s&&s.currentScript&&(v=s.currentScript.src),v=0!==v.indexOf("blob:")?v.substr(0,v.lastIndexOf("/")+1):"",f=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},p&&(g=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),y=function(e,t,r){var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="arraybuffer",n.onload=function(){200==n.status||0==n.status&&n.response?t(n.response):r()},n.onerror=r,n.send(null)}),n.print||console.log.bind(console);var E=n.printErr||console.warn.bind(console);for(o in a)a.hasOwnProperty(o)&&(n[o]=a[o]);a=null,n.arguments&&(m=n.arguments),n.thisProgram&&(h=n.thisProgram),n.quit&&(d=n.quit);var w,x=16,j=[];function O(e,t){if(!w){w=new WeakMap;for(var r=0;r<Z.length;r++){var n=Z.get(r);n&&w.set(n,r)}}if(w.has(e))return w.get(e);var s=function(){if(j.length)return j.pop();try{Z.grow(1)}catch(e){if(!(e instanceof RangeError))throw e;throw"Unable to grow wasm table. Set ALLOW_TABLE_GROWTH."}return Z.length-1}();try{Z.set(s,e)}catch(r){if(!(r instanceof TypeError))throw r;var i=function(e,t){if("function"==typeof WebAssembly.Function){for(var r={i:"i32",j:"i64",f:"f32",d:"f64"},n={parameters:[],results:"v"==t[0]?[]:[r[t[0]]]},s=1;s<t.length;++s)n.parameters.push(r[t[s]]);return new WebAssembly.Function(n,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),s=0;s<a.length;++s)i.push(c[a[s]]);"v"==o?i.push(0):i=i.concat([1,c[o]]),i[1]=i.length-2;var l=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])),u=new WebAssembly.Module(l);return new WebAssembly.Instance(u,{e:{f:e}}).exports.f}(e,t);Z.set(s,i)}return w.set(e,s),s}var S,P=n.dynamicLibraries||[];n.wasmBinary&&(S=n.wasmBinary);var A,F=n.noExitRuntime||!0;function $(e,t,r,n){switch("*"===(r=r||"i8").charAt(r.length-1)&&(r="i32"),r){case"i1":case"i8":T[e>>0]=t;break;case"i16":C[e>>1]=t;break;case"i32":q[e>>2]=t;break;case"i64":ue=[t>>>0,(le=t,+Math.abs(le)>=1?le>0?(0|Math.min(+Math.floor(le/4294967296),4294967295))>>>0:~~+Math.ceil((le-+(~~le>>>0))/4294967296)>>>0:0)],q[e>>2]=ue[0],q[e+4>>2]=ue[1];break;case"float":D[e>>2]=t;break;case"double":L[e>>3]=t;break;default:ae("invalid type for setValue: "+r)}}function k(e,t,r){switch("*"===(t=t||"i8").charAt(t.length-1)&&(t="i32"),t){case"i1":case"i8":return T[e>>0];case"i16":return C[e>>1];case"i32":case"i64":return q[e>>2];case"float":return D[e>>2];case"double":return L[e>>3];default:ae("invalid type for getValue: "+t)}return null}"object"!=typeof WebAssembly&&ae("no native wasm support detected");var I=!1;function M(e,t){e||ae("Assertion failed: "+t)}var R,T,N,C,q,D,L,B="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function V(e,t,r){for(var n=t+r,s=t;e[s]&&!(s>=n);)++s;if(s-t>16&&e.subarray&&B)return B.decode(e.subarray(t,s));for(var i="";t<s;){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 l=o-65536;i+=String.fromCharCode(55296|l>>10,56320|1023&l)}}else i+=String.fromCharCode((31&o)<<6|a)}else i+=String.fromCharCode(o)}return i}function U(e,t){return e?V(N,e,t):""}function z(e,t,r,n){if(!(n>0))return 0;for(var s=r,i=r+n-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(r>=i)break;t[r++]=a}else if(a<=2047){if(r+1>=i)break;t[r++]=192|a>>6,t[r++]=128|63&a}else if(a<=65535){if(r+2>=i)break;t[r++]=224|a>>12,t[r++]=128|a>>6&63,t[r++]=128|63&a}else{if(r+3>=i)break;t[r++]=240|a>>18,t[r++]=128|a>>12&63,t[r++]=128|a>>6&63,t[r++]=128|63&a}}return t[r]=0,r-s}function G(e,t,r){return z(e,N,t,r)}function W(e){for(var t=0,r=0;r<e.length;++r){var n=e.charCodeAt(r);n>=55296&&n<=57343&&(n=65536+((1023&n)<<10)|1023&e.charCodeAt(++r)),n<=127?++t:t+=n<=2047?2:n<=65535?3:4}return t}function H(e){var t=W(e)+1,r=Ue(t);return z(e,T,r,t),r}function J(e){R=e,n.HEAP8=T=new Int8Array(e),n.HEAP16=C=new Int16Array(e),n.HEAP32=q=new Int32Array(e),n.HEAPU8=N=new Uint8Array(e),n.HEAPU16=new Uint16Array(e),n.HEAPU32=new Uint32Array(e),n.HEAPF32=D=new Float32Array(e),n.HEAPF64=L=new Float64Array(e)}var K=n.INITIAL_MEMORY||33554432;(A=n.wasmMemory?n.wasmMemory:new WebAssembly.Memory({initial:K/65536,maximum:32768}))&&(R=A.buffer),K=R.byteLength,J(R);var Z=new WebAssembly.Table({initial:17,element:"anyfunc"}),X=[],Q=[],Y=[],ee=[],te=!1,re=0,ne=null,se=null;function ie(e){re++,n.monitorRunDependencies&&n.monitorRunDependencies(re)}function oe(e){if(re--,n.monitorRunDependencies&&n.monitorRunDependencies(re),0==re&&(null!==ne&&(clearInterval(ne),ne=null),se)){var t=se;se=null,t()}}function ae(e){throw n.onAbort&&n.onAbort(e),E(e+=""),I=!0,e="abort("+e+"). Build with -s ASSERTIONS=1 for more info.",new WebAssembly.RuntimeError(e)}n.preloadedImages={},n.preloadedAudios={},n.preloadedWasm={};var ce,le,ue;function pe(e){return e.startsWith("data:application/octet-stream;base64,")}function me(e){return e.startsWith("file://")}function he(e){try{if(e==ce&&S)return new Uint8Array(S);if(g)return g(e);throw"both async and sync fetching of the wasm failed"}catch(e){ae(e)}}pe(ce="tree-sitter.wasm")||(ce=function(e){return n.locateFile?n.locateFile(e,v):v+e}(ce));var de={},fe={get:function(e,t){return de[t]||(de[t]=new WebAssembly.Global({value:"i32",mutable:!0})),de[t]}};function ye(e){for(;e.length>0;){var t=e.shift();if("function"!=typeof t){var r=t.func;"number"==typeof r?void 0===t.arg?Z.get(r)():Z.get(r)(t.arg):r(void 0===t.arg?null:t.arg)}else t(n)}}function ge(e){var t=0;function r(){for(var r=0,n=1;;){var s=e[t++];if(r+=(127&s)*n,n*=128,!(128&s))break}return r}if(e instanceof WebAssembly.Module){var n=WebAssembly.Module.customSections(e,"dylink");M(0!=n.length,"need dylink section"),e=new Int8Array(n[0])}else M(1836278016==new Uint32Array(new Uint8Array(e.subarray(0,24)).buffer)[0],"need to see wasm magic number"),M(0===e[8],"need the dylink section to be first"),t=9,r(),M(6===e[t]),M(e[++t]==="d".charCodeAt(0)),M(e[++t]==="y".charCodeAt(0)),M(e[++t]==="l".charCodeAt(0)),M(e[++t]==="i".charCodeAt(0)),M(e[++t]==="n".charCodeAt(0)),M(e[++t]==="k".charCodeAt(0)),t++;var s={};s.memorySize=r(),s.memoryAlign=r(),s.tableSize=r(),s.tableAlign=r();var i=r();s.neededDynlibs=[];for(var o=0;o<i;++o){var a=r(),c=e.subarray(t,t+a);t+=a;var l=V(c,0);s.neededDynlibs.push(l)}return s}var _e=0;function be(){return F||_e>0}function ve(e){return 0==e.indexOf("dynCall_")||["stackAlloc","stackSave","stackRestore"].includes(e)?e:"_"+e}function Ee(e,t){for(var r in e)if(e.hasOwnProperty(r)){qe.hasOwnProperty(r)||(qe[r]=e[r]);var s=ve(r);n.hasOwnProperty(s)||(n[s]=e[r])}}var we={nextHandle:1,loadedLibs:{},loadedLibNames:{}};var xe=5250880;function je(e){return["__cpp_exception","__wasm_apply_data_relocs","__dso_handle","__set_stack_limits"].includes(e)}function Oe(e,t){var r={};for(var n in e){var s=e[n];"object"==typeof s&&(s=s.value),"number"==typeof s&&(s+=t),r[n]=s}return function(e){for(var t in e)if(!je(t)){var r=!1,n=e[t];t.startsWith("orig$")&&(t=t.split("$")[1],r=!0),de[t]||(de[t]=new WebAssembly.Global({value:"i32",mutable:!0})),(r||0==de[t].value)&&("function"==typeof n?de[t].value=O(n):"number"==typeof n?de[t].value=n:E("unhandled export type for `"+t+"`: "+typeof n))}}(r),r}function Se(e,t){var r,s;return t&&(r=qe["orig$"+e]),r||(r=qe[e]),r||(r=n[ve(e)]),!r&&e.startsWith("invoke_")&&(s=e.split("_")[1],r=function(){var e=Be();try{return function(e,t,r){return e.includes("j")?function(e,t,r){var s=n["dynCall_"+e];return r&&r.length?s.apply(null,[t].concat(r)):s.call(null,t)}(e,t,r):Z.get(t).apply(null,r)}(s,arguments[0],Array.prototype.slice.call(arguments,1))}catch(t){if(Ve(e),t!==t+0&&"longjmp"!==t)throw t;ze(1,0)}}),r}function Pe(e,t){var r=ge(e);function n(){var n=Math.pow(2,r.memoryAlign);n=Math.max(n,x);var s,i,o,a=(s=function(e){if(te)return De(e);var t=xe,r=t+e+15&-16;return xe=r,de.__heap_base.value=r,t}(r.memorySize+n),(i=n)||(i=x),Math.ceil(s/i)*i),c=Z.length;Z.grow(r.tableSize);for(var l=a;l<a+r.memorySize;l++)T[l]=0;for(l=c;l<c+r.tableSize;l++)Z.set(l,null);var u=new Proxy({},{get:function(e,t){switch(t){case"__memory_base":return a;case"__table_base":return c}return t in qe?qe[t]:(t in e||(e[t]=function(){return r||(r=function(e){var t=Se(e,!1);return t||(t=o[e]),t}(t)),r.apply(null,arguments)}),e[t]);var r}}),p={"GOT.mem":new Proxy({},fe),"GOT.func":new Proxy({},fe),env:u,wasi_snapshot_preview1:u};function m(e){for(var n=0;n<r.tableSize;n++){var s=Z.get(c+n);s&&w.set(s,c+n)}o=Oe(e.exports,a),t.allowUndefined||Fe();var i=o.__wasm_call_ctors;return i||(i=o.__post_instantiate),i&&(te?i():Q.push(i)),o}if(t.loadAsync){if(e instanceof WebAssembly.Module){var h=new WebAssembly.Instance(e,p);return Promise.resolve(m(h))}return WebAssembly.instantiate(e,p).then((function(e){return m(e.instance)}))}var d=e instanceof WebAssembly.Module?e:new WebAssembly.Module(e);return m(h=new WebAssembly.Instance(d,p))}return t.loadAsync?r.neededDynlibs.reduce((function(e,r){return e.then((function(){return Ae(r,t)}))}),Promise.resolve()).then((function(){return n()})):(r.neededDynlibs.forEach((function(e){Ae(e,t)})),n())}function Ae(e,t){"__main__"!=e||we.loadedLibNames[e]||(we.loadedLibs[-1]={refcount:1/0,name:"__main__",module:n.asm,global:!0},we.loadedLibNames.__main__=-1),t=t||{global:!0,nodelete:!0};var r,s=we.loadedLibNames[e];if(s)return r=we.loadedLibs[s],t.global&&!r.global&&(r.global=!0,"loading"!==r.module&&Ee(r.module)),t.nodelete&&r.refcount!==1/0&&(r.refcount=1/0),r.refcount++,t.loadAsync?Promise.resolve(s):s;function i(e){if(t.fs){var r=t.fs.readFile(e,{encoding:"binary"});return r instanceof Uint8Array||(r=new Uint8Array(r)),t.loadAsync?Promise.resolve(r):r}return t.loadAsync?(n=e,fetch(n,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load binary file at '"+n+"'";return e.arrayBuffer()})).then((function(e){return new Uint8Array(e)}))):g(e);var n}function o(){if(void 0!==n.preloadedWasm&&void 0!==n.preloadedWasm[e]){var r=n.preloadedWasm[e];return t.loadAsync?Promise.resolve(r):r}return t.loadAsync?i(e).then((function(e){return Pe(e,t)})):Pe(i(e),t)}function a(e){r.global&&Ee(e),r.module=e}return s=we.nextHandle++,r={refcount:t.nodelete?1/0:1,name:e,module:"loading",global:t.global},we.loadedLibNames[e]=s,we.loadedLibs[s]=r,t.loadAsync?o().then((function(e){return a(e),s})):(a(o()),s)}function Fe(){for(var e in de)if(0==de[e].value){var t=Se(e,!0);"function"==typeof t?de[e].value=O(t,t.sig):"number"==typeof t?de[e].value=t:M(!1,"bad export type for `"+e+"`: "+typeof t)}}n.___heap_base=xe;var $e,ke=new WebAssembly.Global({value:"i32",mutable:!0},5250880);function Ie(){ae()}n._abort=Ie,Ie.sig="v",$e=c?function(){var e=process.hrtime();return 1e3*e[0]+e[1]/1e6}:"undefined"!=typeof dateNow?dateNow:function(){return performance.now()};function Me(e,t){var r;if(0===e)r=Date.now();else{if(1!==e&&4!==e)return 28,q[Le()>>2]=28,-1;r=$e()}return q[t>>2]=r/1e3|0,q[t+4>>2]=r%1e3*1e3*1e3|0,0}function Re(e){try{return A.grow(e-R.byteLength+65535>>>16),J(A.buffer),1}catch(e){}}function Te(e){Je(e)}function Ne(e){}Me.sig="iii",Te.sig="vi",Ne.sig="vi";var Ce,qe={__heap_base:xe,__indirect_function_table:Z,__memory_base:1024,__stack_pointer:ke,__table_base:1,abort:Ie,clock_gettime:Me,emscripten_memcpy_big:function(e,t,r){N.copyWithin(e,t,t+r)},emscripten_resize_heap:function(e){var t,r=N.length;if((e>>>=0)>2147483648)return!1;for(var n=1;n<=4;n*=2){var s=r*(1+.2/n);if(s=Math.min(s,e+100663296),Re(Math.min(2147483648,((t=Math.max(e,s))%65536>0&&(t+=65536-t%65536),t))))return!0}return!1},exit:Te,memory:A,setTempRet0:Ne,tree_sitter_log_callback:function(e,t){if(lt){const r=U(t);lt(r,0!==e)}},tree_sitter_parse_callback:function(e,t,r,n,s){var i=ct(t,{row:r,column:n});"string"==typeof i?($(s,i.length,"i32"),function(e,t,r){if(void 0===r&&(r=2147483647),r<2)return 0;for(var n=(r-=2)<2*e.length?r/2:e.length,s=0;s<n;++s){var i=e.charCodeAt(s);C[t>>1]=i,t+=2}C[t>>1]=0}(i,e,10240)):$(s,0,"i32")}},De=(function(){var e={env:qe,wasi_snapshot_preview1:qe,"GOT.mem":new Proxy(qe,fe),"GOT.func":new Proxy(qe,fe)};function t(e,t){var r=e.exports;r=Oe(r,1024),n.asm=r;var s,i=ge(t);i.neededDynlibs&&(P=i.neededDynlibs.concat(P)),Ee(r),s=n.asm.__wasm_call_ctors,Q.unshift(s),oe()}function r(e){t(e.instance,e.module)}function s(t){return function(){if(!S&&(u||p)){if("function"==typeof fetch&&!me(ce))return fetch(ce,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load wasm binary file at '"+ce+"'";return e.arrayBuffer()})).catch((function(){return he(ce)}));if(y)return new Promise((function(e,t){y(ce,(function(t){e(new Uint8Array(t))}),t)}))}return Promise.resolve().then((function(){return he(ce)}))}().then((function(t){return WebAssembly.instantiate(t,e)})).then(t,(function(e){E("failed to asynchronously prepare wasm: "+e),ae(e)}))}if(ie(),n.instantiateWasm)try{return n.instantiateWasm(e,t)}catch(e){return E("Module.instantiateWasm callback failed with error: "+e),!1}S||"function"!=typeof WebAssembly.instantiateStreaming||pe(ce)||me(ce)||"function"!=typeof fetch?s(r):fetch(ce,{credentials:"same-origin"}).then((function(t){return WebAssembly.instantiateStreaming(t,e).then(r,(function(e){return E("wasm streaming compile failed: "+e),E("falling back to ArrayBuffer instantiation"),s(r)}))}))}(),n.___wasm_call_ctors=function(){return(n.___wasm_call_ctors=n.asm.__wasm_call_ctors).apply(null,arguments)},n._malloc=function(){return(De=n._malloc=n.asm.malloc).apply(null,arguments)}),Le=(n._calloc=function(){return(n._calloc=n.asm.calloc).apply(null,arguments)},n._realloc=function(){return(n._realloc=n.asm.realloc).apply(null,arguments)},n._free=function(){return(n._free=n.asm.free).apply(null,arguments)},n._ts_language_symbol_count=function(){return(n._ts_language_symbol_count=n.asm.ts_language_symbol_count).apply(null,arguments)},n._ts_language_version=function(){return(n._ts_language_version=n.asm.ts_language_version).apply(null,arguments)},n._ts_language_field_count=function(){return(n._ts_language_field_count=n.asm.ts_language_field_count).apply(null,arguments)},n._ts_language_symbol_name=function(){return(n._ts_language_symbol_name=n.asm.ts_language_symbol_name).apply(null,arguments)},n._ts_language_symbol_for_name=function(){return(n._ts_language_symbol_for_name=n.asm.ts_language_symbol_for_name).apply(null,arguments)},n._ts_language_symbol_type=function(){return(n._ts_language_symbol_type=n.asm.ts_language_symbol_type).apply(null,arguments)},n._ts_language_field_name_for_id=function(){return(n._ts_language_field_name_for_id=n.asm.ts_language_field_name_for_id).apply(null,arguments)},n._memcpy=function(){return(n._memcpy=n.asm.memcpy).apply(null,arguments)},n._ts_parser_delete=function(){return(n._ts_parser_delete=n.asm.ts_parser_delete).apply(null,arguments)},n._ts_parser_reset=function(){return(n._ts_parser_reset=n.asm.ts_parser_reset).apply(null,arguments)},n._ts_parser_set_language=function(){return(n._ts_parser_set_language=n.asm.ts_parser_set_language).apply(null,arguments)},n._ts_parser_timeout_micros=function(){return(n._ts_parser_timeout_micros=n.asm.ts_parser_timeout_micros).apply(null,arguments)},n._ts_parser_set_timeout_micros=function(){return(n._ts_parser_set_timeout_micros=n.asm.ts_parser_set_timeout_micros).apply(null,arguments)},n._memmove=function(){return(n._memmove=n.asm.memmove).apply(null,arguments)},n._memcmp=function(){return(n._memcmp=n.asm.memcmp).apply(null,arguments)},n._ts_query_new=function(){return(n._ts_query_new=n.asm.ts_query_new).apply(null,arguments)},n._ts_query_delete=function(){return(n._ts_query_delete=n.asm.ts_query_delete).apply(null,arguments)},n._iswspace=function(){return(n._iswspace=n.asm.iswspace).apply(null,arguments)},n._iswalnum=function(){return(n._iswalnum=n.asm.iswalnum).apply(null,arguments)},n._ts_query_pattern_count=function(){return(n._ts_query_pattern_count=n.asm.ts_query_pattern_count).apply(null,arguments)},n._ts_query_capture_count=function(){return(n._ts_query_capture_count=n.asm.ts_query_capture_count).apply(null,arguments)},n._ts_query_string_count=function(){return(n._ts_query_string_count=n.asm.ts_query_string_count).apply(null,arguments)},n._ts_query_capture_name_for_id=function(){return(n._ts_query_capture_name_for_id=n.asm.ts_query_capture_name_for_id).apply(null,arguments)},n._ts_query_string_value_for_id=function(){return(n._ts_query_string_value_for_id=n.asm.ts_query_string_value_for_id).apply(null,arguments)},n._ts_query_predicates_for_pattern=function(){return(n._ts_query_predicates_for_pattern=n.asm.ts_query_predicates_for_pattern).apply(null,arguments)},n._ts_tree_copy=function(){return(n._ts_tree_copy=n.asm.ts_tree_copy).apply(null,arguments)},n._ts_tree_delete=function(){return(n._ts_tree_delete=n.asm.ts_tree_delete).apply(null,arguments)},n._ts_init=function(){return(n._ts_init=n.asm.ts_init).apply(null,arguments)},n._ts_parser_new_wasm=function(){return(n._ts_parser_new_wasm=n.asm.ts_parser_new_wasm).apply(null,arguments)},n._ts_parser_enable_logger_wasm=function(){return(n._ts_parser_enable_logger_wasm=n.asm.ts_parser_enable_logger_wasm).apply(null,arguments)},n._ts_parser_parse_wasm=function(){return(n._ts_parser_parse_wasm=n.asm.ts_parser_parse_wasm).apply(null,arguments)},n._ts_language_type_is_named_wasm=function(){return(n._ts_language_type_is_named_wasm=n.asm.ts_language_type_is_named_wasm).apply(null,arguments)},n._ts_language_type_is_visible_wasm=function(){return(n._ts_language_type_is_visible_wasm=n.asm.ts_language_type_is_visible_wasm).apply(null,arguments)},n._ts_tree_root_node_wasm=function(){return(n._ts_tree_root_node_wasm=n.asm.ts_tree_root_node_wasm).apply(null,arguments)},n._ts_tree_edit_wasm=function(){return(n._ts_tree_edit_wasm=n.asm.ts_tree_edit_wasm).apply(null,arguments)},n._ts_tree_get_changed_ranges_wasm=function(){return(n._ts_tree_get_changed_ranges_wasm=n.asm.ts_tree_get_changed_ranges_wasm).apply(null,arguments)},n._ts_tree_cursor_new_wasm=function(){return(n._ts_tree_cursor_new_wasm=n.asm.ts_tree_cursor_new_wasm).apply(null,arguments)},n._ts_tree_cursor_delete_wasm=function(){return(n._ts_tree_cursor_delete_wasm=n.asm.ts_tree_cursor_delete_wasm).apply(null,arguments)},n._ts_tree_cursor_reset_wasm=function(){return(n._ts_tree_cursor_reset_wasm=n.asm.ts_tree_cursor_reset_wasm).apply(null,arguments)},n._ts_tree_cursor_goto_first_child_wasm=function(){return(n._ts_tree_cursor_goto_first_child_wasm=n.asm.ts_tree_cursor_goto_first_child_wasm).apply(null,arguments)},n._ts_tree_cursor_goto_next_sibling_wasm=function(){return(n._ts_tree_cursor_goto_next_sibling_wasm=n.asm.ts_tree_cursor_goto_next_sibling_wasm).apply(null,arguments)},n._ts_tree_cursor_goto_parent_wasm=function(){return(n._ts_tree_cursor_goto_parent_wasm=n.asm.ts_tree_cursor_goto_parent_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_type_id_wasm=function(){return(n._ts_tree_cursor_current_node_type_id_wasm=n.asm.ts_tree_cursor_current_node_type_id_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_is_named_wasm=function(){return(n._ts_tree_cursor_current_node_is_named_wasm=n.asm.ts_tree_cursor_current_node_is_named_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_is_missing_wasm=function(){return(n._ts_tree_cursor_current_node_is_missing_wasm=n.asm.ts_tree_cursor_current_node_is_missing_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_id_wasm=function(){return(n._ts_tree_cursor_current_node_id_wasm=n.asm.ts_tree_cursor_current_node_id_wasm).apply(null,arguments)},n._ts_tree_cursor_start_position_wasm=function(){return(n._ts_tree_cursor_start_position_wasm=n.asm.ts_tree_cursor_start_position_wasm).apply(null,arguments)},n._ts_tree_cursor_end_position_wasm=function(){return(n._ts_tree_cursor_end_position_wasm=n.asm.ts_tree_cursor_end_position_wasm).apply(null,arguments)},n._ts_tree_cursor_start_index_wasm=function(){return(n._ts_tree_cursor_start_index_wasm=n.asm.ts_tree_cursor_start_index_wasm).apply(null,arguments)},n._ts_tree_cursor_end_index_wasm=function(){return(n._ts_tree_cursor_end_index_wasm=n.asm.ts_tree_cursor_end_index_wasm).apply(null,arguments)},n._ts_tree_cursor_current_field_id_wasm=function(){return(n._ts_tree_cursor_current_field_id_wasm=n.asm.ts_tree_cursor_current_field_id_wasm).apply(null,arguments)},n._ts_tree_cursor_current_node_wasm=function(){return(n._ts_tree_cursor_current_node_wasm=n.asm.ts_tree_cursor_current_node_wasm).apply(null,arguments)},n._ts_node_symbol_wasm=function(){return(n._ts_node_symbol_wasm=n.asm.ts_node_symbol_wasm).apply(null,arguments)},n._ts_node_child_count_wasm=function(){return(n._ts_node_child_count_wasm=n.asm.ts_node_child_count_wasm).apply(null,arguments)},n._ts_node_named_child_count_wasm=function(){return(n._ts_node_named_child_count_wasm=n.asm.ts_node_named_child_count_wasm).apply(null,arguments)},n._ts_node_child_wasm=function(){return(n._ts_node_child_wasm=n.asm.ts_node_child_wasm).apply(null,arguments)},n._ts_node_named_child_wasm=function(){return(n._ts_node_named_child_wasm=n.asm.ts_node_named_child_wasm).apply(null,arguments)},n._ts_node_child_by_field_id_wasm=function(){return(n._ts_node_child_by_field_id_wasm=n.asm.ts_node_child_by_field_id_wasm).apply(null,arguments)},n._ts_node_next_sibling_wasm=function(){return(n._ts_node_next_sibling_wasm=n.asm.ts_node_next_sibling_wasm).apply(null,arguments)},n._ts_node_prev_sibling_wasm=function(){return(n._ts_node_prev_sibling_wasm=n.asm.ts_node_prev_sibling_wasm).apply(null,arguments)},n._ts_node_next_named_sibling_wasm=function(){return(n._ts_node_next_named_sibling_wasm=n.asm.ts_node_next_named_sibling_wasm).apply(null,arguments)},n._ts_node_prev_named_sibling_wasm=function(){return(n._ts_node_prev_named_sibling_wasm=n.asm.ts_node_prev_named_sibling_wasm).apply(null,arguments)},n._ts_node_parent_wasm=function(){return(n._ts_node_parent_wasm=n.asm.ts_node_parent_wasm).apply(null,arguments)},n._ts_node_descendant_for_index_wasm=function(){return(n._ts_node_descendant_for_index_wasm=n.asm.ts_node_descendant_for_index_wasm).apply(null,arguments)},n._ts_node_named_descendant_for_index_wasm=function(){return(n._ts_node_named_descendant_for_index_wasm=n.asm.ts_node_named_descendant_for_index_wasm).apply(null,arguments)},n._ts_node_descendant_for_position_wasm=function(){return(n._ts_node_descendant_for_position_wasm=n.asm.ts_node_descendant_for_position_wasm).apply(null,arguments)},n._ts_node_named_descendant_for_position_wasm=function(){return(n._ts_node_named_descendant_for_position_wasm=n.asm.ts_node_named_descendant_for_position_wasm).apply(null,arguments)},n._ts_node_start_point_wasm=function(){return(n._ts_node_start_point_wasm=n.asm.ts_node_start_point_wasm).apply(null,arguments)},n._ts_node_end_point_wasm=function(){return(n._ts_node_end_point_wasm=n.asm.ts_node_end_point_wasm).apply(null,arguments)},n._ts_node_start_index_wasm=function(){return(n._ts_node_start_index_wasm=n.asm.ts_node_start_index_wasm).apply(null,arguments)},n._ts_node_end_index_wasm=function(){return(n._ts_node_end_index_wasm=n.asm.ts_node_end_index_wasm).apply(null,arguments)},n._ts_node_to_string_wasm=function(){return(n._ts_node_to_string_wasm=n.asm.ts_node_to_string_wasm).apply(null,arguments)},n._ts_node_children_wasm=function(){return(n._ts_node_children_wasm=n.asm.ts_node_children_wasm).apply(null,arguments)},n._ts_node_named_children_wasm=function(){return(n._ts_node_named_children_wasm=n.asm.ts_node_named_children_wasm).apply(null,arguments)},n._ts_node_descendants_of_type_wasm=function(){return(n._ts_node_descendants_of_type_wasm=n.asm.ts_node_descendants_of_type_wasm).apply(null,arguments)},n._ts_node_is_named_wasm=function(){return(n._ts_node_is_named_wasm=n.asm.ts_node_is_named_wasm).apply(null,arguments)},n._ts_node_has_changes_wasm=function(){return(n._ts_node_has_changes_wasm=n.asm.ts_node_has_changes_wasm).apply(null,arguments)},n._ts_node_has_error_wasm=function(){return(n._ts_node_has_error_wasm=n.asm.ts_node_has_error_wasm).apply(null,arguments)},n._ts_node_is_missing_wasm=function(){return(n._ts_node_is_missing_wasm=n.asm.ts_node_is_missing_wasm).apply(null,arguments)},n._ts_query_matches_wasm=function(){return(n._ts_query_matches_wasm=n.asm.ts_query_matches_wasm).apply(null,arguments)},n._ts_query_captures_wasm=function(){return(n._ts_query_captures_wasm=n.asm.ts_query_captures_wasm).apply(null,arguments)},n._iswdigit=function(){return(n._iswdigit=n.asm.iswdigit).apply(null,arguments)},n._iswalpha=function(){return(n._iswalpha=n.asm.iswalpha).apply(null,arguments)},n._iswlower=function(){return(n._iswlower=n.asm.iswlower).apply(null,arguments)},n._towupper=function(){return(n._towupper=n.asm.towupper).apply(null,arguments)},n.___errno_location=function(){return(Le=n.___errno_location=n.asm.__errno_location).apply(null,arguments)}),Be=(n._memchr=function(){return(n._memchr=n.asm.memchr).apply(null,arguments)},n._strlen=function(){return(n._strlen=n.asm.strlen).apply(null,arguments)},n.stackSave=function(){return(Be=n.stackSave=n.asm.stackSave).apply(null,arguments)}),Ve=n.stackRestore=function(){return(Ve=n.stackRestore=n.asm.stackRestore).apply(null,arguments)},Ue=n.stackAlloc=function(){return(Ue=n.stackAlloc=n.asm.stackAlloc).apply(null,arguments)},ze=n._setThrew=function(){return(ze=n._setThrew=n.asm.setThrew).apply(null,arguments)};function Ge(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm).apply(null,arguments)},n.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=function(){return(n.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=n.asm._ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm).apply(null,arguments)},n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=function(){return(n.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=n.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc).apply(null,arguments)},n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=function(){return(n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=n.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev).apply(null,arguments)},n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=function(){return(n.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=n.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw).apply(null,arguments)},n.__Znwm=function(){return(n.__Znwm=n.asm._Znwm).apply(null,arguments)},n.__ZdlPv=function(){return(n.__ZdlPv=n.asm._ZdlPv).apply(null,arguments)},n.__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv=function(){return(n.__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv=n.asm._ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv).apply(null,arguments)},n._orig$ts_parser_timeout_micros=function(){return(n._orig$ts_parser_timeout_micros=n.asm.orig$ts_parser_timeout_micros).apply(null,arguments)},n._orig$ts_parser_set_timeout_micros=function(){return(n._orig$ts_parser_set_timeout_micros=n.asm.orig$ts_parser_set_timeout_micros).apply(null,arguments)},n.allocate=function(e,t){var r;return r=1==t?Ue(e.length):De(e.length),e.subarray||e.slice?N.set(e,r):N.set(new Uint8Array(e),r),r},se=function e(){Ce||He(),Ce||(se=e)};var We=!1;function He(e){function t(){Ce||(Ce=!0,n.calledRun=!0,I||(te=!0,ye(Q),ye(Y),n.onRuntimeInitialized&&n.onRuntimeInitialized(),Ke&&function(e){var t=n._main;if(t){var r=(e=e||[]).length+1,s=Ue(4*(r+1));q[s>>2]=H(h);for(var i=1;i<r;i++)q[(s>>2)+i]=H(e[i-1]);q[(s>>2)+r]=0;try{Je(t(r,s),!0)}catch(e){if(e instanceof Ge)return;if("unwind"==e)return;var o=e;e&&"object"==typeof e&&e.stack&&(o=[e,e.stack]),E("exception thrown: "+o),d(1,e)}}}(e),function(){if(n.postRun)for("function"==typeof n.postRun&&(n.postRun=[n.postRun]);n.postRun.length;)e=n.postRun.shift(),ee.unshift(e);var e;ye(ee)}()))}e=e||m,re>0||!We&&(function(){if(P.length){if(!g)return ie(),void P.reduce((function(e,t){return e.then((function(){return Ae(t,{loadAsync:!0,global:!0,nodelete:!0,allowUndefined:!0})}))}),Promise.resolve()).then((function(){oe(),Fe()}));P.forEach((function(e){Ae(e,{global:!0,nodelete:!0,allowUndefined:!0})})),Fe()}else Fe()}(),We=!0,re>0)||(function(){if(n.preRun)for("function"==typeof n.preRun&&(n.preRun=[n.preRun]);n.preRun.length;)e=n.preRun.shift(),X.unshift(e);var e;ye(X)}(),re>0||(n.setStatus?(n.setStatus("Running..."),setTimeout((function(){setTimeout((function(){n.setStatus("")}),1),t()}),1)):t()))}function Je(e,t){t&&be()&&0===e||(be()||(n.onExit&&n.onExit(e),I=!0),d(e,new Ge(e)))}if(n.run=He,n.preInit)for("function"==typeof n.preInit&&(n.preInit=[n.preInit]);n.preInit.length>0;)n.preInit.pop()();var Ke=!0;n.noInitialRun&&(Ke=!1),He();const Ze=n,Xe={},Qe=4,Ye=5*Qe,et=2*Qe,tt=2*Qe+2*et,rt={row:0,column:0},nt=/[\w-.]*/g,st=/^_?tree_sitter_\w+/;var it,ot,at,ct,lt;class ut{static init(){at=Ze._ts_init(),it=k(at,"i32"),ot=k(at+Qe,"i32")}initialize(){Ze._ts_parser_new_wasm(),this[0]=k(at,"i32"),this[1]=k(at+Qe,"i32")}delete(){Ze._ts_parser_delete(this[0]),Ze._free(this[1]),this[0]=0,this[1]=0}setLanguage(e){let t;if(e){if(e.constructor!==dt)throw new Error("Argument must be a Language");{t=e[0];const r=Ze._ts_language_version(t);if(r<ot||it<r)throw new Error(`Incompatible language version ${r}. Compatibility range ${ot} through ${it}.`)}}else t=0,e=null;return this.language=e,Ze._ts_parser_set_language(this[0],t),this}getLanguage(){return this.language}parse(e,t,r){if("string"==typeof e)ct=(t,r,n)=>e.slice(t,n);else{if("function"!=typeof e)throw new Error("Argument must be a string or a function");ct=e}this.logCallback?(lt=this.logCallback,Ze._ts_parser_enable_logger_wasm(this[0],1)):(lt=null,Ze._ts_parser_enable_logger_wasm(this[0],0));let n=0,s=0;if(r&&r.includedRanges){n=r.includedRanges.length;let e=s=Ze._calloc(n,tt);for(let t=0;t<n;t++)St(e,r.includedRanges[t]),e+=tt}const i=Ze._ts_parser_parse_wasm(this[0],this[1],t?t[0]:0,s,n);if(!i)throw ct=null,lt=null,new Error("Parsing failed");const o=new pt(Xe,i,this.language,ct);return ct=null,lt=null,o}reset(){Ze._ts_parser_reset(this[0])}setTimeoutMicros(e){Ze._ts_parser_set_timeout_micros(this[0],e)}getTimeoutMicros(){return Ze._ts_parser_timeout_micros(this[0])}setLogger(e){if(e){if("function"!=typeof e)throw new Error("Logger callback must be a function")}else e=null;return this.logCallback=e,this}getLogger(){return this.logCallback}}class pt{constructor(e,t,r,n){_t(e),this[0]=t,this.language=r,this.textCallback=n}copy(){const e=Ze._ts_tree_copy(this[0]);return new pt(Xe,e,this.language,this.textCallback)}delete(){Ze._ts_tree_delete(this[0]),this[0]=0}edit(e){!function(e){let t=at;jt(t,e.startPosition),jt(t+=et,e.oldEndPosition),jt(t+=et,e.newEndPosition),$(t+=et,e.startIndex,"i32"),$(t+=Qe,e.oldEndIndex,"i32"),$(t+=Qe,e.newEndIndex,"i32"),t+=Qe}(e),Ze._ts_tree_edit_wasm(this[0])}get rootNode(){return Ze._ts_tree_root_node_wasm(this[0]),Et(this)}getLanguage(){return this.language}walk(){return this.rootNode.walk()}getChangedRanges(e){if(e.constructor!==pt)throw new TypeError("Argument must be a Tree");Ze._ts_tree_get_changed_ranges_wasm(this[0],e[0]);const t=k(at,"i32"),r=k(at+Qe,"i32"),n=new Array(t);if(t>0){let e=r;for(let r=0;r<t;r++)n[r]=Pt(e),e+=tt;Ze._free(r)}return n}}class mt{constructor(e,t){_t(e),this.tree=t}get typeId(){return vt(this),Ze._ts_node_symbol_wasm(this.tree[0])}get type(){return this.tree.language.types[this.typeId]||"ERROR"}get endPosition(){return vt(this),Ze._ts_node_end_point_wasm(this.tree[0]),Ot(at)}get endIndex(){return vt(this),Ze._ts_node_end_index_wasm(this.tree[0])}get text(){return yt(this.tree,this.startIndex,this.endIndex)}isNamed(){return vt(this),1===Ze._ts_node_is_named_wasm(this.tree[0])}hasError(){return vt(this),1===Ze._ts_node_has_error_wasm(this.tree[0])}hasChanges(){return vt(this),1===Ze._ts_node_has_changes_wasm(this.tree[0])}isMissing(){return vt(this),1===Ze._ts_node_is_missing_wasm(this.tree[0])}equals(e){return this.id===e.id}child(e){return vt(this),Ze._ts_node_child_wasm(this.tree[0],e),Et(this.tree)}namedChild(e){return vt(this),Ze._ts_node_named_child_wasm(this.tree[0],e),Et(this.tree)}childForFieldId(e){return vt(this),Ze._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 vt(this),Ze._ts_node_child_count_wasm(this.tree[0])}get namedChildCount(){return vt(this),Ze._ts_node_named_child_count_wasm(this.tree[0])}get firstChild(){return this.child(0)}get firstNamedChild(){return this.namedChild(0)}get lastChild(){return this.child(this.childCount-1)}get lastNamedChild(){return this.namedChild(this.namedChildCount-1)}get children(){if(!this._children){vt(this),Ze._ts_node_children_wasm(this.tree[0]);const e=k(at,"i32"),t=k(at+Qe,"i32");if(this._children=new Array(e),e>0){let r=t;for(let t=0;t<e;t++)this._children[t]=Et(this.tree,r),r+=Ye;Ze._free(t)}}return this._children}get namedChildren(){if(!this._namedChildren){vt(this),Ze._ts_node_named_children_wasm(this.tree[0]);const e=k(at,"i32"),t=k(at+Qe,"i32");if(this._namedChildren=new Array(e),e>0){let r=t;for(let t=0;t<e;t++)this._namedChildren[t]=Et(this.tree,r),r+=Ye;Ze._free(t)}}return this._namedChildren}descendantsOfType(e,t,r){Array.isArray(e)||(e=[e]),t||(t=rt),r||(r=rt);const n=[],s=this.tree.language.types;for(let t=0,r=s.length;t<r;t++)e.includes(s[t])&&n.push(t);const i=Ze._malloc(Qe*n.length);for(let e=0,t=n.length;e<t;e++)$(i+e*Qe,n[e],"i32");vt(this),Ze._ts_node_descendants_of_type_wasm(this.tree[0],i,n.length,t.row,t.column,r.row,r.column);const o=k(at,"i32"),a=k(at+Qe,"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+=Ye}return Ze._free(a),Ze._free(i),c}get nextSibling(){return vt(this),Ze._ts_node_next_sibling_wasm(this.tree[0]),Et(this.tree)}get previousSibling(){return vt(this),Ze._ts_node_prev_sibling_wasm(this.tree[0]),Et(this.tree)}get nextNamedSibling(){return vt(this),Ze._ts_node_next_named_sibling_wasm(this.tree[0]),Et(this.tree)}get previousNamedSibling(){return vt(this),Ze._ts_node_prev_named_sibling_wasm(this.tree[0]),Et(this.tree)}get parent(){return vt(this),Ze._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");vt(this);let r=at+Ye;return $(r,e,"i32"),$(r+Qe,t,"i32"),Ze._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");vt(this);let r=at+Ye;return $(r,e,"i32"),$(r+Qe,t,"i32"),Ze._ts_node_named_descendant_for_index_wasm(this.tree[0]),Et(this.tree)}descendantForPosition(e,t=e){if(!bt(e)||!bt(t))throw new Error("Arguments must be {row, column} objects");vt(this);let r=at+Ye;return jt(r,e),jt(r+et,t),Ze._ts_node_descendant_for_position_wasm(this.tree[0]),Et(this.tree)}namedDescendantForPosition(e,t=e){if(!bt(e)||!bt(t))throw new Error("Arguments must be {row, column} objects");vt(this);let r=at+Ye;return jt(r,e),jt(r+et,t),Ze._ts_node_named_descendant_for_position_wasm(this.tree[0]),Et(this.tree)}walk(){return vt(this),Ze._ts_tree_cursor_new_wasm(this.tree[0]),new ht(Xe,this.tree)}toString(){vt(this);const e=Ze._ts_node_to_string_wasm(this.tree[0]),t=function(e){for(var t="";;){var r=N[e++>>0];if(!r)return t;t+=String.fromCharCode(r)}}(e);return Ze._free(e),t}}class ht{constructor(e,t){_t(e),this.tree=t,xt(this)}delete(){wt(this),Ze._ts_tree_cursor_delete_wasm(this.tree[0]),this[0]=this[1]=this[2]=0}reset(e){vt(e),wt(this,at+Ye),Ze._ts_tree_cursor_reset_wasm(this.tree[0]),xt(this)}get nodeType(){return this.tree.language.types[this.nodeTypeId]||"ERROR"}get nodeTypeId(){return wt(this),Ze._ts_tree_cursor_current_node_type_id_wasm(this.tree[0])}get nodeId(){return wt(this),Ze._ts_tree_cursor_current_node_id_wasm(this.tree[0])}get nodeIsNamed(){return wt(this),1===Ze._ts_tree_cursor_current_node_is_named_wasm(this.tree[0])}get nodeIsMissing(){return wt(this),1===Ze._ts_tree_cursor_current_node_is_missing_wasm(this.tree[0])}get nodeText(){wt(this);const e=Ze._ts_tree_cursor_start_index_wasm(this.tree[0]),t=Ze._ts_tree_cursor_end_index_wasm(this.tree[0]);return yt(this.tree,e,t)}get startPosition(){return wt(this),Ze._ts_tree_cursor_start_position_wasm(this.tree[0]),Ot(at)}get endPosition(){return wt(this),Ze._ts_tree_cursor_end_position_wasm(this.tree[0]),Ot(at)}get startIndex(){return wt(this),Ze._ts_tree_cursor_start_index_wasm(this.tree[0])}get endIndex(){return wt(this),Ze._ts_tree_cursor_end_index_wasm(this.tree[0])}currentNode(){return wt(this),Ze._ts_tree_cursor_current_node_wasm(this.tree[0]),Et(this.tree)}currentFieldId(){return wt(this),Ze._ts_tree_cursor_current_field_id_wasm(this.tree[0])}currentFieldName(){return this.tree.language.fields[this.currentFieldId()]}gotoFirstChild(){wt(this);const e=Ze._ts_tree_cursor_goto_first_child_wasm(this.tree[0]);return xt(this),1===e}gotoNextSibling(){wt(this);const e=Ze._ts_tree_cursor_goto_next_sibling_wasm(this.tree[0]);return xt(this),1===e}gotoParent(){wt(this);const e=Ze._ts_tree_cursor_goto_parent_wasm(this.tree[0]);return xt(this),1===e}}class dt{constructor(e,t){_t(e),this[0]=t,this.types=new Array(Ze._ts_language_symbol_count(this[0]));for(let e=0,t=this.types.length;e<t;e++)Ze._ts_language_symbol_type(this[0],e)<2&&(this.types[e]=U(Ze._ts_language_symbol_name(this[0],e)));this.fields=new Array(Ze._ts_language_field_count(this[0])+1);for(let e=0,t=this.fields.length;e<t;e++){const t=Ze._ts_language_field_name_for_id(this[0],e);this.fields[e]=0!==t?U(t):null}}get version(){return Ze._ts_language_version(this[0])}get fieldCount(){return this.fields.length-1}fieldIdForName(e){const t=this.fields.indexOf(e);return-1!==t?t:null}fieldNameForId(e){return this.fields[e]||null}idForNodeType(e,t){const r=W(e),n=Ze._malloc(r+1);G(e,n,r+1);const s=Ze._ts_language_symbol_for_name(this[0],n,r,t);return Ze._free(n),s||null}get nodeTypeCount(){return Ze._ts_language_symbol_count(this[0])}nodeTypeForId(e){const t=Ze._ts_language_symbol_name(this[0],e);return t?U(t):null}nodeTypeIsNamed(e){return!!Ze._ts_language_type_is_named_wasm(this[0],e)}nodeTypeIsVisible(e){return!!Ze._ts_language_type_is_visible_wasm(this[0],e)}query(e){const t=W(e),r=Ze._malloc(t+1);G(e,r,t+1);const n=Ze._ts_query_new(this[0],r,t,at,at+Qe);if(!n){const t=k(at+Qe,"i32"),n=U(r,k(at,"i32")).length,s=e.substr(n,100).split("\n")[0];let i,o=s.match(nt)[0];switch(t){case 2:i=new RangeError(`Bad node name '${o}'`);break;case 3:i=new RangeError(`Bad field name '${o}'`);break;case 4:i=new RangeError(`Bad capture name @${o}`);break;case 5:i=new TypeError(`Bad pattern structure at offset ${n}: '${s}'...`),o="";break;default:i=new SyntaxError(`Bad syntax at offset ${n}: '${s}'...`),o=""}throw i.index=n,i.length=o.length,Ze._free(r),i}const s=Ze._ts_query_string_count(n),i=Ze._ts_query_capture_count(n),o=Ze._ts_query_pattern_count(n),a=new Array(i),c=new Array(s);for(let e=0;e<i;e++){const t=Ze._ts_query_capture_name_for_id(n,e,at),r=k(at,"i32");a[e]=U(t,r)}for(let e=0;e<s;e++){const t=Ze._ts_query_string_value_for_id(n,e,at),r=k(at,"i32");c[e]=U(t,r)}const l=new Array(o),u=new Array(o),p=new Array(o),m=new Array(o),h=new Array(o);for(let e=0;e<o;e++){const t=Ze._ts_query_predicates_for_pattern(n,e,at),r=k(at,"i32");m[e]=[],h[e]=[];const s=[];let i=t;for(let t=0;t<r;t++){const t=k(i,"i32"),r=k(i+=Qe,"i32");if(i+=Qe,1===t)s.push({type:"capture",name:a[r]});else if(2===t)s.push({type:"string",value:c[r]});else if(s.length>0){if("string"!==s[0].type)throw new Error("Predicates must begin with a literal value");const t=s[0].value;let r=!0;switch(t){case"not-eq?":r=!1;case"eq?":if(3!==s.length)throw new Error("Wrong number of arguments to `#eq?` predicate. Expected 2, got "+(s.length-1));if("capture"!==s[1].type)throw new Error(`First argument of \`#eq?\` predicate must be a capture. Got "${s[1].value}"`);if("capture"===s[2].type){const t=s[1].name,n=s[2].name;h[e].push((function(e){let s,i;for(const r of e)r.name===t&&(s=r.node),r.name===n&&(i=r.node);return void 0===s||void 0===i||s.text===i.text===r}))}else{const t=s[1].name,n=s[2].value;h[e].push((function(e){for(const s of e)if(s.name===t)return s.node.text===n===r;return!0}))}break;case"not-match?":r=!1;case"match?":if(3!==s.length)throw new Error(`Wrong number of arguments to \`#match?\` predicate. Expected 2, got ${s.length-1}.`);if("capture"!==s[1].type)throw new Error(`First argument of \`#match?\` predicate must be a capture. Got "${s[1].value}".`);if("string"!==s[2].type)throw new Error(`Second argument of \`#match?\` predicate must be a string. Got @${s[2].value}.`);const n=s[1].name,i=new RegExp(s[2].value);h[e].push((function(e){for(const t of e)if(t.name===n)return i.test(t.node.text)===r;return!0}));break;case"set!":if(s.length<2||s.length>3)throw new Error(`Wrong number of arguments to \`#set!\` predicate. Expected 1 or 2. Got ${s.length-1}.`);if(s.some((e=>"string"!==e.type)))throw new Error('Arguments to `#set!` predicate must be a strings.".');l[e]||(l[e]={}),l[e][s[1].value]=s[2]?s[2].value:null;break;case"is?":case"is-not?":if(s.length<2||s.length>3)throw new Error(`Wrong number of arguments to \`#${t}\` predicate. Expected 1 or 2. Got ${s.length-1}.`);if(s.some((e=>"string"!==e.type)))throw new Error(`Arguments to \`#${t}\` predicate must be a strings.".`);const o="is?"===t?u:p;o[e]||(o[e]={}),o[e][s[1].value]=s[2]?s[2].value:null;break;default:m[e].push({operator:t,operands:s.slice(1)})}s.length=0}}Object.freeze(l[e]),Object.freeze(u[e]),Object.freeze(p[e])}return Ze._free(r),new ft(Xe,n,a,h,m,Object.freeze(l),Object.freeze(u),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=r(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 r=new TextDecoder("utf-8").decode(t);throw new Error(`Language.load failed with status ${e.status}.\n\n${r}`)}}))))}const n="function"==typeof loadSideModule?loadSideModule:Pe;return t.then((e=>n(e,{loadAsync:!0}))).then((e=>{const t=Object.keys(e),r=t.find((e=>st.test(e)&&!e.includes("external_scanner_")));r||console.log(`Couldn't find language function in WASM file. Symbols:\n${JSON.stringify(t,null,2)}`);const n=e[r]();return new dt(Xe,n)}))}}class ft{constructor(e,t,r,n,s,i,o,a){_t(e),this[0]=t,this.captureNames=r,this.textPredicates=n,this.predicates=s,this.setProperties=i,this.assertedProperties=o,this.refutedProperties=a,this.exceededMatchLimit=!1}delete(){Ze._ts_query_delete(this[0]),this[0]=0}matches(e,t,r,n){t||(t=rt),r||(r=rt),n||(n={});let s=n.matchLimit;if(void 0===s)s=0;else if("number"!=typeof s)throw new Error("Arguments must be numbers");vt(e),Ze._ts_query_matches_wasm(this[0],e.tree[0],t.row,t.column,r.row,r.column,s);const i=k(at,"i32"),o=k(at+Qe,"i32"),a=k(at+2*Qe,"i32"),c=new Array(i);this.exceededMatchLimit=!!a;let l=0,u=o;for(let t=0;t<i;t++){const r=k(u,"i32"),n=k(u+=Qe,"i32");u+=Qe;const s=new Array(n);if(u=gt(this,e.tree,u,s),this.textPredicates[r].every((e=>e(s)))){c[l++]={pattern:r,captures:s};const e=this.setProperties[r];e&&(c[t].setProperties=e);const n=this.assertedProperties[r];n&&(c[t].assertedProperties=n);const i=this.refutedProperties[r];i&&(c[t].refutedProperties=i)}}return c.length=l,Ze._free(o),c}captures(e,t,r,n){t||(t=rt),r||(r=rt),n||(n={});let s=n.matchLimit;if(void 0===s)s=0;else if("number"!=typeof s)throw new Error("Arguments must be numbers");vt(e),Ze._ts_query_captures_wasm(this[0],e.tree[0],t.row,t.column,r.row,r.column,s);const i=k(at,"i32"),o=k(at+Qe,"i32"),a=k(at+2*Qe,"i32"),c=[];this.exceededMatchLimit=!!a;const l=[];let u=o;for(let t=0;t<i;t++){const t=k(u,"i32"),r=k(u+=Qe,"i32"),n=k(u+=Qe,"i32");if(u+=Qe,l.length=r,u=gt(this,e.tree,u,l),this.textPredicates[t].every((e=>e(l)))){const e=l[n],r=this.setProperties[t];r&&(e.setProperties=r);const s=this.assertedProperties[t];s&&(e.assertedProperties=s);const i=this.refutedProperties[t];i&&(e.refutedProperties=i),c.push(e)}}return Ze._free(o),c}predicatesForPattern(e){return this.predicates[e]}didExceedMatchLimit(){return this.exceededMatchLimit}}function yt(e,t,r){const n=r-t;let s=e.textCallback(t,null,r);for(t+=s.length;t<r;){const n=e.textCallback(t,null,r);if(!(n&&n.length>0))break;t+=n.length,s+=n}return t>r&&(s=s.slice(0,n)),s}function gt(e,t,r,n){for(let s=0,i=n.length;s<i;s++){const i=k(r,"i32"),o=Et(t,r+=Qe);r+=Ye,n[s]={name:e.captureNames[i],node:o}}return r}function _t(e){if(e!==Xe)throw new Error("Illegal constructor")}function bt(e){return e&&"number"==typeof e.row&&"number"==typeof e.column}function vt(e){let t=at;$(t,e.id,"i32"),$(t+=Qe,e.startIndex,"i32"),$(t+=Qe,e.startPosition.row,"i32"),$(t+=Qe,e.startPosition.column,"i32"),$(t+=Qe,e[0],"i32")}function Et(e,t=at){const r=k(t,"i32");if(0===r)return null;const n=k(t+=Qe,"i32"),s=k(t+=Qe,"i32"),i=k(t+=Qe,"i32"),o=k(t+=Qe,"i32"),a=new mt(Xe,e);return a.id=r,a.startIndex=n,a.startPosition={row:s,column:i},a[0]=o,a}function wt(e,t=at){$(t+0*Qe,e[0],"i32"),$(t+1*Qe,e[1],"i32"),$(t+2*Qe,e[2],"i32")}function xt(e){e[0]=k(at+0*Qe,"i32"),e[1]=k(at+1*Qe,"i32"),e[2]=k(at+2*Qe,"i32")}function jt(e,t){$(e,t.row,"i32"),$(e+Qe,t.column,"i32")}function Ot(e){return{row:k(e,"i32"),column:k(e+Qe,"i32")}}function St(e,t){jt(e,t.startPosition),jt(e+=et,t.endPosition),$(e+=et,t.startIndex,"i32"),$(e+=Qe,t.endIndex,"i32"),e+=Qe}function Pt(e){const t={};return t.startPosition=Ot(e),e+=et,t.endPosition=Ot(e),e+=et,t.startIndex=k(e,"i32"),e+=Qe,t.endIndex=k(e,"i32"),t}for(const e of Object.getOwnPropertyNames(ut.prototype))Object.defineProperty(i.prototype,e,{value:ut.prototype[e],enumerable:!1,writable:!1});i.Language=dt,n.onRuntimeInitialized=()=>{ut.init(),t()}})))}}return i}();e.exports=s},5530:()=>{},6287:()=>{}},t={};function r(n){var s=t[n];if(void 0!==s)return s.exports;var i=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;r.g.importScripts&&(e=r.g.location+"");var t=r.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(/\/[^\/]+$/,"/"),r.p=e})();var n={};return(()=>{"use strict";r.r(n),r.d(n,{detect:()=>eg,detectionRegExp:()=>Yy,mediaTypes:()=>Qy,namespace:()=>rg,parse:()=>tg});var e={};r.r(e),r.d(e,{hasElementSourceMap:()=>Cs,includesClasses:()=>Ds,includesSymbols:()=>qs,isAnnotationElement:()=>Is,isArrayElement:()=>As,isBooleanElement:()=>Ss,isCommentElement:()=>Ms,isElement:()=>ws,isLinkElement:()=>$s,isMemberElement:()=>Fs,isNullElement:()=>Os,isNumberElement:()=>js,isObjectElement:()=>Ps,isParseResultElement:()=>Rs,isPrimitiveElement:()=>Ns,isRefElement:()=>ks,isSourceMapElement:()=>Ts,isStringElement:()=>xs});var t={};r.r(t),r.d(t,{isJSONReferenceElement:()=>Oa,isJSONSchemaElement:()=>ja,isLinkDescriptionElement:()=>Pa,isMediaElement:()=>Sa});var s={};r.r(s),r.d(s,{isOpenApi3_0LikeElement:()=>tc,isOpenApiExtension:()=>cc,isParameterLikeElement:()=>rc,isReferenceLikeElement:()=>nc,isRequestBodyLikeElement:()=>sc,isResponseLikeElement:()=>ic,isServerLikeElement:()=>oc,isTagLikeElement:()=>ac});var i={};r.r(i),r.d(i,{isBooleanJsonSchemaElement:()=>vl,isCallbackElement:()=>Xc,isComponentsElement:()=>Qc,isContactElement:()=>Yc,isExampleElement:()=>el,isExternalDocumentationElement:()=>tl,isHeaderElement:()=>rl,isInfoElement:()=>nl,isLicenseElement:()=>sl,isLinkElement:()=>il,isLinkElementExternal:()=>ol,isMediaTypeElement:()=>jl,isOpenApi3_0Element:()=>cl,isOpenapiElement:()=>al,isOperationElement:()=>ll,isParameterElement:()=>ul,isPathItemElement:()=>pl,isPathItemElementExternal:()=>ml,isPathsElement:()=>hl,isReferenceElement:()=>dl,isReferenceElementExternal:()=>fl,isRequestBodyElement:()=>yl,isResponseElement:()=>gl,isResponsesElement:()=>_l,isSchemaElement:()=>bl,isSecurityRequirementElement:()=>El,isServerElement:()=>wl,isServerVariableElement:()=>xl});var o={};r.r(o),r.d(o,{isBooleanJsonSchemaElement:()=>ef,isCallbackElement:()=>$d,isComponentsElement:()=>kd,isContactElement:()=>Id,isExampleElement:()=>Md,isExternalDocumentationElement:()=>Rd,isHeaderElement:()=>Td,isInfoElement:()=>Nd,isJsonSchemaDialectElement:()=>Cd,isLicenseElement:()=>qd,isLinkElement:()=>Dd,isLinkElementExternal:()=>Ld,isMediaTypeElement:()=>sf,isOpenApi3_1Element:()=>Vd,isOpenapiElement:()=>Bd,isOperationElement:()=>Ud,isParameterElement:()=>zd,isPathItemElement:()=>Gd,isPathItemElementExternal:()=>Wd,isPathsElement:()=>Hd,isReferenceElement:()=>Jd,isReferenceElementExternal:()=>Kd,isRequestBodyElement:()=>Zd,isResponseElement:()=>Xd,isResponsesElement:()=>Qd,isSchemaElement:()=>Yd,isSecurityRequirementElement:()=>tf,isServerElement:()=>rf,isServerVariableElement:()=>nf});const a=function(){return!1};const c=function(){return!0};function l(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function u(e){return function t(r){return 0===arguments.length||l(r)?t:e.apply(this,arguments)}}function p(e){return function t(r,n){switch(arguments.length){case 0:return t;case 1:return l(r)?t:u((function(t){return e(r,t)}));default:return l(r)&&l(n)?t:l(r)?u((function(t){return e(t,n)})):l(n)?u((function(t){return e(r,t)})):e(r,n)}}}const m=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function h(e,t,r){return function(){if(0===arguments.length)return r();var n=arguments[arguments.length-1];if(!m(n)){for(var s=0;s<e.length;){if("function"==typeof n[e[s]])return n[e[s]].apply(n,Array.prototype.slice.call(arguments,0,-1));s+=1}if(function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}(n))return t.apply(null,Array.prototype.slice.call(arguments,0,-1))(n)}return r.apply(this,arguments)}}function d(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}const f=function(){return this.xf["@@transducer/init"]()},y=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"]=f,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 b=p(h(["all"],_,(function(e,t){for(var r=0;r<t.length;){if(!e(t[r]))return!1;r+=1}return!0})));function v(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,r){return t.apply(this,arguments)};case 3:return function(e,r,n){return t.apply(this,arguments)};case 4:return function(e,r,n,s){return t.apply(this,arguments)};case 5:return function(e,r,n,s,i){return t.apply(this,arguments)};case 6:return function(e,r,n,s,i,o){return t.apply(this,arguments)};case 7:return function(e,r,n,s,i,o,a){return t.apply(this,arguments)};case 8:return function(e,r,n,s,i,o,a,c){return t.apply(this,arguments)};case 9:return function(e,r,n,s,i,o,a,c,l){return t.apply(this,arguments)};case 10:return function(e,r,n,s,i,o,a,c,l,u){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function E(e,t,r){return function(){for(var n=[],s=0,i=e,o=0;o<t.length||s<arguments.length;){var a;o<t.length&&(!l(t[o])||s>=arguments.length)?a=t[o]:(a=arguments[s],s+=1),n[o]=a,l(a)||(i-=1),o+=1}return i<=0?r.apply(this,n):v(i,E(e,n,r))}}const w=p((function(e,t){return 1===e?u(t):v(e,E(e,[],t))}));function x(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}function j(e,t,r){for(var n=0,s=r.length;n<s;){if(e(t,r[n]))return!0;n+=1}return!1}function O(e,t){return Object.prototype.hasOwnProperty.call(t,e)}const S="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};var P=Object.prototype.toString;const A=function(){return"[object Arguments]"===P.call(arguments)?function(e){return"[object Arguments]"===P.call(e)}:function(e){return O("callee",e)}}();var F=!{toString:null}.propertyIsEnumerable("toString"),$=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],k=function(){return arguments.propertyIsEnumerable("length")}(),I=function(e,t){for(var r=0;r<e.length;){if(e[r]===t)return!0;r+=1}return!1};const M="function"!=typeof Object.keys||k?u((function(e){if(Object(e)!==e)return[];var t,r,n=[],s=k&&A(e);for(t in e)!O(t,e)||s&&"length"===t||(n[n.length]=t);if(F)for(r=$.length-1;r>=0;)O(t=$[r],e)&&!I(n,t)&&(n[n.length]=t),r-=1;return n})):u((function(e){return Object(e)!==e?[]:Object.keys(e)}));const R=u((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function T(e,t,r,n){var s=x(e);function i(e,t){return N(e,t,r.slice(),n.slice())}return!j((function(e,t){return!j(i,t,e)}),x(t),s)}function N(e,t,r,n){if(S(e,t))return!0;var s,i,o=R(e);if(o!==R(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"===(s=e.constructor,null==(i=String(s).match(/^function (\w*)/))?"":i[1]))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!S(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!S(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var a=r.length-1;a>=0;){if(r[a]===e)return n[a]===t;a-=1}switch(o){case"Map":return e.size===t.size&&T(e.entries(),t.entries(),r.concat([e]),n.concat([t]));case"Set":return e.size===t.size&&T(e.values(),t.values(),r.concat([e]),n.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var c=M(e);if(c.length!==M(t).length)return!1;var l=r.concat([e]),u=n.concat([t]);for(a=c.length-1;a>=0;){var p=c[a];if(!O(p,t)||!N(t[p],e[p],l,u))return!1;a-=1}return!0}const C=p((function(e,t){return N(e,t,[],[])}));function q(e,t){return function(e,t,r){var n,s;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(n=1/t;r<e.length;){if(0===(s=e[r])&&1/s===n)return r;r+=1}return-1}if(t!=t){for(;r<e.length;){if("number"==typeof(s=e[r])&&s!=s)return r;r+=1}return-1}return e.indexOf(t,r);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,r);case"object":if(null===t)return e.indexOf(t,r)}for(;r<e.length;){if(C(e[r],t))return r;r+=1}return-1}(t,e,0)>=0}function D(e,t){for(var r=0,n=t.length,s=Array(n);r<n;)s[r]=e(t[r]),r+=1;return s}function L(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 B=function(e){return(e<10?"0":"")+e};const V="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+B(e.getUTCMonth()+1)+"-"+B(e.getUTCDate())+"T"+B(e.getUTCHours())+":"+B(e.getUTCMinutes())+":"+B(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function U(e,t,r){for(var n=0,s=r.length;n<s;)t=e(t,r[n]),n+=1;return t}function z(e){return"[object Object]"===Object.prototype.toString.call(e)}var G=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=f,e.prototype["@@transducer/result"]=y,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 G(e,t)}}const H=p(h(["fantasy-land/filter","filter"],W,(function(e,t){return z(t)?U((function(r,n){return e(t[n])&&(r[n]=t[n]),r}),{},M(t)):function(e,t){for(var r=0,n=t.length,s=[];r<n;)e(t[r])&&(s[s.length]=t[r]),r+=1;return s}(e,t)})));const J=p((function(e,t){return H((r=e,function(){return!r.apply(this,arguments)}),t);var r}));function K(e,t){var r=function(r){var n=t.concat([e]);return q(r,n)?"<Circular>":K(r,n)},n=function(e,t){return D((function(t){return L(t)+": "+r(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+D(r,e).join(", ")+"))";case"[object Array]":return"["+D(r,e).concat(n(e,J((function(e){return/^\d+$/.test(e)}),M(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+r(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?r(NaN):L(V(e)))+")";case"[object Map]":return"new Map("+r(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+r(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+r(Array.from(e).sort())+")";case"[object String]":return"object"==typeof e?"new String("+r(e.valueOf())+")":L(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var s=e.toString();if("[object Object]"!==s)return s}return"{"+n(e,M(e)).join(", ")+"}"}}const Z=u((function(e){return K(e,[])}));const X=p((function(e,t){if(e===t)return t;function r(e,t){if(e>t!=t>e)return t>e?t:e}var n=r(e,t);if(void 0!==n)return n;var s=r(typeof e,typeof t);if(void 0!==s)return s===typeof e?e:t;var i=Z(e),o=r(i,Z(t));return void 0!==o&&o===i?e:t}));var Q=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=f,e.prototype["@@transducer/result"]=y,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const Y=p(h(["fantasy-land/map","map"],(function(e){return function(t){return new Q(e,t)}}),(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return w(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return U((function(r,n){return r[n]=e(t[n]),r}),{},M(t));default:return D(e,t)}}))),ee=Number.isInteger||function(e){return e<<0===e};function te(e){return"[object String]"===Object.prototype.toString.call(e)}const re=p((function(e,t){var r=e<0?t.length+e:e;return te(t)?t.charAt(r):t[r]}));const ne=p((function(e,t){if(null!=t)return ee(e)?re(e,t):t[e]}));const se=p((function(e,t){return Y(ne(e),t)}));function ie(e){return function t(r,n,s){switch(arguments.length){case 0:return t;case 1:return l(r)?t:p((function(t,n){return e(r,t,n)}));case 2:return l(r)&&l(n)?t:l(r)?p((function(t,r){return e(t,n,r)})):l(n)?p((function(t,n){return e(r,t,n)})):u((function(t){return e(r,n,t)}));default:return l(r)&&l(n)&&l(s)?t:l(r)&&l(n)?p((function(t,r){return e(t,r,s)})):l(r)&&l(s)?p((function(t,r){return e(t,n,r)})):l(n)&&l(s)?p((function(t,n){return e(r,t,n)})):l(r)?u((function(t){return e(t,n,s)})):l(n)?u((function(t){return e(r,t,s)})):l(s)?u((function(t){return e(r,n,t)})):e(r,n,s)}}}const oe=u((function(e){return!!m(e)||!!e&&("object"==typeof e&&(!te(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var ae="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function ce(e,t,r){return function(n,s,i){if(oe(i))return e(n,s,i);if(null==i)return s;if("function"==typeof i["fantasy-land/reduce"])return t(n,s,i,"fantasy-land/reduce");if(null!=i[ae])return r(n,s,i[ae]());if("function"==typeof i.next)return r(n,s,i);if("function"==typeof i.reduce)return t(n,s,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function le(e,t,r){for(var n=0,s=r.length;n<s;){if((t=e["@@transducer/step"](t,r[n]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n+=1}return e["@@transducer/result"](t)}const ue=p((function(e,t){return v(e.length,(function(){return e.apply(t,arguments)}))}));function pe(e,t,r){for(var n=r.next();!n.done;){if((t=e["@@transducer/step"](t,n.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n=r.next()}return e["@@transducer/result"](t)}function me(e,t,r,n){return e["@@transducer/result"](r[n](ue(e["@@transducer/step"],e),t))}const he=ce(le,me,pe);var de=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();function fe(e){return new de(e)}const ye=ie((function(e,t,r){return he("function"==typeof e?fe(e):e,t,r)}));const ge=u((function(e){return w(ye(X,0,se("length",e)),(function(){for(var t=0,r=e.length;t<r;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0}))}));const _e=u((function(e){return function(){return e}}));const be=u((function(e){return w(ye(X,0,se("length",e)),(function(){for(var t=0,r=e.length;t<r;){if(e[t].apply(this,arguments))return!0;t+=1}return!1}))}));function ve(e,t,r){for(var n=r.next();!n.done;)t=e(t,n.value),n=r.next();return t}function Ee(e,t,r,n){return r[n](e,t)}const we=ce(U,Ee,ve);const xe=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(r){return e(r)(t(r))}:we((function(e,r){return function(e,t){var r;t=t||[];var n=(e=e||[]).length,s=t.length,i=[];for(r=0;r<n;)i[i.length]=e[r],r+=1;for(r=0;r<s;)i[i.length]=t[r],r+=1;return i}(e,Y(r,t))}),[],e)}));const je=p((function(e,t){return e.apply(this,t)}));function Oe(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const Se=p((function(e,t){return e&&t}));const Pe=p((function(e,t){var r=w(e,t);return w(e,(function(){return U(xe,Y(r,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const Ae=u((function(e){return Pe(e.length,e)}));const Fe=p((function(e,t){return Oe(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:Ae(Se)(e,t)}));const $e=u((function(e){return function(t,r){return e(t,r)?-1:e(r,t)?1:0}}));const ke=Ae(u((function(e){return!e})));function Ie(e,t){return function(){return t.call(this,e.apply(this,arguments))}}function Me(e,t){return function(){var r=arguments.length;if(0===r)return t();var n=arguments[r-1];return m(n)||"function"!=typeof n[e]?t.apply(this,arguments):n[e].apply(n,Array.prototype.slice.call(arguments,0,r-1))}}const Re=ie(Me("slice",(function(e,t,r){return Array.prototype.slice.call(r,e,t)})));const Te=u(Me("tail",Re(1,1/0)));function Ne(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return v(arguments[0].length,ye(Ie,arguments[0],Te(arguments)))}const Ce=u((function(e){return te(e)?e.split("").reverse().join(""):Array.prototype.slice.call(e,0).reverse()}));function qe(){if(0===arguments.length)throw new Error("compose requires at least one argument");return Ne.apply(this,Ce(arguments))}const De=p((function(e,t){if(m(e)){if(m(t))return e.concat(t);throw new TypeError(Z(t)+" is not an array")}if(te(e)){if(te(t))return e+t;throw new TypeError(Z(t)+" is not a string")}if(null!=e&&Oe(e["fantasy-land/concat"]))return e["fantasy-land/concat"](t);if(null!=e&&Oe(e.concat))return e.concat(t);throw new TypeError(Z(e)+' does not have a method named "concat" or "fantasy-land/concat"')}));const Le=p((function(e,t){return w(ye(X,0,se("length",t)),(function(){var r=arguments,n=this;return e.apply(n,D((function(e){return e.apply(n,r)}),t))}))}));const Be=u((function(e){return w(e.length,e)}));const Ve=p((function(e,t){return null==t||t!=t?e:t}));function Ue(e,t,r){var n,s=typeof e;switch(s){case"string":case"number":return 0===e&&1/e==-1/0?!!r._items["-0"]||(t&&(r._items["-0"]=!0),!1):null!==r._nativeSet?t?(n=r._nativeSet.size,r._nativeSet.add(e),r._nativeSet.size===n):r._nativeSet.has(e):s in r._items?e in r._items[s]||(t&&(r._items[s][e]=!0),!1):(t&&(r._items[s]={},r._items[s][e]=!0),!1);case"boolean":if(s in r._items){var i=e?1:0;return!!r._items[s][i]||(t&&(r._items[s][i]=!0),!1)}return t&&(r._items[s]=e?[!1,!0]:[!0,!1]),!1;case"function":return null!==r._nativeSet?t?(n=r._nativeSet.size,r._nativeSet.add(e),r._nativeSet.size===n):r._nativeSet.has(e):s in r._items?!!q(e,r._items[s])||(t&&r._items[s].push(e),!1):(t&&(r._items[s]=[e]),!1);case"undefined":return!!r._items[s]||(t&&(r._items[s]=!0),!1);case"object":if(null===e)return!!r._items.null||(t&&(r._items.null=!0),!1);default:return(s=Object.prototype.toString.call(e))in r._items?!!q(e,r._items[s])||(t&&r._items[s].push(e),!1):(t&&(r._items[s]=[e]),!1)}}const ze=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}return e.prototype.add=function(e){return!Ue(e,!0,this)},e.prototype.has=function(e){return Ue(e,!1,this)},e}();const Ge=p((function(e,t){for(var r=[],n=0,s=e.length,i=t.length,o=new ze,a=0;a<i;a+=1)o.add(t[a]);for(;n<s;)o.add(e[n])&&(r[r.length]=e[n]),n+=1;return r}));var We=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=f,e.prototype["@@transducer/result"]=y,e.prototype["@@transducer/step"]=function(e,t){this.i+=1;var r=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?d(r):r},e}();function He(e){return function(t){return new We(e,t)}}const Je=p(h(["take"],He,(function(e,t){return Re(0,e<0?1/0:e,t)})));var Ke=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=f,e.prototype["@@transducer/result"]=y,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 Ze(e){return function(t){return new Ke(e,t)}}const Xe=p(h(["dropWhile"],Ze,(function(e,t){for(var r=0,n=t.length;r<n&&e(t[r]);)r+=1;return Re(r,1/0,t)})));const Qe=p((function(e,t){return e||t}));const Ye=p((function(e,t){return Oe(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:Ae(Qe)(e,t)}));var et=u((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():m(e)?[]:te(e)?"":z(e)?{}:A(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 tt=et;const rt=u((function(e){return w(e.length,(function(t,r){var n=Array.prototype.slice.call(arguments,0);return n[0]=r,n[1]=t,e.apply(this,n)}))}));const nt=p((function(e,t){return e>t}));const st=u((function(e){return null==e}));const it=p((function(e,t){if(0===e.length||st(t))return!1;for(var r=t,n=0;n<e.length;){if(st(r)||!O(e[n],r))return!1;r=r[e[n]],n+=1}return!0}));const ot=p((function(e,t){return it([e],t)}));const at=re(0);var ct=function(e,t){switch(arguments.length){case 0:return ct;case 1:return function t(r){return 0===arguments.length?t:S(e,r)};default:return S(e,t)}};const lt=ct;function ut(e){return e}const pt=u(ut);const mt=ie((function(e,t,r){return w(Math.max(e.length,t.length,r.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):r.apply(this,arguments)}))}));const ht=p(q);const dt=Re(0,-1);const ft="function"==typeof Object.assign?Object.assign:function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1,n=arguments.length;r<n;){var s=arguments[r];if(null!=s)for(var i in s)O(i,s)&&(t[i]=s[i]);r+=1}return t};const yt=p((function(e,t){return w(e+1,(function(){var r=arguments[e];if(null!=r&&Oe(r[t]))return r[t].apply(r,Array.prototype.slice.call(arguments,0,e));throw new TypeError(Z(r)+' does not have a method named "'+t+'"')}))}));const gt=u((function(e){return null!=e&&C(e,tt(e))}));const _t=yt(1,"join");const bt=re(-1);const vt=p((function(e,t){return e.map((function(e){for(var r,n=t,s=0;s<e.length;){if(null==n)return;r=e[s],n=ee(r)?re(r,n):n[r],s+=1}return n}))}));const Et=p((function(e,t){return vt([e],t)[0]}));const wt=p((function(e,t){return U((function(r,n){return r[n]=e(t[n],n,t),r}),{},M(t))}));const xt=p((function(e,t){return ft({},e,t)}));const jt=p((function(e,t){for(var r={},n={},s=0,i=e.length;s<i;)n[e[s]]=1,s+=1;for(var o in t)n.hasOwnProperty(o)||(r[o]=t[o]);return r}));const Ot=ie((function(e,t,r){return Ve(e,Et(t,r))}));const St=ie((function(e,t,r){return e(Et(t,r))}));const Pt=p((function(e,t){for(var r={},n=0;n<e.length;)e[n]in t&&(r[e[n]]=t[e[n]]),n+=1;return r}));const At=ie((function(e,t,r){return Ve(e,ne(t,r))}));const Ft=ie((function(e,t,r){return e(ne(t,r))}));function $t(e){return"[object Number]"===Object.prototype.toString.call(e)}const kt=p((function(e,t){if(!$t(e)||!$t(t))throw new TypeError("Both arguments to range must be numbers");for(var r=[],n=e;n<t;)r.push(n),n+=1;return r}));const It=u(d);const Mt=ie((function(e,t,r){return r.replace(e,t)}));var Rt=p((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const Tt=Rt;const Nt=yt(1,"split");const Ct=p((function(e,t){return C(Je(e.length,t),e)}));const qt=p((function(e,t){if(r=e,"[object RegExp]"!==Object.prototype.toString.call(r))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+Z(e));var r;return function(e){return new RegExp(e.source,e.flags?e.flags:(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":"")+(e.dotAll?"s":""))}(e).test(t)}));const Dt=w(4,(function(e,t,r,n){return he(e("function"==typeof t?fe(t):t),r,n)}));var Lt="\t\n\v\f\r                 \u2028\u2029\ufeff";const Bt=u("function"==typeof String.prototype.trim&&!Lt.trim()&&"​".trim()?function(e){return e.trim()}:function(e){var t=new RegExp("^["+Lt+"]["+Lt+"]*"),r=new RegExp("["+Lt+"]["+Lt+"]*$");return e.replace(t,"").replace(r,"")});const Vt=_e(void 0);const Ut=C(Vt());const zt=ke(Ut);var Gt=r(7952);const Wt=C(null);const Ht=ke(Wt);function Jt(e){return Jt="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},Jt(e)}const Kt=function(e){return"object"===Jt(e)};const Zt=w(1,Fe(Ht,Kt));const Xt=w(1,Ne(R,lt("GeneratorFunction")));const Qt=w(1,Ne(R,lt("AsyncFunction")));const Yt=be([Ne(R,lt("Function")),Xt,Qt]);var er=Ne(R,lt("Object")),tr=Ne(Z,C(Z(Object))),rr=St(Fe(Yt,tr),["constructor"]);const nr=w(1,(function(e){if(!Zt(e)||!er(e))return!1;var t=Object.getPrototypeOf(e);return!!Wt(t)||rr(t)}));class sr extends Gt.RP{constructor(e,t,r){super(e,t,r),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const ir=sr;class or extends Gt.RP{constructor(e,t,r){super(e,t,r),this.element="comment"}}const ar=or;class cr extends Gt.ON{constructor(e,t,r){super(e,t,r),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(Ut(t))return!1;const r=this.content.findIndex((e=>e===t));return-1!==r&&(this.content[r]=e,!0)}}const lr=cr;class ur extends Gt.ON{constructor(e,t,r){super(e,t,r),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 Gt.ON([e.start.row,e.start.column,e.start.char]),r=new Gt.ON([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),r.classes.push("position"),this.push(t).push(r)}}const pr=ur;class mr extends Gt.lS{constructor(){super(),this.register("annotation",ir),this.register("comment",ar),this.register("parseResult",lr),this.register("sourceMap",pr)}}const hr=new mr,dr=e=>{const t=new mr;return nr(e)&&t.use(e),t},fr=hr;const yr=w(1,Ne(R,lt("String"))),gr=r.p+"23aac571c96605dc25219087ad291441.wasm",_r=globalThis.fetch;Yt(_r)&&(globalThis.fetch=(...e)=>yr(e[0])&&e[0].endsWith("tree-sitter.wasm")?_r.apply(globalThis,[gr,Te(e)]):_r.apply(globalThis,e));var br=r(9794);const vr=r.p+"d396281e11774e0afa7a40d620779b6d.wasm";let Er=null,wr=null;const xr=async e=>{if(null===Er&&null===wr)wr=br.init().then((()=>br.Language.load(vr))).then((e=>{const t=new br;return t.setLanguage(e),t})).finally((()=>{wr=null})),Er=await wr;else if(null===Er&&null!==wr)Er=await wr;else if(null===Er)throw new Error("Error while initializing web-tree-sitter");return Er.parse(e)};var jr=r(6591);const Or=jr({props:{type:null,position:null,children:[]},init({children:e=[],position:t=null,isMissing:r=!1}={},{stamp:n={}}){this.type=n.type,this.isMissing=r,this.children=e,this.position=t},methods:{clone(){const e=Object.create(Object.getPrototypeOf(this));return Object.getOwnPropertyNames(this).forEach((t=>{const r=Object.getOwnPropertyDescriptor(this,t);Object.defineProperty(e,t,r)})),e}}});let Sr=function(e){return e.Scalar="Scalar",e.Sequence="Sequence",e.Mapping="Mapping",e}({});const Pr=jr(Or,{statics:{type:"tag"},props:{explicitName:"",kind:null},init({explicitName:e,kind:t}={}){this.explicitName=e,this.kind=t}});const Ar=C("");const Fr=w(1,Ne(R,lt("Number")));var $r=Fe(Fr,isFinite);var kr=w(1,$r);const Ir=Yt(Number.isFinite)?w(1,ue(Number.isFinite,Number)):kr;var Mr=Fe(Ir,Le(C,[Math.floor,pt]));var Rr=w(1,Mr);const Tr=Yt(Number.isInteger)?w(1,ue(Number.isInteger,Number)):Rr;const Nr=ke(Ir);const Cr=w(1,Fe(Fr,nt(0)));const qr=function(e,t){var r=Number(t);if(r!==t&&(r=0),Cr(r))throw new RangeError("repeat count must be non-negative");if(Nr(r))throw new RangeError("repeat count must be less than infinity");if(r=Math.floor(r),0===e.length||0===r)return"";if(e.length*r>=1<<28)throw new RangeError("repeat count must not overflow maximum string size");var n=e.length*r;r=Math.floor(Math.log(r)/Math.log(2));for(var s=e;r;)s+=e,r-=1;return s+=s.substring(0,n-s.length)};var Dr=Be(qr),Lr=rt(yt(1,"repeat"));const Br=Yt(String.prototype.repeat)?Lr:Dr;var Vr=Mt(/[\s\uFEFF\xA0]+$/,""),Ur=yt(0,"trimEnd");const zr=Yt(String.prototype.trimEnd)?Ur:Vr;var Gr=Mt(/^[\s\uFEFF\xA0]+/,""),Wr=yt(0,"trimStart");const Hr=Yt(String.prototype.trimStart)?Wr:Gr;const Jr=rt(ht);const Kr=Be((function(e,t){return Ne(Nt(""),Xe(Jr(e)),_t(""))(t)}));const Zr=rt(De);var Xr=r(2770);const Qr=/^(?<style>[|>])(?<chomping>[+-]?)(?<indentation>[0-9]*)\s/,Yr=e=>{const t=(e=>{const t=e.match(Qr),r=Ot("",["groups","indentation"],t);return Ar(r)?void 0:parseInt(r,10)})(e);if(Tr(t))return Br(" ",t);const r=Ot("",[1],e.split("\n")),n=Ot(0,["groups","indentation","length"],r.match(/^(?<indentation>[ ]*)/));return Br(" ",n)},en=e=>{const t=e.match(Qr),r=Ot("",["groups","chomping"],t);return Ar(r)?void 0:r},tn=(e,t)=>Ut(e)?`${zr(t)}\n`:"-"===e?zr(t):t,rn=e=>e.replace(/\r\n/g,"\n"),nn=e=>e.replace(/(\n)?\n([^\n]+)/g,((e,t,r)=>t?e:` ${r.trimStart()}`)).replace(/[\n]{2}/g,"\n"),sn=Be(((e,t)=>t.replace(new RegExp(`^${e}`),"").replace(new RegExp(`${e}$`),""))),on=Ne(rn,Bt,nn,Nt("\n"),Y(Hr),_t("\n")),an=Ne(rn,Bt,sn("'"),nn,Nt("\n"),Y(Hr),_t("\n")),cn=Ne(rn,Bt,sn('"'),(e=>e.replace(/\\\n\s*/g,"")),nn,Xr.S6,Nt("\n"),Y(Hr),_t("\n"));let ln=function(e){return e.Plain="Plain",e.SingleQuoted="SingleQuoted",e.DoubleQuoted="DoubleQuoted",e.Literal="Literal",e.Folded="Folded",e.Explicit="Explicit",e.SinglePair="SinglePair",e.NextLine="NextLine",e.InLine="InLine",e}({}),un=function(e){return e.Flow="Flow",e.Block="Block",e}({});const pn=jr({props:{styleGroup:null,style:null}}),mn=jr({methods:{test:e=>e.tag.kind===Sr.Scalar&&"string"==typeof e.content,canonicalFormat(e){let t=e.content;const r=e.clone();return e.style===ln.Plain?t=on(e.content):e.style===ln.SingleQuoted?t=an(e.content):e.style===ln.DoubleQuoted?t=cn(e.content):e.style===ln.Literal?t=(e=>{const t=Yr(e),r=en(e),n=rn(e),s=Te(n.split("\n")),i=qe(Y(Kr(t)),Y(Zr("\n"))),o=Dt(i,De,"",s);return tn(r,o)})(e.content):e.style===ln.Folded&&(t=(e=>{const t=Yr(e),r=en(e),n=rn(e),s=Te(n.split("\n")),i=qe(Y(Kr(t)),Y(Zr("\n"))),o=Dt(i,De,"",s),a=nn(o);return tn(r,a)})(e.content)),r.content=t,r},resolve:e=>e}}),hn=jr(mn,{props:{tag:""}}),dn=jr(hn,{statics:{uri:"tag:yaml.org,2002:map"},init(e,{stamp:t}){this.tag=t.uri},methods:{test:e=>e.tag.kind===Sr.Mapping,resolve:e=>e}}),fn=jr(hn,{statics:{uri:"tag:yaml.org,2002:seq"},init(e,{stamp:t}){this.tag=t.uri},methods:{test:e=>e.tag.kind===Sr.Sequence,resolve:e=>e}}),yn=jr(hn,{statics:{uri:"tag:yaml.org,2002:str"},init(e,{stamp:t}){this.tag=t.uri},methods:{resolve:e=>e}}),gn=jr({props:{tags:[],tagDirectives:[]},init(){this.tags=[],this.tagDirectives=[],this.registerTag(dn()),this.registerTag(fn()),this.registerTag(yn())},methods:{toSpecificTagName(e){let t=e.tag.explicitName;return"!"===e.tag.explicitName?e.tag.kind===Sr.Scalar?t=yn.uri:e.tag.kind===Sr.Sequence?t=fn.uri:e.tag.kind===Sr.Mapping&&(t=dn.uri):e.tag.explicitName.startsWith("!<")?t=e.tag.explicitName.replace(/^!</,"").replace(/>$/,""):e.tag.explicitName.startsWith("!!")&&(t=`tag:yaml.org,2002:${e.tag.explicitName.replace(/^!!/,"")}`),t},registerTagDirective(e){this.tagDirectives.push({handle:e.parameters.handle,prefix:e.parameters.prefix})},registerTag(e,t=!1){return t?this.tags.unshift(e):this.tags.push(e),this},overrideTag(e){return this.tags=this.tags.filter((t=>t.tag===e.tag)),this.tags.push(e),this},resolve(e){const t=this.toSpecificTagName(e);if("?"===t)return e;let r=e;e.tag.kind===Sr.Scalar&&(r=mn().canonicalFormat(e));const n=this.tags.find((e=>(null==e?void 0:e.tag)===t));if(void 0===n)throw new Error(`Tag "${t}" couldn't be resolved`);if(!n.test(r))throw new Error(`Node couldn't be resolved against tag "${t}"`);return n.resolve(r)}}}),_n=gn,bn=jr(hn,{statics:{uri:"tag:yaml.org,2002:bool"},init(e,{stamp:t}){this.tag=t.uri},methods:{test:e=>/^(true|false)$/.test(e.content),resolve(e){const t="true"===e.content,r=e.clone();return r.content=t,r}}}),vn=jr(hn,{statics:{uri:"tag:yaml.org,2002:float"},init(e,{stamp:t}){this.tag=t.uri},methods:{test:e=>/^-?(0|[1-9][0-9]*)(\.[0-9]*)?([eE][-+]?[0-9]+)?$/.test(e.content),resolve(e){const t=parseFloat(e.content),r=e.clone();return r.content=t,r}}}),En=jr(hn,{statics:{uri:"tag:yaml.org,2002:int"},init(e,{stamp:t}){this.tag=t.uri},methods:{test:e=>/^-?(0|[1-9][0-9]*)$/.test(e.content),resolve(e){const t=parseInt(e.content,10),r=e.clone();return r.content=t,r}}}),wn=jr(hn,{statics:{uri:"tag:yaml.org,2002:null"},init(e,{stamp:t}){this.tag=t.uri},methods:{test:e=>/^null$/.test(e.content),resolve(e){const t=e.clone();return t.content=null,t}}}),xn=jr(_n,{init(){this.registerTag(bn(),!0),this.registerTag(vn(),!0),this.registerTag(En(),!0),this.registerTag(wn(),!0)},methods:{toSpecificTagName(e){let t=_n.compose.methods.toSpecificTagName.call(this,e);if("?"===t)if(e.tag.vkind===Sr.Sequence)t=fn.uri;else if(e.tag.kind===Sr.Mapping)t=dn.uri;else if(e.tag.kind===Sr.Scalar){const r=this.tags.find((t=>t.test(e)));t=(null==r?void 0:r.tag)||"?"}return t}}}),jn=xn,On=(e,t,r)=>{const n=e[t];if(null!=n){if(!r&&"function"==typeof n)return n;const e=r?n.leave:n.enter;if("function"==typeof e)return e}else{const n=r?e.leave:e.enter;if(null!=n){if("function"==typeof n)return n;const e=n[t];if("function"==typeof e)return e}}return null},Sn={},Pn=e=>null==e?void 0:e.type,An=e=>"string"==typeof Pn(e),Fn=(e,t,{keyMap:r=null,state:n={},breakSymbol:s=Sn,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=On,nodeTypeGetter:c=Pn,nodePredicate:l=An,detectCycles:u=!0}={})=>{const p=r||{};let m,h,d=Array.isArray(e),f=[e],y=-1,g=[];const _=[],b=[];let v=e;do{y+=1;const e=y===f.length;let r,E;const w=e&&0!==g.length;if(e){if(r=0===b.length?void 0:_.pop(),E=h,h=b.pop(),w){E=d?E.slice():Object.create(Object.getPrototypeOf(E),Object.getOwnPropertyDescriptors(E));let e=0;for(let t=0;t<g.length;t+=1){let r=g[t][0];const n=g[t][1];d&&(r-=e),d&&n===i?(E.splice(r,1),e+=1):E[r]=n}}y=m.index,f=m.keys,g=m.edits,d=m.inArray,m=m.prev}else{if(r=h?d?y:f[y]:void 0,E=h?h[r]:v,E===i||void 0===E)continue;h&&_.push(r)}if(b.includes(E))continue;let x;if(!Array.isArray(E)){if(!l(E))throw new Error(`Invalid AST Node: ${JSON.stringify(E)}`);if(u&&b.includes(E)){_.pop();continue}const i=a(t,c(E),e);if(i){for(const[e,r]of Object.entries(n))t[e]=r;if(x=i.call(t,E,r,h,_,b),x===s)break;if(x===o){if(!e){_.pop();continue}}else if(void 0!==x&&(g.push([r,x]),!e)){if(!l(x)){_.pop();continue}E=x}}}void 0===x&&w&&g.push([r,E]),e||(m={inArray:d,index:y,keys:f,edits:g,prev:m},d=Array.isArray(E),f=d?E:p[c(E)]||[],y=-1,g=[],h&&b.push(h),h=E)}while(void 0!==m);return 0!==g.length&&([,v]=g[g.length-1]),v};Fn[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:r=null,state:n={},breakSymbol:s=Sn,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=On,nodeTypeGetter:c=Pn,nodePredicate:l=An,detectCycles:u=!0}={})=>{const p=r||{};let m,h,d=Array.isArray(e),f=[e],y=-1,g=[];const _=[],b=[];let v=e;do{y+=1;const e=y===f.length;let r,E;const w=e&&0!==g.length;if(e){if(r=0===b.length?void 0:_.pop(),E=h,h=b.pop(),w){E=d?E.slice():Object.create(Object.getPrototypeOf(E),Object.getOwnPropertyDescriptors(E));let e=0;for(let t=0;t<g.length;t+=1){let r=g[t][0];const n=g[t][1];d&&(r-=e),d&&n===i?(E.splice(r,1),e+=1):E[r]=n}}y=m.index,f=m.keys,g=m.edits,d=m.inArray,m=m.prev}else{if(r=h?d?y:f[y]:void 0,E=h?h[r]:v,E===i||void 0===E)continue;h&&_.push(r)}let x;if(!Array.isArray(E)){if(!l(E))throw new Error(`Invalid AST Node: ${JSON.stringify(E)}`);if(u&&b.includes(E)){_.pop();continue}const i=a(t,c(E),e);if(i){for(const[e,r]of Object.entries(n))t[e]=r;if(x=await i.call(t,E,r,h,_,b),x===s)break;if(x===o){if(!e){_.pop();continue}}else if(void 0!==x&&(g.push([r,x]),!e)){if(!l(x)){_.pop();continue}E=x}}}void 0===x&&w&&g.push([r,E]),e||(m={inArray:d,index:y,keys:f,edits:g,prev:m},d=Array.isArray(E),f=d?E:p[c(E)]||[],y=-1,g=[],h&&b.push(h),h=E)}while(void 0!==m);return 0!==g.length&&([,v]=g[g.length-1]),v};const $n=jr({statics:{type:"point"},props:{type:"point",row:null,column:null,char:null},init({row:e=null,column:t=null,char:r=null}={}){this.row=e,this.column=t,this.char=r}}),kn=jr({statics:{type:"position"},props:{type:"position",start:null,end:null},init({start:e=null,end:t=null}={}){this.start=e,this.end=t}}),In=jr(Or,{statics:{type:"anchor"},props:{name:null},init({name:e=null}={}){this.name=e}}),Mn=jr(Or,{props:{anchor:null,tag:null,style:null,styleGroup:null},init({anchor:e=null,tag:t=null,style:r=null,styleGroup:n=null}={}){this.anchor=e,this.tag=t,this.style=r,this.styleGroup=n}}),Rn=Mn,Tn=jr(Rn,{statics:{type:"scalar"},props:{content:""},init({content:e}={}){this.content=e}}),Nn=jr(Or,{statics:{type:"literal"},props:{value:null},init({value:e=null}={}){this.value=e}}),Cn=(e,t)=>(null==t?void 0:t.type)===e,qn=(Cn.bind(void 0,"literal"),Cn.bind(void 0,"position"),Cn.bind(void 0,"point"),Cn.bind(void 0,"parseResult"),Cn.bind(void 0,"stream"),Cn.bind(void 0,"document")),Dn=Cn.bind(void 0,"mapping"),Ln=Cn.bind(void 0,"sequence"),Bn=Cn.bind(void 0,"keyValuePair"),Vn=(Cn.bind(void 0,"tag"),Cn.bind(void 0,"scalar")),Un=Cn.bind(void 0,"alias"),zn=(Cn.bind(void 0,"directive"),Cn.bind(void 0,"comment")),Gn=jr(Or,{statics:{type:"stream"},propertyDescriptors:{content:{get(){return Array.isArray(this.children)?this.children.filter((e=>qn(e)||zn(e))):[]},enumerable:!0}}}),Wn=jr(Or,{statics:{type:"parseResult"},methods:{get rootNode(){return at(this.children)}}}),Hn=jr(Or,{statics:{type:"directive"},props:{name:null,parameters:null},init({name:e=null,parameters:t={}}={}){this.name=e,this.parameters=xt({version:null,handle:null,prefix:null},t)}}),Jn=jr(Or,{statics:{type:"document"}}),Kn=jr(Rn,{}),Zn=jr(Kn,{statics:{type:"mapping"},propertyDescriptors:{content:{get(){return Array.isArray(this.children)?this.children.filter(Bn):[]},enumerable:!0}}}),Xn=jr(Or,pn,{statics:{type:"keyValuePair"},propertyDescriptors:{key:{get(){return this.children.filter((e=>Vn(e)||Dn(e)||Ln(e)))[0]},enumerable:!0},value:{get(){const{key:e,children:t}=this;return t.filter((t=>(t=>t!==e)(t)&&(e=>Vn(e)||Dn(e)||Ln(e)||Un(e))(t)))[0]},enumerable:!0}}}),Qn=jr(Kn,{statics:{type:"sequence"},propertyDescriptors:{content:{get(){const{children:e}=this;return Array.isArray(e)?e.filter((e=>Ln(e)||Dn(e)||Vn(e)||Un(e))):[]},enumerable:!0}}}),Yn=jr(Or,{statics:{type:"comment"},props:{content:null},init({content:e=null}={}){this.content=e}}),es=jr(Or,{statics:{type:"error"},props:{value:null,isUnexpected:!1},init({value:e=null,isUnexpected:t=!1}={}){this.value=e,this.isUnexpected=t}}),ts={stream:["children"],document:["children"],mapping:["children"],keyValuePair:["children"],sequence:["children"],error:["children"]},rs=e=>Array.isArray(e)||An(e),ns=jr({props:{schema:null},init(){const e=e=>{if(null===e)return null;const t=$n({row:e.startPosition.row,column:e.startPosition.column,char:e.startIndex}),r=$n({row:e.endPosition.row,column:e.endPosition.column,char:e.endIndex});return kn({start:t,end:r})},t=t=>{var r;let{previousSibling:n}=t;for(;null!==n&&"tag"!==n.type;)({previousSibling:n}=n);const s=null!==(r=n)&&void 0!==r&&r.text||"plain_scalar"===t.type?"?":"!",i=t.type.endsWith("mapping")?Sr.Mapping:t.type.endsWith("sequence")?Sr.Sequence:Sr.Scalar,o=e(n);return Pr({explicitName:s,kind:i,position:o})},r=t=>{let{previousSibling:r}=t;for(;null!==r&&"anchor"!==r.type;)({previousSibling:r}=r);return null===r?null:In({name:r.text,position:e(r)})},n=e=>t=>"string"==typeof(null==t?void 0:t.type)&&t.type.endsWith(e),s=n("scalar"),i=n("mapping"),o=n("sequence"),a=(e,t)=>{var r;return`${e}Node`in t?t[`${e}Node`]:"childForFieldName"in t?null===(r=t.childForFieldName)||void 0===r?void 0:r.call(t,e):null},c=e=>{if("block_mapping_pair"!==e.type&&"flow_pair"!==e.type)return!1;return null===a("key",e)},l=e=>{if("block_mapping_pair"!==e.type&&"flow_pair"!==e.type)return!1;return null===a("value",e)},u=t=>{const r=$n({row:t.startPosition.row,column:t.startPosition.column,char:t.startIndex}),s=a("key",t),i=(null==s?void 0:s.children)||[],o=i.find(n("tag")),c=i.find(n("anchor")),l=Pr(void 0!==o?{explicitName:o.text,kind:Sr.Scalar,position:e(o)}:{explicitName:"?",kind:Sr.Scalar}),u=void 0!==c?In({name:c.text,position:e(c)}):null;return Tn({content:"",position:kn({start:r,end:r}),tag:l,anchor:u,styleGroup:un.Flow,style:ln.Plain})},p=t=>{const r=$n({row:t.endPosition.row,column:t.endPosition.column,char:t.endIndex}),s=a("value",t),i=(null==s?void 0:s.children)||[],o=i.find(n("tag")),c=i.find(n("anchor")),l=Pr(void 0!==o?{explicitName:o.text,kind:Sr.Scalar,position:e(o)}:{explicitName:"?",kind:Sr.Scalar}),u=void 0!==c?In({name:c.text,position:e(c)}):null;return Tn({content:"",position:kn({start:r,end:r}),tag:l,anchor:u,styleGroup:un.Flow,style:ln.Plain})};this.enter=function(t){if("function"==typeof t.isNamed&&!t.isNamed()||!1===t.isNamed){const r=e(t),n=t.type||t.text,s=t.isMissing();return Nn({value:n,position:r,isMissing:s})}},this.stream={enter(t){const r=e(t);return Gn({children:t.children,position:r,isMissing:t.isMissing()})},leave:e=>Wn({children:[e]})},this.yaml_directive={enter(t){var r;const n=e(t),s=(null==t||null===(r=t.firstNamedChild)||void 0===r?void 0:r.text)||null;return Hn({position:n,name:"%YAML",parameters:{version:s}})}},this.tag_directive={enter(t){const r=e(t),n=t.child(0),s=t.child(1),i=Hn({position:r,name:"%TAG",parameters:{handle:(null==n?void 0:n.text)||null,prefix:(null==s?void 0:s.text)||null}});return this.schema.registerTagDirective(i),i}},this.reserved_directive={enter(t){const r=e(t),n=t.child(0),s=t.child(1),i=t.child(2);return Hn({position:r,name:(null==n?void 0:n.text)||null,parameters:{handle:(null==s?void 0:s.text)||null,prefix:(null==i?void 0:i.text)||null}})}},this.document={enter(t){const r=e(t);return Jn({children:t.children,position:r,isMissing:t.isMissing()})},leave(e){e.children=e.children.flat()}},this.block_node={enter:e=>e.children},this.flow_node={enter(e){const[n]=e.children.slice(-1);if(s(n)||i(n)||o(n))return e.children;const a=$n({row:n.endPosition.row,column:n.endPosition.column,char:n.endIndex}),c=Tn({content:"",anchor:r(n),tag:t(n),position:kn({start:a,end:a}),styleGroup:un.Flow,style:ln.Plain});return[...e.children,c]}},this.tag={enter:()=>null},this.anchor={enter:()=>null},this.block_mapping={enter(n){const s=e(n),i=t(n),o=r(n),a=Zn({children:n.children,position:s,anchor:o,tag:i,styleGroup:un.Block,style:ln.NextLine,isMissing:n.isMissing()});return this.schema.resolve(a)}},this.block_mapping_pair={enter(t){const r=e(t),n=[...t.children];if(c(t)){const e=u(t);n.unshift(e)}if(l(t)){const e=p(t);n.push(e)}return Xn({children:n,position:r,styleGroup:un.Block,isMissing:t.isMissing()})}},this.flow_mapping={enter(n){const s=e(n),i=t(n),o=r(n),a=Zn({children:n.children,position:s,anchor:o,tag:i,styleGroup:un.Flow,style:ln.Explicit,isMissing:n.isMissing()});return this.schema.resolve(a)}},this.flow_pair={enter(t){const r=e(t),n=[...t.children];if(c(t)){const e=u(t);n.unshift(e)}if(l(t)){const e=p(t);n.push(e)}return Xn({children:n,position:r,styleGroup:un.Flow,isMissing:t.isMissing()})}},this.keyValuePair={leave(e){e.children=e.children.flat()}},this.block_sequence={enter(n){const s=e(n),i=t(n),o=r(n),a=Qn({children:n.children,position:s,anchor:o,tag:i,styleGroup:un.Block,style:ln.NextLine});return this.schema.resolve(a)}},this.block_sequence_item={enter(e){if(e.children.length>1)return e.children;const t=$n({row:e.endPosition.row,column:e.endPosition.column,char:e.endIndex});return[Tn({content:"",anchor:null,tag:Pr({explicitName:"?",kind:Sr.Scalar}),position:kn({start:t,end:t}),styleGroup:un.Flow,style:ln.Plain})]}},this.flow_sequence={enter(n){const s=e(n),i=t(n),o=r(n),a=Qn({children:n.children.flat(),position:s,anchor:o,tag:i,styleGroup:un.Flow,style:ln.Explicit});return this.schema.resolve(a)}},this.sequence={leave(e){e.children=e.children.flat(1/0)}},this.plain_scalar={enter(n){const s=e(n),i=t(n),o=r(n),a=Tn({content:n.text,anchor:o,tag:i,position:s,styleGroup:un.Flow,style:ln.Plain});return this.schema.resolve(a)}},this.single_quote_scalar={enter(n){const s=e(n),i=t(n),o=r(n),a=Tn({content:n.text,anchor:o,tag:i,position:s,styleGroup:un.Flow,style:ln.SingleQuoted});return this.schema.resolve(a)}},this.double_quote_scalar={enter(n){const s=e(n),i=t(n),o=r(n),a=Tn({content:n.text,anchor:o,tag:i,position:s,styleGroup:un.Flow,style:ln.DoubleQuoted});return this.schema.resolve(a)}},this.block_scalar={enter(n){const s=e(n),i=t(n),o=r(n),a=n.text.startsWith("|")?ln.Literal:n.text.startsWith(">")?ln.Folded:null,c=Tn({content:n.text,anchor:o,tag:i,position:s,styleGroup:un.Block,style:a});return this.schema.resolve(c)}},this.comment={enter:e=>Yn({content:e.text})},this.ERROR=function(t,r,n,s){const i=e(t),o=es({children:t.children,position:i,isUnexpected:!t.hasError(),isMissing:t.isMissing(),value:t.text});return 0===s.length?Wn({children:[o]}):o}}}),ss=ns;var is=r(229),os=r(2185),as=r(9982);function cs(e){return cs="function"==typeof os&&"symbol"==typeof as?function(e){return typeof e}:function(e){return e&&"function"==typeof os&&e.constructor===os&&e!==os.prototype?"symbol":typeof e},cs(e)}var ls=r(8241);function us(e){var t=function(e,t){if("object"!==cs(e)||null===e)return e;var r=e[ls];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==cs(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===cs(t)?t:String(t)}function ps(e,t,r){return(t=us(t))in e?is(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ms=r(5090),hs=r(2747),ds=r(5483);function fs(e,t){if(null==e)return{};var r,n,s=function(e,t){if(null==e)return{};var r,n,s={},i=ds(e);for(n=0;n<i.length;n++)r=i[n],hs(t).call(t,r)>=0||(s[r]=e[r]);return s}(e,t);if(ms){var i=ms(e);for(n=0;n<i.length;n++)r=i[n],hs(t).call(t,r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(s[r]=e[r])}return s}const ys=(e,t)=>"function"==typeof(null==t?void 0:t[e]),gs=e=>null!=e&&Object.prototype.hasOwnProperty.call(e,"_storedElement")&&Object.prototype.hasOwnProperty.call(e,"_content"),_s=(e,t)=>{var r;return(null==t||null===(r=t.primitive)||void 0===r?void 0:r.call(t))===e},bs=(e,t)=>{var r,n;return(null==t||null===(r=t.classes)||void 0===r||null===(n=r.includes)||void 0===n?void 0:n.call(r,e))||!1},vs=(e,t)=>(null==t?void 0:t.element)===e,Es=e=>e({hasMethod:ys,hasBasicElementProps:gs,primitiveEq:_s,isElementType:vs,hasClass:bs}),ws=Es((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof Gt.W_||e(r)&&t(void 0,r))),xs=Es((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof Gt.RP||e(r)&&t("string",r))),js=Es((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof Gt.VL||e(r)&&t("number",r))),Os=Es((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof Gt.zr||e(r)&&t("null",r))),Ss=Es((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof Gt.hh||e(r)&&t("boolean",r))),Ps=Es((({hasBasicElementProps:e,primitiveEq:t,hasMethod:r})=>n=>n instanceof Gt.Sb||e(n)&&t("object",n)&&r("keys",n)&&r("values",n)&&r("items",n))),As=Es((({hasBasicElementProps:e,primitiveEq:t,hasMethod:r})=>n=>n instanceof Gt.ON&&!(n instanceof Gt.Sb)||e(n)&&t("array",n)&&r("push",n)&&r("unshift",n)&&r("map",n)&&r("reduce",n))),Fs=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Gt.c6||e(n)&&t("member",n)&&r(void 0,n))),$s=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Gt.EA||e(n)&&t("link",n)&&r(void 0,n))),ks=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Gt.tK||e(n)&&t("ref",n)&&r(void 0,n))),Is=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof ir||e(n)&&t("annotation",n)&&r("array",n))),Ms=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof ar||e(n)&&t("comment",n)&&r("string",n))),Rs=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof lr||e(n)&&t("parseResult",n)&&r("array",n))),Ts=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof pr||e(n)&&t("sourceMap",n)&&r("array",n))),Ns=e=>vs("object",e)||vs("array",e)||vs("boolean",e)||vs("number",e)||vs("string",e)||vs("null",e)||vs("member",e),Cs=e=>{var t,r;return Ts(null==e||null===(t=e.meta)||void 0===t||null===(r=t.get)||void 0===r?void 0:r.call(t,"sourceMap"))},qs=(e,t)=>{if(0===e.length)return!0;const r=t.attributes.get("symbols");return!!As(r)&&b(Jr(r.toValue()),e)},Ds=(e,t)=>0===e.length||b(Jr(t.classes.toValue()),e),Ls=["keyMap"],Bs=["keyMap"];function Vs(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Us(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Vs(Object(r),!0).forEach((function(t){ps(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vs(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const zs=e=>Ps(e)?"ObjectElement":As(e)?"ArrayElement":Fs(e)?"MemberElement":xs(e)?"StringElement":Ss(e)?"BooleanElement":js(e)?"NumberElement":Os(e)?"NullElement":$s(e)?"LinkElement":ks(e)?"RefElement":void 0,Gs=Ne(zs,yr),Ws={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]},Hs=(jr({props:{result:[],predicate:a,returnOnTrue:void 0,returnOnFalse:void 0},init({predicate:e=this.predicate,returnOnTrue:t=this.returnOnTrue,returnOnFalse:r=this.returnOnFalse}={}){this.result=[],this.predicate=e,this.returnOnTrue=t,this.returnOnFalse=r},methods:{enter(e){return this.predicate(e)?(this.result.push(e),this.returnOnTrue):this.returnOnFalse}}}),(e,t,r={})=>{let{keyMap:n=Ws}=r,s=fs(r,Ls);return Fn(e,t,Us({keyMap:n,nodeTypeGetter:zs,nodePredicate:Gs},s))});Hs[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,r={})=>{let{keyMap:n=Ws}=r,s=fs(r,Bs);return Fn[Symbol.for("nodejs.util.promisify.custom")](e,t,Us({keyMap:n,nodeTypeGetter:zs,nodePredicate:Gs},s))};const Js=ke(Yt);const Ks=w(1,Yt(Array.isArray)?Array.isArray:Ne(R,lt("Array")));const Zs=Fe(Ks,gt);const Xs=w(3,(function(e,t,r){var n=Et(e,r),s=Et(dt(e),r);if(!Js(n)&&!Zs(e)){var i=ue(n,s);return je(i,t)}}));function Qs(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const Ys=()=>({predicates:function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Qs(Object(r),!0).forEach((function(t){ps(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Qs(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e),namespace:fr}),ei=(e,t,r={})=>{if(0===t.length)return e;const n=At(Ys,"toolboxCreator",r),s=At({},"visitorOptions",r),i=At(zs,"nodeTypeGetter",s),o=n(),a=t.map((e=>e(o))),c=((e,{visitFnGetter:t=On,nodeTypeGetter:r=Pn}={})=>{const n=new Array(e.length);return{enter(s,...i){for(let o=0;o<e.length;o+=1)if(null==n[o]){const a=t(e[o],r(s),!1);if("function"==typeof a){const t=a.call(e[o],s,...i);if(!1===t)n[o]=s;else if(t===Sn)n[o]=Sn;else if(void 0!==t)return t}}},leave(s,...i){for(let o=0;o<e.length;o+=1)if(null==n[o]){const a=t(e[o],r(s),!0);if("function"==typeof a){const t=a.call(e[o],s,...i);if(t===Sn)n[o]=Sn;else if(void 0!==t&&!1!==t)return t}}else n[o]===s&&(n[o]=null)}}})(a.map(At({},"visitor")),{nodeTypeGetter:i});a.forEach(Xs(["pre"],[]));const l=Hs(e,c,s);return a.forEach(Xs(["post"],[])),l};function ti(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ri(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ti(Object(r),!0).forEach((function(t){ps(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ti(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const ni=(e,{Type:t,plugins:r=[]})=>{const n=new t(e);return ei(n,r,{toolboxCreator:Ys,visitorOptions:{nodeTypeGetter:zs}})},si=e=>(t,r={})=>ni(t,ri(ri({},r),{},{Type:e}));function ii(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}Gt.Sb.refract=si(Gt.Sb),Gt.ON.refract=si(Gt.ON),Gt.RP.refract=si(Gt.RP),Gt.hh.refract=si(Gt.hh),Gt.zr.refract=si(Gt.zr),Gt.VL.refract=si(Gt.VL),Gt.EA.refract=si(Gt.EA),Gt.tK.refract=si(Gt.tK),ir.refract=si(ir),ar.refract=si(ar),lr.refract=si(lr),pr.refract=si(pr);const oi=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ii(Object(r),!0).forEach((function(t){ps(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ii(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({stream:["children"],document:["children"],mapping:["children"],keyValuePair:["children"],sequence:["children"],error:["children"]},Ws),ai=e=>ws(e)?zs(e):Pn(e),ci=e=>ws(e)||An(e)||Array.isArray(e),li=jr({props:{sourceMap:!1,processedDocumentCount:0,annotations:[],namespace:null},init(){const e=(e,t)=>{if(!this.sourceMap)return;const r=new pr;r.position=e.position,r.astNode=e,t.meta.set("sourceMap",r)};this.namespace=dr(),this.annotations=[],this.stream={leave(e){const t=new lr;t._content=e.children.flat(1);const r=t.findElements(Ns);if(r.length>0){r[0].classes.push("result")}return this.annotations.forEach((e=>{t.push(e)})),this.annotations=[],t}},this.comment=function(t){if(0===this.processedDocumentCount){const r=new ar(t.content);return e(t,r),r}return null},this.document=function(t){const r=1===this.processedDocumentCount,n=this.processedDocumentCount>=1;if(r){const r=new ir("Only first document within YAML stream will be used. Rest will be discarded.");r.classes.push("warning"),e(t,r),this.annotations.push(r)}return n?null:(this.processedDocumentCount+=1,t.children)},this.mapping=function(t){const r=new Gt.Sb;return r._content=t.children,e(t,r),r},this.keyValuePair=function(t){const r=new Gt.c6;return r.content.key=t.key,r.content.value=t.value,e(t,r),t.children.filter((e=>"error"===e.type)).forEach((e=>{this.error(e,t,[],[t])})),r},this.sequence=function(t){const r=new Gt.ON;return r._content=t.children,e(t,r),r},this.scalar=function(t){const r=this.namespace.toElement(t.content);return""===t.content&&t.style===ln.Plain&&(r.classes.push("yaml-e-node"),r.classes.push("yaml-e-scalar")),e(t,r),r},this.literal=function(t){if(t.isMissing){const r=`(Missing ${t.value})`,n=new ir(r);n.classes.push("warning"),e(t,n),this.annotations.push(n)}return null},this.error=function(t,r,n,s){const i=t.isUnexpected?"(Unexpected YAML syntax error)":"(Error YAML syntax error)",o=new ir(i);if(o.classes.push("error"),e(t,o),0===s.length){const e=new lr;return e.push(o),e}return this.annotations.push(o),null}}}),ui=(e,{sourceMap:t=!1}={})=>{const r=ss(),n=li(),s=jn(),i=Fn(e.rootNode,r,{keyMap:ts,nodePredicate:rs,state:{schema:s,sourceMap:t}});return Fn(i.rootNode,n,{keyMap:oi,nodeTypeGetter:ai,nodePredicate:ci,state:{sourceMap:t}})};class pi extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.element="callback"}}const mi=pi;class hi extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.element="components"}get schemas(){return this.get("schemas")}set schemas(e){this.set("schemas",e)}get responses(){return this.get("responses")}set responses(e){this.set("responses",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get requestBodies(){return this.get("requestBodies")}set requestBodies(e){this.set("requestBodies",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get securitySchemes(){return this.get("securitySchemes")}set securitySchemes(e){this.set("securitySchemes",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get callbacks(){return this.get("callbacks")}set callbacks(e){this.set("callbacks",e)}}const di=hi;class fi extends Gt.Sb{constructor(e,t,r){super(e,t,r),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 yi=fi;class gi extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.element="discriminator"}get propertyName(){return this.get("propertyName")}set propertyName(e){this.set("propertyName",e)}get mapping(){return this.get("mapping")}set mapping(e){this.set("mapping",e)}}const _i=gi;class bi extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.element="encoding"}get contentType(){return this.get("contentType")}set contentType(e){this.set("contentType",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowedReserved(){return this.get("allowedReserved")}set allowedReserved(e){this.set("allowedReserved",e)}}const vi=bi;class Ei extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.element="example"}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 value(){return this.get("value")}set value(e){this.set("value",e)}get externalValue(){return this.get("externalValue")}set externalValue(e){this.set("externalValue",e)}}const wi=Ei;class xi extends Gt.Sb{constructor(e,t,r){super(e,t,r),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 ji=xi;class Oi extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.element="header"}get required(){return this.hasKey("required")?this.get("required"):new Gt.hh(!1)}set required(e){this.set("required",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new Gt.hh(!1)}set deprecated(e){this.set("deprecated",e)}get allowEmptyValue(){return this.get("allowEmptyValue")}set allowEmptyValue(e){this.set("allowEmptyValue",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowReserved(){return this.get("allowReserved")}set allowReserved(e){this.set("allowReserved",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}}Object.defineProperty(Oi.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0});const Si=Oi;class Pi extends Gt.Sb{constructor(e,t,r){super(e,t,r),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 contact(){return this.get("contact")}set contact(e){this.set("contact",e)}get license(){return this.get("license")}set license(e){this.set("license",e)}get version(){return this.get("version")}set version(e){this.set("version",e)}}const Ai=Pi;class Fi extends Gt.Sb{constructor(e,t,r){super(e,t,r),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 $i=Fi;class ki extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.element="link"}get operationRef(){return this.get("operationRef")}set operationRef(e){this.set("operationRef",e)}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get operation(){var e,t;return xs(this.operationRef)?null===(e=this.operationRef)||void 0===e?void 0:e.meta.get("operation"):xs(this.operationId)?null===(t=this.operationId)||void 0===t?void 0:t.meta.get("operation"):void 0}set operation(e){this.set("operation",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get server(){return this.get("server")}set server(e){this.set("server",e)}}const Ii=ki;class Mi extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.element="mediaType"}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get encoding(){return this.get("encoding")}set encoding(e){this.set("encoding",e)}}const Ri=Mi;class Ti extends Gt.Sb{constructor(e,t,r){super(e,t,r),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 Ni=Ti;class Ci extends Gt.Sb{constructor(e,t,r){super(e,t,r),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 qi=Ci;class Di extends Gt.RP{constructor(e,t,r){super(e,t,r),this.element="openapi",this.classes.push("spec-version"),this.classes.push("version")}}const Li=Di;class Bi extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.element="openApi3_0",this.classes.push("api")}get openapi(){return this.get("openapi")}set openapi(e){this.set("openapi",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 paths(){return this.get("paths")}set paths(e){this.set("paths",e)}get components(){return this.get("components")}set components(e){this.set("components",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)}}const Vi=Bi;class Ui extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.element="operation"}get tags(){return this.get("tags")}set tags(e){this.set("tags",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)}set externalDocs(e){this.set("externalDocs",e)}get externalDocs(){return this.get("externalDocs")}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}get responses(){return this.get("responses")}set responses(e){this.set("responses",e)}get callbacks(){return this.get("callbacks")}set callbacks(e){this.set("callbacks",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new Gt.hh(!1)}set deprecated(e){this.set("deprecated",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get servers(){return this.get("severs")}set servers(e){this.set("servers",e)}}const zi=Ui;class Gi extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.element="parameter"}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 required(){return this.hasKey("required")?this.get("required"):new Gt.hh(!1)}set required(e){this.set("required",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new Gt.hh(!1)}set deprecated(e){this.set("deprecated",e)}get allowEmptyValue(){return this.get("allowEmptyValue")}set allowEmptyValue(e){this.set("allowEmptyValue",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowReserved(){return this.get("allowReserved")}set allowReserved(e){this.set("allowReserved",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}}Object.defineProperty(Gi.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0});const Wi=Gi;class Hi extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.element="pathItem"}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",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 GET(){return this.get("get")}set GET(e){this.set("GET",e)}get PUT(){return this.get("put")}set PUT(e){this.set("PUT",e)}get POST(){return this.get("post")}set POST(e){this.set("POST",e)}get DELETE(){return this.get("delete")}set DELETE(e){this.set("DELETE",e)}get OPTIONS(){return this.get("options")}set OPTIONS(e){this.set("OPTIONS",e)}get HEAD(){return this.get("head")}set HEAD(e){this.set("HEAD",e)}get PATCH(){return this.get("patch")}set PATCH(e){this.set("PATCH",e)}get TRACE(){return this.get("trace")}set TRACE(e){this.set("TRACE",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}}const Ji=Hi;class Ki extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.element="paths"}}const Zi=Ki;class Xi extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.element="reference",this.classes.push("openapi-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const Qi=Xi;class Yi extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.element="requestBody"}get description(){return this.get("description")}set description(e){this.set("description",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}get required(){return this.hasKey("required")?this.get("required"):new Gt.hh(!1)}set required(e){this.set("required",e)}}const eo=Yi;class to extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.element="response"}get description(){return this.get("description")}set description(e){this.set("description",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}}const ro=to;class no extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.element="responses"}get default(){return this.get("default")}set default(e){this.set("default",e)}}const so=no;class io extends Gt.Sb{constructor(e,t,r){super(e,t,r),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 oo=io;class ao extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const co=ao;class lo extends Gt.Sb{constructor(e,t,r){super(e,t,r),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 uo=lo;class po extends Gt.Sb{constructor(e,t,r){super(e,t,r),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 mo=po,ho=(e,t)=>{const r=Ve(e,t);return wt((e=>{if(nr(e)&&ot("$ref",e)&&Ft(yr,"$ref",e)){const t=Et(["$ref"],e),n=Kr("#/",t);return Et(n.split("/"),r)}return nr(e)?ho(e,r):e}),e)},fo=jr({props:{element:null},methods:{copyMetaAndAttributes(e,t){Cs(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),yo=jr(fo,{methods:{enter(e){return this.element=e.clone(),Sn}}});const go=_e(Vt());function _o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const bo=e=>{if(ws(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},vo=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_o(Object(r),!0).forEach((function(t){ps(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"]},Ws);function Eo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function wo(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Eo(Object(r),!0).forEach((function(t){ps(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Eo(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const xo=jr(fo,{props:{specObj:null,passingOptionsNames:["specObj"]},init({specObj:e=this.specObj}){this.specObj=e},methods:{retrievePassingOptions(){return Pt(this.passingOptionsNames,this)},retrieveFixedFields(e){return Ne(Et(["visitors",...e,"fixedFields"]),M)(this.specObj)},retrieveVisitor(e){return St(Yt,["visitors",...e],this.specObj)?Et(["visitors",...e],this.specObj):Et(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const r=this.retrievePassingOptions();return this.retrieveVisitor(e)(wo(wo({},r),t))},toRefractedElement(e,t,r={}){const n=this.retrieveVisitorInstance(e,r),s=Object.getPrototypeOf(n);return Ut(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===s?t.clone():(Hs(t,n,wo({keyMap:vo,nodeTypeGetter:bo},r)),n.element)}}}),jo=jr(xo,{props:{specPath:go,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){const t=this.specPath(e),r=this.retrieveFixedFields(t);return e.forEach(((e,n,s)=>{if(xs(n)&&r.includes(n.toValue())&&!this.ignoredFields.includes(n.toValue())){const r=this.toRefractedElement([...t,"fixedFields",n.toValue()],e),i=new Gt.c6(n.clone(),r);this.copyMetaAndAttributes(s,i),i.classes.push("fixed-field"),this.element.content.push(i)}else this.ignoredFields.includes(n.toValue())||this.element.content.push(s.clone())})),this.copyMetaAndAttributes(e,this.element),Sn}}}),Oo=jr(jo,yo,{props:{specPath:_e(["document","objects","JSONSchema"])},init(){this.element=new oo}}),So=yo,Po=yo,Ao=yo,Fo=yo,$o=yo,ko=yo,Io=yo,Mo=yo,Ro=yo,To=yo,No=jr({props:{parent:null},init({parent:e=this.parent}){this.parent=e,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),Co=e=>Ps(e)&&e.hasKey("$ref"),qo=jr(xo,No,yo,{methods:{ObjectElement(e){const t=Co(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),Sn},ArrayElement(e){return this.element=new Gt.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=Co(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),Sn}}}),Do=yo,Lo=yo,Bo=yo,Vo=yo,Uo=yo,zo=jr(yo,{methods:{ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-required"),Sn}}});const Go=ke(w(1,Fe(Ht,Ye(Kt,Yt))));const Wo=ke(gt);const Ho=ge([yr,Go,Wo]),Jo=jr(xo,{props:{fieldPatternPredicate:a,specPath:go,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){return e.forEach(((e,t,r)=>{if(!this.ignoredFields.includes(t.toValue())&&this.fieldPatternPredicate(t.toValue())){const n=this.specPath(e),s=this.toRefractedElement(n,e),i=new Gt.c6(t.clone(),s);this.copyMetaAndAttributes(r,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(t.toValue())||this.element.content.push(r.clone())})),this.copyMetaAndAttributes(e,this.element),Sn}}}),Ko=jr(Jo,{props:{fieldPatternPredicate:Ho}}),Zo=jr(Ko,No,yo,{props:{specPath:e=>Co(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new Gt.Sb,this.element.classes.push("json-schema-properties")}}),Xo=jr(Ko,No,yo,{props:{specPath:e=>Co(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new Gt.Sb,this.element.classes.push("json-schema-patternProperties")}}),Qo=jr(Ko,No,yo,{props:{specPath:e=>Co(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new Gt.Sb,this.element.classes.push("json-schema-dependencies")}}),Yo=jr(yo,{methods:{ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-enum"),Sn}}}),ea=jr(yo,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-type"),Sn},ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-type"),Sn}}}),ta=jr(xo,No,yo,{init(){this.element=new Gt.ON,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Co(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),Sn}}}),ra=jr(xo,No,yo,{init(){this.element=new Gt.ON,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Co(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),Sn}}}),na=jr(xo,No,yo,{init(){this.element=new Gt.ON,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Co(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),Sn}}}),sa=jr(Ko,No,yo,{props:{specPath:e=>Co(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new Gt.Sb,this.element.classes.push("json-schema-definitions")}}),ia=yo,oa=yo,aa=yo,ca=yo,la=yo,ua=jr(xo,No,yo,{init(){this.element=new Gt.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),Sn}}}),pa=yo,ma=jr(jo,yo,{props:{specPath:_e(["document","objects","JSONReference"])},init(){this.element=new co},methods:{ObjectElement(e){const t=jo.compose.methods.ObjectElement.call(this,e);return xs(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),ha=jr(yo,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),Sn}}});const da=ke(st);const fa=Fe(Ks,Wo);function ya(e){return function(e){if(Array.isArray(e))return ga(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 ga(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ga(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 ga(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var _a=Ne(Tt($e((function(e,t){return e.length>t.length}))),at,ne("length")),ba=Be((function(e,t,r){var n=r.apply(void 0,ya(e));return da(n)?It(n):t}));const va=mt(fa,(function(e){var t=_a(e);return w(t,(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return ye(ba(r),void 0,e)}))}),Vt),Ea=jr(xo,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>mt(e,_e(t),Vt))),r=va(t)(e);return this.element=this.toRefractedElement(r,e),Sn}}}),wa=jr(Ea,{props:{alternator:[{predicate:Co,specPath:["document","objects","JSONReference"]},{predicate:c,specPath:["document","objects","JSONSchema"]}]}}),xa={visitors:{value:yo,JSONSchemaOrJSONReferenceVisitor:wa,document:{objects:{JSONSchema:{$visitor:Oo,fixedFields:{id:So,$schema:Po,multipleOf:Ao,maximum:Fo,exclusiveMaximum:$o,minimum:ko,exclusiveMinimum:Io,maxLength:Mo,minLength:Ro,pattern:To,additionalItems:wa,items:qo,maxItems:Do,minItems:Lo,uniqueItems:Bo,maxProperties:Vo,minProperties:Uo,required:zo,properties:Zo,additionalProperties:wa,patternProperties:Xo,dependencies:Qo,enum:Yo,type:ea,allOf:ta,anyOf:ra,oneOf:na,not:wa,definitions:sa,title:ia,description:oa,default:aa,format:ca,base:la,links:ua,media:{$ref:"#/visitors/document/objects/Media"},readOnly:pa}},JSONReference:{$visitor:ma,fixedFields:{$ref:ha}},Media:{$visitor:jr(jo,yo,{props:{specPath:_e(["document","objects","Media"])},init(){this.element=new uo}}),fixedFields:{binaryEncoding:yo,type:yo}},LinkDescription:{$visitor:jr(jo,yo,{props:{specPath:_e(["document","objects","LinkDescription"])},init(){this.element=new mo}}),fixedFields:{href:yo,rel:yo,title:yo,targetSchema:wa,mediaType:yo,method:yo,encType:yo,schema:wa}}}}}},ja=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof oo||e(n)&&t("JSONSchemaDraft4",n)&&r("object",n))),Oa=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof co||e(n)&&t("JSONReference",n)&&r("object",n))),Sa=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof uo||e(n)&&t("media",n)&&r("object",n))),Pa=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof mo||e(n)&&t("linkDescription",n)&&r("object",n))),Aa={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",oo),t.register("jSONReference",co),t.register("media",uo),t.register("linkDescription",mo),t}};function Fa(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function $a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Fa(Object(r),!0).forEach((function(t){ps(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Fa(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const ka=()=>{const e=dr(Aa);return{predicates:$a($a({},t),{},{isStringElement:xs}),namespace:e}};function Ia(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const Ma=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=xa}={})=>{const s=(0,Gt.Qc)(e),i=ho(n),o=Xs(t,[],i);return Hs(s,o,{state:{specObj:i}}),ei(o.element,r,{toolboxCreator:ka,visitorOptions:{keyMap:vo,nodeTypeGetter:bo}})},Ra=e=>(t,r={})=>Ma(t,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ia(Object(r),!0).forEach((function(t){ps(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ia(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({specPath:e},r));oo.refract=Ra(["visitors","document","objects","JSONSchema","$visitor"]),co.refract=Ra(["visitors","document","objects","JSONReference","$visitor"]),uo.refract=Ra(["visitors","document","objects","Media","$visitor"]),mo.refract=Ra(["visitors","document","objects","LinkDescription","$visitor"]);const Ta=class extends oo{constructor(e,t,r){super(e,t,r),this.element="schema",this.classes.push("json-schema-draft-4")}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 additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get nullable(){return this.get("nullable")}set nullable(e){this.set("nullable",e)}get discriminator(){return this.get("discriminator")}set discriminator(e){this.set("discriminator",e)}get writeOnly(){return this.get("writeOnly")}set writeOnly(e){this.set("writeOnly",e)}get xml(){return this.get("xml")}set xml(e){this.set("xml",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get deprecated(){return this.get("deprecated")}set deprecated(e){this.set("deprecated",e)}};class Na extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.element="securityRequirement"}}const Ca=Na;class qa extends Gt.Sb{constructor(e,t,r){super(e,t,r),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 Da=qa;class La extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.element="server"}get url(){return this.get("url")}set url(e){this.set("url",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)}}const Ba=La;class Va extends Gt.Sb{constructor(e,t,r){super(e,t,r),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)}}const Ua=Va;class za extends Gt.Sb{constructor(e,t,r){super(e,t,r),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 Ga=za;class Wa extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.element="xml"}get name(){return this.get("name")}set name(e){this.set("name",e)}get namespace(){return this.get("namespace")}set namespace(e){this.set("namespace",e)}get prefix(){return this.get("prefix")}set prefix(e){this.set("prefix",e)}get attribute(){return this.get("attribute")}set attribute(e){this.set("attribute",e)}get wrapped(){return this.get("wrapped")}set wrapped(e){this.set("wrapped",e)}}const Ha=Wa,Ja=jr({props:{element:null},methods:{copyMetaAndAttributes(e,t){Cs(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}});function Ka(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const Za=e=>{if(ws(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Xa=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ka(Object(r),!0).forEach((function(t){ps(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ka(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({CallbackElement:["content"],ComponentsElement:["content"],ContactElement:["content"],DiscriminatorElement:["content"],Encoding:["content"],Example:["content"],ExternalDocumentationElement:["content"],HeaderElement:["content"],InfoElement:["content"],LicenseElement:["content"],MediaTypeElement:["content"],OAuthFlowElement:["content"],OAuthFlowsElement:["content"],OpenApi3_0Element:["content"],OperationElement:["content"],ParameterElement:["content"],PathItemElement:["content"],PathsElement:["content"],ReferenceElement:["content"],RequestBodyElement:["content"],ResponseElement:["content"],ResponsesElement:["content"],SchemaElement:["content"],SecurityRequirementElement:["content"],SecuritySchemeElement:["content"],ServerElement:["content"],ServerVariableElement:["content"],TagElement:["content"]},Ws);function Qa(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ya(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Qa(Object(r),!0).forEach((function(t){ps(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Qa(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const ec=jr(Ja,{props:{passingOptionsNames:["specObj","openApiGenericElement","openApiSemanticElement"],specObj:null,openApiGenericElement:null,openApiSemanticElement:null},init({specObj:e=this.specObj,openApiGenericElement:t=this.openApiGenericElement,openApiSemanticElement:r=this.openApiSemanticElement}){this.specObj=e,this.openApiGenericElement=t,this.openApiSemanticElement=r},methods:{retrievePassingOptions(){return Pt(this.passingOptionsNames,this)},retrieveFixedFields(e){return Ne(Et(["visitors",...e,"fixedFields"]),M)(this.specObj)},retrieveVisitor(e){return St(Yt,["visitors",...e],this.specObj)?Et(["visitors",...e],this.specObj):Et(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const r=this.retrievePassingOptions();return this.retrieveVisitor(e)(Ya(Ya({},r),t))},toRefractedElement(e,t,r={}){const n=this.retrieveVisitorInstance(e,r),s=Object.getPrototypeOf(n);return Ut(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===s?t.clone():(Hs(t,n,Ya({keyMap:Xa,nodeTypeGetter:Za},r)),n.element)}}}),tc=e=>Ps(e)&&e.hasKey("openapi")&&e.hasKey("info"),rc=e=>Ps(e)&&e.hasKey("name")&&e.hasKey("in"),nc=e=>Ps(e)&&e.hasKey("$ref"),sc=e=>Ps(e)&&e.hasKey("content"),ic=e=>Ps(e)&&e.hasKey("description"),oc=Ps,ac=Ps,cc=e=>xs(e.key)&&Ct("x-",e.key.toValue()),lc=jr(ec,{props:{specPath:go,ignoredFields:[],canSupportSpecificationExtensions:!0,specificationExtensionPredicate:cc},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields,canSupportSpecificationExtensions:r=this.canSupportSpecificationExtensions,specificationExtensionPredicate:n=this.specificationExtensionPredicate}={}){this.specPath=e,this.ignoredFields=t,this.canSupportSpecificationExtensions=r,this.specificationExtensionPredicate=n},methods:{ObjectElement(e){const t=this.specPath(e),r=this.retrieveFixedFields(t);return e.forEach(((e,n,s)=>{if(xs(n)&&r.includes(n.toValue())&&!this.ignoredFields.includes(n.toValue())){const r=this.toRefractedElement([...t,"fixedFields",n.toValue()],e),i=new Gt.c6(n.clone(),r);this.copyMetaAndAttributes(s,i),i.classes.push("fixed-field"),this.element.content.push(i)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(s)){const e=this.toRefractedElement(["document","extension"],s);this.element.content.push(e)}else this.ignoredFields.includes(n.toValue())||this.element.content.push(s.clone())})),this.copyMetaAndAttributes(e,this.element),Sn}}}),uc=jr(Ja,{methods:{enter(e){return this.element=e.clone(),Sn}}}),pc=jr(lc,uc,{props:{specPath:_e(["document","objects","OpenApi"]),canSupportSpecificationExtensions:!0},init(){this.element=new Vi},methods:{ObjectElement(e){return this.unrefractedElement=e,lc.compose.methods.ObjectElement.call(this,e)}}}),mc=jr(ec,uc,{methods:{StringElement(e){const t=new Li(e.toValue());return this.copyMetaAndAttributes(e,t),this.element=t,Sn}}}),hc=jr(ec,{methods:{MemberElement(e){return this.element=e.clone(),this.element.classes.push("specification-extension"),Sn}}}),dc=jr(lc,uc,{props:{specPath:_e(["document","objects","Info"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ai}}),fc=uc,yc=uc,gc=uc,_c=jr(uc,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("api-version"),this.element.classes.push("version"),Sn}}}),bc=jr(lc,uc,{props:{specPath:_e(["document","objects","Contact"]),canSupportSpecificationExtensions:!0},init(){this.element=new yi}}),vc=uc,Ec=uc,wc=uc,xc=jr(lc,uc,{props:{specPath:_e(["document","objects","License"]),canSupportSpecificationExtensions:!0},init(){this.element=new $i}}),jc=uc,Oc=uc,Sc=jr(lc,uc,{props:{specPath:_e(["document","objects","Link"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ii},methods:{ObjectElement(e){const t=lc.compose.methods.ObjectElement.call(this,e);return(xs(this.element.operationId)||xs(this.element.operationRef))&&this.element.classes.push("reference-element"),t}}}),Pc=jr(uc,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),Sn}}}),Ac=jr(uc,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),Sn}}}),Fc=jr(ec,{props:{fieldPatternPredicate:a,specPath:go,ignoredFields:[],canSupportSpecificationExtensions:!1,specificationExtensionPredicate:cc},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields,canSupportSpecificationExtensions:r=this.canSupportSpecificationExtensions,specificationExtensionPredicate:n=this.specificationExtensionPredicate}={}){this.specPath=e,this.ignoredFields=t,this.canSupportSpecificationExtensions=r,this.specificationExtensionPredicate=n},methods:{ObjectElement(e){return e.forEach(((e,t,r)=>{if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(r)){const e=this.toRefractedElement(["document","extension"],r);this.element.content.push(e)}else if(!this.ignoredFields.includes(t.toValue())&&this.fieldPatternPredicate(t.toValue())){const n=this.specPath(e),s=this.toRefractedElement(n,e),i=new Gt.c6(t.clone(),s);this.copyMetaAndAttributes(r,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(t.toValue())||this.element.content.push(r.clone())})),this.copyMetaAndAttributes(e,this.element),Sn}}}),$c=jr(Fc,{props:{fieldPatternPredicate:Ho}});class kc extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(kc.primaryClass)}}ps(kc,"primaryClass","link-parameters");const Ic=kc,Mc=jr($c,uc,{props:{specPath:_e(["value"])},init(){this.element=new Ic}}),Rc=uc,Tc=uc,Nc=jr(lc,uc,{props:{specPath:_e(["document","objects","Server"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ba}}),Cc=jr(uc,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("server-url"),Sn}}}),qc=uc;class Dc extends Gt.ON{constructor(e,t,r){super(e,t,r),this.classes.push(Dc.primaryClass)}}ps(Dc,"primaryClass","servers");const Lc=Dc,Bc=jr(ec,uc,{init(){this.element=new Lc},methods:{ArrayElement(e){return e.forEach((e=>{const t=oc(e)?["document","objects","Server"]:["value"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),Sn}}}),Vc=jr(lc,uc,{props:{specPath:_e(["document","objects","ServerVariable"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ua}}),Uc=uc,zc=uc,Gc=uc;class Wc extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Wc.primaryClass)}}ps(Wc,"primaryClass","server-variables");const Hc=Wc,Jc=jr($c,uc,{props:{specPath:_e(["document","objects","ServerVariable"])},init(){this.element=new Hc}}),Kc=jr(lc,uc,{props:{specPath:_e(["document","objects","MediaType"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ri}}),Zc=jr(ec,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>mt(e,_e(t),Vt))),r=va(t)(e);return this.element=this.toRefractedElement(r,e),Sn}}}),Xc=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof mi||e(n)&&t("callback",n)&&r("object",n))),Qc=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof di||e(n)&&t("components",n)&&r("object",n))),Yc=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof yi||e(n)&&t("contact",n)&&r("object",n))),el=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof wi||e(n)&&t("example",n)&&r("object",n))),tl=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof ji||e(n)&&t("externalDocumentation",n)&&r("object",n))),rl=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Si||e(n)&&t("header",n)&&r("object",n))),nl=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Ai||e(n)&&t("info",n)&&r("object",n))),sl=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof $i||e(n)&&t("license",n)&&r("object",n))),il=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Ii||e(n)&&t("link",n)&&r("object",n))),ol=e=>{if(!il(e))return!1;if(!xs(e.operationRef))return!1;const t=e.operationRef.toValue();return"string"==typeof t&&t.length>0&&!t.startsWith("#")},al=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Li||e(n)&&t("openapi",n)&&r("string",n))),cl=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r,hasClass:n})=>s=>s instanceof Vi||e(s)&&t("openApi3_0",s)&&r("object",s)&&n("api",s))),ll=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof zi||e(n)&&t("operation",n)&&r("object",n))),ul=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Wi||e(n)&&t("parameter",n)&&r("object",n))),pl=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Ji||e(n)&&t("pathItem",n)&&r("object",n))),ml=e=>{if(!pl(e))return!1;if(!xs(e.$ref))return!1;const t=e.$ref.toValue();return"string"==typeof t&&t.length>0&&!t.startsWith("#")},hl=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Zi||e(n)&&t("paths",n)&&r("object",n))),dl=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Qi||e(n)&&t("reference",n)&&r("object",n))),fl=e=>{if(!dl(e))return!1;if(!xs(e.$ref))return!1;const t=e.$ref.toValue();return"string"==typeof t&&t.length>0&&!t.startsWith("#")},yl=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof eo||e(n)&&t("requestBody",n)&&r("object",n))),gl=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof ro||e(n)&&t("response",n)&&r("object",n))),_l=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof so||e(n)&&t("responses",n)&&r("object",n))),bl=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Ta||e(n)&&t("schema",n)&&r("object",n))),vl=e=>Ss(e)&&e.classes.includes("boolean-json-schema"),El=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Ca||e(n)&&t("securityRequirement",n)&&r("object",n))),wl=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Ba||e(n)&&t("server",n)&&r("object",n))),xl=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Ua||e(n)&&t("serverVariable",n)&&r("object",n))),jl=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Ri||e(n)&&t("mediaType",n)&&r("object",n))),Ol=jr(Zc,uc,{props:{alternator:[{predicate:nc,specPath:["document","objects","Reference"]},{predicate:c,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=Zc.compose.methods.enter.call(this,e);return dl(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),Sl=uc,Pl=jr($c,uc,{props:{specPath:e=>nc(e)?["document","objects","Reference"]:["document","objects","Example"],canSupportSpecificationExtensions:!0},init(){this.element=new Gt.Sb,this.element.classes.push("examples")},methods:{ObjectElement(e){const t=$c.compose.methods.ObjectElement.call(this,e);return this.element.filter(dl).forEach((e=>{e.setMetaProperty("referenced-element","example")})),t}}});class Al extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Al.primaryClass),this.classes.push("examples")}}ps(Al,"primaryClass","media-type-examples");const Fl=Al,$l=jr(Pl,{init(){this.element=new Fl}});class kl extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(kl.primaryClass)}}ps(kl,"primaryClass","media-type-encoding");const Il=kl,Ml=jr($c,uc,{props:{specPath:_e(["document","objects","Encoding"])},init(){this.element=new Il}}),Rl=jr($c,uc,{props:{specPath:_e(["value"])},init(){this.element=new Ca}});class Tl extends Gt.ON{constructor(e,t,r){super(e,t,r),this.classes.push(Tl.primaryClass)}}ps(Tl,"primaryClass","security");const Nl=Tl,Cl=jr(ec,uc,{init(){this.element=new Nl},methods:{ArrayElement(e){return e.forEach((e=>{if(Ps(e)){const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}else this.element.push(e.clone())})),this.copyMetaAndAttributes(e,this.element),Sn}}}),ql=jr(lc,uc,{props:{specPath:_e(["document","objects","Components"]),canSupportSpecificationExtensions:!0},init(){this.element=new di}}),Dl=jr(lc,uc,{props:{specPath:_e(["document","objects","Tag"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ga}}),Ll=uc,Bl=uc,Vl=jr(lc,uc,{props:{specPath:_e(["document","objects","Reference"]),canSupportSpecificationExtensions:!1},init(){this.element=new Qi},methods:{ObjectElement(e){const t=lc.compose.methods.ObjectElement.call(this,e);return xs(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),Ul=jr(uc,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),Sn}}}),zl=jr(lc,uc,{props:{specPath:_e(["document","objects","Parameter"]),canSupportSpecificationExtensions:!0},init(){this.element=new Wi},methods:{ObjectElement(e){const t=lc.compose.methods.ObjectElement.call(this,e);return Ps(this.element.contentProp)&&this.element.contentProp.filter(jl).forEach(((e,t)=>{e.setMetaProperty("media-type",t.toValue())})),t}}}),Gl=uc,Wl=uc,Hl=uc,Jl=uc,Kl=uc,Zl=uc,Xl=uc,Ql=uc,Yl=uc,eu=jr(Zc,uc,{props:{alternator:[{predicate:nc,specPath:["document","objects","Reference"]},{predicate:c,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=Zc.compose.methods.enter.call(this,e);return dl(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),tu=jr(lc,uc,{props:{specPath:_e(["document","objects","Header"]),canSupportSpecificationExtensions:!0},init(){this.element=new Si}}),ru=uc,nu=uc,su=uc,iu=uc,ou=uc,au=uc,cu=uc,lu=jr(Zc,uc,{props:{alternator:[{predicate:nc,specPath:["document","objects","Reference"]},{predicate:c,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=Zc.compose.methods.enter.call(this,e);return dl(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),uu=uc;class pu extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(pu.primaryClass),this.classes.push("examples")}}ps(pu,"primaryClass","header-examples");const mu=pu,hu=jr(Pl,{init(){this.element=new mu}}),du=jr($c,uc,{props:{specPath:_e(["document","objects","MediaType"])},init(){this.element=new Gt.Sb,this.element.classes.push("content")}});class fu extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(fu.primaryClass),this.classes.push("content")}}ps(fu,"primaryClass","header-content");const yu=fu,gu=jr(du,{init(){this.element=new yu}}),_u=jr(lc,uc,{props:{specPath:_e(["document","objects","Schema"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ta}}),{items:bu}=xa.visitors.document.objects.JSONSchema.fixedFields,vu=jr(bu,{methods:{ObjectElement(e){const t=bu.compose.methods.ObjectElement.call(this,e);return dl(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t},ArrayElement(e){return this.element=e.clone(),Sn}}}),{properties:Eu}=xa.visitors.document.objects.JSONSchema.fixedFields,wu=jr(Eu,{methods:{ObjectElement(e){const t=Eu.compose.methods.ObjectElement.call(this,e);return this.element.filter(dl).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{type:xu}=xa.visitors.document.objects.JSONSchema.fixedFields,ju=jr(xu,{methods:{ArrayElement(e){return this.element=e.clone(),Sn}}}),Ou=uc,Su=uc,Pu=uc,Au=uc,{JSONSchemaOrJSONReferenceVisitor:Fu}=xa.visitors,$u=jr(Fu,{methods:{ObjectElement(e){const t=Fu.compose.methods.enter.call(this,e);return dl(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),ku=Object.fromEntries(Object.entries(xa.visitors.document.objects.JSONSchema.fixedFields).map((([e,t])=>t===xa.visitors.JSONSchemaOrJSONReferenceVisitor?[e,$u]:[e,t]))),Iu=jr(lc,uc,{props:{specPath:_e(["document","objects","Discriminator"]),canSupportSpecificationExtensions:!1},init(){this.element=new _i}}),Mu=uc;class Ru extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Ru.primaryClass)}}ps(Ru,"primaryClass","discriminator-mapping");const Tu=Ru,Nu=jr($c,uc,{props:{specPath:_e(["value"])},init(){this.element=new Tu}}),Cu=jr(lc,uc,{props:{specPath:_e(["document","objects","XML"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ha}}),qu=uc,Du=uc,Lu=uc,Bu=uc,Vu=uc,Uu=uc;class zu extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(zu.primaryClass),this.classes.push("examples")}}ps(zu,"primaryClass","parameter-examples");const Gu=zu,Wu=jr(Pl,{init(){this.element=new Gu}});class Hu extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Hu.primaryClass),this.classes.push("content")}}ps(Hu,"primaryClass","parameter-content");const Ju=Hu,Ku=jr(du,{init(){this.element=new Ju}});class Zu extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Zu.primaryClass)}}ps(Zu,"primaryClass","components-schemas");const Xu=Zu,Qu=jr($c,uc,{props:{specPath:e=>nc(e)?["document","objects","Reference"]:["document","objects","Schema"]},init(){this.element=new Xu},methods:{ObjectElement(e){const t=$c.compose.methods.ObjectElement.call(this,e);return this.element.filter(dl).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}});class Yu extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Yu.primaryClass)}}ps(Yu,"primaryClass","components-responses");const ep=Yu,tp=jr($c,uc,{props:{specPath:e=>nc(e)?["document","objects","Reference"]:["document","objects","Response"]},init(){this.element=new ep},methods:{ObjectElement(e){const t=$c.compose.methods.ObjectElement.call(this,e);return this.element.filter(dl).forEach((e=>{e.setMetaProperty("referenced-element","response")})),this.element.filter(gl).forEach(((e,t)=>{e.setMetaProperty("http-status-code",t.toValue())})),t}}});class rp extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(rp.primaryClass),this.classes.push("parameters")}}ps(rp,"primaryClass","components-parameters");const np=rp,sp=jr($c,uc,{props:{specPath:e=>nc(e)?["document","objects","Reference"]:["document","objects","Parameter"]},init(){this.element=new np},methods:{ObjectElement(e){const t=$c.compose.methods.ObjectElement.call(this,e);return this.element.filter(dl).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}});class ip extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(ip.primaryClass),this.classes.push("examples")}}ps(ip,"primaryClass","components-examples");const op=ip,ap=jr($c,uc,{props:{specPath:e=>nc(e)?["document","objects","Reference"]:["document","objects","Example"]},init(){this.element=new op},methods:{ObjectElement(e){const t=$c.compose.methods.ObjectElement.call(this,e);return this.element.filter(dl).forEach((e=>{e.setMetaProperty("referenced-element","example")})),t}}});class cp extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(cp.primaryClass)}}ps(cp,"primaryClass","components-request-bodies");const lp=cp,up=jr($c,uc,{props:{specPath:e=>nc(e)?["document","objects","Reference"]:["document","objects","RequestBody"]},init(){this.element=new lp},methods:{ObjectElement(e){const t=$c.compose.methods.ObjectElement.call(this,e);return this.element.filter(dl).forEach((e=>{e.setMetaProperty("referenced-element","requestBody")})),t}}});class pp extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(pp.primaryClass)}}ps(pp,"primaryClass","components-headers");const mp=pp,hp=jr($c,uc,{props:{specPath:e=>nc(e)?["document","objects","Reference"]:["document","objects","Header"]},init(){this.element=new mp},methods:{ObjectElement(e){const t=$c.compose.methods.ObjectElement.call(this,e);return this.element.filter(dl).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.filter(rl).forEach(((e,t)=>{e.setMetaProperty("header-name",t.toValue())})),t}}});class dp extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(dp.primaryClass)}}ps(dp,"primaryClass","components-security-schemes");const fp=dp,yp=jr($c,uc,{props:{specPath:e=>nc(e)?["document","objects","Reference"]:["document","objects","SecurityScheme"]},init(){this.element=new fp},methods:{ObjectElement(e){const t=$c.compose.methods.ObjectElement.call(this,e);return this.element.filter(dl).forEach((e=>{e.setMetaProperty("referenced-element","securityScheme")})),t}}});class gp extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(gp.primaryClass)}}ps(gp,"primaryClass","components-links");const _p=gp,bp=jr($c,uc,{props:{specPath:e=>nc(e)?["document","objects","Reference"]:["document","objects","Link"]},init(){this.element=new _p},methods:{ObjectElement(e){const t=$c.compose.methods.ObjectElement.call(this,e);return this.element.filter(dl).forEach((e=>{e.setMetaProperty("referenced-element","link")})),t}}});class vp extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(vp.primaryClass)}}ps(vp,"primaryClass","components-callbacks");const Ep=vp,wp=jr($c,uc,{props:{specPath:e=>nc(e)?["document","objects","Reference"]:["document","objects","Callback"]},init(){this.element=new Ep},methods:{ObjectElement(e){const t=$c.compose.methods.ObjectElement.call(this,e);return this.element.filter(dl).forEach((e=>{e.setMetaProperty("referenced-element","callback")})),t}}}),xp=jr(lc,uc,{props:{specPath:_e(["document","objects","Example"]),canSupportSpecificationExtensions:!0},init(){this.element=new wi},methods:{ObjectElement(e){const t=lc.compose.methods.ObjectElement.call(this,e);return xs(this.element.externalValue)&&this.element.classes.push("reference-element"),t}}}),jp=uc,Op=uc,Sp=uc,Pp=jr(uc,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),Sn}}}),Ap=jr(lc,uc,{props:{specPath:_e(["document","objects","ExternalDocumentation"]),canSupportSpecificationExtensions:!0},init(){this.element=new ji}}),Fp=uc,$p=uc,kp=jr(lc,uc,{props:{specPath:_e(["document","objects","Encoding"]),canSupportSpecificationExtensions:!0},init(){this.element=new vi},methods:{ObjectElement(e){const t=lc.compose.methods.ObjectElement.call(this,e);return Ps(this.element.headers)&&this.element.headers.filter(rl).forEach(((e,t)=>{e.setMetaProperty("header-name",t.toValue())})),t}}}),Ip=uc;class Mp extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Mp.primaryClass)}}ps(Mp,"primaryClass","encoding-headers");const Rp=Mp,Tp=jr($c,uc,{props:{specPath:e=>nc(e)?["document","objects","Reference"]:["document","objects","Header"]},init(){this.element=new Rp},methods:{ObjectElement(e){const t=$c.compose.methods.ObjectElement.call(this,e);return this.element.filter(dl).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.forEach(((e,t)=>{if(!rl(e))return;const r=t.toValue();e.setMetaProperty("headerName",r)})),t}}}),Np=uc,Cp=uc,qp=uc,Dp=jr(Fc,uc,{props:{fieldPatternPredicate:qt(/^\/(?<path>.*)$/),specPath:_e(["document","objects","PathItem"]),canSupportSpecificationExtensions:!0},init(){this.element=new Zi},methods:{ObjectElement(e){const t=Fc.compose.methods.ObjectElement.call(this,e);return this.element.filter(pl).forEach(((e,t)=>{e.setMetaProperty("path",t.clone())})),t}}}),Lp=jr(lc,uc,{props:{specPath:_e(["document","objects","RequestBody"])},init(){this.element=new eo},methods:{ObjectElement(e){const t=lc.compose.methods.ObjectElement.call(this,e);return Ps(this.element.contentProp)&&this.element.contentProp.filter(jl).forEach(((e,t)=>{e.setMetaProperty("media-type",t.toValue())})),t}}}),Bp=uc;class Vp extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Vp.primaryClass),this.classes.push("content")}}ps(Vp,"primaryClass","request-body-content");const Up=Vp,zp=jr(du,{init(){this.element=new Up}}),Gp=uc,Wp=jr(Fc,uc,{props:{fieldPatternPredicate:qt(/{(?<expression>.*)}/),specPath:_e(["document","objects","PathItem"]),canSupportSpecificationExtensions:!0},init(){this.element=new mi},methods:{ObjectElement(e){const t=$c.compose.methods.ObjectElement.call(this,e);return this.element.filter(pl).forEach(((e,t)=>{e.setMetaProperty("runtime-expression",t.toValue())})),t}}}),Hp=jr(lc,uc,{props:{specPath:_e(["document","objects","Response"])},init(){this.element=new ro},methods:{ObjectElement(e){const t=lc.compose.methods.ObjectElement.call(this,e);return Ps(this.element.contentProp)&&this.element.contentProp.filter(jl).forEach(((e,t)=>{e.setMetaProperty("media-type",t.toValue())})),Ps(this.element.headers)&&this.element.headers.filter(rl).forEach(((e,t)=>{e.setMetaProperty("header-name",t.toValue())})),t}}}),Jp=uc;class Kp extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Kp.primaryClass)}}ps(Kp,"primaryClass","response-headers");const Zp=Kp,Xp=jr($c,uc,{props:{specPath:e=>nc(e)?["document","objects","Reference"]:["document","objects","Header"]},init(){this.element=new Zp},methods:{ObjectElement(e){const t=$c.compose.methods.ObjectElement.call(this,e);return this.element.filter(dl).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.forEach(((e,t)=>{if(!rl(e))return;const r=t.toValue();e.setMetaProperty("header-name",r)})),t}}});class Qp extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Qp.primaryClass),this.classes.push("content")}}ps(Qp,"primaryClass","response-content");const Yp=Qp,em=jr(du,{init(){this.element=new Yp}});class tm extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(tm.primaryClass)}}ps(tm,"primaryClass","response-links");const rm=tm,nm=jr($c,uc,{props:{specPath:e=>nc(e)?["document","objects","Reference"]:["document","objects","Link"]},init(){this.element=new rm},methods:{ObjectElement(e){const t=$c.compose.methods.ObjectElement.call(this,e);return this.element.filter(dl).forEach((e=>{e.setMetaProperty("referenced-element","link")})),t}}}),sm=jr(lc,Fc,{props:{specPathFixedFields:go,specPathPatternedFields:go},methods:{ObjectElement(e){const{specPath:t,ignoredFields:r}=this;try{this.specPath=this.specPathFixedFields;const t=this.retrieveFixedFields(this.specPath(e));this.ignoredFields=[...r,...Ge(e.keys(),t)],lc.compose.methods.ObjectElement.call(this,e),this.specPath=this.specPathPatternedFields,this.ignoredFields=t,Fc.compose.methods.ObjectElement.call(this,e)}catch(e){throw this.specPath=t,e}return Sn}}}),im=jr(sm,uc,{props:{specPathFixedFields:_e(["document","objects","Responses"]),specPathPatternedFields:e=>nc(e)?["document","objects","Reference"]:["document","objects","Response"],fieldPatternPredicate:qt(new RegExp(`^(1XX|2XX|3XX|4XX|5XX|${kt(100,600).join("|")})$`)),canSupportSpecificationExtensions:!0},init(){this.element=new so},methods:{ObjectElement(e){const t=sm.compose.methods.ObjectElement.call(this,e);return this.element.filter(dl).forEach((e=>{e.setMetaProperty("referenced-element","response")})),this.element.filter(gl).forEach(((e,t)=>{const r=t.clone();this.fieldPatternPredicate(r.toValue())&&e.setMetaProperty("http-status-code",r)})),t}}}),om=jr(Zc,uc,{props:{alternator:[{predicate:nc,specPath:["document","objects","Reference"]},{predicate:c,specPath:["document","objects","Response"]}]},methods:{ObjectElement(e){const t=Zc.compose.methods.enter.call(this,e);return dl(this.element)?this.element.setMetaProperty("referenced-element","response"):gl(this.element)&&this.element.setMetaProperty("http-status-code","default"),t}}}),am=jr(lc,uc,{props:{specPath:_e(["document","objects","Operation"])},init(){this.element=new zi}});class cm extends Gt.ON{constructor(e,t,r){super(e,t,r),this.classes.push(cm.primaryClass)}}ps(cm,"primaryClass","operation-tags");const lm=cm,um=jr(uc,{init(){this.element=new lm},methods:{ArrayElement(e){return this.element=this.element.concat(e.clone()),Sn}}}),pm=uc,mm=uc,hm=uc;class dm extends Gt.ON{constructor(e,t,r){super(e,t,r),this.classes.push(dm.primaryClass),this.classes.push("parameters")}}ps(dm,"primaryClass","operation-parameters");const fm=dm,ym=jr(ec,uc,{init(){this.element=new Gt.ON,this.element.classes.push("parameters")},methods:{ArrayElement(e){return e.forEach((e=>{const t=nc(e)?["document","objects","Reference"]:["document","objects","Parameter"],r=this.toRefractedElement(t,e);dl(r)&&r.setMetaProperty("referenced-element","parameter"),this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),Sn}}}),gm=jr(ym,{init(){this.element=new fm}}),_m=jr(Zc,{props:{alternator:[{predicate:nc,specPath:["document","objects","Reference"]},{predicate:c,specPath:["document","objects","RequestBody"]}]},methods:{ObjectElement(e){const t=Zc.compose.methods.enter.call(this,e);return dl(this.element)&&this.element.setMetaProperty("referenced-element","requestBody"),t}}});class bm extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(bm.primaryClass)}}ps(bm,"primaryClass","operation-callbacks");const vm=bm,Em=jr($c,uc,{props:{specPath:e=>nc(e)?["document","objects","Reference"]:["document","objects","Callback"]},init(){this.element=new vm},methods:{ObjectElement(e){const t=$c.compose.methods.ObjectElement.call(this,e);return this.element.filter(dl).forEach((e=>{e.setMetaProperty("referenced-element","callback")})),t}}}),wm=uc;class xm extends Gt.ON{constructor(e,t,r){super(e,t,r),this.classes.push(xm.primaryClass),this.classes.push("security")}}ps(xm,"primaryClass","operation-security");const jm=xm,Om=jr(ec,uc,{init(){this.element=new jm},methods:{ArrayElement(e){return e.forEach((e=>{const t=Ps(e)?["document","objects","SecurityRequirement"]:["value"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),Sn}}});class Sm extends Gt.ON{constructor(e,t,r){super(e,t,r),this.classes.push(Sm.primaryClass),this.classes.push("servers")}}ps(Sm,"primaryClass","operation-servers");const Pm=Sm,Am=jr(Bc,{init(){this.element=new Pm}}),Fm=jr(lc,uc,{props:{specPath:_e(["document","objects","PathItem"])},init(){this.element=new Ji},methods:{ObjectElement(e){const t=lc.compose.methods.ObjectElement.call(this,e);return this.element.filter(ll).forEach(((e,t)=>{const r=t.clone();r.content=r.toValue().toUpperCase(),e.setMetaProperty("http-method",r)})),xs(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),$m=jr(uc,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),Sn}}}),km=uc,Im=uc;class Mm extends Gt.ON{constructor(e,t,r){super(e,t,r),this.classes.push(Mm.primaryClass),this.classes.push("servers")}}ps(Mm,"primaryClass","path-item-servers");const Rm=Mm,Tm=jr(Bc,{init(){this.element=new Rm}});class Nm extends Gt.ON{constructor(e,t,r){super(e,t,r),this.classes.push(Nm.primaryClass),this.classes.push("parameters")}}ps(Nm,"primaryClass","path-item-parameters");const Cm=Nm,qm=jr(ym,{init(){this.element=new Cm}}),Dm=jr(lc,uc,{props:{specPath:_e(["document","objects","SecurityScheme"]),canSupportSpecificationExtensions:!0},init(){this.element=new Da}}),Lm=uc,Bm=uc,Vm=uc,Um=uc,zm=uc,Gm=uc,Wm=uc,Hm=jr(lc,uc,{props:{specPath:_e(["document","objects","OAuthFlows"]),canSupportSpecificationExtensions:!0},init(){this.element=new qi}}),Jm=jr(lc,uc,{props:{specPath:_e(["document","objects","OAuthFlow"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ni}}),Km=uc,Zm=uc,Xm=uc;class Qm extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Qm.primaryClass)}}ps(Qm,"primaryClass","oauth-flow-scopes");const Ym=Qm,eh=jr($c,uc,{props:{specPath:_e(["value"])},init(){this.element=new Ym}});class th extends Gt.ON{constructor(e,t,r){super(e,t,r),this.classes.push(th.primaryClass)}}ps(th,"primaryClass","tags");const rh=th,nh=jr(ec,uc,{init(){this.element=new rh},methods:{ArrayElement(e){return e.forEach((e=>{const t=ac(e)?["document","objects","Tag"]:["value"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),Sn}}});function sh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ih(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?sh(Object(r),!0).forEach((function(t){ps(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):sh(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const oh={$visitor:Vl,fixedFields:{$ref:Ul}},ah={$visitor:_u,fixedFields:ih(ih({},ku),{},{items:vu,properties:wu,type:ju,nullable:Ou,discriminator:{$ref:"#/visitors/document/objects/Discriminator"},writeOnly:Su,xml:{$ref:"#/visitors/document/objects/XML"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},example:Pu,deprecated:Au})},ch={visitors:{value:uc,document:{objects:{OpenApi:{$visitor:pc,fixedFields:{openapi:mc,info:{$ref:"#/visitors/document/objects/Info"},servers:Bc,paths:{$ref:"#/visitors/document/objects/Paths"},components:{$ref:"#/visitors/document/objects/Components"},security:Cl,tags:nh,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:dc,fixedFields:{title:fc,description:yc,termsOfService:gc,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"},version:_c}},Contact:{$visitor:bc,fixedFields:{name:vc,url:Ec,email:wc}},License:{$visitor:xc,fixedFields:{name:jc,url:Oc}},Server:{$visitor:Nc,fixedFields:{url:Cc,description:qc,variables:Jc}},ServerVariable:{$visitor:Vc,fixedFields:{enum:Uc,default:zc,description:Gc}},Components:{$visitor:ql,fixedFields:{schemas:Qu,responses:tp,parameters:sp,examples:ap,requestBodies:up,headers:hp,securitySchemes:yp,links:bp,callbacks:wp}},Paths:{$visitor:Dp},PathItem:{$visitor:Fm,fixedFields:{$ref:$m,summary:km,description:Im,get:{$ref:"#/visitors/document/objects/Operation"},put:{$ref:"#/visitors/document/objects/Operation"},post:{$ref:"#/visitors/document/objects/Operation"},delete:{$ref:"#/visitors/document/objects/Operation"},options:{$ref:"#/visitors/document/objects/Operation"},head:{$ref:"#/visitors/document/objects/Operation"},patch:{$ref:"#/visitors/document/objects/Operation"},trace:{$ref:"#/visitors/document/objects/Operation"},servers:Tm,parameters:qm}},Operation:{$visitor:am,fixedFields:{tags:um,summary:pm,description:mm,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:hm,parameters:gm,requestBody:_m,responses:{$ref:"#/visitors/document/objects/Responses"},callbacks:Em,deprecated:wm,security:Om,servers:Am}},ExternalDocumentation:{$visitor:Ap,fixedFields:{description:Fp,url:$p}},Parameter:{$visitor:zl,fixedFields:{name:Gl,in:Wl,description:Hl,required:Jl,deprecated:Kl,allowEmptyValue:Zl,style:Xl,explode:Ql,allowReserved:Yl,schema:eu,example:Uu,examples:Wu,content:Ku}},RequestBody:{$visitor:Lp,fixedFields:{description:Bp,content:zp,required:Gp}},MediaType:{$visitor:Kc,fixedFields:{schema:Ol,example:Sl,examples:$l,encoding:Ml}},Encoding:{$visitor:kp,fixedFields:{contentType:Ip,headers:Tp,style:Np,explode:Cp,allowReserved:qp}},Responses:{$visitor:im,fixedFields:{default:om}},Response:{$visitor:Hp,fixedFields:{description:Jp,headers:Xp,content:em,links:nm}},Callback:{$visitor:Wp},Example:{$visitor:xp,fixedFields:{summary:jp,description:Op,value:Sp,externalValue:Pp}},Link:{$visitor:Sc,fixedFields:{operationRef:Pc,operationId:Ac,parameters:Mc,requestBody:Rc,description:Tc,server:{$ref:"#/visitors/document/objects/Server"}}},Header:{$visitor:tu,fixedFields:{description:ru,required:nu,deprecated:su,allowEmptyValue:iu,style:ou,explode:au,allowReserved:cu,schema:lu,example:uu,examples:hu,content:gu}},Tag:{$visitor:Dl,fixedFields:{name:Ll,description:Bl,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},JSONReference:oh,Reference:oh,JSONSchema:ah,Schema:ah,LinkDescription:xa.visitors.document.objects.LinkDescription,Media:xa.visitors.document.objects.Media,Discriminator:{$visitor:Iu,fixedFields:{propertyName:Mu,mapping:Nu}},XML:{$visitor:Cu,fixedFields:{name:qu,namespace:Du,prefix:Lu,attribute:Bu,wrapped:Vu}},SecurityScheme:{$visitor:Dm,fixedFields:{type:Lm,description:Bm,name:Vm,in:Um,scheme:zm,bearerFormat:Gm,flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:Wm}},OAuthFlows:{$visitor:Hm,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:Jm,fixedFields:{authorizationUrl:Km,tokenUrl:Zm,refreshUrl:Xm,scopes:eh}},SecurityRequirement:{$visitor:Rl}},extension:{$visitor:hc}}}},lh={namespace:e=>{const{base:t}=e;return t.register("callback",mi),t.register("components",di),t.register("contact",yi),t.register("discriminator",_i),t.register("encoding",vi),t.register("example",wi),t.register("externalDocumentation",ji),t.register("header",Si),t.register("info",Ai),t.register("license",$i),t.register("link",Ii),t.register("mediaType",Ri),t.register("oAuthFlow",Ni),t.register("oAuthFlows",qi),t.register("openapi",Li),t.register("openApi3_0",Vi),t.register("operation",zi),t.register("parameter",Wi),t.register("pathItem",Ji),t.register("paths",Zi),t.register("reference",Qi),t.register("requestBody",eo),t.register("response",ro),t.register("responses",so),t.register("schema",Ta),t.register("securityRequirement",Ca),t.register("securityScheme",Da),t.register("server",Ba),t.register("serverVariable",Ua),t.register("tag",Ga),t.register("xml",Ha),t}};function uh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ph(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?uh(Object(r),!0).forEach((function(t){ps(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):uh(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const mh=()=>{const e=dr(lh);return{predicates:ph(ph(ph({},s),i),{},{isStringElement:xs}),namespace:e}};function hh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const dh=(e,{specPath:t=["visitors","document","objects","OpenApi","$visitor"],plugins:r=[]}={})=>{const n=(0,Gt.Qc)(e),s=ho(ch),i=Xs(t,[],s);return Hs(n,i,{state:{specObj:s}}),ei(i.element,r,{toolboxCreator:mh,visitorOptions:{keyMap:Xa,nodeTypeGetter:Za}})},fh=e=>(t,r={})=>dh(t,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?hh(Object(r),!0).forEach((function(t){ps(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):hh(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({specPath:e},r));mi.refract=fh(["visitors","document","objects","Callback","$visitor"]),di.refract=fh(["visitors","document","objects","Components","$visitor"]),yi.refract=fh(["visitors","document","objects","Contact","$visitor"]),wi.refract=fh(["visitors","document","objects","Example","$visitor"]),_i.refract=fh(["visitors","document","objects","Discriminator","$visitor"]),vi.refract=fh(["visitors","document","objects","Encoding","$visitor"]),ji.refract=fh(["visitors","document","objects","ExternalDocumentation","$visitor"]),Si.refract=fh(["visitors","document","objects","Header","$visitor"]),Ai.refract=fh(["visitors","document","objects","Info","$visitor"]),$i.refract=fh(["visitors","document","objects","License","$visitor"]),Ii.refract=fh(["visitors","document","objects","Link","$visitor"]),Ri.refract=fh(["visitors","document","objects","MediaType","$visitor"]),Ni.refract=fh(["visitors","document","objects","OAuthFlow","$visitor"]),qi.refract=fh(["visitors","document","objects","OAuthFlows","$visitor"]),Li.refract=fh(["visitors","document","objects","OpenApi","fixedFields","openapi"]),Vi.refract=fh(["visitors","document","objects","OpenApi","$visitor"]),zi.refract=fh(["visitors","document","objects","Operation","$visitor"]),Wi.refract=fh(["visitors","document","objects","Parameter","$visitor"]),Ji.refract=fh(["visitors","document","objects","PathItem","$visitor"]),Zi.refract=fh(["visitors","document","objects","Paths","$visitor"]),Qi.refract=fh(["visitors","document","objects","Reference","$visitor"]),eo.refract=fh(["visitors","document","objects","RequestBody","$visitor"]),ro.refract=fh(["visitors","document","objects","Response","$visitor"]),so.refract=fh(["visitors","document","objects","Responses","$visitor"]),Ta.refract=fh(["visitors","document","objects","Schema","$visitor"]),Ca.refract=fh(["visitors","document","objects","SecurityRequirement","$visitor"]),Da.refract=fh(["visitors","document","objects","SecurityScheme","$visitor"]),Ba.refract=fh(["visitors","document","objects","Server","$visitor"]),Ua.refract=fh(["visitors","document","objects","ServerVariable","$visitor"]),Ga.refract=fh(["visitors","document","objects","Tag","$visitor"]),Ha.refract=fh(["visitors","document","objects","XML","$visitor"]);const yh=class extends mi{};const gh=class extends di{get pathItems(){return this.get("pathItems")}set pathItems(e){this.set("pathItems",e)}};const _h=class extends yi{};const bh=class extends _i{};const vh=class extends vi{};const Eh=class extends wi{};const wh=class extends ji{};const xh=class extends Si{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}};const jh=class extends Ai{get license(){return this.get("license")}set license(e){this.set("license",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}};class Oh extends Gt.RP{constructor(e,t,r){super(e,t,r),this.element="jsonSchemaDialect"}}ps(Oh,"default",new Oh("https://spec.openapis.org/oas/3.1/dialect/base"));const Sh=Oh;const Ph=class extends $i{get identifier(){return this.get("identifier")}set identifier(e){this.set("identifier",e)}};const Ah=class extends Ii{};const Fh=class extends Ri{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}};const $h=class extends Ni{};const kh=class extends qi{};const Ih=class extends Li{};class Mh extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.element="openApi3_1",this.classes.push("api")}get openapi(){return this.get("openapi")}set openapi(e){this.set("openapi",e)}get info(){return this.get("info")}set info(e){this.set("info",e)}get jsonSchemaDialect(){return this.get("jsonSchemaDialect")}set jsonSchemaDialect(e){this.set("jsonSchemaDialect",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get paths(){return this.get("paths")}set paths(e){this.set("paths",e)}get components(){return this.get("components")}set components(e){this.set("components",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 webhooks(){return this.get("webhooks")}set webhooks(e){this.set("webhooks",e)}}const Rh=Mh;const Th=class extends zi{get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}};const Nh=class extends Wi{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}};const Ch=class extends Ji{get GET(){return this.get("get")}set GET(e){this.set("GET",e)}get PUT(){return this.get("put")}set PUT(e){this.set("PUT",e)}get POST(){return this.get("post")}set POST(e){this.set("POST",e)}get DELETE(){return this.get("delete")}set DELETE(e){this.set("DELETE",e)}get OPTIONS(){return this.get("options")}set OPTIONS(e){this.set("OPTIONS",e)}get HEAD(){return this.get("head")}set HEAD(e){this.set("HEAD",e)}get PATCH(){return this.get("patch")}set PATCH(e){this.set("PATCH",e)}get TRACE(){return this.get("trace")}set TRACE(e){this.set("TRACE",e)}};const qh=class extends Zi{};class Dh extends Qi{}Object.defineProperty(Dh.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0}),Object.defineProperty(Dh.prototype,"summary",{get(){return this.get("summary")},set(e){this.set("summary",e)},enumerable:!0});const Lh=Dh;const Bh=class extends eo{};const Vh=class extends ro{};const Uh=class extends so{};class zh extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.element="schema"}get $schema(){return this.get("$schema")}set $schema(e){this.set("$schema",e)}get $vocabulary(){return this.get("$vocabulary")}set $vocabulary(e){this.set("$vocabulary",e)}get $id(){return this.get("$id")}set $id(e){this.set("$id",e)}get $anchor(){return this.get("$anchor")}set $anchor(e){this.set("$anchor",e)}get $dynamicAnchor(){return this.get("$dynamicAnchor")}set $dynamicAnchor(e){this.set("$dynamicAnchor",e)}get $dynamicRef(){return this.get("$dynamicRef")}set $dynamicRef(e){this.set("$dynamicRef",e)}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}get $defs(){return this.get("$defs")}set $defs(e){this.set("$defs",e)}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",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 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 dependentSchemas(){return this.get("dependentSchemas")}set dependentSchemas(e){this.set("dependentSchemas",e)}get prefixItems(){return this.get("prefixItems")}set prefixItems(e){this.set("prefixItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get containsProp(){return this.get("contains")}set containsProp(e){this.set("contains",e)}get properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get propertyNames(){return this.get("propertyNames")}set propertyNames(e){this.set("propertyNames",e)}get unevaluatedItems(){return this.get("unevaluatedItems")}set unevaluatedItems(e){this.set("unevaluatedItems",e)}get unevaluatedProperties(){return this.get("unevaluatedProperties")}set unevaluatedProperties(e){this.set("unevaluatedProperties",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get const(){return this.get("const")}set const(e){this.set("const",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 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 maxContains(){return this.get("maxContains")}set maxContains(e){this.set("maxContains",e)}get minContains(){return this.get("minContains")}set minContains(e){this.set("minContains",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 dependentRequired(){return this.get("dependentRequired")}set dependentRequired(e){this.set("dependentRequired",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 deprecated(){return this.get("deprecated")}set deprecated(e){this.set("deprecated",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}get writeOnly(){return this.get("writeOnly")}set writeOnly(e){this.set("writeOnly",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get format(){return this.get("format")}set format(e){this.set("format",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 contentSchema(){return this.get("contentSchema")}set contentSchema(e){this.set("contentSchema",e)}get discriminator(){return this.get("discriminator")}set discriminator(e){this.set("discriminator",e)}get xml(){return this.get("xml")}set xml(e){this.set("xml",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}}const Gh=zh;const Wh=class extends Ca{};const Hh=class extends Da{};const Jh=class extends Ba{};const Kh=class extends Ua{};const Zh=class extends Ga{};const Xh=class extends Ha{},Qh=jr(lc,uc,{props:{specPath:_e(["document","objects","OpenApi"]),canSupportSpecificationExtensions:!0},init(){this.element=new Rh,this.openApiSemanticElement=this.element},methods:{ObjectElement(e){return this.openApiGenericElement=e,lc.compose.methods.ObjectElement.call(this,e)}}}),{visitors:{document:{objects:{Info:{$visitor:Yh}}}}}=ch,ed=jr(Yh,{init(){this.element=new jh}}),td=uc,{visitors:{document:{objects:{Contact:{$visitor:rd}}}}}=ch,nd=jr(rd,{init(){this.element=new _h}}),{visitors:{document:{objects:{License:{$visitor:sd}}}}}=ch,id=jr(sd,{init(){this.element=new Ph}}),od=uc,{visitors:{document:{objects:{Link:{$visitor:ad}}}}}=ch,cd=jr(ad,{init(){this.element=new Ah}}),ld=jr(ec,uc,{methods:{StringElement(e){const t=new Sh(e.toValue());return this.copyMetaAndAttributes(e,t),this.element=t,Sn}}}),{visitors:{document:{objects:{Server:{$visitor:ud}}}}}=ch,pd=jr(ud,{init(){this.element=new Jh}}),{visitors:{document:{objects:{ServerVariable:{$visitor:md}}}}}=ch,hd=jr(md,{init(){this.element=new Kh}}),{visitors:{document:{objects:{MediaType:{$visitor:dd}}}}}=ch,fd=jr(dd,{init(){this.element=new Fh}}),{visitors:{document:{objects:{SecurityRequirement:{$visitor:yd}}}}}=ch,gd=jr(yd,{init(){this.element=new Wh}}),{visitors:{document:{objects:{Components:{$visitor:_d}}}}}=ch,bd=jr(_d,{init(){this.element=new gh}}),{visitors:{document:{objects:{Tag:{$visitor:vd}}}}}=ch,Ed=jr(vd,{init(){this.element=new Zh}}),{visitors:{document:{objects:{Reference:{$visitor:wd}}}}}=ch,xd=jr(wd,{init(){this.element=new Lh}}),jd=uc,Od=uc,{visitors:{document:{objects:{Parameter:{$visitor:Sd}}}}}=ch,Pd=jr(Sd,{init(){this.element=new Nh}}),{visitors:{document:{objects:{Header:{$visitor:Ad}}}}}=ch,Fd=jr(Ad,{init(){this.element=new xh}}),$d=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof yh||e(n)&&t("callback",n)&&r("object",n))),kd=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof gh||e(n)&&t("components",n)&&r("object",n))),Id=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof _h||e(n)&&t("contact",n)&&r("object",n))),Md=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Eh||e(n)&&t("example",n)&&r("object",n))),Rd=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof wh||e(n)&&t("externalDocumentation",n)&&r("object",n))),Td=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof xh||e(n)&&t("header",n)&&r("object",n))),Nd=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof jh||e(n)&&t("info",n)&&r("object",n))),Cd=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Sh||e(n)&&t("jsonSchemaDialect",n)&&r("string",n))),qd=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Ph||e(n)&&t("license",n)&&r("object",n))),Dd=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Ah||e(n)&&t("link",n)&&r("object",n))),Ld=e=>{if(!Dd(e))return!1;if(!xs(e.operationRef))return!1;const t=e.operationRef.toValue();return"string"==typeof t&&t.length>0&&!t.startsWith("#")},Bd=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Ih||e(n)&&t("openapi",n)&&r("string",n))),Vd=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r,hasClass:n})=>s=>s instanceof Rh||e(s)&&t("openApi3_1",s)&&r("object",s)&&n("api",s))),Ud=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Th||e(n)&&t("operation",n)&&r("object",n))),zd=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Nh||e(n)&&t("parameter",n)&&r("object",n))),Gd=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Ch||e(n)&&t("pathItem",n)&&r("object",n))),Wd=e=>{if(!Gd(e))return!1;if(!xs(e.$ref))return!1;const t=e.$ref.toValue();return"string"==typeof t&&t.length>0&&!t.startsWith("#")},Hd=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof qh||e(n)&&t("paths",n)&&r("object",n))),Jd=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Lh||e(n)&&t("reference",n)&&r("object",n))),Kd=e=>{if(!Jd(e))return!1;if(!xs(e.$ref))return!1;const t=e.$ref.toValue();return"string"==typeof t&&t.length>0&&!t.startsWith("#")},Zd=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Bh||e(n)&&t("requestBody",n)&&r("object",n))),Xd=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Vh||e(n)&&t("response",n)&&r("object",n))),Qd=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Uh||e(n)&&t("responses",n)&&r("object",n))),Yd=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Gh||e(n)&&t("schema",n)&&r("object",n))),ef=e=>Ss(e)&&e.classes.includes("boolean-json-schema"),tf=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Wh||e(n)&&t("securityRequirement",n)&&r("object",n))),rf=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Jh||e(n)&&t("server",n)&&r("object",n))),nf=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Kh||e(n)&&t("serverVariable",n)&&r("object",n))),sf=Es((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Fh||e(n)&&t("mediaType",n)&&r("object",n))),of=jr({props:{parent:null},init({parent:e=this.parent}){this.parent=e,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),af=jr(lc,of,uc,{props:{specPath:_e(["document","objects","Schema"]),canSupportSpecificationExtensions:!0},init(){const e=()=>{let e;return e=null!==this.openApiSemanticElement&&Cd(this.openApiSemanticElement.jsonSchemaDialect)?this.openApiSemanticElement.jsonSchemaDialect.toValue():null!==this.openApiGenericElement&&xs(this.openApiGenericElement.get("jsonSchemaDialect"))?this.openApiGenericElement.get("jsonSchemaDialect").toValue():Sh.default.toValue(),e},t=t=>{if(Wt(this.parent)&&!xs(t.get("$schema")))this.element.setMetaProperty("inherited$schema",e());else if(Yd(this.parent)&&!xs(t.get("$schema"))){var r,n;const e=Ve(null===(r=this.parent.meta.get("inherited$schema"))||void 0===r?void 0:r.toValue(),null===(n=this.parent.$schema)||void 0===n?void 0:n.toValue());this.element.setMetaProperty("inherited$schema",e)}},r=e=>{var t;const r=null!==this.parent?this.parent.getMetaProperty("inherited$id",[]).clone():new Gt.ON,n=null===(t=e.get("$id"))||void 0===t?void 0:t.toValue();Ho(n)&&r.push(n),this.element.setMetaProperty("inherited$id",r)};this.ObjectElement=function(e){this.element=new Gh,t(e),r(e),this.parent=this.element;const n=lc.compose.methods.ObjectElement.call(this,e);return xs(this.element.$ref)&&(this.element.classes.push("reference-element"),this.element.setMetaProperty("referenced-element","schema")),n},this.BooleanElement=function(e){return this.element=e.clone(),this.element.classes.push("boolean-json-schema"),Sn}}}),cf=uc,lf=jr(uc,{methods:{ObjectElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-$vocabulary"),Sn}}}),uf=uc,pf=uc,mf=uc,hf=uc,df=jr(uc,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),Sn}}}),ff=jr($c,of,uc,{props:{specPath:_e(["document","objects","Schema"])},init(){this.element=new Gt.Sb,this.element.classes.push("json-schema-$defs")}}),yf=uc,gf=jr(ec,of,uc,{init(){this.element=new Gt.ON,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach((e=>{if(Ps(e)){const t=this.toRefractedElement(["document","objects","Schema"],e);this.element.push(t)}else{const t=e.clone();this.element.push(t)}})),this.copyMetaAndAttributes(e,this.element),Sn}}}),_f=jr(ec,of,uc,{init(){this.element=new Gt.ON,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach((e=>{if(Ps(e)){const t=this.toRefractedElement(["document","objects","Schema"],e);this.element.push(t)}else{const t=e.clone();this.element.push(t)}})),this.copyMetaAndAttributes(e,this.element),Sn}}}),bf=jr(ec,of,uc,{init(){this.element=new Gt.ON,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach((e=>{if(Ps(e)){const t=this.toRefractedElement(["document","objects","Schema"],e);this.element.push(t)}else{const t=e.clone();this.element.push(t)}})),this.copyMetaAndAttributes(e,this.element),Sn}}}),vf=jr($c,of,uc,{props:{specPath:_e(["document","objects","Schema"])},init(){this.element=new Gt.Sb,this.element.classes.push("json-schema-dependentSchemas")}}),Ef=jr(ec,of,uc,{init(){this.element=new Gt.ON,this.element.classes.push("json-schema-prefixItems")},methods:{ArrayElement(e){return e.forEach((e=>{if(Ps(e)){const t=this.toRefractedElement(["document","objects","Schema"],e);this.element.push(t)}else{const t=e.clone();this.element.push(t)}})),this.copyMetaAndAttributes(e,this.element),Sn}}}),wf=jr($c,of,uc,{props:{specPath:_e(["document","objects","Schema"])},init(){this.element=new Gt.Sb,this.element.classes.push("json-schema-properties")}}),xf=jr($c,of,uc,{props:{specPath:_e(["document","objects","Schema"])},init(){this.element=new Gt.Sb,this.element.classes.push("json-schema-patternProperties")}}),jf=jr(uc,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-type"),Sn},ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-type"),Sn}}}),Of=jr(uc,{methods:{ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-enum"),Sn}}}),Sf=uc,Pf=uc,Af=uc,Ff=uc,$f=uc,kf=uc,If=uc,Mf=uc,Rf=uc,Tf=uc,Nf=uc,Cf=uc,qf=uc,Df=uc,Lf=uc,Bf=uc,Vf=jr(uc,{methods:{ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-required"),Sn}}}),Uf=jr(uc,{methods:{ObjectElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-dependentRequired"),Sn}}}),zf=uc,Gf=uc,Wf=uc,Hf=uc,Jf=uc,Kf=uc,Zf=jr(uc,{methods:{ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-examples"),Sn}}}),Xf=uc,Qf=uc,Yf=uc,ey=uc,{visitors:{document:{objects:{Discriminator:{$visitor:ty}}}}}=ch,ry=jr(ty,{props:{canSupportSpecificationExtensions:!0},init(){this.element=new bh}}),{visitors:{document:{objects:{XML:{$visitor:ny}}}}}=ch,sy=jr(ny,{init(){this.element=new Xh}}),iy=jr($c,uc,{props:{specPath:_e(["document","objects","Schema"])},init(){this.element=new Xu}});class oy extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(oy.primaryClass)}}ps(oy,"primaryClass","components-path-items");const ay=oy,cy=jr($c,uc,{props:{specPath:e=>nc(e)?["document","objects","Reference"]:["document","objects","PathItem"]},init(){this.element=new ay},methods:{ObjectElement(e){const t=$c.compose.methods.ObjectElement.call(this,e);return this.element.filter(Jd).forEach((e=>{e.setMetaProperty("referenced-element","pathItem")})),t}}}),{visitors:{document:{objects:{Example:{$visitor:ly}}}}}=ch,uy=jr(ly,{init(){this.element=new Eh}}),{visitors:{document:{objects:{ExternalDocumentation:{$visitor:py}}}}}=ch,my=jr(py,{init(){this.element=new wh}}),{visitors:{document:{objects:{Encoding:{$visitor:hy}}}}}=ch,dy=jr(hy,{init(){this.element=new vh}}),{visitors:{document:{objects:{Paths:{$visitor:fy}}}}}=ch,yy=jr(fy,{init(){this.element=new qh}}),{visitors:{document:{objects:{RequestBody:{$visitor:gy}}}}}=ch,_y=jr(gy,{init(){this.element=new Bh}}),{visitors:{document:{objects:{Callback:{$visitor:by}}}}}=ch,vy=jr(by,{props:{specPath:e=>nc(e)?["document","objects","Reference"]:["document","objects","PathItem"]},init(){this.element=new yh},methods:{ObjectElement(e){const t=by.compose.methods.ObjectElement.call(this,e);return this.element.filter(Jd).forEach((e=>{e.setMetaProperty("referenced-element","pathItem")})),t}}}),{visitors:{document:{objects:{Response:{$visitor:Ey}}}}}=ch,wy=jr(Ey,{init(){this.element=new Vh}}),{visitors:{document:{objects:{Responses:{$visitor:xy}}}}}=ch,jy=jr(xy,{init(){this.element=new Uh}}),{visitors:{document:{objects:{Operation:{$visitor:Oy}}}}}=ch,Sy=jr(Oy,{init(){this.element=new Th}}),{visitors:{document:{objects:{PathItem:{$visitor:Py}}}}}=ch,Ay=jr(Py,{init(){this.element=new Ch}}),{visitors:{document:{objects:{SecurityScheme:{$visitor:Fy}}}}}=ch,$y=jr(Fy,{init(){this.element=new Hh}}),{visitors:{document:{objects:{OAuthFlows:{$visitor:ky}}}}}=ch,Iy=jr(ky,{init(){this.element=new kh}}),{visitors:{document:{objects:{OAuthFlow:{$visitor:My}}}}}=ch,Ry=jr(My,{init(){this.element=new $h}});class Ty extends Gt.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Ty.primaryClass)}}ps(Ty,"primaryClass","webhooks");const Ny=Ty,Cy=jr($c,uc,{props:{specPath:e=>nc(e)?["document","objects","Reference"]:["document","objects","PathItem"]},init(){this.element=new Ny},methods:{ObjectElement(e){const t=$c.compose.methods.ObjectElement.call(this,e);return this.element.filter(Jd).forEach((e=>{e.setMetaProperty("referenced-element","pathItem")})),this.element.filter(Gd).forEach(((e,t)=>{e.setMetaProperty("webhook-name",t.toValue())})),t}}}),qy={visitors:{value:ch.visitors.value,document:{objects:{OpenApi:{$visitor:Qh,fixedFields:{openapi:ch.visitors.document.objects.OpenApi.fixedFields.openapi,info:{$ref:"#/visitors/document/objects/Info"},jsonSchemaDialect:ld,servers:ch.visitors.document.objects.OpenApi.fixedFields.servers,paths:{$ref:"#/visitors/document/objects/Paths"},webhooks:Cy,components:{$ref:"#/visitors/document/objects/Components"},security:ch.visitors.document.objects.OpenApi.fixedFields.security,tags:ch.visitors.document.objects.OpenApi.fixedFields.tags,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:ed,fixedFields:{title:ch.visitors.document.objects.Info.fixedFields.title,description:ch.visitors.document.objects.Info.fixedFields.description,summary:td,termsOfService:ch.visitors.document.objects.Info.fixedFields.termsOfService,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"},version:ch.visitors.document.objects.Info.fixedFields.version}},Contact:{$visitor:nd,fixedFields:{name:ch.visitors.document.objects.Contact.fixedFields.name,url:ch.visitors.document.objects.Contact.fixedFields.url,email:ch.visitors.document.objects.Contact.fixedFields.email}},License:{$visitor:id,fixedFields:{name:ch.visitors.document.objects.License.fixedFields.name,identifier:od,url:ch.visitors.document.objects.License.fixedFields.url}},Server:{$visitor:pd,fixedFields:{url:ch.visitors.document.objects.Server.fixedFields.url,description:ch.visitors.document.objects.Server.fixedFields.description,variables:ch.visitors.document.objects.Server.fixedFields.variables}},ServerVariable:{$visitor:hd,fixedFields:{enum:ch.visitors.document.objects.ServerVariable.fixedFields.enum,default:ch.visitors.document.objects.ServerVariable.fixedFields.default,description:ch.visitors.document.objects.ServerVariable.fixedFields.description}},Components:{$visitor:bd,fixedFields:{schemas:iy,responses:ch.visitors.document.objects.Components.fixedFields.responses,parameters:ch.visitors.document.objects.Components.fixedFields.parameters,examples:ch.visitors.document.objects.Components.fixedFields.examples,requestBodies:ch.visitors.document.objects.Components.fixedFields.requestBodies,headers:ch.visitors.document.objects.Components.fixedFields.headers,securitySchemes:ch.visitors.document.objects.Components.fixedFields.securitySchemes,links:ch.visitors.document.objects.Components.fixedFields.links,callbacks:ch.visitors.document.objects.Components.fixedFields.callbacks,pathItems:cy}},Paths:{$visitor:yy},PathItem:{$visitor:Ay,fixedFields:{$ref:ch.visitors.document.objects.PathItem.fixedFields.$ref,summary:ch.visitors.document.objects.PathItem.fixedFields.summary,description:ch.visitors.document.objects.PathItem.fixedFields.description,get:{$ref:"#/visitors/document/objects/Operation"},put:{$ref:"#/visitors/document/objects/Operation"},post:{$ref:"#/visitors/document/objects/Operation"},delete:{$ref:"#/visitors/document/objects/Operation"},options:{$ref:"#/visitors/document/objects/Operation"},head:{$ref:"#/visitors/document/objects/Operation"},patch:{$ref:"#/visitors/document/objects/Operation"},trace:{$ref:"#/visitors/document/objects/Operation"},servers:ch.visitors.document.objects.PathItem.fixedFields.servers,parameters:ch.visitors.document.objects.PathItem.fixedFields.parameters}},Operation:{$visitor:Sy,fixedFields:{tags:ch.visitors.document.objects.Operation.fixedFields.tags,summary:ch.visitors.document.objects.Operation.fixedFields.summary,description:ch.visitors.document.objects.Operation.fixedFields.description,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:ch.visitors.document.objects.Operation.fixedFields.operationId,parameters:ch.visitors.document.objects.Operation.fixedFields.parameters,requestBody:ch.visitors.document.objects.Operation.fixedFields.requestBody,responses:{$ref:"#/visitors/document/objects/Responses"},callbacks:ch.visitors.document.objects.Operation.fixedFields.callbacks,deprecated:ch.visitors.document.objects.Operation.fixedFields.deprecated,security:ch.visitors.document.objects.Operation.fixedFields.security,servers:ch.visitors.document.objects.Operation.fixedFields.servers}},ExternalDocumentation:{$visitor:my,fixedFields:{description:ch.visitors.document.objects.ExternalDocumentation.fixedFields.description,url:ch.visitors.document.objects.ExternalDocumentation.fixedFields.url}},Parameter:{$visitor:Pd,fixedFields:{name:ch.visitors.document.objects.Parameter.fixedFields.name,in:ch.visitors.document.objects.Parameter.fixedFields.in,description:ch.visitors.document.objects.Parameter.fixedFields.description,required:ch.visitors.document.objects.Parameter.fixedFields.required,deprecated:ch.visitors.document.objects.Parameter.fixedFields.deprecated,allowEmptyValue:ch.visitors.document.objects.Parameter.fixedFields.allowEmptyValue,style:ch.visitors.document.objects.Parameter.fixedFields.style,explode:ch.visitors.document.objects.Parameter.fixedFields.explode,allowReserved:ch.visitors.document.objects.Parameter.fixedFields.allowReserved,schema:{$ref:"#/visitors/document/objects/Schema"},example:ch.visitors.document.objects.Parameter.fixedFields.example,examples:ch.visitors.document.objects.Parameter.fixedFields.examples,content:ch.visitors.document.objects.Parameter.fixedFields.content}},RequestBody:{$visitor:_y,fixedFields:{description:ch.visitors.document.objects.RequestBody.fixedFields.description,content:ch.visitors.document.objects.RequestBody.fixedFields.content,required:ch.visitors.document.objects.RequestBody.fixedFields.required}},MediaType:{$visitor:fd,fixedFields:{schema:{$ref:"#/visitors/document/objects/Schema"},example:ch.visitors.document.objects.MediaType.fixedFields.example,examples:ch.visitors.document.objects.MediaType.fixedFields.examples,encoding:ch.visitors.document.objects.MediaType.fixedFields.encoding}},Encoding:{$visitor:dy,fixedFields:{contentType:ch.visitors.document.objects.Encoding.fixedFields.contentType,headers:ch.visitors.document.objects.Encoding.fixedFields.headers,style:ch.visitors.document.objects.Encoding.fixedFields.style,explode:ch.visitors.document.objects.Encoding.fixedFields.explode,allowReserved:ch.visitors.document.objects.Encoding.fixedFields.allowReserved}},Responses:{$visitor:jy,fixedFields:{default:ch.visitors.document.objects.Responses.fixedFields.default}},Response:{$visitor:wy,fixedFields:{description:ch.visitors.document.objects.Response.fixedFields.description,headers:ch.visitors.document.objects.Response.fixedFields.headers,content:ch.visitors.document.objects.Response.fixedFields.content,links:ch.visitors.document.objects.Response.fixedFields.links}},Callback:{$visitor:vy},Example:{$visitor:uy,fixedFields:{summary:ch.visitors.document.objects.Example.fixedFields.summary,description:ch.visitors.document.objects.Example.fixedFields.description,value:ch.visitors.document.objects.Example.fixedFields.value,externalValue:ch.visitors.document.objects.Example.fixedFields.externalValue}},Link:{$visitor:cd,fixedFields:{operationRef:ch.visitors.document.objects.Link.fixedFields.operationRef,operationId:ch.visitors.document.objects.Link.fixedFields.operationId,parameters:ch.visitors.document.objects.Link.fixedFields.parameters,requestBody:ch.visitors.document.objects.Link.fixedFields.requestBody,description:ch.visitors.document.objects.Link.fixedFields.description,server:{$ref:"#/visitors/document/objects/Server"}}},Header:{$visitor:Fd,fixedFields:{description:ch.visitors.document.objects.Header.fixedFields.description,required:ch.visitors.document.objects.Header.fixedFields.required,deprecated:ch.visitors.document.objects.Header.fixedFields.deprecated,allowEmptyValue:ch.visitors.document.objects.Header.fixedFields.allowEmptyValue,style:ch.visitors.document.objects.Header.fixedFields.style,explode:ch.visitors.document.objects.Header.fixedFields.explode,allowReserved:ch.visitors.document.objects.Header.fixedFields.allowReserved,schema:{$ref:"#/visitors/document/objects/Schema"},example:ch.visitors.document.objects.Header.fixedFields.example,examples:ch.visitors.document.objects.Header.fixedFields.examples,content:ch.visitors.document.objects.Header.fixedFields.content}},Tag:{$visitor:Ed,fixedFields:{name:ch.visitors.document.objects.Tag.fixedFields.name,description:ch.visitors.document.objects.Tag.fixedFields.description,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Reference:{$visitor:xd,fixedFields:{$ref:ch.visitors.document.objects.Reference.fixedFields.$ref,summary:jd,description:Od}},Schema:{$visitor:af,fixedFields:{$schema:cf,$vocabulary:lf,$id:uf,$anchor:pf,$dynamicAnchor:mf,$dynamicRef:hf,$ref:df,$defs:ff,$comment:yf,allOf:gf,anyOf:_f,oneOf:bf,not:{$ref:"#/visitors/document/objects/Schema"},if:{$ref:"#/visitors/document/objects/Schema"},then:{$ref:"#/visitors/document/objects/Schema"},else:{$ref:"#/visitors/document/objects/Schema"},dependentSchemas:vf,prefixItems:Ef,items:{$ref:"#/visitors/document/objects/Schema"},contains:{$ref:"#/visitors/document/objects/Schema"},properties:wf,patternProperties:xf,additionalProperties:{$ref:"#/visitors/document/objects/Schema"},propertyNames:{$ref:"#/visitors/document/objects/Schema"},unevaluatedItems:{$ref:"#/visitors/document/objects/Schema"},unevaluatedProperties:{$ref:"#/visitors/document/objects/Schema"},type:jf,enum:Of,const:Sf,multipleOf:Pf,maximum:Af,exclusiveMaximum:Ff,minimum:$f,exclusiveMinimum:kf,maxLength:If,minLength:Mf,pattern:Rf,maxItems:Tf,minItems:Nf,uniqueItems:Cf,maxContains:qf,minContains:Df,maxProperties:Lf,minProperties:Bf,required:Vf,dependentRequired:Uf,title:zf,description:Gf,default:Wf,deprecated:Hf,readOnly:Jf,writeOnly:Kf,examples:Zf,format:Xf,contentEncoding:Qf,contentMediaType:Yf,contentSchema:{$ref:"#/visitors/document/objects/Schema"},discriminator:{$ref:"#/visitors/document/objects/Discriminator"},xml:{$ref:"#/visitors/document/objects/XML"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},example:ey}},Discriminator:{$visitor:ry,fixedFields:{propertyName:ch.visitors.document.objects.Discriminator.fixedFields.propertyName,mapping:ch.visitors.document.objects.Discriminator.fixedFields.mapping}},XML:{$visitor:sy,fixedFields:{name:ch.visitors.document.objects.XML.fixedFields.name,namespace:ch.visitors.document.objects.XML.fixedFields.namespace,prefix:ch.visitors.document.objects.XML.fixedFields.prefix,attribute:ch.visitors.document.objects.XML.fixedFields.attribute,wrapped:ch.visitors.document.objects.XML.fixedFields.wrapped}},SecurityScheme:{$visitor:$y,fixedFields:{type:ch.visitors.document.objects.SecurityScheme.fixedFields.type,description:ch.visitors.document.objects.SecurityScheme.fixedFields.description,name:ch.visitors.document.objects.SecurityScheme.fixedFields.name,in:ch.visitors.document.objects.SecurityScheme.fixedFields.in,scheme:ch.visitors.document.objects.SecurityScheme.fixedFields.scheme,bearerFormat:ch.visitors.document.objects.SecurityScheme.fixedFields.bearerFormat,flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:ch.visitors.document.objects.SecurityScheme.fixedFields.openIdConnectUrl}},OAuthFlows:{$visitor:Iy,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:Ry,fixedFields:{authorizationUrl:ch.visitors.document.objects.OAuthFlow.fixedFields.authorizationUrl,tokenUrl:ch.visitors.document.objects.OAuthFlow.fixedFields.tokenUrl,refreshUrl:ch.visitors.document.objects.OAuthFlow.fixedFields.refreshUrl,scopes:ch.visitors.document.objects.OAuthFlow.fixedFields.scopes}},SecurityRequirement:{$visitor:gd}},extension:{$visitor:ch.visitors.document.extension.$visitor}}}};function Dy(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const Ly=e=>{if(ws(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},By=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Dy(Object(r),!0).forEach((function(t){ps(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Dy(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({CallbackElement:["content"],ComponentsElement:["content"],ContactElement:["content"],DiscriminatorElement:["content"],Encoding:["content"],Example:["content"],ExternalDocumentationElement:["content"],HeaderElement:["content"],InfoElement:["content"],LicenseElement:["content"],MediaTypeElement:["content"],OAuthFlowElement:["content"],OAuthFlowsElement:["content"],OpenApi3_1Element:["content"],OperationElement:["content"],ParameterElement:["content"],PathItemElement:["content"],PathsElement:["content"],ReferenceElement:["content"],RequestBodyElement:["content"],ResponseElement:["content"],ResponsesElement:["content"],SchemaElement:["content"],SecurityRequirementElement:["content"],SecuritySchemeElement:["content"],ServerElement:["content"],ServerVariableElement:["content"],TagElement:["content"]},Ws),Vy={namespace:e=>{const{base:t}=e;return t.register("callback",yh),t.register("components",gh),t.register("contact",_h),t.register("discriminator",bh),t.register("encoding",vh),t.register("example",Eh),t.register("externalDocumentation",wh),t.register("header",xh),t.register("info",jh),t.register("jsonSchemaDialect",Sh),t.register("license",Ph),t.register("link",Ah),t.register("mediaType",Fh),t.register("oAuthFlow",$h),t.register("oAuthFlows",kh),t.register("openapi",Ih),t.register("openApi3_1",Rh),t.register("operation",Th),t.register("parameter",Nh),t.register("pathItem",Ch),t.register("paths",qh),t.register("reference",Lh),t.register("requestBody",Bh),t.register("response",Vh),t.register("responses",Uh),t.register("schema",Gh),t.register("securityRequirement",Wh),t.register("securityScheme",Hh),t.register("server",Jh),t.register("serverVariable",Kh),t.register("tag",Zh),t.register("xml",Xh),t}};function Uy(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function zy(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Uy(Object(r),!0).forEach((function(t){ps(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Uy(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const Gy=()=>{const e=dr(Vy);return{predicates:zy(zy({},o),{},{isStringElement:xs,isArrayElement:As,isObjectElement:Ps,includesClasses:Ds}),namespace:e}};function Wy(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}const Hy=(e,{specPath:t=["visitors","document","objects","OpenApi","$visitor"],plugins:r=[]}={})=>{const n=(0,Gt.Qc)(e),s=ho(qy),i=Xs(t,[],s);return Hs(n,i,{state:{specObj:s}}),ei(i.element,r,{toolboxCreator:Gy,visitorOptions:{keyMap:By,nodeTypeGetter:Ly}})},Jy=e=>(t,r={})=>Hy(t,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Wy(Object(r),!0).forEach((function(t){ps(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Wy(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({specPath:e},r));yh.refract=Jy(["visitors","document","objects","Callback","$visitor"]),gh.refract=Jy(["visitors","document","objects","Components","$visitor"]),_h.refract=Jy(["visitors","document","objects","Contact","$visitor"]),Eh.refract=Jy(["visitors","document","objects","Example","$visitor"]),bh.refract=Jy(["visitors","document","objects","Discriminator","$visitor"]),vh.refract=Jy(["visitors","document","objects","Encoding","$visitor"]),wh.refract=Jy(["visitors","document","objects","ExternalDocumentation","$visitor"]),xh.refract=Jy(["visitors","document","objects","Header","$visitor"]),jh.refract=Jy(["visitors","document","objects","Info","$visitor"]),Sh.refract=Jy(["visitors","document","objects","OpenApi","fixedFields","jsonSchemaDialect"]),Ph.refract=Jy(["visitors","document","objects","License","$visitor"]),Ah.refract=Jy(["visitors","document","objects","Link","$visitor"]),Fh.refract=Jy(["visitors","document","objects","MediaType","$visitor"]),$h.refract=Jy(["visitors","document","objects","OAuthFlow","$visitor"]),kh.refract=Jy(["visitors","document","objects","OAuthFlows","$visitor"]),Ih.refract=Jy(["visitors","document","objects","OpenApi","fixedFields","openapi"]),Rh.refract=Jy(["visitors","document","objects","OpenApi","$visitor"]),Th.refract=Jy(["visitors","document","objects","Operation","$visitor"]),Nh.refract=Jy(["visitors","document","objects","Parameter","$visitor"]),Ch.refract=Jy(["visitors","document","objects","PathItem","$visitor"]),qh.refract=Jy(["visitors","document","objects","Paths","$visitor"]),Lh.refract=Jy(["visitors","document","objects","Reference","$visitor"]),Bh.refract=Jy(["visitors","document","objects","RequestBody","$visitor"]),Vh.refract=Jy(["visitors","document","objects","Response","$visitor"]),Uh.refract=Jy(["visitors","document","objects","Responses","$visitor"]),Gh.refract=Jy(["visitors","document","objects","Schema","$visitor"]),Wh.refract=Jy(["visitors","document","objects","SecurityRequirement","$visitor"]),Hh.refract=Jy(["visitors","document","objects","SecurityScheme","$visitor"]),Jh.refract=Jy(["visitors","document","objects","Server","$visitor"]),Kh.refract=Jy(["visitors","document","objects","ServerVariable","$visitor"]),Zh.refract=Jy(["visitors","document","objects","Tag","$visitor"]),Xh.refract=Jy(["visitors","document","objects","XML","$visitor"]);const Ky=class extends Array{constructor(...e){super(...e),ps(this,"unknownMediaType","application/octet-stream")}filterByFormat(){throw new Error("Not implemented!")}findBy(){throw new Error("Not implemented")}latest(){throw new Error("Not implemented!")}};class Zy extends Ky{filterByFormat(e="generic"){const t="generic"===e?"openapi;version":e;return this.filter((e=>e.includes(t)))}findBy(e="3.1.0",t="generic"){const r="generic"===t?`vnd.oai.openapi;version=${e}`:`vnd.oai.openapi+${t};version=${e}`;return this.find((e=>e.includes(r)))||this.unknownMediaType}latest(e="generic"){return bt(this.filterByFormat(e))}}const Xy=new Zy("application/vnd.oai.openapi;version=3.1.0","application/vnd.oai.openapi+json;version=3.1.0","application/vnd.oai.openapi+yaml;version=3.1.0"),Qy=new Zy(...Xy.filterByFormat("generic"),...Xy.filterByFormat("yaml")),Yy=/(?<YAML>^(["']?)openapi\2\s*:\s*(["']?)(?<version_yaml>3\.1\.(?:[1-9]\d*|0))\3(?:\s+|$))|(?<JSON>"openapi"\s*:\s*"(?<version_json>3\.1\.(?:[1-9]\d*|0))")/m,eg=async e=>Yy.test(e)&&await(async e=>{try{return"ERROR"!==(await xr(e)).rootNode.type}catch{return!1}})(e),tg=async(e,t={})=>{const r=At({},"refractorOpts",t),n=jt(["refractorOpts"],t),s=await(async(e,{sourceMap:t=!1}={})=>{const r=await xr(e);return ui(r,{sourceMap:t})})(e,n),{result:i}=s;if(zt(i)){const e=Rh.refract(i,r);e.classes.push("result"),s.replaceResult(e)}return s},rg=dr(Vy)})(),n})()));