@swagger-api/apidom-parser-adapter-openapi-yaml-3-1 0.68.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +366 -0
- package/LICENSES/Apache-2.0.txt +202 -0
- package/LICENSES/MIT.txt +9 -0
- package/NOTICE +57 -0
- package/README.md +86 -0
- package/cjs/adapter.cjs +35 -0
- package/cjs/media-types.cjs +8 -0
- package/dist/apidom-parser-adapter-openapi-yaml-3-1.browser.js +49288 -0
- package/dist/apidom-parser-adapter-openapi-yaml-3-1.browser.min.js +2 -0
- package/dist/apidom-parser-adapter-openapi-yaml-3-1.browser.min.js.LICENSE.txt +6 -0
- package/dist/d396281e11774e0afa7a40d620779b6d.wasm +0 -0
- package/dist/fba0b3cc0d7ee926ea482deee298a5fe.wasm +0 -0
- package/es/adapter.js +23 -0
- package/es/media-types.js +3 -0
- package/package.json +64 -0
- package/types/dist.d.ts +12 -0
|
@@ -0,0 +1,2 @@
|
|
|
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 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(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")},5159:(e,t,r)=>{e.exports=r(2747)},8026:(e,t,r)=>{e.exports=r(229)},1903:(e,t,r)=>{e.exports=r(5090)},902:(e,t,r)=>{e.exports=r(5483)},9256:(e,t,r)=>{e.exports=r(2185)},5659:(e,t,r)=>{e.exports=r(9982)},3698:(e,t,r)=>{e.exports=r(8241)},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,h=5==e||p;return function(d,f,g,y){for(var _,b,v=o(d),E=i(v),w=n(f,g),x=a(E),j=0,O=y||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,g,y,_,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),y=S[f],s&&(_=e.dontCallGetSet?(v=a(O,f))&&v.value:O[f]),g=s&&_?_:t[f],s&&typeof y==typeof g||(b=e.bind&&s?u(g,n):e.wrap&&s?h(g):j&&o(g)?i(g):g,(e.sham||g&&g.sham||y&&y.sham)&&p(b,"sham",!0),p(S,f,b),j&&(m(l,d=E+"Prototype")||p(l,d,{}),p(l[d],f,g),e.real&&P&&(r||!P[f])&&p(P,f,g)))}},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:(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}()||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,g=a.WeakMap;if(o||p.state){var y=p.state||(p.state=new g);y.get=y.get,y.has=y.has,y.set=y.set,n=function(e,t){if(y.has(e))throw f(d);return t.facade=e,y.set(e,t),t},s=function(e){return y.get(e)||{}},i=function(e){return y.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}},g=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}};g.sham=!0,e.exports=!p||s((function(){var e;return f(f.call)||!f(Object)||!f((function(){e=!0}))||e}))?g: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),g=r(4413),y=o.PROPER,_=o.CONFIGURABLE,b=g.IteratorPrototype,v=g.BUGGY_SAFARI_ITERATORS,E=d("iterator"),w="keys",x="values",j="entries",O=function(){return this};e.exports=function(e,t,r,o,d,g,S){c(r,t,o);var P,A,F,k=function(e){if(e===d&&R)return R;if(!v&&e in I)return I[e];switch(e){case w:case x:case j:return function(){return new r(this,e)}}return function(){return new r(this)}},$=t+" Iterator",M=!1,I=e.prototype,T=I[E]||I["@@iterator"]||d&&I[d],R=!v&&T||k(d),C="Array"==t&&I.entries||T;if(C&&(P=l(C.call(new e)))!==Object.prototype&&P.next&&(i||l(P)===b||(u?u(P,b):a(P[E])||h(P,E,O)),p(P,$,!0,!0),i&&(f[$]=O)),y&&d==x&&T&&T.name!==x&&(!i&&_?m(I,"name",x):(M=!0,R=function(){return s(T,this)})),d)if(A={values:k(x),keys:g?R:k(w),entries:k(j)},S)for(F in A)(v||M||!(F in I))&&h(I,F,A[F]);else n({target:t,proto:!0,forced:v||M},A);return i&&!S||I[E]===R||h(I,E,R,{name:d}),f[t]=R,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+">"},g=function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;y="undefined"!=typeof document?document.domain&&n?g(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):g(n);for(var s=o.length;s--;)delete y[p][o[s]];return y()};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=y(),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.29.0",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.0/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);e.exports=!!Object.getOwnPropertySymbols&&!s((function(){var e=Symbol();return!String(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),h=r(8182),d=r(4218),f=h("isConcatSpreadable"),g=d>=51||!s((function(){var e=[];return e[f]=!1,e.concat()[0]!==e})),y=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:!g||!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(y(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"),g=a(/./.exec),y=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=y(r,t-1),s=y(r,t+1);return g(w,e)&&!g(x,s)||g(x,e)&&!g(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),g=r(4845),y=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),k=r(9766),$=r(4535),M=r(2759),I=r(8182),T=r(9207),R=r(8332),C=r(3407),N=r(1284),q=r(3326),D=r(454).forEach,L=k("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:y(0,!1)})):(p(e,L)||X(e,L,y(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($,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]?g(arguments[0]):void 0,t=M(e),r=function(e){this===G&&i(r,re,e),p(this,L)&&p(this[L],t)&&(this[L][t]=!1),ie(this,t,y(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(M(e),e)})),S.f=le,j.f=ae,O.f=ce,x.f=ue,v.f=E.f=pe,w.f=me,T.f=function(e){return oe(I(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){R(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}),C(),N(W,B),$[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")},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),h=s("wks"),d=0,f=p(l),g=f.length;d<g;d++)try{var y=f[d];a(l[y])&&c(y)}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(h),s=n.length;r<s;r++)if(h[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),h=r||u||p||m,d=h?n(e.length,String):[],f=d.length;for(var g in e)!t&&!l.call(e,g)||h&&("length"==g||p&&("offset"==g||"parent"==g)||m&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||a(g,f))||d.push(g);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="[object Null]",a="[object Undefined]",c=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?a:o:c&&c in Object(e)?s(e):i(e)}},5183:(e,t,r)=>{var n=r(3366),s=r(5125),i="[object Arguments]";e.exports=function(e){return s(e)&&n(e)==i}},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=1,m="[object Arguments]",h="[object Array]",d="[object Object]",f=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,g,y,_){var b=c(e),v=c(t),E=b?h:a(e),w=v?h:a(t),x=(E=E==m?d:E)==d,j=(w=w==m?d:w)==d,O=E==w;if(O&&l(e)){if(!l(t))return!1;b=!0,x=!1}if(O&&!x)return _||(_=new n),b||u(e)?s(e,t,r,g,y,_):i(e,t,E,r,g,y,_);if(!(r&p)){var S=x&&f.call(e,"__wrapped__"),P=j&&f.call(t,"__wrapped__");if(S||P){var A=S?e.value():e,F=P?t.value():t;return _||(_=new n),y(A,F,r,g,_)}}return!!O&&(_||(_=new n),o(e,t,r,g,y,_))}},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),o=1,a=2;e.exports=function(e,t,r,c,l,u){var p=r&o,m=e.length,h=t.length;if(m!=h&&!(p&&h>m))return!1;var d=u.get(e),f=u.get(t);if(d&&f)return d==t&&f==e;var g=-1,y=!0,_=r&a?new n:void 0;for(u.set(e,t),u.set(t,e);++g<m;){var b=e[g],v=t[g];if(c)var E=p?c(v,b,g,t,e,u):c(b,v,g,e,t,u);if(void 0!==E){if(E)continue;y=!1;break}if(_){if(!s(t,(function(e,t){if(!i(_,t)&&(b===e||l(b,e,r,c,u)))return _.push(t)}))){y=!1;break}}else if(b!==v&&!l(b,v,r,c,u)){y=!1;break}}return u.delete(e),u.delete(t),y}},1491:(e,t,r)=>{var n=r(857),s=r(9162),i=r(1225),o=r(4871),a=r(5179),c=r(4207),l=1,u=2,p="[object Boolean]",m="[object Date]",h="[object Error]",d="[object Map]",f="[object Number]",g="[object RegExp]",y="[object Set]",_="[object String]",b="[object Symbol]",v="[object ArrayBuffer]",E="[object DataView]",w=n?n.prototype:void 0,x=w?w.valueOf:void 0;e.exports=function(e,t,r,n,w,j,O){switch(r){case E:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case v:return!(e.byteLength!=t.byteLength||!j(new s(e),new s(t)));case p:case m:case f:return i(+e,+t);case h:return e.name==t.name&&e.message==t.message;case g:case _:return e==t+"";case d:var S=a;case y:var P=n&l;if(S||(S=c),e.size!=t.size&&!P)return!1;var A=O.get(e);if(A)return A==t;n|=u,O.set(e,t);var F=o(S(e),S(t),n,w,j,O);return O.delete(e),F;case b:if(x)return x.call(e)==x.call(t)}return!1}},7416:(e,t,r)=>{var n=r(3483),s=1,i=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,o,a,c){var l=r&s,u=n(e),p=u.length;if(p!=n(t).length&&!l)return!1;for(var m=p;m--;){var h=u[m];if(!(l?h in t:i.call(t,h)))return!1}var d=c.get(e),f=c.get(t);if(d&&f)return d==t&&f==e;var g=!0;c.set(e,t),c.set(t,e);for(var y=l;++m<p;){var _=e[h=u[m]],b=t[h];if(o)var v=l?o(b,_,h,t,e,c):o(_,b,h,e,t,c);if(!(void 0===v?_===b||a(_,b,r,o,c):v)){g=!1;break}y||(y="constructor"==h)}if(g&&!y){var E=e.constructor,w=t.constructor;E==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof E&&E instanceof E&&"function"==typeof w&&w instanceof w||(g=!1)}return c.delete(e),c.delete(t),g}},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),g=l(s),y=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 g:return u;case y: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="__lodash_hash_undefined__",i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return r===s?void 0:r}return i.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),s="__lodash_hash_undefined__";e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?s:t,this}},9045:e=>{var t=9007199254740991,r=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var s=typeof e;return!!(n=null==n?t:n)&&("number"==s||"symbol"!=s&&r.test(e))&&e>-1&&e%1==0&&e<n}},8304:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},7394:(e,t,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=>{var t="__lodash_hash_undefined__";e.exports=function(e){return this.__data__.set(e,t),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),o=200;e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!s||a.length<o-1)return a.push([e,t]),this.size=++r.size,this;r=this.__data__=new i(a)}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),i="[object Boolean]";e.exports=function(e){return!0===e||!1===e||s(e)&&n(e)==i}},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),i="[object AsyncFunction]",o="[object Function]",a="[object GeneratorFunction]",c="[object Proxy]";e.exports=function(e){if(!s(e))return!1;var t=n(e);return t==o||t==a||t==i||t==c}},1158:e=>{var t=9007199254740991;e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=t}},5877:e=>{e.exports=function(e){return null===e}},537:(e,t,r)=>{var n=r(3366),s=r(5125),i="[object Number]";e.exports=function(e){return"number"==typeof e||s(e)&&n(e)==i}},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),o="[object String]";e.exports=function(e){return"string"==typeof e||!s(e)&&i(e)&&n(e)==o}},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=>{var t="Expected a function";e.exports=function(e){if("function"!=typeof e)throw new TypeError(t);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 g(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(g));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=g,h.prototype.refract=g,e.exports={Element:n,NullElement:s,StringElement:i,NumberElement:o,BooleanElement:a,ArrayElement:c,MemberElement:l,ObjectElement:u,LinkElement:p,RefElement:m,refract:g,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",g="deepConf",y="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(y),s(b)),e}function k(){return function(e){return r=function e(r){var n,s,i=e[v]||{},l={__proto__:i[_]},u=i[y],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]:k,x(r[v]=function(){return n.apply(this,arguments)},e),r}(Array.prototype.concat.apply([this],arguments).reduce(F,{}))}function $(e){return j(e)&&j(e[v])}var M={};function I(e,i){return function(){return(s={})[e]=i.apply(t,Array.prototype.concat.apply([{}],arguments)),((r=this)&&r[v]||n).call(r,s)}}M[_]=I(_,x),M[o]=M.props=I(o,x),M[y]=M.init=I(y,A),M[b]=I(b,A),M[a]=M[d]=I(a,P),M[l]=M.statics=I(l,x),M[u]=M[f]=I(u,P),M[m]=M.conf=I(m,x),M[h]=M[g]=I(h,P),M[c]=I(c,x),M[p]=I(p,x),n=M[v]=x((function(){for(var e,E,w=0,j=[],S=arguments,F=this;w<S.length;)O(e=S[w++])&&j.push($(e)?e:((s={})[_]=(E=e)[_]||t,n=E.props,s[o]=O((r=E[o])||n)?x({},n,r):t,s[y]=A(E.init,E[y]),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[g],s[h]=O((r=E[h])||n)?P({},n,r):t,s));if(e=k.apply(F||i,j),F&&j.unshift(F),Array.isArray(S=e[v][b]))for(w=0;w<S.length;)e=$(F=S[w++]({stamp:e,composables:j}))?F:e;return e}),M),M.create=function(){return this.apply(t,arguments)},(s={})[l]=M,i=k(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="./this.program",m=function(e,t){throw t},h=!1,d=!1;h="object"==typeof window,d="function"==typeof importScripts,c="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,l=!h&&!c&&!d;var f,g,y,_,b,v="";c?(v=d?r(6287).dirname(v)+"/":"//",f=function(e,t){return _||(_=r(5530)),b||(b=r(6287)),e=b.normalize(e),_.readFileSync(e,t?null:"utf8")},y=function(e){var t=f(e,!0);return t.buffer||(t=new Uint8Array(t)),T(t.buffer),t},process.argv.length>1&&(p=process.argv[1].replace(/\\/g,"/")),u=process.argv.slice(2),e.exports=n,m=function(e){process.exit(e)},n.inspect=function(){return"[Emscripten Module object]"}):l?("undefined"!=typeof read&&(f=function(e){return read(e)}),y=function(e){var t;return"function"==typeof readbuffer?new Uint8Array(readbuffer(e)):(T("object"==typeof(t=read(e,"binary"))),t)},"undefined"!=typeof scriptArgs?u=scriptArgs:void 0!==arguments&&(u=arguments),"function"==typeof quit&&(m=function(e){quit(e)}),"undefined"!=typeof print&&("undefined"==typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!=typeof printErr?printErr:print)):(h||d)&&(d?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},d&&(y=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),g=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&&(u=n.arguments),n.thisProgram&&(p=n.thisProgram),n.quit&&(m=n.quit);var w,x=16,j=[];function O(e,t){if(!w){w=new WeakMap;for(var r=0;r<X.length;r++){var n=X.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{X.grow(1)}catch(e){if(!(e instanceof RangeError))throw e;throw"Unable to grow wasm table. Set ALLOW_TABLE_GROWTH."}return X.length-1}();try{X.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);X.set(s,i)}return w.set(e,s),s}var S,P=function(e){},A=n.dynamicLibraries||[];n.wasmBinary&&(S=n.wasmBinary);var F,k=n.noExitRuntime||!0;function $(e,t,r,n){switch("*"===(r=r||"i8").charAt(r.length-1)&&(r="i32"),r){case"i1":case"i8":C[e>>0]=t;break;case"i16":q[e>>1]=t;break;case"i32":D[e>>2]=t;break;case"i64":pe=[t>>>0,(ue=t,+Math.abs(ue)>=1?ue>0?(0|Math.min(+Math.floor(ue/4294967296),4294967295))>>>0:~~+Math.ceil((ue-+(~~ue>>>0))/4294967296)>>>0:0)],D[e>>2]=pe[0],D[e+4>>2]=pe[1];break;case"float":L[e>>2]=t;break;case"double":B[e>>3]=t;break;default:ce("invalid type for setValue: "+r)}}function M(e,t,r){switch("*"===(t=t||"i8").charAt(t.length-1)&&(t="i32"),t){case"i1":case"i8":return C[e>>0];case"i16":return q[e>>1];case"i32":case"i64":return D[e>>2];case"float":return L[e>>2];case"double":return B[e>>3];default:ce("invalid type for getValue: "+t)}return null}"object"!=typeof WebAssembly&&ce("no native wasm support detected");var I=!1;function T(e,t){e||ce("Assertion failed: "+t)}var R,C,N,q,D,L,B,V="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function U(e,t,r){for(var n=t+r,s=t;e[s]&&!(s>=n);)++s;if(s-t>16&&e.subarray&&V)return V.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 z(e,t){return e?U(N,e,t):""}function G(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 W(e,t,r){return G(e,N,t,r)}function H(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 J(e){var t=H(e)+1,r=Ke(t);return G(e,C,r,t),r}function K(e){R=e,n.HEAP8=C=new Int8Array(e),n.HEAP16=q=new Int16Array(e),n.HEAP32=D=new Int32Array(e),n.HEAPU8=N=new Uint8Array(e),n.HEAPU16=new Uint16Array(e),n.HEAPU32=new Uint32Array(e),n.HEAPF32=L=new Float32Array(e),n.HEAPF64=B=new Float64Array(e)}var Z=n.INITIAL_MEMORY||33554432;(F=n.wasmMemory?n.wasmMemory:new WebAssembly.Memory({initial:Z/65536,maximum:32768}))&&(R=F.buffer),Z=R.byteLength,K(R);var X=new WebAssembly.Table({initial:20,element:"anyfunc"}),Q=[],Y=[],ee=[],te=[],re=!1,ne=0,se=null,ie=null;function oe(e){ne++,n.monitorRunDependencies&&n.monitorRunDependencies(ne)}function ae(e){if(ne--,n.monitorRunDependencies&&n.monitorRunDependencies(ne),0==ne&&(null!==se&&(clearInterval(se),se=null),ie)){var t=ie;ie=null,t()}}function ce(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 le,ue,pe,me="data:application/octet-stream;base64,";function he(e){return e.startsWith(me)}function de(e){return e.startsWith("file://")}function fe(e){try{if(e==le&&S)return new Uint8Array(S);if(y)return y(e);throw"both async and sync fetching of the wasm failed"}catch(e){ce(e)}}he(le="tree-sitter.wasm")||(le=function(e){return n.locateFile?n.locateFile(e,v):v+e}(le));var ge={},ye={get:function(e,t){return ge[t]||(ge[t]=new WebAssembly.Global({value:"i32",mutable:!0})),ge[t]}};function _e(e){for(;e.length>0;){var t=e.shift();if("function"!=typeof t){var r=t.func;"number"==typeof r?void 0===t.arg?X.get(r)():X.get(r)(t.arg):r(void 0===t.arg?null:t.arg)}else t(n)}}function be(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");T(0!=n.length,"need dylink section"),e=new Int8Array(n[0])}else T(1836278016==new Uint32Array(new Uint8Array(e.subarray(0,24)).buffer)[0],"need to see wasm magic number"),T(0===e[8],"need the dylink section to be first"),t=9,r(),T(6===e[t]),T(e[++t]==="d".charCodeAt(0)),T(e[++t]==="y".charCodeAt(0)),T(e[++t]==="l".charCodeAt(0)),T(e[++t]==="i".charCodeAt(0)),T(e[++t]==="n".charCodeAt(0)),T(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=U(c,0);s.neededDynlibs.push(l)}return s}var ve=0;function Ee(){return k||ve>0}function we(e){return 0==e.indexOf("dynCall_")||["stackAlloc","stackSave","stackRestore"].includes(e)?e:"_"+e}function xe(e,t){for(var r in e)if(e.hasOwnProperty(r)){ze.hasOwnProperty(r)||(ze[r]=e[r]);var s=we(r);n.hasOwnProperty(s)||(n[s]=e[r])}}var je={nextHandle:1,loadedLibs:{},loadedLibNames:{}};var Oe=5251072;function Se(e){return["__cpp_exception","__wasm_apply_data_relocs","__dso_handle","__set_stack_limits"].includes(e)}function Pe(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(!Se(t)){var r=!1,n=e[t];t.startsWith("orig$")&&(t=t.split("$")[1],r=!0),ge[t]||(ge[t]=new WebAssembly.Global({value:"i32",mutable:!0})),(r||0==ge[t].value)&&("function"==typeof n?ge[t].value=O(n):"number"==typeof n?ge[t].value=n:E("unhandled export type for `"+t+"`: "+typeof n))}}(r),r}function Ae(e,t){var r,s;return t&&(r=ze["orig$"+e]),r||(r=ze[e]),r||(r=n[we(e)]),!r&&e.startsWith("invoke_")&&(s=e.split("_")[1],r=function(){var e=He();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):X.get(t).apply(null,r)}(s,arguments[0],Array.prototype.slice.call(arguments,1))}catch(t){if(Je(e),t!==t+0&&"longjmp"!==t)throw t;Ze(1,0)}}),r}function Fe(e,t){var r=be(e);function n(){var n=Math.pow(2,r.memoryAlign);n=Math.max(n,x);var s,i,o,a=(s=function(e){if(re)return Ge(e);var t=Oe,r=t+e+15&-16;return Oe=r,ge.__heap_base.value=r,t}(r.memorySize+n),(i=n)||(i=x),Math.ceil(s/i)*i),c=X.length;X.grow(r.tableSize);for(var l=a;l<a+r.memorySize;l++)C[l]=0;for(l=c;l<c+r.tableSize;l++)X.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 ze?ze[t]:(t in e||(e[t]=function(){return r||(r=function(e){var t=Ae(e,!1);return t||(t=o[e]),t}(t)),r.apply(null,arguments)}),e[t]);var r}}),p={"GOT.mem":new Proxy({},ye),"GOT.func":new Proxy({},ye),env:u,wasi_snapshot_preview1:u};function m(e){for(var n=0;n<r.tableSize;n++){var s=X.get(c+n);s&&w.set(s,c+n)}o=Pe(e.exports,a),t.allowUndefined||$e();var i=o.__wasm_call_ctors;return i||(i=o.__post_instantiate),i&&(re?i():Y.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 ke(r,t)}))}),Promise.resolve()).then((function(){return n()})):(r.neededDynlibs.forEach((function(e){ke(e,t)})),n())}function ke(e,t){"__main__"!=e||je.loadedLibNames[e]||(je.loadedLibs[-1]={refcount:1/0,name:"__main__",module:n.asm,global:!0},je.loadedLibNames.__main__=-1),t=t||{global:!0,nodelete:!0};var r,s=je.loadedLibNames[e];if(s)return r=je.loadedLibs[s],t.global&&!r.global&&(r.global=!0,"loading"!==r.module&&xe(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)}))):y(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 Fe(e,t)})):Fe(i(e),t)}function a(e){r.global&&xe(e),r.module=e}return s=je.nextHandle++,r={refcount:t.nodelete?1/0:1,name:e,module:"loading",global:t.global},je.loadedLibNames[e]=s,je.loadedLibs[s]=r,t.loadAsync?o().then((function(e){return a(e),s})):(a(o()),s)}function $e(){for(var e in ge)if(0==ge[e].value){var t=Ae(e,!0);"function"==typeof t?ge[e].value=O(t,t.sig):"number"==typeof t?ge[e].value=t:T(!1,"bad export type for `"+e+"`: "+typeof t)}}n.___heap_base=Oe;var Me,Ie=new WebAssembly.Global({value:"i32",mutable:!0},5251072);function Te(){ce()}n._abort=Te,Te.sig="v",Me=c?function(){var e=process.hrtime();return 1e3*e[0]+e[1]/1e6}:"undefined"!=typeof dateNow?dateNow:function(){return performance.now()};var Re=!0;function Ce(e,t){var r;if(0===e)r=Date.now();else{if(1!==e&&4!==e||!Re)return 28,D[We()>>2]=28,-1;r=Me()}return D[t>>2]=r/1e3|0,D[t+4>>2]=r%1e3*1e3*1e3|0,0}function Ne(e){try{return F.grow(e-R.byteLength+65535>>>16),K(F.buffer),1}catch(e){}}function qe(e){et(e)}Ce.sig="iii",qe.sig="vi";var De={mappings:{},DEFAULT_POLLMASK:5,umask:511,calculateAt:function(e,t,r){if("/"===t[0])return t;var n;if(-100===e)n=FS.cwd();else{var s=FS.getStream(e);if(!s)throw new FS.ErrnoError(8);n=s.path}if(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}return D[r>>2]=n.dev,D[r+4>>2]=0,D[r+8>>2]=n.ino,D[r+12>>2]=n.mode,D[r+16>>2]=n.nlink,D[r+20>>2]=n.uid,D[r+24>>2]=n.gid,D[r+28>>2]=n.rdev,D[r+32>>2]=0,pe=[n.size>>>0,(ue=n.size,+Math.abs(ue)>=1?ue>0?(0|Math.min(+Math.floor(ue/4294967296),4294967295))>>>0:~~+Math.ceil((ue-+(~~ue>>>0))/4294967296)>>>0:0)],D[r+40>>2]=pe[0],D[r+44>>2]=pe[1],D[r+48>>2]=4096,D[r+52>>2]=n.blocks,D[r+56>>2]=n.atime.getTime()/1e3|0,D[r+60>>2]=0,D[r+64>>2]=n.mtime.getTime()/1e3|0,D[r+68>>2]=0,D[r+72>>2]=n.ctime.getTime()/1e3|0,D[r+76>>2]=0,pe=[n.ino>>>0,(ue=n.ino,+Math.abs(ue)>=1?ue>0?(0|Math.min(+Math.floor(ue/4294967296),4294967295))>>>0:~~+Math.ceil((ue-+(~~ue>>>0))/4294967296)>>>0:0)],D[r+80>>2]=pe[0],D[r+84>>2]=pe[1],0},doMsync:function(e,t,r,n,s){var i=N.slice(e,e+r);FS.msync(t,i,s,r,n)},doMkdir:function(e,t){return"/"===(e=PATH.normalize(e))[e.length-1]&&(e=e.substr(0,e.length-1)),FS.mkdir(e,t,0),0},doMknod:function(e,t,r){switch(61440&t){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}return FS.mknod(e,t,r),0},doReadlink:function(e,t,r){if(r<=0)return-28;var n=FS.readlink(e),s=Math.min(r,H(n)),i=C[t+s];return W(n,t,r+1),C[t+s]=i,s},doAccess:function(e,t){if(-8&t)return-28;var r;if(!(r=FS.lookupPath(e,{follow:!0}).node))return-44;var n="";return 4&t&&(n+="r"),2&t&&(n+="w"),1&t&&(n+="x"),n&&FS.nodePermissions(r,n)?-2:0},doDup:function(e,t,r){var n=FS.getStream(r);return n&&FS.close(n),FS.open(e,t,0,r,r).fd},doReadv:function(e,t,r,n){for(var s=0,i=0;i<r;i++){var o=D[t+8*i>>2],a=D[t+(8*i+4)>>2],c=FS.read(e,C,o,a,n);if(c<0)return-1;if(s+=c,c<a)break}return s},doWritev:function(e,t,r,n){for(var s=0,i=0;i<r;i++){var o=D[t+8*i>>2],a=D[t+(8*i+4)>>2],c=FS.write(e,C,o,a,n);if(c<0)return-1;s+=c}return s},varargs:void 0,get:function(){return De.varargs+=4,D[De.varargs-4>>2]},getStr:function(e){return z(e)},getStreamFromFD:function(e){var t=FS.getStream(e);if(!t)throw new FS.ErrnoError(8);return t},get64:function(e,t){return e}};function Le(e){try{var t=De.getStreamFromFD(e);return FS.close(t),0}catch(e){return"undefined"!=typeof FS&&e instanceof FS.ErrnoError||ce(e),e.errno}}function Be(e,t,r,n){try{var s=De.getStreamFromFD(e),i=De.doWritev(s,t,r);return D[n>>2]=i,0}catch(e){return"undefined"!=typeof FS&&e instanceof FS.ErrnoError||ce(e),e.errno}}function Ve(e){P(e)}Le.sig="ii",Be.sig="iiiii",Ve.sig="vi";var Ue,ze={__heap_base:Oe,__indirect_function_table:X,__memory_base:1024,__stack_pointer:Ie,__table_base:1,abort:Te,clock_gettime:Ce,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),Ne(Math.min(2147483648,((t=Math.max(e,s))%65536>0&&(t+=65536-t%65536),t))))return!0}return!1},exit:qe,fd_close:Le,fd_seek:function(e,t,r,n,s){try{var i=De.getStreamFromFD(e),o=4294967296*r+(t>>>0);return o<=-9007199254740992||o>=9007199254740992?-61:(FS.llseek(i,o,n),pe=[i.position>>>0,(ue=i.position,+Math.abs(ue)>=1?ue>0?(0|Math.min(+Math.floor(ue/4294967296),4294967295))>>>0:~~+Math.ceil((ue-+(~~ue>>>0))/4294967296)>>>0:0)],D[s>>2]=pe[0],D[s+4>>2]=pe[1],i.getdents&&0===o&&0===n&&(i.getdents=null),0)}catch(e){return"undefined"!=typeof FS&&e instanceof FS.ErrnoError||ce(e),e.errno}},fd_write:Be,memory:F,setTempRet0:Ve,tree_sitter_log_callback:function(e,t){if(ft){const r=z(t);ft(r,0!==e)}},tree_sitter_parse_callback:function(e,t,r,n,s){var i=dt(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);q[t>>1]=i,t+=2}q[t>>1]=0}(i,e,10240)):$(s,0,"i32")}},Ge=(function(){var e={env:ze,wasi_snapshot_preview1:ze,"GOT.mem":new Proxy(ze,ye),"GOT.func":new Proxy(ze,ye)};function t(e,t){var r=e.exports;r=Pe(r,1024),n.asm=r;var s,i=be(t);i.neededDynlibs&&(A=i.neededDynlibs.concat(A)),xe(r),s=n.asm.__wasm_call_ctors,Y.unshift(s),ae()}function r(e){t(e.instance,e.module)}function s(t){return function(){if(!S&&(h||d)){if("function"==typeof fetch&&!de(le))return fetch(le,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load wasm binary file at '"+le+"'";return e.arrayBuffer()})).catch((function(){return fe(le)}));if(g)return new Promise((function(e,t){g(le,(function(t){e(new Uint8Array(t))}),t)}))}return Promise.resolve().then((function(){return fe(le)}))}().then((function(t){return WebAssembly.instantiate(t,e)})).then(t,(function(e){E("failed to asynchronously prepare wasm: "+e),ce(e)}))}if(oe(),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||he(le)||de(le)||"function"!=typeof fetch?s(r):fetch(le,{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(Ge=n._malloc=n.asm.malloc).apply(null,arguments)}),We=(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(We=n.___errno_location=n.asm.__errno_location).apply(null,arguments)}),He=(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(He=n.stackSave=n.asm.stackSave).apply(null,arguments)}),Je=n.stackRestore=function(){return(Je=n.stackRestore=n.asm.stackRestore).apply(null,arguments)},Ke=n.stackAlloc=function(){return(Ke=n.stackAlloc=n.asm.stackAlloc).apply(null,arguments)},Ze=n._setThrew=function(){return(Ze=n._setThrew=n.asm.setThrew).apply(null,arguments)};function Xe(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.dynCall_jiji=function(){return(n.dynCall_jiji=n.asm.dynCall_jiji).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?Ke(e.length):Ge(e.length),e.subarray||e.slice?N.set(e,r):N.set(new Uint8Array(e),r),r},ie=function e(){Ue||Ye(),Ue||(ie=e)};var Qe=!1;function Ye(e){function t(){Ue||(Ue=!0,n.calledRun=!0,I||(re=!0,_e(Y),_e(ee),n.onRuntimeInitialized&&n.onRuntimeInitialized(),tt&&function(e){var t=n._main;if(t){var r=(e=e||[]).length+1,s=Ke(4*(r+1));D[s>>2]=J(p);for(var i=1;i<r;i++)D[(s>>2)+i]=J(e[i-1]);D[(s>>2)+r]=0;try{et(t(r,s),!0)}catch(e){if(e instanceof Xe)return;if("unwind"==e)return;var o=e;e&&"object"==typeof e&&e.stack&&(o=[e,e.stack]),E("exception thrown: "+o),m(1,e)}}}(e),function(){if(n.postRun)for("function"==typeof n.postRun&&(n.postRun=[n.postRun]);n.postRun.length;)e=n.postRun.shift(),te.unshift(e);var e;_e(te)}()))}e=e||u,ne>0||!Qe&&(function(){if(A.length){if(!y)return oe(),void A.reduce((function(e,t){return e.then((function(){return ke(t,{loadAsync:!0,global:!0,nodelete:!0,allowUndefined:!0})}))}),Promise.resolve()).then((function(){ae(),$e()}));A.forEach((function(e){ke(e,{global:!0,nodelete:!0,allowUndefined:!0})})),$e()}else $e()}(),Qe=!0,ne>0)||(function(){if(n.preRun)for("function"==typeof n.preRun&&(n.preRun=[n.preRun]);n.preRun.length;)e=n.preRun.shift(),Q.unshift(e);var e;_e(Q)}(),ne>0||(n.setStatus?(n.setStatus("Running..."),setTimeout((function(){setTimeout((function(){n.setStatus("")}),1),t()}),1)):t()))}function et(e,t){t&&Ee()&&0===e||(Ee()||(n.onExit&&n.onExit(e),I=!0),m(e,new Xe(e)))}if(n.run=Ye,n.preInit)for("function"==typeof n.preInit&&(n.preInit=[n.preInit]);n.preInit.length>0;)n.preInit.pop()();var tt=!0;n.noInitialRun&&(tt=!1),Ye();const rt=n,nt={},st=4,it=5*st,ot=2*st,at=2*st+2*ot,ct={row:0,column:0},lt=/[\w-.]*/g,ut=/^_?tree_sitter_\w+/;var pt,mt,ht,dt,ft;class gt{static init(){ht=rt._ts_init(),pt=M(ht,"i32"),mt=M(ht+st,"i32")}initialize(){rt._ts_parser_new_wasm(),this[0]=M(ht,"i32"),this[1]=M(ht+st,"i32")}delete(){rt._ts_parser_delete(this[0]),rt._free(this[1]),this[0]=0,this[1]=0}setLanguage(e){let t;if(e){if(e.constructor!==vt)throw new Error("Argument must be a Language");{t=e[0];const r=rt._ts_language_version(t);if(r<mt||pt<r)throw new Error(`Incompatible language version ${r}. Compatibility range ${mt} through ${pt}.`)}}else t=0,e=null;return this.language=e,rt._ts_parser_set_language(this[0],t),this}getLanguage(){return this.language}parse(e,t,r){if("string"==typeof e)dt=(t,r,n)=>e.slice(t,n);else{if("function"!=typeof e)throw new Error("Argument must be a string or a function");dt=e}this.logCallback?(ft=this.logCallback,rt._ts_parser_enable_logger_wasm(this[0],1)):(ft=null,rt._ts_parser_enable_logger_wasm(this[0],0));let n=0,s=0;if(r&&r.includedRanges){n=r.includedRanges.length;let e=s=rt._calloc(n,at);for(let t=0;t<n;t++)Mt(e,r.includedRanges[t]),e+=at}const i=rt._ts_parser_parse_wasm(this[0],this[1],t?t[0]:0,s,n);if(!i)throw dt=null,ft=null,new Error("Parsing failed");const o=new yt(nt,i,this.language,dt);return dt=null,ft=null,o}reset(){rt._ts_parser_reset(this[0])}setTimeoutMicros(e){rt._ts_parser_set_timeout_micros(this[0],e)}getTimeoutMicros(){return rt._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 yt{constructor(e,t,r,n){jt(e),this[0]=t,this.language=r,this.textCallback=n}copy(){const e=rt._ts_tree_copy(this[0]);return new yt(nt,e,this.language,this.textCallback)}delete(){rt._ts_tree_delete(this[0]),this[0]=0}edit(e){!function(e){let t=ht;kt(t,e.startPosition),kt(t+=ot,e.oldEndPosition),kt(t+=ot,e.newEndPosition),$(t+=ot,e.startIndex,"i32"),$(t+=st,e.oldEndIndex,"i32"),$(t+=st,e.newEndIndex,"i32"),t+=st}(e),rt._ts_tree_edit_wasm(this[0])}get rootNode(){return rt._ts_tree_root_node_wasm(this[0]),Pt(this)}getLanguage(){return this.language}walk(){return this.rootNode.walk()}getChangedRanges(e){if(e.constructor!==yt)throw new TypeError("Argument must be a Tree");rt._ts_tree_get_changed_ranges_wasm(this[0],e[0]);const t=M(ht,"i32"),r=M(ht+st,"i32"),n=new Array(t);if(t>0){let e=r;for(let r=0;r<t;r++)n[r]=It(e),e+=at;rt._free(r)}return n}}class _t{constructor(e,t){jt(e),this.tree=t}get typeId(){return St(this),rt._ts_node_symbol_wasm(this.tree[0])}get type(){return this.tree.language.types[this.typeId]||"ERROR"}get endPosition(){return St(this),rt._ts_node_end_point_wasm(this.tree[0]),$t(ht)}get endIndex(){return St(this),rt._ts_node_end_index_wasm(this.tree[0])}get text(){return wt(this.tree,this.startIndex,this.endIndex)}isNamed(){return St(this),1===rt._ts_node_is_named_wasm(this.tree[0])}hasError(){return St(this),1===rt._ts_node_has_error_wasm(this.tree[0])}hasChanges(){return St(this),1===rt._ts_node_has_changes_wasm(this.tree[0])}isMissing(){return St(this),1===rt._ts_node_is_missing_wasm(this.tree[0])}equals(e){return this.id===e.id}child(e){return St(this),rt._ts_node_child_wasm(this.tree[0],e),Pt(this.tree)}namedChild(e){return St(this),rt._ts_node_named_child_wasm(this.tree[0],e),Pt(this.tree)}childForFieldId(e){return St(this),rt._ts_node_child_by_field_id_wasm(this.tree[0],e),Pt(this.tree)}childForFieldName(e){const t=this.tree.language.fields.indexOf(e);if(-1!==t)return this.childForFieldId(t)}get childCount(){return St(this),rt._ts_node_child_count_wasm(this.tree[0])}get namedChildCount(){return St(this),rt._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){St(this),rt._ts_node_children_wasm(this.tree[0]);const e=M(ht,"i32"),t=M(ht+st,"i32");if(this._children=new Array(e),e>0){let r=t;for(let t=0;t<e;t++)this._children[t]=Pt(this.tree,r),r+=it;rt._free(t)}}return this._children}get namedChildren(){if(!this._namedChildren){St(this),rt._ts_node_named_children_wasm(this.tree[0]);const e=M(ht,"i32"),t=M(ht+st,"i32");if(this._namedChildren=new Array(e),e>0){let r=t;for(let t=0;t<e;t++)this._namedChildren[t]=Pt(this.tree,r),r+=it;rt._free(t)}}return this._namedChildren}descendantsOfType(e,t,r){Array.isArray(e)||(e=[e]),t||(t=ct),r||(r=ct);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=rt._malloc(st*n.length);for(let e=0,t=n.length;e<t;e++)$(i+e*st,n[e],"i32");St(this),rt._ts_node_descendants_of_type_wasm(this.tree[0],i,n.length,t.row,t.column,r.row,r.column);const o=M(ht,"i32"),a=M(ht+st,"i32"),c=new Array(o);if(o>0){let e=a;for(let t=0;t<o;t++)c[t]=Pt(this.tree,e),e+=it}return rt._free(a),rt._free(i),c}get nextSibling(){return St(this),rt._ts_node_next_sibling_wasm(this.tree[0]),Pt(this.tree)}get previousSibling(){return St(this),rt._ts_node_prev_sibling_wasm(this.tree[0]),Pt(this.tree)}get nextNamedSibling(){return St(this),rt._ts_node_next_named_sibling_wasm(this.tree[0]),Pt(this.tree)}get previousNamedSibling(){return St(this),rt._ts_node_prev_named_sibling_wasm(this.tree[0]),Pt(this.tree)}get parent(){return St(this),rt._ts_node_parent_wasm(this.tree[0]),Pt(this.tree)}descendantForIndex(e,t=e){if("number"!=typeof e||"number"!=typeof t)throw new Error("Arguments must be numbers");St(this);let r=ht+it;return $(r,e,"i32"),$(r+st,t,"i32"),rt._ts_node_descendant_for_index_wasm(this.tree[0]),Pt(this.tree)}namedDescendantForIndex(e,t=e){if("number"!=typeof e||"number"!=typeof t)throw new Error("Arguments must be numbers");St(this);let r=ht+it;return $(r,e,"i32"),$(r+st,t,"i32"),rt._ts_node_named_descendant_for_index_wasm(this.tree[0]),Pt(this.tree)}descendantForPosition(e,t=e){if(!Ot(e)||!Ot(t))throw new Error("Arguments must be {row, column} objects");St(this);let r=ht+it;return kt(r,e),kt(r+ot,t),rt._ts_node_descendant_for_position_wasm(this.tree[0]),Pt(this.tree)}namedDescendantForPosition(e,t=e){if(!Ot(e)||!Ot(t))throw new Error("Arguments must be {row, column} objects");St(this);let r=ht+it;return kt(r,e),kt(r+ot,t),rt._ts_node_named_descendant_for_position_wasm(this.tree[0]),Pt(this.tree)}walk(){return St(this),rt._ts_tree_cursor_new_wasm(this.tree[0]),new bt(nt,this.tree)}toString(){St(this);const e=rt._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 rt._free(e),t}}class bt{constructor(e,t){jt(e),this.tree=t,Ft(this)}delete(){At(this),rt._ts_tree_cursor_delete_wasm(this.tree[0]),this[0]=this[1]=this[2]=0}reset(e){St(e),At(this,ht+it),rt._ts_tree_cursor_reset_wasm(this.tree[0]),Ft(this)}get nodeType(){return this.tree.language.types[this.nodeTypeId]||"ERROR"}get nodeTypeId(){return At(this),rt._ts_tree_cursor_current_node_type_id_wasm(this.tree[0])}get nodeId(){return At(this),rt._ts_tree_cursor_current_node_id_wasm(this.tree[0])}get nodeIsNamed(){return At(this),1===rt._ts_tree_cursor_current_node_is_named_wasm(this.tree[0])}get nodeIsMissing(){return At(this),1===rt._ts_tree_cursor_current_node_is_missing_wasm(this.tree[0])}get nodeText(){At(this);const e=rt._ts_tree_cursor_start_index_wasm(this.tree[0]),t=rt._ts_tree_cursor_end_index_wasm(this.tree[0]);return wt(this.tree,e,t)}get startPosition(){return At(this),rt._ts_tree_cursor_start_position_wasm(this.tree[0]),$t(ht)}get endPosition(){return At(this),rt._ts_tree_cursor_end_position_wasm(this.tree[0]),$t(ht)}get startIndex(){return At(this),rt._ts_tree_cursor_start_index_wasm(this.tree[0])}get endIndex(){return At(this),rt._ts_tree_cursor_end_index_wasm(this.tree[0])}currentNode(){return At(this),rt._ts_tree_cursor_current_node_wasm(this.tree[0]),Pt(this.tree)}currentFieldId(){return At(this),rt._ts_tree_cursor_current_field_id_wasm(this.tree[0])}currentFieldName(){return this.tree.language.fields[this.currentFieldId()]}gotoFirstChild(){At(this);const e=rt._ts_tree_cursor_goto_first_child_wasm(this.tree[0]);return Ft(this),1===e}gotoNextSibling(){At(this);const e=rt._ts_tree_cursor_goto_next_sibling_wasm(this.tree[0]);return Ft(this),1===e}gotoParent(){At(this);const e=rt._ts_tree_cursor_goto_parent_wasm(this.tree[0]);return Ft(this),1===e}}class vt{constructor(e,t){jt(e),this[0]=t,this.types=new Array(rt._ts_language_symbol_count(this[0]));for(let e=0,t=this.types.length;e<t;e++)rt._ts_language_symbol_type(this[0],e)<2&&(this.types[e]=z(rt._ts_language_symbol_name(this[0],e)));this.fields=new Array(rt._ts_language_field_count(this[0])+1);for(let e=0,t=this.fields.length;e<t;e++){const t=rt._ts_language_field_name_for_id(this[0],e);this.fields[e]=0!==t?z(t):null}}get version(){return rt._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=H(e),n=rt._malloc(r+1);W(e,n,r+1);const s=rt._ts_language_symbol_for_name(this[0],n,r,t);return rt._free(n),s||null}get nodeTypeCount(){return rt._ts_language_symbol_count(this[0])}nodeTypeForId(e){const t=rt._ts_language_symbol_name(this[0],e);return t?z(t):null}nodeTypeIsNamed(e){return!!rt._ts_language_type_is_named_wasm(this[0],e)}nodeTypeIsVisible(e){return!!rt._ts_language_type_is_visible_wasm(this[0],e)}query(e){const t=H(e),r=rt._malloc(t+1);W(e,r,t+1);const n=rt._ts_query_new(this[0],r,t,ht,ht+st);if(!n){const t=M(ht+st,"i32"),n=z(r,M(ht,"i32")).length,s=e.substr(n,100).split("\n")[0];let i,o=s.match(lt)[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,rt._free(r),i}const s=rt._ts_query_string_count(n),i=rt._ts_query_capture_count(n),o=rt._ts_query_pattern_count(n),a=new Array(i),c=new Array(s);for(let e=0;e<i;e++){const t=rt._ts_query_capture_name_for_id(n,e,ht),r=M(ht,"i32");a[e]=z(t,r)}for(let e=0;e<s;e++){const t=rt._ts_query_string_value_for_id(n,e,ht),r=M(ht,"i32");c[e]=z(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=rt._ts_query_predicates_for_pattern(n,e,ht),r=M(ht,"i32");m[e]=[],h[e]=[];const s=[];let i=t;for(let t=0;t<r;t++){const t=M(i,"i32"),r=M(i+=st,"i32");if(i+=st,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 rt._free(r),new Et(nt,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:Fe;return t.then((e=>n(e,{loadAsync:!0}))).then((e=>{const t=Object.keys(e),r=t.find((e=>ut.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 vt(nt,n)}))}}class Et{constructor(e,t,r,n,s,i,o,a){jt(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(){rt._ts_query_delete(this[0]),this[0]=0}matches(e,t,r,n){t||(t=ct),r||(r=ct),n||(n={});let s=n.matchLimit;if(void 0===s)s=0;else if("number"!=typeof s)throw new Error("Arguments must be numbers");St(e),rt._ts_query_matches_wasm(this[0],e.tree[0],t.row,t.column,r.row,r.column,s);const i=M(ht,"i32"),o=M(ht+st,"i32"),a=M(ht+2*st,"i32"),c=new Array(i);this.exceededMatchLimit=!!a;let l=0,u=o;for(let t=0;t<i;t++){const r=M(u,"i32"),n=M(u+=st,"i32");u+=st;const s=new Array(n);if(u=xt(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,rt._free(o),c}captures(e,t,r,n){t||(t=ct),r||(r=ct),n||(n={});let s=n.matchLimit;if(void 0===s)s=0;else if("number"!=typeof s)throw new Error("Arguments must be numbers");St(e),rt._ts_query_captures_wasm(this[0],e.tree[0],t.row,t.column,r.row,r.column,s);const i=M(ht,"i32"),o=M(ht+st,"i32"),a=M(ht+2*st,"i32"),c=[];this.exceededMatchLimit=!!a;const l=[];let u=o;for(let t=0;t<i;t++){const t=M(u,"i32"),r=M(u+=st,"i32"),n=M(u+=st,"i32");if(u+=st,l.length=r,u=xt(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 rt._free(o),c}predicatesForPattern(e){return this.predicates[e]}didExceedMatchLimit(){return this.exceededMatchLimit}}function wt(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 xt(e,t,r,n){for(let s=0,i=n.length;s<i;s++){const i=M(r,"i32"),o=Pt(t,r+=st);r+=it,n[s]={name:e.captureNames[i],node:o}}return r}function jt(e){if(e!==nt)throw new Error("Illegal constructor")}function Ot(e){return e&&"number"==typeof e.row&&"number"==typeof e.column}function St(e){let t=ht;$(t,e.id,"i32"),$(t+=st,e.startIndex,"i32"),$(t+=st,e.startPosition.row,"i32"),$(t+=st,e.startPosition.column,"i32"),$(t+=st,e[0],"i32")}function Pt(e,t=ht){const r=M(t,"i32");if(0===r)return null;const n=M(t+=st,"i32"),s=M(t+=st,"i32"),i=M(t+=st,"i32"),o=M(t+=st,"i32"),a=new _t(nt,e);return a.id=r,a.startIndex=n,a.startPosition={row:s,column:i},a[0]=o,a}function At(e,t=ht){$(t+0*st,e[0],"i32"),$(t+1*st,e[1],"i32"),$(t+2*st,e[2],"i32")}function Ft(e){e[0]=M(ht+0*st,"i32"),e[1]=M(ht+1*st,"i32"),e[2]=M(ht+2*st,"i32")}function kt(e,t){$(e,t.row,"i32"),$(e+st,t.column,"i32")}function $t(e){return{row:M(e,"i32"),column:M(e+st,"i32")}}function Mt(e,t){kt(e,t.startPosition),kt(e+=ot,t.endPosition),$(e+=ot,t.startIndex,"i32"),$(e+=st,t.endIndex,"i32"),e+=st}function It(e){const t={};return t.startPosition=$t(e),e+=ot,t.endPosition=$t(e),e+=ot,t.startIndex=M(e,"i32"),e+=st,t.endIndex=M(e,"i32"),t}for(const e of Object.getOwnPropertyNames(gt.prototype))Object.defineProperty(i.prototype,e,{value:gt.prototype[e],enumerable:!1,writable:!1});i.Language=vt,n.onRuntimeInitialized=()=>{gt.init(),t()}})))}}return i}();e.exports=s},5530:()=>{},6287:()=>{},6405:(e,t,r)=>{e.exports=r(5159)},9800:(e,t,r)=>{e.exports=r(8026)},4463:(e,t,r)=>{e.exports=r(1903)},5575:(e,t,r)=>{e.exports=r(902)},7829:(e,t,r)=>{e.exports=r(9256)},2876:(e,t,r)=>{e.exports=r(5659)},2903:(e,t,r)=>{e.exports=r(3698)}},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](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");n.length&&(e=n[n.length-1].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:()=>Hg,detectionRegExp:()=>Wg,mediaTypes:()=>Gg,namespace:()=>Kg,parse:()=>Jg});var e={};r.r(e),r.d(e,{hasElementSourceMap:()=>Fs,includesClasses:()=>$s,includesSymbols:()=>ks,isAnnotationElement:()=>js,isArrayElement:()=>vs,isBooleanElement:()=>_s,isCommentElement:()=>Os,isElement:()=>ds,isLinkElement:()=>ws,isMemberElement:()=>Es,isNullElement:()=>ys,isNumberElement:()=>gs,isObjectElement:()=>bs,isParseResultElement:()=>Ss,isPrimitiveElement:()=>As,isRefElement:()=>xs,isSourceMapElement:()=>Ps,isStringElement:()=>fs});var t={};r.r(t),r.d(t,{isJSONReferenceElement:()=>_a,isJSONSchemaElement:()=>ya,isLinkDescriptionElement:()=>va,isMediaElement:()=>ba});var s={};r.r(s),r.d(s,{isOpenApi3_0LikeElement:()=>Ja,isOpenApiExtension:()=>tc,isParameterLikeElement:()=>Ka,isReferenceLikeElement:()=>Za,isRequestBodyLikeElement:()=>Xa,isResponseLikeElement:()=>Qa,isServerLikeElement:()=>Ya,isTagLikeElement:()=>ec});var i={};r.r(i),r.d(i,{isBooleanJsonSchemaElement:()=>hl,isCallbackElement:()=>zc,isComponentsElement:()=>Gc,isContactElement:()=>Wc,isExampleElement:()=>Hc,isExternalDocumentationElement:()=>Jc,isHeaderElement:()=>Kc,isInfoElement:()=>Zc,isLicenseElement:()=>Xc,isLinkElement:()=>Qc,isLinkElementExternal:()=>Yc,isMediaTypeElement:()=>yl,isOpenApi3_0Element:()=>tl,isOpenapiElement:()=>el,isOperationElement:()=>rl,isParameterElement:()=>nl,isPathItemElement:()=>sl,isPathItemElementExternal:()=>il,isPathsElement:()=>ol,isReferenceElement:()=>al,isReferenceElementExternal:()=>cl,isRequestBodyElement:()=>ll,isResponseElement:()=>ul,isResponsesElement:()=>pl,isSchemaElement:()=>ml,isSecurityRequirementElement:()=>dl,isServerElement:()=>fl,isServerVariableElement:()=>gl});var o={};r.r(o),r.d(o,{isBooleanJsonSchemaElement:()=>Hd,isCallbackElement:()=>xd,isComponentsElement:()=>jd,isContactElement:()=>Od,isExampleElement:()=>Sd,isExternalDocumentationElement:()=>Pd,isHeaderElement:()=>Ad,isInfoElement:()=>Fd,isJsonSchemaDialectElement:()=>kd,isLicenseElement:()=>$d,isLinkElement:()=>Md,isLinkElementExternal:()=>Id,isMediaTypeElement:()=>Xd,isOpenApi3_1Element:()=>Rd,isOpenapiElement:()=>Td,isOperationElement:()=>Cd,isParameterElement:()=>Nd,isPathItemElement:()=>qd,isPathItemElementExternal:()=>Dd,isPathsElement:()=>Ld,isReferenceElement:()=>Bd,isReferenceElementExternal:()=>Vd,isRequestBodyElement:()=>Ud,isResponseElement:()=>zd,isResponsesElement:()=>Gd,isSchemaElement:()=>Wd,isSecurityRequirementElement:()=>Jd,isServerElement:()=>Kd,isServerVariableElement:()=>Zd});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={init:function(){return this.xf["@@transducer/init"]()},result: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.init,e.prototype["@@transducer/result"]=function(e){return this.all&&(e=this.xf["@@transducer/step"](e,!0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)||(this.all=!1,e=d(this.xf["@@transducer/step"](e,!1))),e},e}();const y=p(h(["all"],p((function(e,t){return new g(e,t)})),(function(e,t){for(var r=0;r<t.length;){if(!e(t[r]))return!1;r+=1}return!0})));function _(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,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 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):_(i,b(e,n,r))}}const v=p((function(e,t){return 1===e?u(t):_(e,b(e,[],t))}));const E=p((function(e,t){return t>e?t:e}));function w(e,t){for(var r=0,n=t.length,s=Array(n);r<n;)s[r]=e(t[r]),r+=1;return s}function x(e){return"[object String]"===Object.prototype.toString.call(e)}const j=u((function(e){return!!m(e)||!!e&&("object"==typeof e&&(!x(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var O=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 S(e){return new O(e)}const P=p((function(e,t){return _(e.length,(function(){return e.apply(t,arguments)}))}));function A(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 F(e,t,r,n){return e["@@transducer/result"](r[n](P(e["@@transducer/step"],e),t))}var k="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function $(e,t,r){if("function"==typeof e&&(e=S(e)),j(r))return function(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)}(e,t,r);if("function"==typeof r["fantasy-land/reduce"])return F(e,t,r,"fantasy-land/reduce");if(null!=r[k])return A(e,t,r[k]());if("function"==typeof r.next)return A(e,t,r);if("function"==typeof r.reduce)return F(e,t,r,"reduce");throw new TypeError("reduce: list must be array or iterable")}var M=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=f.init,e.prototype["@@transducer/result"]=f.result,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const I=p((function(e,t){return new M(e,t)}));function T(e,t){return Object.prototype.hasOwnProperty.call(t,e)}var R=Object.prototype.toString;const C=function(){return"[object Arguments]"===R.call(arguments)?function(e){return"[object Arguments]"===R.call(e)}:function(e){return T("callee",e)}}();var N=!{toString:null}.propertyIsEnumerable("toString"),q=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],D=function(){return arguments.propertyIsEnumerable("length")}(),L=function(e,t){for(var r=0;r<e.length;){if(e[r]===t)return!0;r+=1}return!1};const B="function"!=typeof Object.keys||D?u((function(e){if(Object(e)!==e)return[];var t,r,n=[],s=D&&C(e);for(t in e)!T(t,e)||s&&"length"===t||(n[n.length]=t);if(N)for(r=q.length-1;r>=0;)T(t=q[r],e)&&!L(n,t)&&(n[n.length]=t),r-=1;return n})):u((function(e){return Object(e)!==e?[]:Object.keys(e)}));const V=p(h(["fantasy-land/map","map"],I,(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 $((function(r,n){return r[n]=e(t[n]),r}),{},B(t));default:return w(e,t)}}))),U=Number.isInteger||function(e){return e<<0===e};const z=p((function(e,t){var r=e<0?t.length+e:e;return x(t)?t.charAt(r):t[r]}));const G=p((function(e,t){if(null!=t)return U(e)?z(e,t):t[e]}));const W=p((function(e,t){return V(G(e),t)}));function H(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 J=H($);const K=u((function(e){return v(J(E,0,W("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 Z=u((function(e){return function(){return e}}));const X=u((function(e){return v(J(E,0,W("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 Q(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}const Y=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))}:$((function(e,r){return Q(e,V(r,t))}),[],e)}));const ee=p((function(e,t){return e.apply(this,t)}));function te(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const re=p((function(e,t){return e&&t}));const ne=p((function(e,t){var r=v(e,t);return v(e,(function(){return $(Y,V(r,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const se=u((function(e){return ne(e.length,e)}));const ie=p((function(e,t){return te(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:se(re)(e,t)}));const oe=u((function(e){return function(t,r){return e(t,r)?-1:e(r,t)?1:0}}));const ae=se(u((function(e){return!e})));function ce(e,t){return function(){return t.call(this,e.apply(this,arguments))}}function le(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 ue=H(le("slice",(function(e,t,r){return Array.prototype.slice.call(r,e,t)})));const pe=u(le("tail",ue(1,1/0)));function me(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return _(arguments[0].length,J(ce,arguments[0],pe(arguments)))}const he=u((function(e){return x(e)?e.split("").reverse().join(""):Array.prototype.slice.call(e,0).reverse()}));function de(){if(0===arguments.length)throw new Error("compose requires at least one argument");return me.apply(this,he(arguments))}function fe(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}function ge(e,t,r){for(var n=0,s=r.length;n<s;){if(e(t,r[n]))return!0;n+=1}return!1}const ye="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};const _e=u((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function be(e,t,r,n){var s=fe(e);function i(e,t){return ve(e,t,r.slice(),n.slice())}return!ge((function(e,t){return!ge(i,t,e)}),fe(t),s)}function ve(e,t,r,n){if(ye(e,t))return!0;var s,i,o=_e(e);if(o!==_e(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||!ye(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!ye(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&&be(e.entries(),t.entries(),r.concat([e]),n.concat([t]));case"Set":return e.size===t.size&&be(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=B(e);if(c.length!==B(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(!T(p,t)||!ve(t[p],e[p],l,u))return!1;a-=1}return!0}const Ee=p((function(e,t){return ve(e,t,[],[])}));function we(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(Ee(e[r],t))return r;r+=1}return-1}(t,e,0)>=0}function xe(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var je=function(e){return(e<10?"0":"")+e};const Oe="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+je(e.getUTCMonth()+1)+"-"+je(e.getUTCDate())+"T"+je(e.getUTCHours())+":"+je(e.getUTCMinutes())+":"+je(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function Se(e){return"[object Object]"===Object.prototype.toString.call(e)}var Pe=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=f.init,e.prototype["@@transducer/result"]=f.result,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();const Ae=p(h(["fantasy-land/filter","filter"],p((function(e,t){return new Pe(e,t)})),(function(e,t){return Se(t)?$((function(r,n){return e(t[n])&&(r[n]=t[n]),r}),{},B(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 Fe=p((function(e,t){return Ae((r=e,function(){return!r.apply(this,arguments)}),t);var r}));function ke(e,t){var r=function(r){var n=t.concat([e]);return we(r,n)?"<Circular>":ke(r,n)},n=function(e,t){return w((function(t){return xe(t)+": "+r(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+w(r,e).join(", ")+"))";case"[object Array]":return"["+w(r,e).concat(n(e,Fe((function(e){return/^\d+$/.test(e)}),B(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):xe(Oe(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 String]":return"object"==typeof e?"new String("+r(e.valueOf())+")":xe(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,B(e)).join(", ")+"}"}}const $e=u((function(e){return ke(e,[])}));const Me=p((function(e,t){if(m(e)){if(m(t))return e.concat(t);throw new TypeError($e(t)+" is not an array")}if(x(e)){if(x(t))return e+t;throw new TypeError($e(t)+" is not a string")}if(null!=e&&te(e["fantasy-land/concat"]))return e["fantasy-land/concat"](t);if(null!=e&&te(e.concat))return e.concat(t);throw new TypeError($e(e)+' does not have a method named "concat" or "fantasy-land/concat"')}));const Ie=p((function(e,t){return v(J(E,0,W("length",t)),(function(){var r=arguments,n=this;return e.apply(n,w((function(e){return e.apply(n,r)}),t))}))}));function Te(e){return new RegExp(e.source,(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":""))}const Re=u((function(e){return v(e.length,e)}));const Ce=p((function(e,t){return null==t||t!=t?e:t}));function Ne(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?!!we(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?!!we(e,r._items[s])||(t&&r._items[s].push(e),!1):(t&&(r._items[s]=[e]),!1)}}const qe=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}return e.prototype.add=function(e){return!Ne(e,!0,this)},e.prototype.has=function(e){return Ne(e,!1,this)},e}();const De=p((function(e,t){for(var r=[],n=0,s=e.length,i=t.length,o=new qe,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 Le=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=f.init,e.prototype["@@transducer/result"]=f.result,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}();const Be=p(h(["take"],p((function(e,t){return new Le(e,t)})),(function(e,t){return ue(0,e<0?1/0:e,t)})));const Ve=z(-1);var Ue=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=f.init,e.prototype["@@transducer/result"]=f.result,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}();const ze=p(h(["dropWhile"],p((function(e,t){return new Ue(e,t)})),(function(e,t){for(var r=0,n=t.length;r<n&&e(t[r]);)r+=1;return ue(r,1/0,t)})));const Ge=p((function(e,t){return e||t}));const We=p((function(e,t){return te(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:se(Ge)(e,t)}));var He=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)?[]:x(e)?"":Se(e)?{}:C(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 Je=He;const Ke=u((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 Ze=p((function(e,t){return e>t}));const Xe=u((function(e){return null==e}));const Qe=p((function(e,t){if(0===e.length||Xe(t))return!1;for(var r=t,n=0;n<e.length;){if(Xe(r)||!T(e[n],r))return!1;r=r[e[n]],n+=1}return!0}));const Ye=p((function(e,t){return Qe([e],t)}));const et=z(0);const tt=p(ye);function rt(e){return e}const nt=u(rt);const st=H((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 it=p(we);const ot=ue(0,-1);const at="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)T(i,s)&&(t[i]=s[i]);r+=1}return t};const ct=p((function(e,t){return v(e+1,(function(){var r=arguments[e];if(null!=r&&te(r[t]))return r[t].apply(r,Array.prototype.slice.call(arguments,0,e));throw new TypeError($e(r)+' does not have a method named "'+t+'"')}))}));const lt=u((function(e){return null!=e&&Ee(e,Je(e))}));const ut=ct(1,"join");const pt=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=U(r)?z(r,n):n[r],s+=1}return n}))}));const mt=p((function(e,t){return pt([e],t)[0]}));const ht=p((function(e,t){return $((function(r,n){return r[n]=e(t[n],n,t),r}),{},B(t))}));const dt=p((function(e,t){return at({},e,t)}));const ft=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 gt=H((function(e,t,r){return Ce(e,mt(t,r))}));const yt=H((function(e,t,r){return e(mt(t,r))}));const _t=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 bt=H((function(e,t,r){return Ce(e,G(t,r))}));const vt=H((function(e,t,r){return e(G(t,r))}));function Et(e){return"[object Number]"===Object.prototype.toString.call(e)}const wt=p((function(e,t){if(!Et(e)||!Et(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 xt=u(d);const jt=H((function(e,t,r){return r.replace(e,t)}));var Ot=p((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const St=Ot;const Pt=ct(1,"split");const At=p((function(e,t){return Ee(Be(e.length,t),e)}));const Ft=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 "+$e(e));var r;return Te(e).test(t)}));const kt=v(4,(function(e,t,r,n){return $(e("function"==typeof t?S(t):t),r,n)}));var $t="\t\n\v\f\r \u2028\u2029\ufeff";const Mt=u("function"==typeof String.prototype.trim&&!$t.trim()&&"".trim()?function(e){return e.trim()}:function(e){var t=new RegExp("^["+$t+"]["+$t+"]*"),r=new RegExp("["+$t+"]["+$t+"]*$");return e.replace(t,"").replace(r,"")});const It=Z(void 0);const Tt=Ee(It());const Rt=ae(Tt);var Ct=r(7952);const Nt=Ee(null);const qt=ae(Nt);function Dt(e){return Dt="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},Dt(e)}const Lt=function(e){return"object"===Dt(e)};const Bt=v(1,ie(qt,Lt));const Vt=v(1,me(_e,tt("GeneratorFunction")));const Ut=v(1,me(_e,tt("AsyncFunction")));const zt=X([me(_e,tt("Function")),Vt,Ut]);var Gt=me(_e,tt("Object")),Wt=me($e,Ee($e(Object))),Ht=yt(ie(zt,Wt),["constructor"]);const Jt=v(1,(function(e){if(!Bt(e)||!Gt(e))return!1;var t=Object.getPrototypeOf(e);return!!Nt(t)||Ht(t)}));class Kt extends Ct.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 Zt=Kt;class Xt extends Ct.RP{constructor(e,t,r){super(e,t,r),this.element="comment"}}const Qt=Xt;class Yt extends Ct.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(Tt(t))return!1;const r=this.content.findIndex((e=>e===t));return-1!==r&&(this.content[r]=e,!0)}}const er=Yt;class tr extends Ct.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 Ct.ON([e.start.row,e.start.column,e.start.char]),r=new Ct.ON([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),r.classes.push("position"),this.push(t).push(r)}}const rr=tr;class nr extends Ct.lS{constructor(){super(),this.register("annotation",Zt),this.register("comment",Qt),this.register("parseResult",er),this.register("sourceMap",rr)}}const sr=new nr,ir=e=>{const t=new nr;return Jt(e)&&t.use(e),t},or=sr;const ar=v(1,me(_e,tt("String"))),cr=r.p+"fba0b3cc0d7ee926ea482deee298a5fe.wasm",lr=globalThis.fetch;zt(lr)&&(globalThis.fetch=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return ar(t[0])&&t[0].endsWith("tree-sitter.wasm")?lr.apply(globalThis,[cr,pe(t)]):lr.apply(globalThis,t)});var ur=r(9794);const pr=r.p+"d396281e11774e0afa7a40d620779b6d.wasm";let mr=null,hr=null;const dr=async e=>{if(null===mr&&null===hr)hr=ur.init().then((()=>ur.Language.load(pr))).then((e=>{const t=new ur;return t.setLanguage(e),t})).finally((()=>{hr=null})),mr=await hr;else if(null===mr&&null!==hr)mr=await hr;else if(null===mr)throw new Error("Error while initializing web-tree-sitter");return mr.parse(e)};var fr=r(6591);const gr=fr({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 yr;!function(e){e.Scalar="Scalar",e.Sequence="Sequence",e.Mapping="Mapping"}(yr||(yr={}));const _r=fr(gr,{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 br=Ee("");const vr=v(1,me(_e,tt("Number")));var Er=ie(vr,isFinite);var wr=v(1,Er);const xr=zt(Number.isFinite)?v(1,P(Number.isFinite,Number)):wr;var jr=ie(xr,Ie(Ee,[Math.floor,nt]));var Or=v(1,jr);const Sr=zt(Number.isInteger)?v(1,P(Number.isInteger,Number)):Or;const Pr=ae(xr);const Ar=v(1,ie(vr,Ze(0)));const Fr=function(e,t){var r=Number(t);if(r!==t&&(r=0),Ar(r))throw new RangeError("repeat count must be non-negative");if(Pr(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 kr=Re(Fr),$r=Ke(ct(1,"repeat"));const Mr=zt(String.prototype.repeat)?$r:kr;var Ir=jt(/[\s\uFEFF\xA0]+$/,""),Tr=ct(0,"trimEnd");const Rr=zt(String.prototype.trimEnd)?Tr:Ir;var Cr=jt(/^[\s\uFEFF\xA0]+/,""),Nr=ct(0,"trimStart");const qr=zt(String.prototype.trimStart)?Nr:Cr;const Dr=Ke(it);const Lr=Re((function(e,t){return me(Pt(""),ze(Dr(e)),ut(""))(t)}));const Br=Ke(Me);var Vr=r(2770);const Ur=/^(?<style>[|>])(?<chomping>[+-]?)(?<indentation>[0-9]*)\s/,zr=e=>{const t=(e=>{const t=e.match(Ur),r=gt("",["groups","indentation"],t);return br(r)?void 0:parseInt(r,10)})(e);if(Sr(t))return Mr(" ",t);const r=gt("",[1],e.split("\n")),n=gt(0,["groups","indentation","length"],r.match(/^(?<indentation>[ ]*)/));return Mr(" ",n)},Gr=e=>{const t=e.match(Ur),r=gt("",["groups","chomping"],t);return br(r)?void 0:r},Wr=(e,t)=>Tt(e)?`${Rr(t)}\n`:"-"===e?Rr(t):t,Hr=e=>e.replace(/\r\n/g,"\n"),Jr=e=>e.replace(/(\n)?\n([^\n]+)/g,((e,t,r)=>t?e:` ${r.trimStart()}`)).replace(/[\n]{2}/g,"\n"),Kr=Re(((e,t)=>t.replace(new RegExp(`^${e}`),"").replace(new RegExp(`${e}$`),""))),Zr=me(Hr,Mt,Jr,Pt("\n"),V(qr),ut("\n")),Xr=me(Hr,Mt,Kr("'"),Jr,Pt("\n"),V(qr),ut("\n")),Qr=me(Hr,Mt,Kr('"'),(e=>e.replace(/\\\n\s*/g,"")),Jr,Vr.S6,Pt("\n"),V(qr),ut("\n"));let Yr,en;!function(e){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"}(Yr||(Yr={})),function(e){e.Flow="Flow",e.Block="Block"}(en||(en={}));const tn=fr({props:{styleGroup:null,style:null}}),rn=fr({methods:{test:e=>e.tag.kind===yr.Scalar&&"string"==typeof e.content,canonicalFormat(e){let t=e.content;const r=e.clone();return e.style===Yr.Plain?t=Zr(e.content):e.style===Yr.SingleQuoted?t=Xr(e.content):e.style===Yr.DoubleQuoted?t=Qr(e.content):e.style===Yr.Literal?t=(e=>{const t=zr(e),r=Gr(e),n=Hr(e),s=pe(n.split("\n")),i=de(V(Lr(t)),V(Br("\n"))),o=kt(i,Me,"",s);return Wr(r,o)})(e.content):e.style===Yr.Folded&&(t=(e=>{const t=zr(e),r=Gr(e),n=Hr(e),s=pe(n.split("\n")),i=de(V(Lr(t)),V(Br("\n"))),o=kt(i,Me,"",s),a=Jr(o);return Wr(r,a)})(e.content)),r.content=t,r},resolve:e=>e}}),nn=fr(rn,{props:{tag:""}}),sn=fr(nn,{statics:{uri:"tag:yaml.org,2002:map"},init(e,t){let{stamp:r}=t;this.tag=r.uri},methods:{test:e=>e.tag.kind===yr.Mapping,resolve:e=>e}}),on=fr(nn,{statics:{uri:"tag:yaml.org,2002:seq"},init(e,t){let{stamp:r}=t;this.tag=r.uri},methods:{test:e=>e.tag.kind===yr.Sequence,resolve:e=>e}}),an=fr(nn,{statics:{uri:"tag:yaml.org,2002:str"},init(e,t){let{stamp:r}=t;this.tag=r.uri},methods:{resolve:e=>e}}),cn=fr({props:{tags:[],tagDirectives:[]},init(){this.tags=[],this.tagDirectives=[],this.registerTag(sn()),this.registerTag(on()),this.registerTag(an())},methods:{toSpecificTagName(e){let t=e.tag.explicitName;return"!"===e.tag.explicitName?e.tag.kind===yr.Scalar?t=an.uri:e.tag.kind===yr.Sequence?t=on.uri:e.tag.kind===yr.Mapping&&(t=sn.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===yr.Scalar&&(r=rn().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)}}}),ln=cn,un=fr(nn,{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}}}),pn=fr(nn,{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}}}),mn=fr(nn,{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}}}),hn=fr(nn,{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}}}),dn=fr(ln,{init(){this.registerTag(un(),!0),this.registerTag(pn(),!0),this.registerTag(mn(),!0),this.registerTag(hn(),!0)},methods:{toSpecificTagName(e){let t=ln.compose.methods.toSpecificTagName.call(this,e);if("?"===t)if(e.tag.vkind===yr.Sequence)t=on.uri;else if(e.tag.kind===yr.Mapping)t=sn.uri;else if(e.tag.kind===yr.Scalar){const r=this.tags.find((t=>t.test(e)));t=(null==r?void 0:r.tag)||"?"}return t}}}),fn=dn,gn=(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},yn={},_n=e=>null==e?void 0:e.type,bn=e=>"string"==typeof _n(e),vn=function(e){let{visitFnGetter:t=gn,nodeTypeGetter:r=_n}=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===yn)n[i]=yn;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===yn)n[i]=yn;else if(void 0!==t&&!1!==t)return t}}else n[i]===s&&(n[i]=null)}}},En=function(e,t){let{keyMap:r=null,state:n={},breakSymbol:s=yn,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=gn,nodeTypeGetter:c=_n,nodePredicate:l=bn,detectCycles:u=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const p=r||{};let m,h,d=Array.isArray(e),f=[e],g=-1,y=[];const _=[],b=[];let v=e;do{g+=1;const e=g===f.length;let r,E;const w=e&&0!==y.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<y.length;t+=1){let r=y[t][0];const n=y[t][1];d&&(r-=e),d&&n===i?(E.splice(r,1),e+=1):E[r]=n}}g=m.index,f=m.keys,y=m.edits,d=m.inArray,m=m.prev}else{if(r=h?d?g:f[g]: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&&(y.push([r,x]),!e)){if(!l(x)){_.pop();continue}E=x}}}void 0===x&&w&&y.push([r,E]),e||(m={inArray:d,index:g,keys:f,edits:y,prev:m},d=Array.isArray(E),f=d?E:p[c(E)]||[],g=-1,y=[],h&&b.push(h),h=E)}while(void 0!==m);return 0!==y.length&&([,v]=y[y.length-1]),v};En[Symbol.for("nodejs.util.promisify.custom")]=async function(e,t){let{keyMap:r=null,state:n={},breakSymbol:s=yn,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=gn,nodeTypeGetter:c=_n,nodePredicate:l=bn,detectCycles:u=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const p=r||{};let m,h,d=Array.isArray(e),f=[e],g=-1,y=[];const _=[],b=[];let v=e;do{g+=1;const e=g===f.length;let r,E;const w=e&&0!==y.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<y.length;t+=1){let r=y[t][0];const n=y[t][1];d&&(r-=e),d&&n===i?(E.splice(r,1),e+=1):E[r]=n}}g=m.index,f=m.keys,y=m.edits,d=m.inArray,m=m.prev}else{if(r=h?d?g:f[g]: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&&(y.push([r,x]),!e)){if(!l(x)){_.pop();continue}E=x}}}void 0===x&&w&&y.push([r,E]),e||(m={inArray:d,index:g,keys:f,edits:y,prev:m},d=Array.isArray(E),f=d?E:p[c(E)]||[],g=-1,y=[],h&&b.push(h),h=E)}while(void 0!==m);return 0!==y.length&&([,v]=y[y.length-1]),v};const wn=fr({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}}),xn=fr({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}}),jn=fr(gr,{statics:{type:"anchor"},props:{name:null},init(){let{name:e=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.name=e}}),On=fr(gr,{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}}),Sn=On,Pn=fr(Sn,{statics:{type:"scalar"},props:{content:""},init(){let{content:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.content=e}}),An=fr(gr,{statics:{type:"literal"},props:{value:null},init(){let{value:e=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.value=e}}),Fn=(e,t)=>(null==t?void 0:t.type)===e,kn=(Fn.bind(void 0,"literal"),Fn.bind(void 0,"position"),Fn.bind(void 0,"point"),Fn.bind(void 0,"parseResult"),Fn.bind(void 0,"stream"),Fn.bind(void 0,"document")),$n=Fn.bind(void 0,"mapping"),Mn=Fn.bind(void 0,"sequence"),In=Fn.bind(void 0,"keyValuePair"),Tn=(Fn.bind(void 0,"tag"),Fn.bind(void 0,"scalar")),Rn=Fn.bind(void 0,"alias"),Cn=(Fn.bind(void 0,"directive"),Fn.bind(void 0,"comment")),Nn=fr(gr,{statics:{type:"stream"},propertyDescriptors:{content:{get(){return Array.isArray(this.children)?this.children.filter((e=>kn(e)||Cn(e))):[]},enumerable:!0}}}),qn=fr(gr,{statics:{type:"parseResult"},methods:{get rootNode(){return et(this.children)}}}),Dn=fr(gr,{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=dt({version:null,handle:null,prefix:null},t)}}),Ln=fr(gr,{statics:{type:"document"}}),Bn=fr(Sn,{}),Vn=fr(Bn,{statics:{type:"mapping"},propertyDescriptors:{content:{get(){return Array.isArray(this.children)?this.children.filter(In):[]},enumerable:!0}}}),Un=fr(gr,tn,{statics:{type:"keyValuePair"},propertyDescriptors:{key:{get(){return this.children.filter((e=>Tn(e)||$n(e)||Mn(e)))[0]},enumerable:!0},value:{get(){const{key:e,children:t}=this;return t.filter((t=>(t=>t!==e)(t)&&(e=>Tn(e)||$n(e)||Mn(e)||Rn(e))(t)))[0]},enumerable:!0}}}),zn=fr(Bn,{statics:{type:"sequence"},propertyDescriptors:{content:{get(){const{children:e}=this;return Array.isArray(e)?e.filter((e=>Mn(e)||$n(e)||Tn(e)||Rn(e))):[]},enumerable:!0}}}),Gn=fr(gr,{statics:{type:"comment"},props:{content:null},init(){let{content:e=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.content=e}}),Wn=fr(gr,{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}}),Hn={stream:["children"],document:["children"],mapping:["children"],keyValuePair:["children"],sequence:["children"],error:["children"]},Jn=e=>Array.isArray(e)||bn(e),Kn=fr({props:{schema:null},init(){const e=e=>{if(null===e)return null;const t=wn({row:e.startPosition.row,column:e.startPosition.column,char:e.startIndex}),r=wn({row:e.endPosition.row,column:e.endPosition.column,char:e.endIndex});return xn({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")?yr.Mapping:t.type.endsWith("sequence")?yr.Sequence:yr.Scalar,o=e(n);return _r({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:jn({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=wn({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=_r(void 0!==o?{explicitName:o.text,kind:yr.Scalar,position:e(o)}:{explicitName:"?",kind:yr.Scalar}),u=void 0!==c?jn({name:c.text,position:e(c)}):null;return Pn({content:"",position:xn({start:r,end:r}),tag:l,anchor:u,styleGroup:en.Flow,style:Yr.Plain})},p=t=>{const r=wn({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=_r(void 0!==o?{explicitName:o.text,kind:yr.Scalar,position:e(o)}:{explicitName:"?",kind:yr.Scalar}),u=void 0!==c?jn({name:c.text,position:e(c)}):null;return Pn({content:"",position:xn({start:r,end:r}),tag:l,anchor:u,styleGroup:en.Flow,style:Yr.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 An({value:n,position:r,isMissing:s})}},this.stream={enter(t){const r=e(t);return Nn({children:t.children,position:r,isMissing:t.isMissing()})},leave:e=>qn({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 Dn({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=Dn({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 Dn({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 Ln({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=wn({row:n.endPosition.row,column:n.endPosition.column,char:n.endIndex}),c=Pn({content:"",anchor:r(n),tag:t(n),position:xn({start:a,end:a}),styleGroup:en.Flow,style:Yr.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=Vn({children:n.children,position:s,anchor:o,tag:i,styleGroup:en.Block,style:Yr.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 Un({children:n,position:r,styleGroup:en.Block,isMissing:t.isMissing()})}},this.flow_mapping={enter(n){const s=e(n),i=t(n),o=r(n),a=Vn({children:n.children,position:s,anchor:o,tag:i,styleGroup:en.Flow,style:Yr.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 Un({children:n,position:r,styleGroup:en.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=zn({children:n.children,position:s,anchor:o,tag:i,styleGroup:en.Block,style:Yr.NextLine});return this.schema.resolve(a)}},this.block_sequence_item={enter(e){if(e.children.length>1)return e.children;const t=wn({row:e.endPosition.row,column:e.endPosition.column,char:e.endIndex});return[Pn({content:"",anchor:null,tag:_r({explicitName:"?",kind:yr.Scalar}),position:xn({start:t,end:t}),styleGroup:en.Flow,style:Yr.Plain})]}},this.flow_sequence={enter(n){const s=e(n),i=t(n),o=r(n),a=zn({children:n.children.flat(),position:s,anchor:o,tag:i,styleGroup:en.Flow,style:Yr.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=Pn({content:n.text,anchor:o,tag:i,position:s,styleGroup:en.Flow,style:Yr.Plain});return this.schema.resolve(a)}},this.single_quote_scalar={enter(n){const s=e(n),i=t(n),o=r(n),a=Pn({content:n.text,anchor:o,tag:i,position:s,styleGroup:en.Flow,style:Yr.SingleQuoted});return this.schema.resolve(a)}},this.double_quote_scalar={enter(n){const s=e(n),i=t(n),o=r(n),a=Pn({content:n.text,anchor:o,tag:i,position:s,styleGroup:en.Flow,style:Yr.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("|")?Yr.Literal:n.text.startsWith(">")?Yr.Folded:null,c=Pn({content:n.text,anchor:o,tag:i,position:s,styleGroup:en.Block,style:a});return this.schema.resolve(c)}},this.comment={enter:e=>Gn({content:e.text})},this.ERROR=function(t,r,n,s){const i=e(t),o=Wn({children:t.children,position:i,isUnexpected:!t.hasError(),isMissing:t.isMissing(),value:t.text});return 0===s.length?qn({children:[o]}):o}}}),Zn=Kn;var Xn=r(9800),Qn=r(7829),Yn=r(2876);function es(e){return es="function"==typeof Qn&&"symbol"==typeof Yn?function(e){return typeof e}:function(e){return e&&"function"==typeof Qn&&e.constructor===Qn&&e!==Qn.prototype?"symbol":typeof e},es(e)}var ts=r(2903);function rs(e){var t=function(e,t){if("object"!==es(e)||null===e)return e;var r=e[ts];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==es(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===es(t)?t:String(t)}function ns(e,t,r){return(t=rs(t))in e?Xn(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ss=r(4463),is=r(6405),os=r(5575);function as(e,t){if(null==e)return{};var r,n,s=function(e,t){if(null==e)return{};var r,n,s={},i=os(e);for(n=0;n<i.length;n++)r=i[n],is(t).call(t,r)>=0||(s[r]=e[r]);return s}(e,t);if(ss){var i=ss(e);for(n=0;n<i.length;n++)r=i[n],is(t).call(t,r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(s[r]=e[r])}return s}const cs=(e,t)=>"function"==typeof(null==t?void 0:t[e]),ls=e=>null!=e&&Object.prototype.hasOwnProperty.call(e,"_storedElement")&&Object.prototype.hasOwnProperty.call(e,"_content"),us=(e,t)=>{var r;return(null==t||null===(r=t.primitive)||void 0===r?void 0:r.call(t))===e},ps=(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},ms=(e,t)=>(null==t?void 0:t.element)===e,hs=e=>e({hasMethod:cs,hasBasicElementProps:ls,primitiveEq:us,isElementType:ms,hasClass:ps}),ds=hs((e=>{let{hasBasicElementProps:t,primitiveEq:r}=e;return e=>e instanceof Ct.W_||t(e)&&r(void 0,e)})),fs=hs((e=>{let{hasBasicElementProps:t,primitiveEq:r}=e;return e=>e instanceof Ct.RP||t(e)&&r("string",e)})),gs=hs((e=>{let{hasBasicElementProps:t,primitiveEq:r}=e;return e=>e instanceof Ct.VL||t(e)&&r("number",e)})),ys=hs((e=>{let{hasBasicElementProps:t,primitiveEq:r}=e;return e=>e instanceof Ct.zr||t(e)&&r("null",e)})),_s=hs((e=>{let{hasBasicElementProps:t,primitiveEq:r}=e;return e=>e instanceof Ct.hh||t(e)&&r("boolean",e)})),bs=hs((e=>{let{hasBasicElementProps:t,primitiveEq:r,hasMethod:n}=e;return e=>e instanceof Ct.Sb||t(e)&&r("object",e)&&n("keys",e)&&n("values",e)&&n("items",e)})),vs=hs((e=>{let{hasBasicElementProps:t,primitiveEq:r,hasMethod:n}=e;return e=>e instanceof Ct.ON&&!(e instanceof Ct.Sb)||t(e)&&r("array",e)&&n("push",e)&&n("unshift",e)&&n("map",e)&&n("reduce",e)})),Es=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Ct.c6||t(e)&&r("member",e)&&n(void 0,e)})),ws=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Ct.EA||t(e)&&r("link",e)&&n(void 0,e)})),xs=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Ct.tK||t(e)&&r("ref",e)&&n(void 0,e)})),js=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Zt||t(e)&&r("annotation",e)&&n("array",e)})),Os=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Qt||t(e)&&r("comment",e)&&n("string",e)})),Ss=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof er||t(e)&&r("parseResult",e)&&n("array",e)})),Ps=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof rr||t(e)&&r("sourceMap",e)&&n("array",e)})),As=e=>ms("object",e)||ms("array",e)||ms("boolean",e)||ms("number",e)||ms("string",e)||ms("null",e)||ms("member",e),Fs=e=>{var t,r;return Ps(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!!vs(r)&&y(Dr(r.toValue()),e)},$s=(e,t)=>0===e.length||y(Dr(t.classes.toValue()),e),Ms=["keyMap"],Is=["keyMap"];function Ts(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 Rs(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ts(Object(r),!0).forEach((function(t){ns(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ts(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const Cs=e=>bs(e)?"ObjectElement":vs(e)?"ArrayElement":Es(e)?"MemberElement":fs(e)?"StringElement":_s(e)?"BooleanElement":gs(e)?"NumberElement":ys(e)?"NullElement":ws(e)?"LinkElement":xs(e)?"RefElement":void 0,Ns=v(1,me(Cs,ar)),qs={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]},Ds=(fr({props:{result:[],predicate:a,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=qs}=r,s=as(r,Ms);return En(e,t,Rs({keyMap:n,nodeTypeGetter:Cs,nodePredicate:Ns},s))});Ds[Symbol.for("nodejs.util.promisify.custom")]=async function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{keyMap:n=qs}=r,s=as(r,Is);return En[Symbol.for("nodejs.util.promisify.custom")](e,t,Rs({keyMap:n,nodeTypeGetter:Cs,nodePredicate:Ns},s))};const Ls=ae(zt);const Bs=v(1,zt(Array.isArray)?Array.isArray:me(_e,tt("Array")));const Vs=ie(Bs,lt);const Us=v(3,(function(e,t,r){var n=mt(e,r),s=mt(ot(e),r);if(!Ls(n)&&!Vs(e)){var i=P(n,s);return ee(i,t)}}));function zs(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 Gs=()=>({predicates:function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?zs(Object(r),!0).forEach((function(t){ns(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zs(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e),namespace:or}),Ws=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(0===t.length)return e;const n=bt(Gs,"toolboxCreator",r),s=bt({},"visitorOptions",r),i=bt(Cs,"nodeTypeGetter",s),o=n(),a=t.map((e=>e(o))),c=vn(a.map(bt({},"visitor")),{nodeTypeGetter:i});a.forEach(Us(["pre"],[]));const l=Ds(e,c,s);return a.forEach(Us(["post"],[])),l};function Hs(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 Js(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Hs(Object(r),!0).forEach((function(t){ns(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Hs(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const Ks=(e,t)=>{let{Type:r,plugins:n=[]}=t;const s=new r(e);return Ws(s,n,{toolboxCreator:Gs,visitorOptions:{nodeTypeGetter:Cs}})},Zs=e=>function(t){return Ks(t,Js(Js({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),{},{Type:e}))};function Xs(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}Ct.Sb.refract=Zs(Ct.Sb),Ct.ON.refract=Zs(Ct.ON),Ct.RP.refract=Zs(Ct.RP),Ct.hh.refract=Zs(Ct.hh),Ct.zr.refract=Zs(Ct.zr),Ct.VL.refract=Zs(Ct.VL),Ct.EA.refract=Zs(Ct.EA),Ct.tK.refract=Zs(Ct.tK),Zt.refract=Zs(Zt),Qt.refract=Zs(Qt),er.refract=Zs(er),rr.refract=Zs(rr);const Qs=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Xs(Object(r),!0).forEach((function(t){ns(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Xs(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"]},qs),Ys=e=>ds(e)?Cs(e):_n(e),ei=e=>ds(e)||bn(e)||Array.isArray(e),ti=fr({props:{sourceMap:!1,processedDocumentCount:0,annotations:[],namespace:null},init(){const e=(e,t)=>{if(!this.sourceMap)return;const r=new rr;r.position=e.position,r.astNode=e,t.meta.set("sourceMap",r)};this.namespace=ir(),this.annotations=[],this.stream={leave(e){const t=new er;t._content=e.children.flat(1);const r=t.findElements(As);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 Qt(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 Zt("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 Ct.Sb;return r._content=t.children,e(t,r),r},this.keyValuePair=function(t){const r=new Ct.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 Ct.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===Yr.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 Zt(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 Zt(i);if(o.classes.push("error"),e(t,o),0===s.length){const e=new er;return e.push(o),e}return this.annotations.push(o),null}}}),ri=function(e){let{sourceMap:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=Zn(),n=ti(),s=fn(),i=En(e.rootNode,r,{keyMap:Hn,nodePredicate:Jn,state:{schema:s,sourceMap:t}});return En(i.rootNode,n,{keyMap:Qs,nodeTypeGetter:Ys,nodePredicate:ei,state:{sourceMap:t}})},ni=async function(e){let{sourceMap:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=await dr(e);return ri(r,{sourceMap:t})};class si extends Ct.Sb{constructor(e,t,r){super(e,t,r),this.element="callback"}}const ii=si;class oi extends Ct.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 ai=oi;class ci extends Ct.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 li=ci;class ui extends Ct.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 pi=ui;class mi extends Ct.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 hi=mi;class di extends Ct.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 fi=di;class gi extends Ct.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 yi=gi;class _i extends Ct.Sb{constructor(e,t,r){super(e,t,r),this.element="header"}get required(){return this.hasKey("required")?this.get("required"):new Ct.hh(!1)}set required(e){this.set("required",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new Ct.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(_i.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0});const bi=_i;class vi extends Ct.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 Ei=vi;class wi extends Ct.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 xi=wi;class ji extends Ct.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 fs(this.operationRef)?null===(e=this.operationRef)||void 0===e?void 0:e.meta.get("operation"):fs(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 Oi=ji;class Si extends Ct.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 Pi=Si;class Ai extends Ct.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 Fi=Ai;class ki extends Ct.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 $i=ki;class Mi extends Ct.RP{constructor(e,t,r){super(e,t,r),this.element="openapi",this.classes.push("spec-version"),this.classes.push("version")}}const Ii=Mi;class Ti extends Ct.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 Ri=Ti;class Ci extends Ct.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 Ct.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 Ni=Ci;class qi extends Ct.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 Ct.hh(!1)}set required(e){this.set("required",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new Ct.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(qi.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0});const Di=qi;class Li extends Ct.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 Bi=Li;class Vi extends Ct.Sb{constructor(e,t,r){super(e,t,r),this.element="paths"}}const Ui=Vi;class zi extends Ct.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 Gi=zi;class Wi extends Ct.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 Ct.hh(!1)}set required(e){this.set("required",e)}}const Hi=Wi;class Ji extends Ct.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 Ki=Ji;class Zi extends Ct.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 Xi=Zi;class Qi extends Ct.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 Yi=Qi;class eo extends Ct.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 to=eo;class ro extends Ct.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 no=ro;class so extends Ct.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 io=so,oo=(e,t)=>{const r=Ce(e,t);return ht((e=>{if(Jt(e)&&Ye("$ref",e)&&vt(ar,"$ref",e)){const t=mt(["$ref"],e),n=Lr("#/",t);return mt(n.split("/"),r)}return Jt(e)?oo(e,r):e}),e)},ao=fr({props:{element:null},methods:{copyMetaAndAttributes(e,t){Fs(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),co=fr(ao,{methods:{enter(e){return this.element=e.clone(),yn}}});const lo=Z(It());function uo(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 po=e=>{if(ds(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},mo=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?uo(Object(r),!0).forEach((function(t){ns(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):uo(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"]},qs);function ho(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 fo(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ho(Object(r),!0).forEach((function(t){ns(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ho(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const go=fr(ao,{props:{specObj:null,passingOptionsNames:["specObj"]},init(e){let{specObj:t=this.specObj}=e;this.specObj=t},methods:{retrievePassingOptions(){return _t(this.passingOptionsNames,this)},retrieveFixedFields(e){return me(mt(["visitors",...e,"fixedFields"]),B)(this.specObj)},retrieveVisitor(e){return yt(zt,["visitors",...e],this.specObj)?mt(["visitors",...e],this.specObj):mt(["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)(fo(fo({},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 Tt(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===s?t.clone():(Ds(t,n,fo({keyMap:mo,nodeTypeGetter:po},r)),n.element)}}}),yo=fr(go,{props:{specPath:lo,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(fs(n)&&r.includes(n.toValue())&&!this.ignoredFields.includes(n.toValue())){const r=this.toRefractedElement([...t,"fixedFields",n.toValue()],e),i=new Ct.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),yn}}}),_o=fr(yo,co,{props:{specPath:Z(["document","objects","JSONSchema"])},init(){this.element=new Yi}}),bo=co,vo=co,Eo=co,wo=co,xo=co,jo=co,Oo=co,So=co,Po=co,Ao=co,Fo=fr({props:{parent:null},init(e){let{parent:t=this.parent}=e;this.parent=t,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),ko=e=>bs(e)&&e.hasKey("$ref"),$o=fr(go,Fo,co,{methods:{ObjectElement(e){const t=ko(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),yn},ArrayElement(e){return this.element=new Ct.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=ko(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),yn}}}),Mo=co,Io=co,To=co,Ro=co,Co=co,No=fr(co,{methods:{ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-required"),yn}}});const qo=ae(v(1,ie(qt,We(Lt,zt))));const Do=ae(lt);const Lo=K([ar,qo,Do]),Bo=fr(go,{props:{fieldPatternPredicate:a,specPath:lo,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 Ct.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),yn}}}),Vo=fr(Bo,{props:{fieldPatternPredicate:Lo}}),Uo=fr(Vo,Fo,co,{props:{specPath:e=>ko(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new Ct.Sb,this.element.classes.push("json-schema-properties")}}),zo=fr(Vo,Fo,co,{props:{specPath:e=>ko(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new Ct.Sb,this.element.classes.push("json-schema-patternProperties")}}),Go=fr(Vo,Fo,co,{props:{specPath:e=>ko(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new Ct.Sb,this.element.classes.push("json-schema-dependencies")}}),Wo=fr(co,{methods:{ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-enum"),yn}}}),Ho=fr(co,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-type"),yn},ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-type"),yn}}}),Jo=fr(go,Fo,co,{init(){this.element=new Ct.ON,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=ko(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),yn}}}),Ko=fr(go,Fo,co,{init(){this.element=new Ct.ON,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=ko(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),yn}}}),Zo=fr(go,Fo,co,{init(){this.element=new Ct.ON,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=ko(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),yn}}}),Xo=fr(Vo,Fo,co,{props:{specPath:e=>ko(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new Ct.Sb,this.element.classes.push("json-schema-definitions")}}),Qo=co,Yo=co,ea=co,ta=co,ra=co,na=fr(go,Fo,co,{init(){this.element=new Ct.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),yn}}}),sa=co,ia=fr(yo,co,{props:{specPath:Z(["document","objects","JSONReference"])},init(){this.element=new to},methods:{ObjectElement(e){const t=yo.compose.methods.ObjectElement.call(this,e);return fs(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),oa=fr(co,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),yn}}});const aa=ae(Xe);const ca=ie(Bs,Do);function la(e){return function(e){if(Array.isArray(e))return ua(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 ua(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 ua(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 ua(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 pa=me(St(oe((function(e,t){return e.length>t.length}))),et,G("length")),ma=Re((function(e,t,r){var n=r.apply(void 0,la(e));return aa(n)?xt(n):t}));const ha=st(ca,(function(e){var t=pa(e);return v(t,(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return J(ma(r),void 0,e)}))}),It),da=fr(go,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((e=>{let{predicate:t,specPath:r}=e;return st(t,Z(r),It)})),r=ha(t)(e);return this.element=this.toRefractedElement(r,e),yn}}}),fa=fr(da,{props:{alternator:[{predicate:ko,specPath:["document","objects","JSONReference"]},{predicate:c,specPath:["document","objects","JSONSchema"]}]}}),ga={visitors:{value:co,JSONSchemaOrJSONReferenceVisitor:fa,document:{objects:{JSONSchema:{$visitor:_o,fixedFields:{id:bo,$schema:vo,multipleOf:Eo,maximum:wo,exclusiveMaximum:xo,minimum:jo,exclusiveMinimum:Oo,maxLength:So,minLength:Po,pattern:Ao,additionalItems:fa,items:$o,maxItems:Mo,minItems:Io,uniqueItems:To,maxProperties:Ro,minProperties:Co,required:No,properties:Uo,additionalProperties:fa,patternProperties:zo,dependencies:Go,enum:Wo,type:Ho,allOf:Jo,anyOf:Ko,oneOf:Zo,not:fa,definitions:Xo,title:Qo,description:Yo,default:ea,format:ta,base:ra,links:na,media:{$ref:"#/visitors/document/objects/Media"},readOnly:sa}},JSONReference:{$visitor:ia,fixedFields:{$ref:oa}},Media:{$visitor:fr(yo,co,{props:{specPath:Z(["document","objects","Media"])},init(){this.element=new no}}),fixedFields:{binaryEncoding:co,type:co}},LinkDescription:{$visitor:fr(yo,co,{props:{specPath:Z(["document","objects","LinkDescription"])},init(){this.element=new io}}),fixedFields:{href:co,rel:co,title:co,targetSchema:fa,mediaType:co,method:co,encType:co,schema:fa}}}}}},ya=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Yi||t(e)&&r("JSONSchemaDraft4",e)&&n("object",e)})),_a=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof to||t(e)&&r("JSONReference",e)&&n("object",e)})),ba=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof no||t(e)&&r("media",e)&&n("object",e)})),va=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof io||t(e)&&r("linkDescription",e)&&n("object",e)})),Ea={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",Yi),t.register("jSONReference",to),t.register("media",no),t.register("linkDescription",io),t}};function wa(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?wa(Object(r),!0).forEach((function(t){ns(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wa(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const ja=()=>{const e=ir(Ea);return{predicates:xa(xa({},t),{},{isStringElement:fs}),namespace:e}};function Oa(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 Sa=function(e){let{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=ga}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const s=(0,Ct.Qc)(e),i=oo(n),o=Us(t,[],i);return Ds(s,o,{state:{specObj:i}}),Ws(o.element,r,{toolboxCreator:ja,visitorOptions:{keyMap:mo,nodeTypeGetter:po}})},Pa=e=>function(t){return Sa(t,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Oa(Object(r),!0).forEach((function(t){ns(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Oa(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]:{}))};Yi.refract=Pa(["visitors","document","objects","JSONSchema","$visitor"]),to.refract=Pa(["visitors","document","objects","JSONReference","$visitor"]),no.refract=Pa(["visitors","document","objects","Media","$visitor"]),io.refract=Pa(["visitors","document","objects","LinkDescription","$visitor"]);const Aa=class extends Yi{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 Fa extends Ct.Sb{constructor(e,t,r){super(e,t,r),this.element="securityRequirement"}}const ka=Fa;class $a extends Ct.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 Ma=$a;class Ia extends Ct.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 Ta=Ia;class Ra extends Ct.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 Ca=Ra;class Na extends Ct.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 qa=Na;class Da extends Ct.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 La=Da,Ba=fr({props:{element:null},methods:{copyMetaAndAttributes(e,t){Fs(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}});function Va(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 Ua=e=>{if(ds(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},za=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Va(Object(r),!0).forEach((function(t){ns(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Va(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"]},qs);function Ga(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 Wa(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ga(Object(r),!0).forEach((function(t){ns(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ga(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const Ha=fr(Ba,{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 _t(this.passingOptionsNames,this)},retrieveFixedFields(e){return me(mt(["visitors",...e,"fixedFields"]),B)(this.specObj)},retrieveVisitor(e){return yt(zt,["visitors",...e],this.specObj)?mt(["visitors",...e],this.specObj):mt(["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)(Wa(Wa({},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 Tt(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===s?t.clone():(Ds(t,n,Wa({keyMap:za,nodeTypeGetter:Ua},r)),n.element)}}}),Ja=e=>bs(e)&&e.hasKey("openapi")&&e.hasKey("info"),Ka=e=>bs(e)&&e.hasKey("name")&&e.hasKey("in"),Za=e=>bs(e)&&e.hasKey("$ref"),Xa=e=>bs(e)&&e.hasKey("content"),Qa=e=>bs(e)&&e.hasKey("description"),Ya=bs,ec=bs,tc=e=>fs(e.key)&&At("x-",e.key.toValue()),rc=fr(Ha,{props:{specPath:lo,ignoredFields:[],canSupportSpecificationExtensions:!0,specificationExtensionPredicate:tc},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(fs(n)&&r.includes(n.toValue())&&!this.ignoredFields.includes(n.toValue())){const r=this.toRefractedElement([...t,"fixedFields",n.toValue()],e),i=new Ct.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),yn}}}),nc=fr(Ba,{methods:{enter(e){return this.element=e.clone(),yn}}}),sc=fr(rc,nc,{props:{specPath:Z(["document","objects","OpenApi"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ri},methods:{ObjectElement(e){return this.unrefractedElement=e,rc.compose.methods.ObjectElement.call(this,e)}}}),ic=fr(Ha,nc,{methods:{StringElement(e){const t=new Ii(e.toValue());return this.copyMetaAndAttributes(e,t),this.element=t,yn}}}),oc=fr(Ha,{methods:{MemberElement(e){return this.element=e.clone(),this.element.classes.push("specification-extension"),yn}}}),ac=fr(rc,nc,{props:{specPath:Z(["document","objects","Info"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ei}}),cc=nc,lc=nc,uc=nc,pc=fr(nc,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("api-version"),this.element.classes.push("version"),yn}}}),mc=fr(rc,nc,{props:{specPath:Z(["document","objects","Contact"]),canSupportSpecificationExtensions:!0},init(){this.element=new li}}),hc=nc,dc=nc,fc=nc,gc=fr(rc,nc,{props:{specPath:Z(["document","objects","License"]),canSupportSpecificationExtensions:!0},init(){this.element=new xi}}),yc=nc,_c=nc,bc=fr(rc,nc,{props:{specPath:Z(["document","objects","Link"]),canSupportSpecificationExtensions:!0},init(){this.element=new Oi},methods:{ObjectElement(e){const t=rc.compose.methods.ObjectElement.call(this,e);return(fs(this.element.operationId)||fs(this.element.operationRef))&&this.element.classes.push("reference-element"),t}}}),vc=fr(nc,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),yn}}}),Ec=fr(nc,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),yn}}}),wc=fr(Ha,{props:{fieldPatternPredicate:a,specPath:lo,ignoredFields:[],canSupportSpecificationExtensions:!1,specificationExtensionPredicate:tc},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 Ct.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),yn}}}),xc=fr(wc,{props:{fieldPatternPredicate:Lo}});class jc extends Ct.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(jc.primaryClass)}}ns(jc,"primaryClass","link-parameters");const Oc=jc,Sc=fr(xc,nc,{props:{specPath:Z(["value"])},init(){this.element=new Oc}}),Pc=nc,Ac=nc,Fc=fr(rc,nc,{props:{specPath:Z(["document","objects","Server"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ta}}),kc=fr(nc,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("server-url"),yn}}}),$c=nc;class Mc extends Ct.ON{constructor(e,t,r){super(e,t,r),this.classes.push(Mc.primaryClass)}}ns(Mc,"primaryClass","servers");const Ic=Mc,Tc=fr(Ha,nc,{init(){this.element=new Ic},methods:{ArrayElement(e){return e.forEach((e=>{const t=Ya(e)?["document","objects","Server"]:["value"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),yn}}}),Rc=fr(rc,nc,{props:{specPath:Z(["document","objects","ServerVariable"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ca}}),Cc=nc,Nc=nc,qc=nc;class Dc extends Ct.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Dc.primaryClass)}}ns(Dc,"primaryClass","server-variables");const Lc=Dc,Bc=fr(xc,nc,{props:{specPath:Z(["document","objects","ServerVariable"])},init(){this.element=new Lc}}),Vc=fr(rc,nc,{props:{specPath:Z(["document","objects","MediaType"]),canSupportSpecificationExtensions:!0},init(){this.element=new Pi}}),Uc=fr(Ha,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((e=>{let{predicate:t,specPath:r}=e;return st(t,Z(r),It)})),r=ha(t)(e);return this.element=this.toRefractedElement(r,e),yn}}}),zc=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof ii||t(e)&&r("callback",e)&&n("object",e)})),Gc=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof ai||t(e)&&r("components",e)&&n("object",e)})),Wc=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof li||t(e)&&r("contact",e)&&n("object",e)})),Hc=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof fi||t(e)&&r("example",e)&&n("object",e)})),Jc=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof yi||t(e)&&r("externalDocumentation",e)&&n("object",e)})),Kc=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof bi||t(e)&&r("header",e)&&n("object",e)})),Zc=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Ei||t(e)&&r("info",e)&&n("object",e)})),Xc=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof xi||t(e)&&r("license",e)&&n("object",e)})),Qc=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Oi||t(e)&&r("link",e)&&n("object",e)})),Yc=e=>{if(!Qc(e))return!1;if(!fs(e.operationRef))return!1;const t=e.operationRef.toValue();return"string"==typeof t&&t.length>0&&!t.startsWith("#")},el=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Ii||t(e)&&r("openapi",e)&&n("string",e)})),tl=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n,hasClass:s}=e;return e=>e instanceof Ri||t(e)&&r("openApi3_0",e)&&n("object",e)&&s("api",e)})),rl=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Ni||t(e)&&r("operation",e)&&n("object",e)})),nl=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Di||t(e)&&r("parameter",e)&&n("object",e)})),sl=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Bi||t(e)&&r("pathItem",e)&&n("object",e)})),il=e=>{if(!sl(e))return!1;if(!fs(e.$ref))return!1;const t=e.$ref.toValue();return"string"==typeof t&&t.length>0&&!t.startsWith("#")},ol=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Ui||t(e)&&r("paths",e)&&n("object",e)})),al=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Gi||t(e)&&r("reference",e)&&n("object",e)})),cl=e=>{if(!al(e))return!1;if(!fs(e.$ref))return!1;const t=e.$ref.toValue();return"string"==typeof t&&t.length>0&&!t.startsWith("#")},ll=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Hi||t(e)&&r("requestBody",e)&&n("object",e)})),ul=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Ki||t(e)&&r("response",e)&&n("object",e)})),pl=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Xi||t(e)&&r("responses",e)&&n("object",e)})),ml=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Aa||t(e)&&r("schema",e)&&n("object",e)})),hl=e=>_s(e)&&e.classes.includes("boolean-json-schema"),dl=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof ka||t(e)&&r("securityRequirement",e)&&n("object",e)})),fl=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Ta||t(e)&&r("server",e)&&n("object",e)})),gl=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Ca||t(e)&&r("serverVariable",e)&&n("object",e)})),yl=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Pi||t(e)&&r("mediaType",e)&&n("object",e)})),_l=fr(Uc,nc,{props:{alternator:[{predicate:Za,specPath:["document","objects","Reference"]},{predicate:c,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=Uc.compose.methods.enter.call(this,e);return al(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),bl=nc,vl=fr(xc,nc,{props:{specPath:e=>Za(e)?["document","objects","Reference"]:["document","objects","Example"],canSupportSpecificationExtensions:!0},init(){this.element=new Ct.Sb,this.element.classes.push("examples")},methods:{ObjectElement(e){const t=xc.compose.methods.ObjectElement.call(this,e);return this.element.filter(al).forEach((e=>{e.setMetaProperty("referenced-element","example")})),t}}});class El extends Ct.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(El.primaryClass),this.classes.push("examples")}}ns(El,"primaryClass","media-type-examples");const wl=El,xl=fr(vl,{init(){this.element=new wl}});class jl extends Ct.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(jl.primaryClass)}}ns(jl,"primaryClass","media-type-encoding");const Ol=jl,Sl=fr(xc,nc,{props:{specPath:Z(["document","objects","Encoding"])},init(){this.element=new Ol}}),Pl=fr(xc,nc,{props:{specPath:Z(["value"])},init(){this.element=new ka}});class Al extends Ct.ON{constructor(e,t,r){super(e,t,r),this.classes.push(Al.primaryClass)}}ns(Al,"primaryClass","security");const Fl=Al,kl=fr(Ha,nc,{init(){this.element=new Fl},methods:{ArrayElement(e){return e.forEach((e=>{if(bs(e)){const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}else this.element.push(e.clone())})),this.copyMetaAndAttributes(e,this.element),yn}}}),$l=fr(rc,nc,{props:{specPath:Z(["document","objects","Components"]),canSupportSpecificationExtensions:!0},init(){this.element=new ai}}),Ml=fr(rc,nc,{props:{specPath:Z(["document","objects","Tag"]),canSupportSpecificationExtensions:!0},init(){this.element=new qa}}),Il=nc,Tl=nc,Rl=fr(rc,nc,{props:{specPath:Z(["document","objects","Reference"]),canSupportSpecificationExtensions:!1},init(){this.element=new Gi},methods:{ObjectElement(e){const t=rc.compose.methods.ObjectElement.call(this,e);return fs(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),Cl=fr(nc,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),yn}}}),Nl=fr(rc,nc,{props:{specPath:Z(["document","objects","Parameter"]),canSupportSpecificationExtensions:!0},init(){this.element=new Di},methods:{ObjectElement(e){const t=rc.compose.methods.ObjectElement.call(this,e);return bs(this.element.contentProp)&&this.element.contentProp.filter(yl).forEach(((e,t)=>{e.setMetaProperty("media-type",t.toValue())})),t}}}),ql=nc,Dl=nc,Ll=nc,Bl=nc,Vl=nc,Ul=nc,zl=nc,Gl=nc,Wl=nc,Hl=fr(Uc,nc,{props:{alternator:[{predicate:Za,specPath:["document","objects","Reference"]},{predicate:c,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=Uc.compose.methods.enter.call(this,e);return al(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),Jl=fr(rc,nc,{props:{specPath:Z(["document","objects","Header"]),canSupportSpecificationExtensions:!0},init(){this.element=new bi}}),Kl=nc,Zl=nc,Xl=nc,Ql=nc,Yl=nc,eu=nc,tu=nc,ru=fr(Uc,nc,{props:{alternator:[{predicate:Za,specPath:["document","objects","Reference"]},{predicate:c,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=Uc.compose.methods.enter.call(this,e);return al(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),nu=nc;class su extends Ct.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(su.primaryClass),this.classes.push("examples")}}ns(su,"primaryClass","header-examples");const iu=su,ou=fr(vl,{init(){this.element=new iu}}),au=fr(xc,nc,{props:{specPath:Z(["document","objects","MediaType"])},init(){this.element=new Ct.Sb,this.element.classes.push("content")}});class cu extends Ct.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(cu.primaryClass),this.classes.push("content")}}ns(cu,"primaryClass","header-content");const lu=cu,uu=fr(au,{init(){this.element=new lu}}),pu=fr(rc,nc,{props:{specPath:Z(["document","objects","Schema"]),canSupportSpecificationExtensions:!0},init(){this.element=new Aa}}),{items:mu}=ga.visitors.document.objects.JSONSchema.fixedFields,hu=fr(mu,{methods:{ObjectElement(e){const t=mu.compose.methods.ObjectElement.call(this,e);return al(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t},ArrayElement(e){return this.element=e.clone(),yn}}}),{properties:du}=ga.visitors.document.objects.JSONSchema.fixedFields,fu=fr(du,{methods:{ObjectElement(e){const t=du.compose.methods.ObjectElement.call(this,e);return this.element.filter(al).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{type:gu}=ga.visitors.document.objects.JSONSchema.fixedFields,yu=fr(gu,{methods:{ArrayElement(e){return this.element=e.clone(),yn}}}),_u=nc,bu=nc,vu=nc,Eu=nc,{JSONSchemaOrJSONReferenceVisitor:wu}=ga.visitors,xu=fr(wu,{methods:{ObjectElement(e){const t=wu.compose.methods.enter.call(this,e);return al(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),ju=Object.fromEntries(Object.entries(ga.visitors.document.objects.JSONSchema.fixedFields).map((e=>{let[t,r]=e;return r===ga.visitors.JSONSchemaOrJSONReferenceVisitor?[t,xu]:[t,r]}))),Ou=fr(rc,nc,{props:{specPath:Z(["document","objects","Discriminator"]),canSupportSpecificationExtensions:!1},init(){this.element=new pi}}),Su=nc;class Pu extends Ct.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Pu.primaryClass)}}ns(Pu,"primaryClass","discriminator-mapping");const Au=Pu,Fu=fr(xc,nc,{props:{specPath:Z(["value"])},init(){this.element=new Au}}),ku=fr(rc,nc,{props:{specPath:Z(["document","objects","XML"]),canSupportSpecificationExtensions:!0},init(){this.element=new La}}),$u=nc,Mu=nc,Iu=nc,Tu=nc,Ru=nc,Cu=nc;class Nu extends Ct.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Nu.primaryClass),this.classes.push("examples")}}ns(Nu,"primaryClass","parameter-examples");const qu=Nu,Du=fr(vl,{init(){this.element=new qu}});class Lu extends Ct.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Lu.primaryClass),this.classes.push("content")}}ns(Lu,"primaryClass","parameter-content");const Bu=Lu,Vu=fr(au,{init(){this.element=new Bu}});class Uu extends Ct.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Uu.primaryClass)}}ns(Uu,"primaryClass","components-schemas");const zu=Uu,Gu=fr(xc,nc,{props:{specPath:e=>Za(e)?["document","objects","Reference"]:["document","objects","Schema"]},init(){this.element=new zu},methods:{ObjectElement(e){const t=xc.compose.methods.ObjectElement.call(this,e);return this.element.filter(al).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}});class Wu extends Ct.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Wu.primaryClass)}}ns(Wu,"primaryClass","components-responses");const Hu=Wu,Ju=fr(xc,nc,{props:{specPath:e=>Za(e)?["document","objects","Reference"]:["document","objects","Response"]},init(){this.element=new Hu},methods:{ObjectElement(e){const t=xc.compose.methods.ObjectElement.call(this,e);return this.element.filter(al).forEach((e=>{e.setMetaProperty("referenced-element","response")})),this.element.filter(ul).forEach(((e,t)=>{e.setMetaProperty("http-status-code",t.toValue())})),t}}});class Ku extends Ct.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Ku.primaryClass),this.classes.push("parameters")}}ns(Ku,"primaryClass","components-parameters");const Zu=Ku,Xu=fr(xc,nc,{props:{specPath:e=>Za(e)?["document","objects","Reference"]:["document","objects","Parameter"]},init(){this.element=new Zu},methods:{ObjectElement(e){const t=xc.compose.methods.ObjectElement.call(this,e);return this.element.filter(al).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}});class Qu extends Ct.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Qu.primaryClass),this.classes.push("examples")}}ns(Qu,"primaryClass","components-examples");const Yu=Qu,ep=fr(xc,nc,{props:{specPath:e=>Za(e)?["document","objects","Reference"]:["document","objects","Example"]},init(){this.element=new Yu},methods:{ObjectElement(e){const t=xc.compose.methods.ObjectElement.call(this,e);return this.element.filter(al).forEach((e=>{e.setMetaProperty("referenced-element","example")})),t}}});class tp extends Ct.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(tp.primaryClass)}}ns(tp,"primaryClass","components-request-bodies");const rp=tp,np=fr(xc,nc,{props:{specPath:e=>Za(e)?["document","objects","Reference"]:["document","objects","RequestBody"]},init(){this.element=new rp},methods:{ObjectElement(e){const t=xc.compose.methods.ObjectElement.call(this,e);return this.element.filter(al).forEach((e=>{e.setMetaProperty("referenced-element","requestBody")})),t}}});class sp extends Ct.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(sp.primaryClass)}}ns(sp,"primaryClass","components-headers");const ip=sp,op=fr(xc,nc,{props:{specPath:e=>Za(e)?["document","objects","Reference"]:["document","objects","Header"]},init(){this.element=new ip},methods:{ObjectElement(e){const t=xc.compose.methods.ObjectElement.call(this,e);return this.element.filter(al).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.filter(Kc).forEach(((e,t)=>{e.setMetaProperty("header-name",t.toValue())})),t}}});class ap extends Ct.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(ap.primaryClass)}}ns(ap,"primaryClass","components-security-schemes");const cp=ap,lp=fr(xc,nc,{props:{specPath:e=>Za(e)?["document","objects","Reference"]:["document","objects","SecurityScheme"]},init(){this.element=new cp},methods:{ObjectElement(e){const t=xc.compose.methods.ObjectElement.call(this,e);return this.element.filter(al).forEach((e=>{e.setMetaProperty("referenced-element","securityScheme")})),t}}});class up extends Ct.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(up.primaryClass)}}ns(up,"primaryClass","components-links");const pp=up,mp=fr(xc,nc,{props:{specPath:e=>Za(e)?["document","objects","Reference"]:["document","objects","Link"]},init(){this.element=new pp},methods:{ObjectElement(e){const t=xc.compose.methods.ObjectElement.call(this,e);return this.element.filter(al).forEach((e=>{e.setMetaProperty("referenced-element","link")})),t}}});class hp extends Ct.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(hp.primaryClass)}}ns(hp,"primaryClass","components-callbacks");const dp=hp,fp=fr(xc,nc,{props:{specPath:e=>Za(e)?["document","objects","Reference"]:["document","objects","Callback"]},init(){this.element=new dp},methods:{ObjectElement(e){const t=xc.compose.methods.ObjectElement.call(this,e);return this.element.filter(al).forEach((e=>{e.setMetaProperty("referenced-element","callback")})),t}}}),gp=fr(rc,nc,{props:{specPath:Z(["document","objects","Example"]),canSupportSpecificationExtensions:!0},init(){this.element=new fi},methods:{ObjectElement(e){const t=rc.compose.methods.ObjectElement.call(this,e);return fs(this.element.externalValue)&&this.element.classes.push("reference-element"),t}}}),yp=nc,_p=nc,bp=nc,vp=fr(nc,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),yn}}}),Ep=fr(rc,nc,{props:{specPath:Z(["document","objects","ExternalDocumentation"]),canSupportSpecificationExtensions:!0},init(){this.element=new yi}}),wp=nc,xp=nc,jp=fr(rc,nc,{props:{specPath:Z(["document","objects","Encoding"]),canSupportSpecificationExtensions:!0},init(){this.element=new hi},methods:{ObjectElement(e){const t=rc.compose.methods.ObjectElement.call(this,e);return bs(this.element.headers)&&this.element.headers.filter(Kc).forEach(((e,t)=>{e.setMetaProperty("header-name",t.toValue())})),t}}}),Op=nc;class Sp extends Ct.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Sp.primaryClass)}}ns(Sp,"primaryClass","encoding-headers");const Pp=Sp,Ap=fr(xc,nc,{props:{specPath:e=>Za(e)?["document","objects","Reference"]:["document","objects","Header"]},init(){this.element=new Pp},methods:{ObjectElement(e){const t=xc.compose.methods.ObjectElement.call(this,e);return this.element.filter(al).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.forEach(((e,t)=>{if(!Kc(e))return;const r=t.toValue();e.setMetaProperty("headerName",r)})),t}}}),Fp=nc,kp=nc,$p=nc,Mp=fr(wc,nc,{props:{fieldPatternPredicate:Ft(/^\/(?<path>.*)$/),specPath:Z(["document","objects","PathItem"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ui},methods:{ObjectElement(e){const t=wc.compose.methods.ObjectElement.call(this,e);return this.element.filter(sl).forEach(((e,t)=>{e.setMetaProperty("path",t.clone())})),t}}}),Ip=fr(rc,nc,{props:{specPath:Z(["document","objects","RequestBody"])},init(){this.element=new Hi},methods:{ObjectElement(e){const t=rc.compose.methods.ObjectElement.call(this,e);return bs(this.element.contentProp)&&this.element.contentProp.filter(yl).forEach(((e,t)=>{e.setMetaProperty("media-type",t.toValue())})),t}}}),Tp=nc;class Rp extends Ct.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Rp.primaryClass),this.classes.push("content")}}ns(Rp,"primaryClass","request-body-content");const Cp=Rp,Np=fr(au,{init(){this.element=new Cp}}),qp=nc,Dp=fr(wc,nc,{props:{fieldPatternPredicate:Ft(/{(?<expression>.*)}/),specPath:Z(["document","objects","PathItem"]),canSupportSpecificationExtensions:!0},init(){this.element=new ii},methods:{ObjectElement(e){const t=xc.compose.methods.ObjectElement.call(this,e);return this.element.filter(sl).forEach(((e,t)=>{e.setMetaProperty("runtime-expression",t.toValue())})),t}}}),Lp=fr(rc,nc,{props:{specPath:Z(["document","objects","Response"])},init(){this.element=new Ki},methods:{ObjectElement(e){const t=rc.compose.methods.ObjectElement.call(this,e);return bs(this.element.contentProp)&&this.element.contentProp.filter(yl).forEach(((e,t)=>{e.setMetaProperty("media-type",t.toValue())})),bs(this.element.headers)&&this.element.headers.filter(Kc).forEach(((e,t)=>{e.setMetaProperty("header-name",t.toValue())})),t}}}),Bp=nc;class Vp extends Ct.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Vp.primaryClass)}}ns(Vp,"primaryClass","response-headers");const Up=Vp,zp=fr(xc,nc,{props:{specPath:e=>Za(e)?["document","objects","Reference"]:["document","objects","Header"]},init(){this.element=new Up},methods:{ObjectElement(e){const t=xc.compose.methods.ObjectElement.call(this,e);return this.element.filter(al).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.forEach(((e,t)=>{if(!Kc(e))return;const r=t.toValue();e.setMetaProperty("header-name",r)})),t}}});class Gp extends Ct.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Gp.primaryClass),this.classes.push("content")}}ns(Gp,"primaryClass","response-content");const Wp=Gp,Hp=fr(au,{init(){this.element=new Wp}});class Jp extends Ct.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Jp.primaryClass)}}ns(Jp,"primaryClass","response-links");const Kp=Jp,Zp=fr(xc,nc,{props:{specPath:e=>Za(e)?["document","objects","Reference"]:["document","objects","Link"]},init(){this.element=new Kp},methods:{ObjectElement(e){const t=xc.compose.methods.ObjectElement.call(this,e);return this.element.filter(al).forEach((e=>{e.setMetaProperty("referenced-element","link")})),t}}}),Xp=fr(rc,wc,{props:{specPathFixedFields:lo,specPathPatternedFields:lo},methods:{ObjectElement(e){const{specPath:t,ignoredFields:r}=this;try{this.specPath=this.specPathFixedFields;const t=this.retrieveFixedFields(this.specPath(e));this.ignoredFields=[...r,...De(e.keys(),t)],rc.compose.methods.ObjectElement.call(this,e),this.specPath=this.specPathPatternedFields,this.ignoredFields=t,wc.compose.methods.ObjectElement.call(this,e)}catch(e){throw this.specPath=t,e}return yn}}}),Qp=fr(Xp,nc,{props:{specPathFixedFields:Z(["document","objects","Responses"]),specPathPatternedFields:e=>Za(e)?["document","objects","Reference"]:["document","objects","Response"],fieldPatternPredicate:Ft(new RegExp(`^(1XX|2XX|3XX|4XX|5XX|${wt(100,600).join("|")})$`)),canSupportSpecificationExtensions:!0},init(){this.element=new Xi},methods:{ObjectElement(e){const t=Xp.compose.methods.ObjectElement.call(this,e);return this.element.filter(al).forEach((e=>{e.setMetaProperty("referenced-element","response")})),this.element.filter(ul).forEach(((e,t)=>{const r=t.clone();this.fieldPatternPredicate(r.toValue())&&e.setMetaProperty("http-status-code",r)})),t}}}),Yp=fr(Uc,nc,{props:{alternator:[{predicate:Za,specPath:["document","objects","Reference"]},{predicate:c,specPath:["document","objects","Response"]}]},methods:{ObjectElement(e){const t=Uc.compose.methods.enter.call(this,e);return al(this.element)?this.element.setMetaProperty("referenced-element","response"):ul(this.element)&&this.element.setMetaProperty("http-status-code","default"),t}}}),em=fr(rc,nc,{props:{specPath:Z(["document","objects","Operation"])},init(){this.element=new Ni}});class tm extends Ct.ON{constructor(e,t,r){super(e,t,r),this.classes.push(tm.primaryClass)}}ns(tm,"primaryClass","operation-tags");const rm=tm,nm=fr(nc,{init(){this.element=new rm},methods:{ArrayElement(e){return this.element=this.element.concat(e.clone()),yn}}}),sm=nc,im=nc,om=nc;class am extends Ct.ON{constructor(e,t,r){super(e,t,r),this.classes.push(am.primaryClass),this.classes.push("parameters")}}ns(am,"primaryClass","operation-parameters");const cm=am,lm=fr(Ha,nc,{init(){this.element=new Ct.ON,this.element.classes.push("parameters")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Za(e)?["document","objects","Reference"]:["document","objects","Parameter"],r=this.toRefractedElement(t,e);al(r)&&r.setMetaProperty("referenced-element","parameter"),this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),yn}}}),um=fr(lm,{init(){this.element=new cm}}),pm=fr(Uc,{props:{alternator:[{predicate:Za,specPath:["document","objects","Reference"]},{predicate:c,specPath:["document","objects","RequestBody"]}]},methods:{ObjectElement(e){const t=Uc.compose.methods.enter.call(this,e);return al(this.element)&&this.element.setMetaProperty("referenced-element","requestBody"),t}}});class mm extends Ct.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(mm.primaryClass)}}ns(mm,"primaryClass","operation-callbacks");const hm=mm,dm=fr(xc,nc,{props:{specPath:e=>Za(e)?["document","objects","Reference"]:["document","objects","Callback"]},init(){this.element=new hm},methods:{ObjectElement(e){const t=xc.compose.methods.ObjectElement.call(this,e);return this.element.filter(al).forEach((e=>{e.setMetaProperty("referenced-element","callback")})),t}}}),fm=nc;class gm extends Ct.ON{constructor(e,t,r){super(e,t,r),this.classes.push(gm.primaryClass),this.classes.push("security")}}ns(gm,"primaryClass","operation-security");const ym=gm,_m=fr(Ha,nc,{init(){this.element=new ym},methods:{ArrayElement(e){return e.forEach((e=>{const t=bs(e)?["document","objects","SecurityRequirement"]:["value"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),yn}}});class bm extends Ct.ON{constructor(e,t,r){super(e,t,r),this.classes.push(bm.primaryClass),this.classes.push("servers")}}ns(bm,"primaryClass","operation-servers");const vm=bm,Em=fr(Tc,{init(){this.element=new vm}}),wm=fr(rc,nc,{props:{specPath:Z(["document","objects","PathItem"])},init(){this.element=new Bi},methods:{ObjectElement(e){const t=rc.compose.methods.ObjectElement.call(this,e);return this.element.filter(rl).forEach(((e,t)=>{const r=t.clone();r.content=r.toValue().toUpperCase(),e.setMetaProperty("http-method",r)})),fs(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),xm=fr(nc,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),yn}}}),jm=nc,Om=nc;class Sm extends Ct.ON{constructor(e,t,r){super(e,t,r),this.classes.push(Sm.primaryClass),this.classes.push("servers")}}ns(Sm,"primaryClass","path-item-servers");const Pm=Sm,Am=fr(Tc,{init(){this.element=new Pm}});class Fm extends Ct.ON{constructor(e,t,r){super(e,t,r),this.classes.push(Fm.primaryClass),this.classes.push("parameters")}}ns(Fm,"primaryClass","path-item-parameters");const km=Fm,$m=fr(lm,{init(){this.element=new km}}),Mm=fr(rc,nc,{props:{specPath:Z(["document","objects","SecurityScheme"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ma}}),Im=nc,Tm=nc,Rm=nc,Cm=nc,Nm=nc,qm=nc,Dm=nc,Lm=fr(rc,nc,{props:{specPath:Z(["document","objects","OAuthFlows"]),canSupportSpecificationExtensions:!0},init(){this.element=new $i}}),Bm=fr(rc,nc,{props:{specPath:Z(["document","objects","OAuthFlow"]),canSupportSpecificationExtensions:!0},init(){this.element=new Fi}}),Vm=nc,Um=nc,zm=nc;class Gm extends Ct.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Gm.primaryClass)}}ns(Gm,"primaryClass","oauth-flow-scopes");const Wm=Gm,Hm=fr(xc,nc,{props:{specPath:Z(["value"])},init(){this.element=new Wm}});class Jm extends Ct.ON{constructor(e,t,r){super(e,t,r),this.classes.push(Jm.primaryClass)}}ns(Jm,"primaryClass","tags");const Km=Jm,Zm=fr(Ha,nc,{init(){this.element=new Km},methods:{ArrayElement(e){return e.forEach((e=>{const t=ec(e)?["document","objects","Tag"]:["value"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),yn}}});function Xm(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 Qm(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Xm(Object(r),!0).forEach((function(t){ns(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Xm(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const Ym={$visitor:Rl,fixedFields:{$ref:Cl}},eh={$visitor:pu,fixedFields:Qm(Qm({},ju),{},{items:hu,properties:fu,type:yu,nullable:_u,discriminator:{$ref:"#/visitors/document/objects/Discriminator"},writeOnly:bu,xml:{$ref:"#/visitors/document/objects/XML"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},example:vu,deprecated:Eu})},th={visitors:{value:nc,document:{objects:{OpenApi:{$visitor:sc,fixedFields:{openapi:ic,info:{$ref:"#/visitors/document/objects/Info"},servers:Tc,paths:{$ref:"#/visitors/document/objects/Paths"},components:{$ref:"#/visitors/document/objects/Components"},security:kl,tags:Zm,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:ac,fixedFields:{title:cc,description:lc,termsOfService:uc,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"},version:pc}},Contact:{$visitor:mc,fixedFields:{name:hc,url:dc,email:fc}},License:{$visitor:gc,fixedFields:{name:yc,url:_c}},Server:{$visitor:Fc,fixedFields:{url:kc,description:$c,variables:Bc}},ServerVariable:{$visitor:Rc,fixedFields:{enum:Cc,default:Nc,description:qc}},Components:{$visitor:$l,fixedFields:{schemas:Gu,responses:Ju,parameters:Xu,examples:ep,requestBodies:np,headers:op,securitySchemes:lp,links:mp,callbacks:fp}},Paths:{$visitor:Mp},PathItem:{$visitor:wm,fixedFields:{$ref:xm,summary:jm,description:Om,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:Am,parameters:$m}},Operation:{$visitor:em,fixedFields:{tags:nm,summary:sm,description:im,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:om,parameters:um,requestBody:pm,responses:{$ref:"#/visitors/document/objects/Responses"},callbacks:dm,deprecated:fm,security:_m,servers:Em}},ExternalDocumentation:{$visitor:Ep,fixedFields:{description:wp,url:xp}},Parameter:{$visitor:Nl,fixedFields:{name:ql,in:Dl,description:Ll,required:Bl,deprecated:Vl,allowEmptyValue:Ul,style:zl,explode:Gl,allowReserved:Wl,schema:Hl,example:Cu,examples:Du,content:Vu}},RequestBody:{$visitor:Ip,fixedFields:{description:Tp,content:Np,required:qp}},MediaType:{$visitor:Vc,fixedFields:{schema:_l,example:bl,examples:xl,encoding:Sl}},Encoding:{$visitor:jp,fixedFields:{contentType:Op,headers:Ap,style:Fp,explode:kp,allowReserved:$p}},Responses:{$visitor:Qp,fixedFields:{default:Yp}},Response:{$visitor:Lp,fixedFields:{description:Bp,headers:zp,content:Hp,links:Zp}},Callback:{$visitor:Dp},Example:{$visitor:gp,fixedFields:{summary:yp,description:_p,value:bp,externalValue:vp}},Link:{$visitor:bc,fixedFields:{operationRef:vc,operationId:Ec,parameters:Sc,requestBody:Pc,description:Ac,server:{$ref:"#/visitors/document/objects/Server"}}},Header:{$visitor:Jl,fixedFields:{description:Kl,required:Zl,deprecated:Xl,allowEmptyValue:Ql,style:Yl,explode:eu,allowReserved:tu,schema:ru,example:nu,examples:ou,content:uu}},Tag:{$visitor:Ml,fixedFields:{name:Il,description:Tl,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},JSONReference:Ym,Reference:Ym,JSONSchema:eh,Schema:eh,LinkDescription:ga.visitors.document.objects.LinkDescription,Media:ga.visitors.document.objects.Media,Discriminator:{$visitor:Ou,fixedFields:{propertyName:Su,mapping:Fu}},XML:{$visitor:ku,fixedFields:{name:$u,namespace:Mu,prefix:Iu,attribute:Tu,wrapped:Ru}},SecurityScheme:{$visitor:Mm,fixedFields:{type:Im,description:Tm,name:Rm,in:Cm,scheme:Nm,bearerFormat:qm,flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:Dm}},OAuthFlows:{$visitor:Lm,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:Bm,fixedFields:{authorizationUrl:Vm,tokenUrl:Um,refreshUrl:zm,scopes:Hm}},SecurityRequirement:{$visitor:Pl}},extension:{$visitor:oc}}}},rh={namespace:e=>{const{base:t}=e;return t.register("callback",ii),t.register("components",ai),t.register("contact",li),t.register("discriminator",pi),t.register("encoding",hi),t.register("example",fi),t.register("externalDocumentation",yi),t.register("header",bi),t.register("info",Ei),t.register("license",xi),t.register("link",Oi),t.register("mediaType",Pi),t.register("oAuthFlow",Fi),t.register("oAuthFlows",$i),t.register("openapi",Ii),t.register("openApi3_0",Ri),t.register("operation",Ni),t.register("parameter",Di),t.register("pathItem",Bi),t.register("paths",Ui),t.register("reference",Gi),t.register("requestBody",Hi),t.register("response",Ki),t.register("responses",Xi),t.register("schema",Aa),t.register("securityRequirement",ka),t.register("securityScheme",Ma),t.register("server",Ta),t.register("serverVariable",Ca),t.register("tag",qa),t.register("xml",La),t}};function nh(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 sh(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?nh(Object(r),!0).forEach((function(t){ns(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nh(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const ih=()=>{const e=ir(rh);return{predicates:sh(sh(sh({},s),i),{},{isStringElement:fs}),namespace:e}};function oh(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 ah=function(e){let{specPath:t=["visitors","document","objects","OpenApi","$visitor"],plugins:r=[]}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(0,Ct.Qc)(e),s=oo(th),i=Us(t,[],s);return Ds(n,i,{state:{specObj:s}}),Ws(i.element,r,{toolboxCreator:ih,visitorOptions:{keyMap:za,nodeTypeGetter:Ua}})},ch=e=>function(t){return ah(t,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?oh(Object(r),!0).forEach((function(t){ns(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oh(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]:{}))};ii.refract=ch(["visitors","document","objects","Callback","$visitor"]),ai.refract=ch(["visitors","document","objects","Components","$visitor"]),li.refract=ch(["visitors","document","objects","Contact","$visitor"]),fi.refract=ch(["visitors","document","objects","Example","$visitor"]),pi.refract=ch(["visitors","document","objects","Discriminator","$visitor"]),hi.refract=ch(["visitors","document","objects","Encoding","$visitor"]),yi.refract=ch(["visitors","document","objects","ExternalDocumentation","$visitor"]),bi.refract=ch(["visitors","document","objects","Header","$visitor"]),Ei.refract=ch(["visitors","document","objects","Info","$visitor"]),xi.refract=ch(["visitors","document","objects","License","$visitor"]),Oi.refract=ch(["visitors","document","objects","Link","$visitor"]),Pi.refract=ch(["visitors","document","objects","MediaType","$visitor"]),Fi.refract=ch(["visitors","document","objects","OAuthFlow","$visitor"]),$i.refract=ch(["visitors","document","objects","OAuthFlows","$visitor"]),Ii.refract=ch(["visitors","document","objects","OpenApi","fixedFields","openapi"]),Ri.refract=ch(["visitors","document","objects","OpenApi","$visitor"]),Ni.refract=ch(["visitors","document","objects","Operation","$visitor"]),Di.refract=ch(["visitors","document","objects","Parameter","$visitor"]),Bi.refract=ch(["visitors","document","objects","PathItem","$visitor"]),Ui.refract=ch(["visitors","document","objects","Paths","$visitor"]),Gi.refract=ch(["visitors","document","objects","Reference","$visitor"]),Hi.refract=ch(["visitors","document","objects","RequestBody","$visitor"]),Ki.refract=ch(["visitors","document","objects","Response","$visitor"]),Xi.refract=ch(["visitors","document","objects","Responses","$visitor"]),Aa.refract=ch(["visitors","document","objects","Schema","$visitor"]),ka.refract=ch(["visitors","document","objects","SecurityRequirement","$visitor"]),Ma.refract=ch(["visitors","document","objects","SecurityScheme","$visitor"]),Ta.refract=ch(["visitors","document","objects","Server","$visitor"]),Ca.refract=ch(["visitors","document","objects","ServerVariable","$visitor"]),qa.refract=ch(["visitors","document","objects","Tag","$visitor"]),La.refract=ch(["visitors","document","objects","XML","$visitor"]);const lh=class extends ii{};const uh=class extends ai{get pathItems(){return this.get("pathItems")}set pathItems(e){this.set("pathItems",e)}};const ph=class extends li{};const mh=class extends pi{};const hh=class extends hi{};const dh=class extends fi{};const fh=class extends yi{};const gh=class extends bi{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}};const yh=class extends Ei{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 _h extends Ct.RP{constructor(e,t,r){super(e,t,r),this.element="jsonSchemaDialect"}}ns(_h,"default",new _h("https://spec.openapis.org/oas/3.1/dialect/base"));const bh=_h;const vh=class extends xi{get identifier(){return this.get("identifier")}set identifier(e){this.set("identifier",e)}};const Eh=class extends Oi{};const wh=class extends Pi{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}};const xh=class extends Fi{};const jh=class extends $i{};const Oh=class extends Ii{};class Sh extends Ct.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 Ph=Sh;const Ah=class extends Ni{get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}};const Fh=class extends Di{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}};const kh=class extends Bi{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 $h=class extends Ui{};class Mh extends Gi{}Object.defineProperty(Mh.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0}),Object.defineProperty(Mh.prototype,"summary",{get(){return this.get("summary")},set(e){this.set("summary",e)},enumerable:!0});const Ih=Mh;const Th=class extends Hi{};const Rh=class extends Ki{};const Ch=class extends Xi{};class Nh extends Ct.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 qh=Nh;const Dh=class extends ka{};const Lh=class extends Ma{};const Bh=class extends Ta{};const Vh=class extends Ca{};const Uh=class extends qa{};const zh=class extends La{},Gh=fr(rc,nc,{props:{specPath:Z(["document","objects","OpenApi"]),canSupportSpecificationExtensions:!0},init(){this.element=new Ph,this.openApiSemanticElement=this.element},methods:{ObjectElement(e){return this.openApiGenericElement=e,rc.compose.methods.ObjectElement.call(this,e)}}}),{visitors:{document:{objects:{Info:{$visitor:Wh}}}}}=th,Hh=fr(Wh,{init(){this.element=new yh}}),Jh=nc,{visitors:{document:{objects:{Contact:{$visitor:Kh}}}}}=th,Zh=fr(Kh,{init(){this.element=new ph}}),{visitors:{document:{objects:{License:{$visitor:Xh}}}}}=th,Qh=fr(Xh,{init(){this.element=new vh}}),Yh=nc,{visitors:{document:{objects:{Link:{$visitor:ed}}}}}=th,td=fr(ed,{init(){this.element=new Eh}}),rd=fr(Ha,nc,{methods:{StringElement(e){const t=new bh(e.toValue());return this.copyMetaAndAttributes(e,t),this.element=t,yn}}}),{visitors:{document:{objects:{Server:{$visitor:nd}}}}}=th,sd=fr(nd,{init(){this.element=new Bh}}),{visitors:{document:{objects:{ServerVariable:{$visitor:id}}}}}=th,od=fr(id,{init(){this.element=new Vh}}),{visitors:{document:{objects:{MediaType:{$visitor:ad}}}}}=th,cd=fr(ad,{init(){this.element=new wh}}),{visitors:{document:{objects:{SecurityRequirement:{$visitor:ld}}}}}=th,ud=fr(ld,{init(){this.element=new Dh}}),{visitors:{document:{objects:{Components:{$visitor:pd}}}}}=th,md=fr(pd,{init(){this.element=new uh}}),{visitors:{document:{objects:{Tag:{$visitor:hd}}}}}=th,dd=fr(hd,{init(){this.element=new Uh}}),{visitors:{document:{objects:{Reference:{$visitor:fd}}}}}=th,gd=fr(fd,{init(){this.element=new Ih}}),yd=nc,_d=nc,{visitors:{document:{objects:{Parameter:{$visitor:bd}}}}}=th,vd=fr(bd,{init(){this.element=new Fh}}),{visitors:{document:{objects:{Header:{$visitor:Ed}}}}}=th,wd=fr(Ed,{init(){this.element=new gh}}),xd=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof lh||t(e)&&r("callback",e)&&n("object",e)})),jd=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof uh||t(e)&&r("components",e)&&n("object",e)})),Od=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof ph||t(e)&&r("contact",e)&&n("object",e)})),Sd=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof dh||t(e)&&r("example",e)&&n("object",e)})),Pd=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof fh||t(e)&&r("externalDocumentation",e)&&n("object",e)})),Ad=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof gh||t(e)&&r("header",e)&&n("object",e)})),Fd=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof yh||t(e)&&r("info",e)&&n("object",e)})),kd=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof bh||t(e)&&r("jsonSchemaDialect",e)&&n("string",e)})),$d=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof vh||t(e)&&r("license",e)&&n("object",e)})),Md=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Eh||t(e)&&r("link",e)&&n("object",e)})),Id=e=>{if(!Md(e))return!1;if(!fs(e.operationRef))return!1;const t=e.operationRef.toValue();return"string"==typeof t&&t.length>0&&!t.startsWith("#")},Td=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Oh||t(e)&&r("openapi",e)&&n("string",e)})),Rd=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n,hasClass:s}=e;return e=>e instanceof Ph||t(e)&&r("openApi3_1",e)&&n("object",e)&&s("api",e)})),Cd=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Ah||t(e)&&r("operation",e)&&n("object",e)})),Nd=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Fh||t(e)&&r("parameter",e)&&n("object",e)})),qd=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof kh||t(e)&&r("pathItem",e)&&n("object",e)})),Dd=e=>{if(!qd(e))return!1;if(!fs(e.$ref))return!1;const t=e.$ref.toValue();return"string"==typeof t&&t.length>0&&!t.startsWith("#")},Ld=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof $h||t(e)&&r("paths",e)&&n("object",e)})),Bd=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Ih||t(e)&&r("reference",e)&&n("object",e)})),Vd=e=>{if(!Bd(e))return!1;if(!fs(e.$ref))return!1;const t=e.$ref.toValue();return"string"==typeof t&&t.length>0&&!t.startsWith("#")},Ud=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Th||t(e)&&r("requestBody",e)&&n("object",e)})),zd=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Rh||t(e)&&r("response",e)&&n("object",e)})),Gd=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Ch||t(e)&&r("responses",e)&&n("object",e)})),Wd=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof qh||t(e)&&r("schema",e)&&n("object",e)})),Hd=e=>_s(e)&&e.classes.includes("boolean-json-schema"),Jd=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Dh||t(e)&&r("securityRequirement",e)&&n("object",e)})),Kd=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Bh||t(e)&&r("server",e)&&n("object",e)})),Zd=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof Vh||t(e)&&r("serverVariable",e)&&n("object",e)})),Xd=hs((e=>{let{hasBasicElementProps:t,isElementType:r,primitiveEq:n}=e;return e=>e instanceof wh||t(e)&&r("mediaType",e)&&n("object",e)})),Qd=fr({props:{parent:null},init(e){let{parent:t=this.parent}=e;this.parent=t,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),Yd=fr(rc,Qd,nc,{props:{specPath:Z(["document","objects","Schema"]),canSupportSpecificationExtensions:!0},init(){const e=()=>{let e;return e=null!==this.openApiSemanticElement&&kd(this.openApiSemanticElement.jsonSchemaDialect)?this.openApiSemanticElement.jsonSchemaDialect.toValue():null!==this.openApiGenericElement&&fs(this.openApiGenericElement.get("jsonSchemaDialect"))?this.openApiGenericElement.get("jsonSchemaDialect").toValue():bh.default.toValue(),e},t=t=>{if(Nt(this.parent)&&!fs(t.get("$schema")))this.element.setMetaProperty("inherited$schema",e());else if(Wd(this.parent)&&!fs(t.get("$schema"))){var r,n;const e=Ce(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 Ct.ON,n=null===(t=e.get("$id"))||void 0===t?void 0:t.toValue();Lo(n)&&r.push(n),this.element.setMetaProperty("inherited$id",r)};this.ObjectElement=function(e){this.element=new qh,t(e),r(e),this.parent=this.element;const n=rc.compose.methods.ObjectElement.call(this,e);return fs(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"),yn}}}),ef=nc,tf=fr(nc,{methods:{ObjectElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-$vocabulary"),yn}}}),rf=nc,nf=nc,sf=nc,of=nc,af=fr(nc,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("reference-value"),yn}}}),cf=fr(xc,Qd,nc,{props:{specPath:Z(["document","objects","Schema"])},init(){this.element=new Ct.Sb,this.element.classes.push("json-schema-$defs")}}),lf=nc,uf=fr(Ha,Qd,nc,{init(){this.element=new Ct.ON,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach((e=>{if(bs(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),yn}}}),pf=fr(Ha,Qd,nc,{init(){this.element=new Ct.ON,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach((e=>{if(bs(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),yn}}}),mf=fr(Ha,Qd,nc,{init(){this.element=new Ct.ON,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach((e=>{if(bs(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),yn}}}),hf=fr(xc,Qd,nc,{props:{specPath:Z(["document","objects","Schema"])},init(){this.element=new Ct.Sb,this.element.classes.push("json-schema-dependentSchemas")}}),df=fr(Ha,Qd,nc,{init(){this.element=new Ct.ON,this.element.classes.push("json-schema-prefixItems")},methods:{ArrayElement(e){return e.forEach((e=>{if(bs(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),yn}}}),ff=fr(xc,Qd,nc,{props:{specPath:Z(["document","objects","Schema"])},init(){this.element=new Ct.Sb,this.element.classes.push("json-schema-properties")}}),gf=fr(xc,Qd,nc,{props:{specPath:Z(["document","objects","Schema"])},init(){this.element=new Ct.Sb,this.element.classes.push("json-schema-patternProperties")}}),yf=fr(nc,{methods:{StringElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-type"),yn},ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-type"),yn}}}),_f=fr(nc,{methods:{ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-enum"),yn}}}),bf=nc,vf=nc,Ef=nc,wf=nc,xf=nc,jf=nc,Of=nc,Sf=nc,Pf=nc,Af=nc,Ff=nc,kf=nc,$f=nc,Mf=nc,If=nc,Tf=nc,Rf=fr(nc,{methods:{ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-required"),yn}}}),Cf=fr(nc,{methods:{ObjectElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-dependentRequired"),yn}}}),Nf=nc,qf=nc,Df=nc,Lf=nc,Bf=nc,Vf=nc,Uf=fr(nc,{methods:{ArrayElement(e){return this.element=e.clone(),this.element.classes.push("json-schema-examples"),yn}}}),zf=nc,Gf=nc,Wf=nc,Hf=nc,{visitors:{document:{objects:{Discriminator:{$visitor:Jf}}}}}=th,Kf=fr(Jf,{props:{canSupportSpecificationExtensions:!0},init(){this.element=new mh}}),{visitors:{document:{objects:{XML:{$visitor:Zf}}}}}=th,Xf=fr(Zf,{init(){this.element=new zh}}),Qf=fr(xc,nc,{props:{specPath:Z(["document","objects","Schema"])},init(){this.element=new zu}});class Yf extends Ct.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Yf.primaryClass)}}ns(Yf,"primaryClass","components-path-items");const eg=Yf,tg=fr(xc,nc,{props:{specPath:e=>Za(e)?["document","objects","Reference"]:["document","objects","PathItem"]},init(){this.element=new eg},methods:{ObjectElement(e){const t=xc.compose.methods.ObjectElement.call(this,e);return this.element.filter(Bd).forEach((e=>{e.setMetaProperty("referenced-element","pathItem")})),t}}}),{visitors:{document:{objects:{Example:{$visitor:rg}}}}}=th,ng=fr(rg,{init(){this.element=new dh}}),{visitors:{document:{objects:{ExternalDocumentation:{$visitor:sg}}}}}=th,ig=fr(sg,{init(){this.element=new fh}}),{visitors:{document:{objects:{Encoding:{$visitor:og}}}}}=th,ag=fr(og,{init(){this.element=new hh}}),{visitors:{document:{objects:{Paths:{$visitor:cg}}}}}=th,lg=fr(cg,{init(){this.element=new $h}}),{visitors:{document:{objects:{RequestBody:{$visitor:ug}}}}}=th,pg=fr(ug,{init(){this.element=new Th}}),{visitors:{document:{objects:{Callback:{$visitor:mg}}}}}=th,hg=fr(mg,{props:{specPath:e=>Za(e)?["document","objects","Reference"]:["document","objects","PathItem"]},init(){this.element=new lh},methods:{ObjectElement(e){const t=mg.compose.methods.ObjectElement.call(this,e);return this.element.filter(Bd).forEach((e=>{e.setMetaProperty("referenced-element","pathItem")})),t}}}),{visitors:{document:{objects:{Response:{$visitor:dg}}}}}=th,fg=fr(dg,{init(){this.element=new Rh}}),{visitors:{document:{objects:{Responses:{$visitor:gg}}}}}=th,yg=fr(gg,{init(){this.element=new Ch}}),{visitors:{document:{objects:{Operation:{$visitor:_g}}}}}=th,bg=fr(_g,{init(){this.element=new Ah}}),{visitors:{document:{objects:{PathItem:{$visitor:vg}}}}}=th,Eg=fr(vg,{init(){this.element=new kh}}),{visitors:{document:{objects:{SecurityScheme:{$visitor:wg}}}}}=th,xg=fr(wg,{init(){this.element=new Lh}}),{visitors:{document:{objects:{OAuthFlows:{$visitor:jg}}}}}=th,Og=fr(jg,{init(){this.element=new jh}}),{visitors:{document:{objects:{OAuthFlow:{$visitor:Sg}}}}}=th,Pg=fr(Sg,{init(){this.element=new xh}});class Ag extends Ct.Sb{constructor(e,t,r){super(e,t,r),this.classes.push(Ag.primaryClass)}}ns(Ag,"primaryClass","webhooks");const Fg=Ag,kg=fr(xc,nc,{props:{specPath:e=>Za(e)?["document","objects","Reference"]:["document","objects","PathItem"]},init(){this.element=new Fg},methods:{ObjectElement(e){const t=xc.compose.methods.ObjectElement.call(this,e);return this.element.filter(Bd).forEach((e=>{e.setMetaProperty("referenced-element","pathItem")})),this.element.filter(qd).forEach(((e,t)=>{e.setMetaProperty("webhook-name",t.toValue())})),t}}}),$g={visitors:{value:th.visitors.value,document:{objects:{OpenApi:{$visitor:Gh,fixedFields:{openapi:th.visitors.document.objects.OpenApi.fixedFields.openapi,info:{$ref:"#/visitors/document/objects/Info"},jsonSchemaDialect:rd,servers:th.visitors.document.objects.OpenApi.fixedFields.servers,paths:{$ref:"#/visitors/document/objects/Paths"},webhooks:kg,components:{$ref:"#/visitors/document/objects/Components"},security:th.visitors.document.objects.OpenApi.fixedFields.security,tags:th.visitors.document.objects.OpenApi.fixedFields.tags,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:Hh,fixedFields:{title:th.visitors.document.objects.Info.fixedFields.title,description:th.visitors.document.objects.Info.fixedFields.description,summary:Jh,termsOfService:th.visitors.document.objects.Info.fixedFields.termsOfService,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"},version:th.visitors.document.objects.Info.fixedFields.version}},Contact:{$visitor:Zh,fixedFields:{name:th.visitors.document.objects.Contact.fixedFields.name,url:th.visitors.document.objects.Contact.fixedFields.url,email:th.visitors.document.objects.Contact.fixedFields.email}},License:{$visitor:Qh,fixedFields:{name:th.visitors.document.objects.License.fixedFields.name,identifier:Yh,url:th.visitors.document.objects.License.fixedFields.url}},Server:{$visitor:sd,fixedFields:{url:th.visitors.document.objects.Server.fixedFields.url,description:th.visitors.document.objects.Server.fixedFields.description,variables:th.visitors.document.objects.Server.fixedFields.variables}},ServerVariable:{$visitor:od,fixedFields:{enum:th.visitors.document.objects.ServerVariable.fixedFields.enum,default:th.visitors.document.objects.ServerVariable.fixedFields.default,description:th.visitors.document.objects.ServerVariable.fixedFields.description}},Components:{$visitor:md,fixedFields:{schemas:Qf,responses:th.visitors.document.objects.Components.fixedFields.responses,parameters:th.visitors.document.objects.Components.fixedFields.parameters,examples:th.visitors.document.objects.Components.fixedFields.examples,requestBodies:th.visitors.document.objects.Components.fixedFields.requestBodies,headers:th.visitors.document.objects.Components.fixedFields.headers,securitySchemes:th.visitors.document.objects.Components.fixedFields.securitySchemes,links:th.visitors.document.objects.Components.fixedFields.links,callbacks:th.visitors.document.objects.Components.fixedFields.callbacks,pathItems:tg}},Paths:{$visitor:lg},PathItem:{$visitor:Eg,fixedFields:{$ref:th.visitors.document.objects.PathItem.fixedFields.$ref,summary:th.visitors.document.objects.PathItem.fixedFields.summary,description:th.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:th.visitors.document.objects.PathItem.fixedFields.servers,parameters:th.visitors.document.objects.PathItem.fixedFields.parameters}},Operation:{$visitor:bg,fixedFields:{tags:th.visitors.document.objects.Operation.fixedFields.tags,summary:th.visitors.document.objects.Operation.fixedFields.summary,description:th.visitors.document.objects.Operation.fixedFields.description,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:th.visitors.document.objects.Operation.fixedFields.operationId,parameters:th.visitors.document.objects.Operation.fixedFields.parameters,requestBody:th.visitors.document.objects.Operation.fixedFields.requestBody,responses:{$ref:"#/visitors/document/objects/Responses"},callbacks:th.visitors.document.objects.Operation.fixedFields.callbacks,deprecated:th.visitors.document.objects.Operation.fixedFields.deprecated,security:th.visitors.document.objects.Operation.fixedFields.security,servers:th.visitors.document.objects.Operation.fixedFields.servers}},ExternalDocumentation:{$visitor:ig,fixedFields:{description:th.visitors.document.objects.ExternalDocumentation.fixedFields.description,url:th.visitors.document.objects.ExternalDocumentation.fixedFields.url}},Parameter:{$visitor:vd,fixedFields:{name:th.visitors.document.objects.Parameter.fixedFields.name,in:th.visitors.document.objects.Parameter.fixedFields.in,description:th.visitors.document.objects.Parameter.fixedFields.description,required:th.visitors.document.objects.Parameter.fixedFields.required,deprecated:th.visitors.document.objects.Parameter.fixedFields.deprecated,allowEmptyValue:th.visitors.document.objects.Parameter.fixedFields.allowEmptyValue,style:th.visitors.document.objects.Parameter.fixedFields.style,explode:th.visitors.document.objects.Parameter.fixedFields.explode,allowReserved:th.visitors.document.objects.Parameter.fixedFields.allowReserved,schema:{$ref:"#/visitors/document/objects/Schema"},example:th.visitors.document.objects.Parameter.fixedFields.example,examples:th.visitors.document.objects.Parameter.fixedFields.examples,content:th.visitors.document.objects.Parameter.fixedFields.content}},RequestBody:{$visitor:pg,fixedFields:{description:th.visitors.document.objects.RequestBody.fixedFields.description,content:th.visitors.document.objects.RequestBody.fixedFields.content,required:th.visitors.document.objects.RequestBody.fixedFields.required}},MediaType:{$visitor:cd,fixedFields:{schema:{$ref:"#/visitors/document/objects/Schema"},example:th.visitors.document.objects.MediaType.fixedFields.example,examples:th.visitors.document.objects.MediaType.fixedFields.examples,encoding:th.visitors.document.objects.MediaType.fixedFields.encoding}},Encoding:{$visitor:ag,fixedFields:{contentType:th.visitors.document.objects.Encoding.fixedFields.contentType,headers:th.visitors.document.objects.Encoding.fixedFields.headers,style:th.visitors.document.objects.Encoding.fixedFields.style,explode:th.visitors.document.objects.Encoding.fixedFields.explode,allowReserved:th.visitors.document.objects.Encoding.fixedFields.allowReserved}},Responses:{$visitor:yg,fixedFields:{default:th.visitors.document.objects.Responses.fixedFields.default}},Response:{$visitor:fg,fixedFields:{description:th.visitors.document.objects.Response.fixedFields.description,headers:th.visitors.document.objects.Response.fixedFields.headers,content:th.visitors.document.objects.Response.fixedFields.content,links:th.visitors.document.objects.Response.fixedFields.links}},Callback:{$visitor:hg},Example:{$visitor:ng,fixedFields:{summary:th.visitors.document.objects.Example.fixedFields.summary,description:th.visitors.document.objects.Example.fixedFields.description,value:th.visitors.document.objects.Example.fixedFields.value,externalValue:th.visitors.document.objects.Example.fixedFields.externalValue}},Link:{$visitor:td,fixedFields:{operationRef:th.visitors.document.objects.Link.fixedFields.operationRef,operationId:th.visitors.document.objects.Link.fixedFields.operationId,parameters:th.visitors.document.objects.Link.fixedFields.parameters,requestBody:th.visitors.document.objects.Link.fixedFields.requestBody,description:th.visitors.document.objects.Link.fixedFields.description,server:{$ref:"#/visitors/document/objects/Server"}}},Header:{$visitor:wd,fixedFields:{description:th.visitors.document.objects.Header.fixedFields.description,required:th.visitors.document.objects.Header.fixedFields.required,deprecated:th.visitors.document.objects.Header.fixedFields.deprecated,allowEmptyValue:th.visitors.document.objects.Header.fixedFields.allowEmptyValue,style:th.visitors.document.objects.Header.fixedFields.style,explode:th.visitors.document.objects.Header.fixedFields.explode,allowReserved:th.visitors.document.objects.Header.fixedFields.allowReserved,schema:{$ref:"#/visitors/document/objects/Schema"},example:th.visitors.document.objects.Header.fixedFields.example,examples:th.visitors.document.objects.Header.fixedFields.examples,content:th.visitors.document.objects.Header.fixedFields.content}},Tag:{$visitor:dd,fixedFields:{name:th.visitors.document.objects.Tag.fixedFields.name,description:th.visitors.document.objects.Tag.fixedFields.description,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Reference:{$visitor:gd,fixedFields:{$ref:th.visitors.document.objects.Reference.fixedFields.$ref,summary:yd,description:_d}},Schema:{$visitor:Yd,fixedFields:{$schema:ef,$vocabulary:tf,$id:rf,$anchor:nf,$dynamicAnchor:sf,$dynamicRef:of,$ref:af,$defs:cf,$comment:lf,allOf:uf,anyOf:pf,oneOf:mf,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:hf,prefixItems:df,items:{$ref:"#/visitors/document/objects/Schema"},contains:{$ref:"#/visitors/document/objects/Schema"},properties:ff,patternProperties:gf,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:yf,enum:_f,const:bf,multipleOf:vf,maximum:Ef,exclusiveMaximum:wf,minimum:xf,exclusiveMinimum:jf,maxLength:Of,minLength:Sf,pattern:Pf,maxItems:Af,minItems:Ff,uniqueItems:kf,maxContains:$f,minContains:Mf,maxProperties:If,minProperties:Tf,required:Rf,dependentRequired:Cf,title:Nf,description:qf,default:Df,deprecated:Lf,readOnly:Bf,writeOnly:Vf,examples:Uf,format:zf,contentEncoding:Gf,contentMediaType:Wf,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:Hf}},Discriminator:{$visitor:Kf,fixedFields:{propertyName:th.visitors.document.objects.Discriminator.fixedFields.propertyName,mapping:th.visitors.document.objects.Discriminator.fixedFields.mapping}},XML:{$visitor:Xf,fixedFields:{name:th.visitors.document.objects.XML.fixedFields.name,namespace:th.visitors.document.objects.XML.fixedFields.namespace,prefix:th.visitors.document.objects.XML.fixedFields.prefix,attribute:th.visitors.document.objects.XML.fixedFields.attribute,wrapped:th.visitors.document.objects.XML.fixedFields.wrapped}},SecurityScheme:{$visitor:xg,fixedFields:{type:th.visitors.document.objects.SecurityScheme.fixedFields.type,description:th.visitors.document.objects.SecurityScheme.fixedFields.description,name:th.visitors.document.objects.SecurityScheme.fixedFields.name,in:th.visitors.document.objects.SecurityScheme.fixedFields.in,scheme:th.visitors.document.objects.SecurityScheme.fixedFields.scheme,bearerFormat:th.visitors.document.objects.SecurityScheme.fixedFields.bearerFormat,flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:th.visitors.document.objects.SecurityScheme.fixedFields.openIdConnectUrl}},OAuthFlows:{$visitor:Og,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:Pg,fixedFields:{authorizationUrl:th.visitors.document.objects.OAuthFlow.fixedFields.authorizationUrl,tokenUrl:th.visitors.document.objects.OAuthFlow.fixedFields.tokenUrl,refreshUrl:th.visitors.document.objects.OAuthFlow.fixedFields.refreshUrl,scopes:th.visitors.document.objects.OAuthFlow.fixedFields.scopes}},SecurityRequirement:{$visitor:ud}},extension:{$visitor:th.visitors.document.extension.$visitor}}}};function Mg(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 Ig=e=>{if(ds(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Tg=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Mg(Object(r),!0).forEach((function(t){ns(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Mg(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"]},qs),Rg={namespace:e=>{const{base:t}=e;return t.register("callback",lh),t.register("components",uh),t.register("contact",ph),t.register("discriminator",mh),t.register("encoding",hh),t.register("example",dh),t.register("externalDocumentation",fh),t.register("header",gh),t.register("info",yh),t.register("jsonSchemaDialect",bh),t.register("license",vh),t.register("link",Eh),t.register("mediaType",wh),t.register("oAuthFlow",xh),t.register("oAuthFlows",jh),t.register("openapi",Oh),t.register("openApi3_1",Ph),t.register("operation",Ah),t.register("parameter",Fh),t.register("pathItem",kh),t.register("paths",$h),t.register("reference",Ih),t.register("requestBody",Th),t.register("response",Rh),t.register("responses",Ch),t.register("schema",qh),t.register("securityRequirement",Dh),t.register("securityScheme",Lh),t.register("server",Bh),t.register("serverVariable",Vh),t.register("tag",Uh),t.register("xml",zh),t}};function Cg(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 Ng(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Cg(Object(r),!0).forEach((function(t){ns(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Cg(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const qg=()=>{const e=ir(Rg);return{predicates:Ng(Ng({},o),{},{isStringElement:fs,isArrayElement:vs,isObjectElement:bs,includesClasses:$s}),namespace:e}};function Dg(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 Lg=function(e){let{specPath:t=["visitors","document","objects","OpenApi","$visitor"],plugins:r=[]}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(0,Ct.Qc)(e),s=oo($g),i=Us(t,[],s);return Ds(n,i,{state:{specObj:s}}),Ws(i.element,r,{toolboxCreator:qg,visitorOptions:{keyMap:Tg,nodeTypeGetter:Ig}})},Bg=e=>function(t){return Lg(t,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Dg(Object(r),!0).forEach((function(t){ns(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Dg(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]:{}))};lh.refract=Bg(["visitors","document","objects","Callback","$visitor"]),uh.refract=Bg(["visitors","document","objects","Components","$visitor"]),ph.refract=Bg(["visitors","document","objects","Contact","$visitor"]),dh.refract=Bg(["visitors","document","objects","Example","$visitor"]),mh.refract=Bg(["visitors","document","objects","Discriminator","$visitor"]),hh.refract=Bg(["visitors","document","objects","Encoding","$visitor"]),fh.refract=Bg(["visitors","document","objects","ExternalDocumentation","$visitor"]),gh.refract=Bg(["visitors","document","objects","Header","$visitor"]),yh.refract=Bg(["visitors","document","objects","Info","$visitor"]),bh.refract=Bg(["visitors","document","objects","OpenApi","fixedFields","jsonSchemaDialect"]),vh.refract=Bg(["visitors","document","objects","License","$visitor"]),Eh.refract=Bg(["visitors","document","objects","Link","$visitor"]),wh.refract=Bg(["visitors","document","objects","MediaType","$visitor"]),xh.refract=Bg(["visitors","document","objects","OAuthFlow","$visitor"]),jh.refract=Bg(["visitors","document","objects","OAuthFlows","$visitor"]),Oh.refract=Bg(["visitors","document","objects","OpenApi","fixedFields","openapi"]),Ph.refract=Bg(["visitors","document","objects","OpenApi","$visitor"]),Ah.refract=Bg(["visitors","document","objects","Operation","$visitor"]),Fh.refract=Bg(["visitors","document","objects","Parameter","$visitor"]),kh.refract=Bg(["visitors","document","objects","PathItem","$visitor"]),$h.refract=Bg(["visitors","document","objects","Paths","$visitor"]),Ih.refract=Bg(["visitors","document","objects","Reference","$visitor"]),Th.refract=Bg(["visitors","document","objects","RequestBody","$visitor"]),Rh.refract=Bg(["visitors","document","objects","Response","$visitor"]),Ch.refract=Bg(["visitors","document","objects","Responses","$visitor"]),qh.refract=Bg(["visitors","document","objects","Schema","$visitor"]),Dh.refract=Bg(["visitors","document","objects","SecurityRequirement","$visitor"]),Lh.refract=Bg(["visitors","document","objects","SecurityScheme","$visitor"]),Bh.refract=Bg(["visitors","document","objects","Server","$visitor"]),Vh.refract=Bg(["visitors","document","objects","ServerVariable","$visitor"]),Uh.refract=Bg(["visitors","document","objects","Tag","$visitor"]),zh.refract=Bg(["visitors","document","objects","XML","$visitor"]);const Vg=class extends Array{constructor(){super(...arguments),ns(this,"unknownMediaType","application/octet-stream")}filterByFormat(){throw new Error("Not implemented!")}findBy(){throw new Error("Not implemented")}latest(){throw new Error("Not implemented!")}};class Ug extends Vg{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 Ve(this.filterByFormat(e))}}const zg=new Ug("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"),Gg=new Ug(...zg.filterByFormat("generic"),...zg.filterByFormat("yaml")),Wg=/(?<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,Hg=async e=>Wg.test(e)&&await(async e=>{try{return"ERROR"!==(await dr(e)).rootNode.type}catch{return!1}})(e),Jg=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=bt({},"refractorOpts",t),n=ft(["refractorOpts"],t),s=await ni(e,n),{result:i}=s;if(Rt(i)){const e=Ph.refract(i,r);e.classes.push("result"),s.replaceResult(e)}return s},Kg=ir(Rg)})(),n})()));
|